Hi Team,
when convert html to pdf i am getting this error . kindly give me correct solution. i tried lot ways from google .
i belive this is phantomJS issue on Ubuntu
i've got this error message too
Hmm. Sorry, I've never seen that error. Have you tried phantomjs2?
Can you check your LC_* environment variables. My variables all contain en_US.UTF-8.
You can list them like that:
$ env | grep LC
LC_PAPER=en_US.UTF-8
LC_ADDRESS=en_US.UTF-8
LC_MONETARY=en_US.UTF-8
LC_NUMERIC=en_US.UTF-8
LC_ALL=en_US.UTF-8
LC_TELEPHONE=en_US.UTF-8
LC_MESSAGES=en_US.UTF-8
LC_IDENTIFICATION=en_US.UTF-8
LC_COLLATE=en_US.UTF-8
LC_MEASUREMENT=en_US.UTF-8
LC_CTYPE=en_US.UTF-8
LC_TIME=en_US.UTF-8
LC_NAME=en_US.UTF-8
i'm not sure i did, but its solved now. npm install and uninstall both phamton and phamtonjs. apt-get afew things too.
@lonedune, can you tell what exactly you did to solve this issue? I've been facing it too.
I fixed this issue set environment variable.
sudo nano /etc/environment
LC_ALL=en_US.UTF-8
LANG=en_US.UTF-8
kindly restart env variable else log off and login onetime .
Facing the same issue on Ubuntu 14.04.
$ env | grep LC gives:
LC_ALL=en_US.UTF-8
LC_CTYPE=UTF-8
$ locale gives:
LANG=en_US.UTF-8
LANGUAGE=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=en_US.UTF-8
I have the same problem :(
It's warning only. you can skip this.
On Mon, Apr 3, 2017 at 4:02 PM, Dejan Korez notifications@github.com
wrote:
I have the same problem :(
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/marcbachmann/node-html-pdf/issues/52#issuecomment-291106147,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACPxqGIwWYDwzbfhfskfQewjx-xRVctQks5rsMqigaJpZM4Ffw-B
.
This should fix your issue:
sudo apt-get install language-pack-en-base
sudo dpkg-reconfigure locales (Select All and then select en_us for local)
sudo reboot
@uber1geek Maybe you can help this question : https://stackoverflow.com/questions/51947226/how-can-i-install-gitextensions-in-mac-os
Most helpful comment
I fixed this issue set environment variable.
sudo nano /etc/environment
append below line
LC_ALL=en_US.UTF-8
LANG=en_US.UTF-8
kindly restart env variable else log off and login onetime .