Comments (14)
If it helps at all I have quite a slow internet connection because I'm in the UK and I'm wondering if its looking for the snapshot file before its finished rendering and writing to the file - could that be the case ?
A further piece of information - if I refresh the browser it works saying that it found it found the image in the cache.
Thanks
Chris
from screenshot-as-a-service.
No, the service waits for the screenshot to be written to disk to close the response. But it is possible that the phantomjs browser times out with your slow internet connection. If that's the case, even the cached screenshot should be incorrect.
What's your node.js and phantomjs version?
from screenshot-as-a-service.
Hi Francois
Thanks very much for replying.
I have node version 0.6.7 and PhantomJS version 1.6.1
I just noticed you have a node minimum version of 0.6.15 - sorry about
that if I wasted your time - could it be that that is causing the
problem ?
Thanks
Chris
On 3 Sep 2012, at 16:43, Francois Zaninotto wrote:
No, the service waits for the screenshot to be written to disk to
close the response. But it is possible that the phantomjs browser
times out with your slow internet connection. If that's the case,
even the cached screenshot should be incorrect.What's your node.js and phantomjs version?
—
Reply to this email directly or view it on GitHub.
from screenshot-as-a-service.
Yes it could. Please try upgrading and report if the problem is still there.
from screenshot-as-a-service.
Thanks and sorry again if I have wasted your time.
On 4 Sep 2012, at 08:53, Francois Zaninotto wrote:
Yes it could. Please try upgrading and report if the problem is
still there.—
Reply to this email directly or view it on GitHub.
from screenshot-as-a-service.
I can reproduce the problem, maybe due to a newer version of one of the dependencies. Will be investigating further.
from screenshot-as-a-service.
Thanks
from screenshot-as-a-service.
Confirmed: upgrading to Node >= 0.6.15 (as stated in the package.json) fixes the issue. I consider this issue as duplicate of #2.
from screenshot-as-a-service.
Thanks I will definitely give it a try in a bit - I'm just having to stick with my current version for the moment while I finish something.
from screenshot-as-a-service.
I suggest using nvm to install several Node versions simultaneously.
from screenshot-as-a-service.
Hi,
I tried following the steps mentioned here to troubleshoot this problem. I upgraded from an older version of node to 0.6.15 and my phantomjs version is 1.7.
However, I am still facing the same problem and getting this error message 500 Error: ENOENT, stat '/var/www/files/screenshot_cbdb7325fae079dee92f77d4fcc16f58.png'.
Any pointers or help will be greatly appreciated.
Thanks
Titash
from screenshot-as-a-service.
Hello I am still getting the same issue.
The following are some details regarding the versions I use on my production servers:
node -v
v0.8.12
phantomjs --version
1.7.0
It would be really helpful if you can tell me a way to fix this issue.
Looking forward to your reply.
Thanks
from screenshot-as-a-service.
I'm also having this problem. I have the error:
404 Error: ENOENT, stat 'C:\tmp\screenshot_cbdb7325fae079dee92f77d4fcc16f58.png'
Please someone help!?
node -v
v0.8.22
phantomjs --version
1.9.0
from screenshot-as-a-service.
I'm also have same problem,
It works my first request and then it gives same 404 ENOENT error on every request
node -v : v0.10.21
phantomjs --version : 1.9.0
from screenshot-as-a-service.
Related Issues (20)
- Adding support for BASE64 output
- Service fails when width is specified HOT 1
- Service fails when width is specified HOT 1
- Error: ENOENT, no such file or directory '/tmp/screenshot_85be4ad4e95551dd3481a21275ffbe8c.png' HOT 7
- Add possibility to configure background color
- Add possibility to configure file format
- Add possibility to switch off file cache HOT 1
- The service is not working HOT 1
- Stopping Phantomjs internal server
- Consider CLI Usage? HOT 1
- Not rendering SVG
- Better support for HTTPS websites HOT 7
- Add better error handling when calling rasterizer HOT 1
- Deprecated functions. HOT 4
- Adding support for Flash HOT 1
- Support for PhantomJS 2.0.0 HOT 3
- Canonot find module 'config' HOT 3
- rasterizer hangs forever
- run curl http://localhost:3000/?url=www.google.com > google.png get error HOT 3
- nodev6.10.1版本进行安装出现下列问题
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from screenshot-as-a-service.