Giter Site home page Giter Site logo

Comments (14)

talktough avatar talktough commented on June 23, 2024

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.

fzaninotto avatar fzaninotto commented on June 23, 2024

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.

talktough avatar talktough commented on June 23, 2024

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.

fzaninotto avatar fzaninotto commented on June 23, 2024

Yes it could. Please try upgrading and report if the problem is still there.

from screenshot-as-a-service.

talktough avatar talktough commented on June 23, 2024

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.

fzaninotto avatar fzaninotto commented on June 23, 2024

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.

talktough avatar talktough commented on June 23, 2024

Thanks

from screenshot-as-a-service.

fzaninotto avatar fzaninotto commented on June 23, 2024

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.

talktough avatar talktough commented on June 23, 2024

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.

fzaninotto avatar fzaninotto commented on June 23, 2024

I suggest using nvm to install several Node versions simultaneously.

from screenshot-as-a-service.

tneogi avatar tneogi commented on June 23, 2024

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.

avikshee avatar avikshee commented on June 23, 2024

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.

chrift avatar chrift commented on June 23, 2024

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.

ne0c0de avatar ne0c0de commented on June 23, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.