stefanjudis / grunt-photobox

Grunt plugin for creating screenshots of any site and compare them
MIT License
276 stars 22 forks source link

Photo session not working on windows #10

Closed ritchieanesco closed 10 years ago

ritchieanesco commented 10 years ago

I'm getting the following error during grunt build:

‘Takin’ picture of http://4waisenkinder.de|800x600 did not work correctly… Error: ‘800x600’ is not recognized as an internal or external command, operable program or batch file.’

Here are my specs:

OS: Windows 7 Grunt-cli v0.1.9 Grunt v0.4.1 PhantomJS v1.9.2 NodeJS v.0.10.21 Grunt-photobox v0.4.3

Running PhantomJS off a exe in C:\bin. I've got karma working fine with PhantomJS so I dont think it is a PhantomJS issue

stefanjudis commented 10 years ago

Hey ritchie,

was still not able to reproduce your issue. Could you please run grunt photobox -v and paste the output here.

Thx.

milanowicz commented 10 years ago

Hello,

I got the same Problem on Windows 7 Pro 64-Bit like the first one and I've install ImageMagick too, but he generate nothing, beside the index.html and json files.

My dump by $ grunt photobox -v is:

[4mInitializing[24m Command-line options: [36m--verbose[39m

Reading "Gruntfile.js" Gruntfile...[32mOK[39m

[1mRegistering Gruntfile tasks.[22m Reading package.json...[32mOK[39m Parsing package.json...[32mOK[39m Initializing config...[32mOK[39m

[1mRegistering "grunt-contrib-clean" local Npm module tasks.[22m Reading C:\xampp\htdocs\projects\some-project\node_modules\grunt-contrib-clean\package.json...[32mOK[39m Parsing C:\xampp\htdocs\projects\some-project\node_modules\grunt-contrib-clean\package.json...[32mOK[39m Loading "clean.js" tasks...[32mOK[39m

[1mRegistering "grunt-contrib-concat" local Npm module tasks.[22m Reading C:\xampp\htdocs\projects\some-project\node_modules\grunt-contrib-concat\package.json...[32mOK[39m Parsing C:\xampp\htdocs\projects\some-project\node_modules\grunt-contrib-concat\package.json...[32mOK[39m Loading "concat.js" tasks...[32mOK[39m

[1mRegistering "grunt-contrib-uglify" local Npm module tasks.[22m Reading C:\xampp\htdocs\projects\some-project\node_modules\grunt-contrib-uglify\package.json...[32mOK[39m Parsing C:\xampp\htdocs\projects\some-project\node_modules\grunt-contrib-uglify\package.json...[32mOK[39m Loading "uglify.js" tasks...[32mOK[39m

[1mRegistering "grunt-recess" local Npm module tasks.[22m Reading C:\xampp\htdocs\projects\some-project\node_modules\grunt-recess\package.json...[32mOK[39m Parsing C:\xampp\htdocs\projects\some-project\node_modules\grunt-recess\package.json...[32mOK[39m Loading "recess.js" tasks...[32mOK[39m

[1mRegistering "grunt-contrib-jshint" local Npm module tasks.[22m Reading C:\xampp\htdocs\projects\some-project\node_modules\grunt-contrib-jshint\package.json...[32mOK[39m Parsing C:\xampp\htdocs\projects\some-project\node_modules\grunt-contrib-jshint\package.json...[32mOK[39m Loading "jshint.js" tasks...[32mOK[39m

[1mRegistering "grunt-jsdoc" local Npm module tasks.[22m Reading C:\xampp\htdocs\projects\some-project\node_modules\grunt-jsdoc\package.json...[32mOK[39m Parsing C:\xampp\htdocs\projects\some-project\node_modules\grunt-jsdoc\package.json...[32mOK[39m Loading "jsdoc-plugin.js" tasks...[32mOK[39m

[1mRegistering "grunt-contrib-qunit" local Npm module tasks.[22m Reading C:\xampp\htdocs\projects\some-project\node_modules\grunt-contrib-qunit\package.json...[32mOK[39m Parsing C:\xampp\htdocs\projects\some-project\node_modules\grunt-contrib-qunit\package.json...[32mOK[39m Loading "qunit.js" tasks...[32mOK[39m

[1mRegistering "grunt-contrib-connect" local Npm module tasks.[22m Reading C:\xampp\htdocs\projects\some-project\node_modules\grunt-contrib-connect\package.json...[32mOK[39m Parsing C:\xampp\htdocs\projects\some-project\node_modules\grunt-contrib-connect\package.json...[32mOK[39m Loading "connect.js" tasks...[32mOK[39m

[1mRegistering "grunt-photobox" local Npm module tasks.[22m Reading C:\xampp\htdocs\projects\some-project\node_modules\grunt-photobox\package.json...[32mOK[39m Parsing C:\xampp\htdocs\projects\some-project\node_modules\grunt-photobox\package.json...[32mOK[39m Loading "photobox.js" tasks...[32mOK[39m

Running tasks: [36mphotobox[39m

[4mRunning "photobox" task[24m

[4mRunning "photobox:task" (photobox) task[24m Verifying property [36mphotobox.task[39m exists in config...[32mOK[39m File: [33m[no files][39m Deleting Private/Tests/Screenshots//img/last...[32mOK[39m Deleting Private/Tests/Screenshots//img/diff...[32mOK[39m

[1mPHOTOBOX STARTED PHOTO SESSION.[22m Writing Private/Tests/Screenshots//img/current/timestamp.json...[32mOK[39m Wrote timestamp file with Fri Nov 22 2013 15:29:47 GMT+0100 (Mitteleuropäische Zeit). started photo session for http://www.google.de/|1200x900 Writing Private/Tests/Screenshots/options.json...[32mOK[39m Command: phantomjs C:\xampp\htdocs\projects\some-project\node_modules\grunt-photobox\tasks\lib\photoboxScript.js http://www.google.de/|1200x900 Private/Tests/Screenshots/ Private/Tests/Screenshots/options.json

[31m>> [39mTakin' picture of http://www.google.de/|1200x900did not work correclty... Error PhotoSessionCallback: Result for http://www.google.de/|1200x900 was PhotoSessionCallback: Code for http://www.google.de/|1200x900 was 255 [32m>> [39mPHOTOBOX FINISHED PHOTO SESSION SUCCESSFULLY.

[1mPHOTOBOX STARTED INDEX FILE GENERATION[22m Reading C:\xampp\htdocs\projects\some-project\node_modules\grunt-photobox\tasks/tpl/default.tpl...[32mOK[39m Reading Private/Tests/Screenshots//img/current/timestamp.json...[32mOK[39m Reading Private/Tests/Screenshots//img/last/timestamp.json...[32mOK[39m Writing Private/Tests/Screenshots/index.html...[32mOK[39m [32m>> [39mPHOTOBOX CREATED NEW 'index.html' AT 'Private/Tests/Screenshots/'.

[32mDone, without errors.[39m

stefanjudis commented 10 years ago

Okay... That's at least a hint. I've got no windows machine available. Will create a branch probably tomorrow with fixes.

Do you mind giving me a feedback on the branch then?

Thx.

milanowicz commented 10 years ago

Thanks a lot :) Promise, when I test it, you got a feedback.

stefanjudis commented 10 years ago

Hey, here are a few fixes, I'm not sure if it will work, but on unix system it looks fine. To check please do:

git clone git@github.com:stefanjudis/grunt-photobox.git
git checkout feature/10-windows-support
npm install
grunt
grunt photobox -v

grunt without options will run test suite. If possible give me the output of that additionally to the output of grunt photobox -v...

Really thanks for remote debugging.

milanowicz commented 10 years ago

Hey, I've tested the package at Home. I haven't NodeJS on it and install complete fresh on the machine, same like at work. Then became a shock, that Windoof suddenly generate the images, then I think okay activate ImageMagick and the Source complain about ImageMagick, but it create the images, what the f....

I'll tested this Branch you made at first in the morning on another machine who got the error. I'll post the verbose output from it then here, but by the way, thanks for the great Plug-In :)

That's the output, from the Windows Support Branch:

[1mRegistering "grunt-photobox" local Npm module tasks.[22m Reading d:\Git\some-project\node_modules\grunt-photobox\package.json...[32mOK[39m Parsing d:\Git\some-project\node_modules\grunt-photobox\package.json...[32mOK[39m Loading "photobox.js" tasks...[32mOK[39m

Running tasks: [36mphotobox[39m

[4mRunning "photobox" task[24m

[4mRunning "photobox:task" (photobox) task[24m Verifying property [36mphotobox.task[39m exists in config...[32mOK[39m File: [33m[no files][39m Options: [36mhighlightColor="crimson"[39m, [36mindexPath="Private/Tests/Screenshots"[39m, [36mjavascriptEnabled[39m, [36mlocalToRemoteUrlAccessEnabled[39m, [36mloadImages[39m, [36mpassword=""[39m, [36mscreenSizes=["1280x800"][39m, [36museImageMagick=false[39m, [36muserAgent="Photobox"[39m, [36muserName=""[39m, [36murls=["http://www.google.de/"][39m Deleting Private\Tests\Screenshots\img\last...[32mOK[39m Deleting Private\Tests\Screenshots\img\diff...[32mOK[39m

[1mPHOTOBOX STARTED PHOTO SESSION.[22m Writing Private\Tests\Screenshots\img\current\timestamp.json...[32mOK[39m Wrote timestamp file with Sun Nov 24 2013 15:15:13 GMT+0100 (Mitteleuropäische Zeit). started photo session for http://www.google.de/|1280x800 Writing Private\Tests\Screenshots\options.json...[32mOK[39m Command: phantomjs d:\Git\some-project\node_modules\grunt-photobox\tasks\lib\photoboxScript.js http://www.google.de/|1280x800 Private\Tests\Screenshots\ Private\Tests\Screenshots\options.json

Rendering Private\Tests\Screenshots\img/current/www.google.de--1280x800.png [32m>> [39mpicture of http://www.google.de/|1280x800 taken. PhotoSessionCallback: Result for http://www.google.de/|1280x800 was PhotoSessionCallback: Code for http://www.google.de/|1280x800 was 0 [32m>> [39mPHOTOBOX FINISHED PHOTO SESSION SUCCESSFULLY.

[1mPHOTOBOX STARTED INDEX FILE GENERATION[22m Reading d:\Git\some-project\node_modules\grunt-photobox\tasks\tpl\default.tpl...[32mOK[39m Reading Private\Tests\Screenshots\img\current\timestamp.json...[32mOK[39m Reading Private\Tests\Screenshots\img\last\timestamp.json...[32mOK[39m Writing Private\Tests\Screenshots\index.html...[32mOK[39m [32m>> [39mPHOTOBOX CREATED NEW 'index.html' AT 'Private\Tests\Screenshots\'.

[32mDone, without errors.[39m

and with ImageMagick Variable set on True, I get this.

NOTE: You defined to use ImageMagick, make sure it is installed.

[1mPHOTOBOX STARTED DIFF GENERATION.[22m started diff for www.google.de--1280x800 [31m>> [39mError CompareCallback: Result for www.google.de--1280x800 was CompareCallback: Code for www.google.de--1280x800 was 1 [32m>> [39mdiff for www.google.de--1280x800 generated. OverlayCallback: Result for www.google.de--1280x800 was OverlayCallback: Code for www.google.de--1280x800 was 0 [32m>> [39mPHOTOBOX FINISHED DIFF GENERATION SUCCESSFULLY.

stefanjudis commented 10 years ago

But that looks good, accept from some logging messages with wrong paths, does it? Or still any problems? Sorry didn't get your situation right, now. :)

We can investigate a bit more, if there are still issues.

stefanjudis commented 10 years ago

This one could be okay...

[31m>> [39mError
CompareCallback: Result for www.google.de--1280x800 was 
CompareCallback: Code for www.google.de--1280x800 was 1

When checking for image diffs make sure you run it twice... If not, there is nothing to compare, but you probably noticed that already. ;)

milanowicz commented 10 years ago

Yeah, that's right. I didn't read it, because it was the first run of the command, then it's no error ;) I'll check tomorrow why it's run at home and not a work, who I need it. But I got a some other funny Error, when the Website has an animation at page load, then would the diff screen look extremly pink, but only the html elements they are animated ;D Only by the way, is not an issue, because I didn't catch it ;)

I'm a Webdeveloper and I need something for my Work to validate Layouts. Unfortunately, I'm new to the programming language by NodeJS, or I would fix errors by myself. I slowly realized that I need to fork this Plug-In, to get a flexible configurable plugin and can handle more pages and create a navigation and controll process limit ....

stefanjudis commented 10 years ago

Okay. Cool. Then let me know how it goes. If you say, everything is fine, I'll bump the version and publish it with "kind of" windows support. And we can close this issue.

I slowly realized that I need to fork this Plug-In, to get a flexible configurable plugin and can handle more pages and create a navigation and controll process limit ....

Make feature requests... Maybe I can implement new stuff in the future. ;)

But pull requests are also very welcome.

milanowicz commented 10 years ago

Good Morning,

I tested your Source at Work, it's seems that the problem is somewhere else, so look it for me at the moment :(

That's my Dump with ImageMagick set by false and it creates no images:

[1mRegistering "grunt-photobox" local Npm module tasks.[22m Reading C:\xampp\htdocs\projects\some-project\node_modules\grunt-photobox\package.json...[32mOK[39m Parsing C:\xampp\htdocs\projects\some-project\node_modules\grunt-photobox\package.json...[32mOK[39m Loading "photobox.js" tasks...[32mOK[39m

Running tasks: [36mphotobox[39m

[4mRunning "photobox" task[24m

[4mRunning "photobox:task" (photobox) task[24m Verifying property [36mphotobox.task[39m exists in config...[32mOK[39m File: [33m[no files][39m Deleting Private\Tests\Screenshots\img\last...[32mOK[39m Deleting Private\Tests\Screenshots\img\diff...[32mOK[39m

[1mPHOTOBOX STARTED PHOTO SESSION.[22m Writing Private\Tests\Screenshots\img\current\timestamp.json...[32mOK[39m Wrote timestamp file with Mon Nov 25 2013 09:23:46 GMT+0100 (Mitteleuropäische Zeit). started photo session for http://ww.google.de/|800x600 Writing Private\Tests\Screenshots\options.json...[32mOK[39m Command: phantomjs C:\xampp\htdocs\projects\some-project\node_modules\grunt-photobox\tasks\lib\photoboxScript.js http://ww.google.de/|800x600 Private\Tests\Screenshots\ Private\Tests\Screenshots\options.json

[31m>> [39mTakin' picture of http://ww.google.de/|800x600did not work correclty... Error PhotoSessionCallback: Result for http://ww.google.de/|800x600 was PhotoSessionCallback: Code for http://ww.google.de/|800x600 was 255 [32m>> [39mPHOTOBOX FINISHED PHOTO SESSION SUCCESSFULLY.

[1mPHOTOBOX STARTED INDEX FILE GENERATION[22m Reading C:\xampp\htdocs\projects\some-project\node_modules\grunt-photobox\tasks\tpl\default.tpl...[32mOK[39m Reading Private\Tests\Screenshots\img\current\timestamp.json...[32mOK[39m Reading Private\Tests\Screenshots\img\last\timestamp.json...[32mOK[39m Writing Private\Tests\Screenshots\index.html...[32mOK[39m [32m>> [39mPHOTOBOX CREATED NEW 'index.html' AT 'Private\Tests\Screenshots\'.

[32mDone, without errors.[39m

I have to learn NodeJS, but thank you for your great work :)

stefanjudis commented 10 years ago

Hmm... okay. I have to get myself a cheap windows machine anyway at some point. Can you give the output of grunt -v additionally?

milanowicz commented 10 years ago

No Problem, beside the machine wasn't so cheap, but the software who is installed ;)) That's my fully grunt execution with the verbose output: first validate files, then distribute-files, then came your plugin, and the last point is, to create some docs.

$ grunt -v

[4mInitializing[24m Command-line options: [36m--verbose[39m

Reading "Gruntfile.js" Gruntfile...[32mOK[39m

[1mRegistering Gruntfile tasks.[22m Reading local.json...[32mOK[39m Parsing local.json...[32mOK[39m Reading package.json...[32mOK[39m Parsing package.json...[32mOK[39m Initializing config...[32mOK[39m

[1mRegistering "grunt-contrib-concat" local Npm module tasks.[22m Reading C:\xampp\htdocs\projects\some-project\node_modules\grunt-contrib-concat\package.json...[32mOK[39m Parsing C:\xampp\htdocs\projects\some-project\node_modules\grunt-contrib-concat\package.json...[32mOK[39m Loading "concat.js" tasks...[32mOK[39m

[1mRegistering "grunt-contrib-connect" local Npm module tasks.[22m Reading C:\xampp\htdocs\projects\some-project\node_modules\grunt-contrib-connect\package.json...[32mOK[39m Parsing C:\xampp\htdocs\projects\some-project\node_modules\grunt-contrib-connect\package.json...[32mOK[39m Loading "connect.js" tasks...[32mOK[39m

[1mRegistering "grunt-contrib-jshint" local Npm module tasks.[22m Reading C:\xampp\htdocs\projects\some-project\node_modules\grunt-contrib-jshint\package.json...[32mOK[39m Parsing C:\xampp\htdocs\projects\some-project\node_modules\grunt-contrib-jshint\package.json...[32mOK[39m Loading "jshint.js" tasks...[32mOK[39m

[1mRegistering "grunt-contrib-uglify" local Npm module tasks.[22m Reading C:\xampp\htdocs\projects\some-project\node_modules\grunt-contrib-uglify\package.json...[32mOK[39m Parsing C:\xampp\htdocs\projects\some-project\node_modules\grunt-contrib-uglify\package.json...[32mOK[39m Loading "uglify.js" tasks...[32mOK[39m

[1mRegistering "grunt-contrib-qunit" local Npm module tasks.[22m Reading C:\xampp\htdocs\projects\some-project\node_modules\grunt-contrib-qunit\package.json...[32mOK[39m Parsing C:\xampp\htdocs\projects\some-project\node_modules\grunt-contrib-qunit\package.json...[32mOK[39m Loading "qunit.js" tasks...[32mOK[39m

[1mRegistering "grunt-contrib-watch" local Npm module tasks.[22m Reading C:\xampp\htdocs\projects\some-project\node_modules\grunt-contrib-watch\package.json...[32mOK[39m Parsing C:\xampp\htdocs\projects\some-project\node_modules\grunt-contrib-watch\package.json...[32mOK[39m Loading "watch.js" tasks...[32mOK[39m

[1mRegistering "grunt-html-validation" local Npm module tasks.[22m Reading C:\xampp\htdocs\projects\some-project\node_modules\grunt-html-validation\package.json...[32mOK[39m Parsing C:\xampp\htdocs\projects\some-project\node_modules\grunt-html-validation\package.json...[32mOK[39m Loading "html_validation.js" tasks...[32mOK[39m

[1mRegistering "grunt-htmlhint" local Npm module tasks.[22m Reading C:\xampp\htdocs\projects\some-project\node_modules\grunt-htmlhint\package.json...[32mOK[39m Parsing C:\xampp\htdocs\projects\some-project\node_modules\grunt-htmlhint\package.json...[32mOK[39m Loading "htmlhint.js" tasks...[32mOK[39m

[1mRegistering "grunt-jsdoc" local Npm module tasks.[22m Reading C:\xampp\htdocs\projects\some-project\node_modules\grunt-jsdoc\package.json...[32mOK[39m Parsing C:\xampp\htdocs\projects\some-project\node_modules\grunt-jsdoc\package.json...[32mOK[39m Loading "jsdoc-plugin.js" tasks...[32mOK[39m

[1mRegistering "grunt-markdown" local Npm module tasks.[22m Reading C:\xampp\htdocs\projects\some-project\node_modules\grunt-markdown\package.json...[32mOK[39m Parsing C:\xampp\htdocs\projects\some-project\node_modules\grunt-markdown\package.json...[32mOK[39m Loading "markdown.js" tasks...[32mOK[39m

[1mRegistering "grunt-notify" local Npm module tasks.[22m Reading C:\xampp\htdocs\projects\some-project\node_modules\grunt-notify\package.json...[32mOK[39m Parsing C:\xampp\htdocs\projects\some-project\node_modules\grunt-notify\package.json...[32mOK[39m Loading "notify.js" tasks...[32mOK[39m

[1mRegistering "grunt-recess" local Npm module tasks.[22m Reading C:\xampp\htdocs\projects\some-project\node_modules\grunt-recess\package.json...[32mOK[39m Parsing C:\xampp\htdocs\projects\some-project\node_modules\grunt-recess\package.json...[32mOK[39m Loading "recess.js" tasks...[32mOK[39m

[1mRegistering "grunt-photobox" local Npm module tasks.[22m Reading C:\xampp\htdocs\projects\some-project\node_modules\grunt-photobox\package.json...[32mOK[39m Parsing C:\xampp\htdocs\projects\some-project\node_modules\grunt-photobox\package.json...[32mOK[39m Loading "photobox.js" tasks...[32mOK[39m

[1mRegistering "grunt-spritesmith" local Npm module tasks.[22m Reading C:\xampp\htdocs\projects\some-project\node_modules\grunt-spritesmith\package.json...[32mOK[39m Parsing C:\xampp\htdocs\projects\some-project\node_modules\grunt-spritesmith\package.json...[32mOK[39m Loading "grunt-spritesmith.js" tasks...[32mOK[39m

No tasks specified, running default tasks. Running tasks: [36mdefault[39m

[4mRunning "notify_hooks" task[24m

[4mRunning "default" task[24m

[4mRunning "validate" task[24m

[4mRunning "jshint" task[24m

[4mRunning "jshint:gruntfile" (jshint) task[24m Verifying property [36mjshint.gruntfile[39m exists in config...[32mOK[39m Files: [36mGruntfile.js[39m JSHint options: [36mforce=false[39m, [36mreporterOutput=null[39m, [36mjshintrc="Public/JS/.jshintrc"[39m [32mOK[39m [32m>> [39m1 file lint free.

[4mRunning "jshint:src" (jshint) task[24m Verifying property [36mjshint.src[39m exists in config...[32mOK[39m Files: [36mPublic/JS/FitText/jquery.fittext.js[39m, [36mPublic/JS/Animation.js[39m, [36mPublic/JS/Main.js[39m JSHint options: [36mforce=false[39m, [36mreporterOutput=null[39m, [36mjshintrc="Public/JS/.jshintrc"[39m [32mOK[39m [32m>> [39m3 files lint free.

[4mRunning "htmlhint" task[24m

[4mRunning "htmlhint:html1" (htmlhint) task[24m Verifying property [36mhtmlhint.html1[39m exists in config...[32mOK[39m Files: [36mPublic/HTML/Path/File.html Reading Public/HTML/Path/File.html...[32mOK[39m and some another files ;) [32m>> [39m25 files lint free.

[4mRunning "validation" task[24m

[4mRunning "validation:files" (validation) task[24m Verifying property [36mvalidation.files[39m exists in config...[32mOK[39m Files: [36mindex.html[39m Reading validation-status.json...[32mOK[39m Parsing validation-status.json...[32mOK[39m [32mValidation started for.. [39mindex.html 1[33m=> [39m[36m"An img element must have an alt attribute, except under certain conditions. For details, consult guidance on providing text alternatives for images."[39m Line no: [90m26[39m 2[33m=> [39m[36m"An img element must have an alt attribute, except under certain conditions. For details, consult guidance on providing text alternatives for images."[39m Line no: [90m49[39m [31mNo of errors: [39m2 Writing validation-status.json...[32mOK[39m Writing validation-report.json...[32mOK[39m [32mValidation report generated: [39mvalidation-report.json Reading validation-status.json...[32mOK[39m Parsing validation-status.json...[32mOK[39m

[4mRunning "distribute-files" task[24m

[4mRunning "distribute-css" task[24m

[4mRunning "recess" task[24m

[4mRunning "recess:main" (recess) task[24m Verifying property [36mrecess.main[39m exists in config...[32mOK[39m Files: [36mPrivate/Less/Style.less[39m -> [36mPublic/CSS/some-project.css[39m Writing Public/CSS/some-project.css...[32mOK[39m File "Public/CSS/some-project.css" created.

[4mRunning "recess:min" (recess) task[24m Verifying property [36mrecess.min[39m exists in config...[32mOK[39m Files: [36mPrivate/Less/Style.less[39m -> [36mPublic/CSS/some-project.min.css[39m Writing Public/CSS/some-project.min.css...[32mOK[39m File "Public/CSS/some-project.min.css" created. Original: [32m37421[39m bytes. Minified: [32m24105[39m bytes.

[4mRunning "distribute-js" task[24m

[4mRunning "concat" task[24m

[4mRunning "concat:main" (concat) task[24m Verifying property [36mconcat.main[39m exists in config...[32mOK[39m Files: [36mPublic/JS/jquery-1.10.2.js[39m, [36mPublic/JS/jquery.ba-hashchange.js[39m, [36mPublic/JS/FitText/jquery.fittext.js[39m, [36mPublic/JS/Animation.js[39m, [36mPublic/JS/Main.js[39m -> [36mPublic/JS/some-project.js[39m Reading Public/JS/jquery-1.10.2.js...[32mOK[39m Reading Public/JS/jquery.ba-hashchange.js...[32mOK[39m Reading Public/JS/FitText/jquery.fittext.js...[32mOK[39m Reading Public/JS/Animation.js...[32mOK[39m Reading Public/JS/Main.js...[32mOK[39m Writing Public/JS/some-project.js...[32mOK[39m File "Public/JS/some-project.js" created.

[4mRunning "uglify" task[24m

[4mRunning "uglify:main" (uglify) task[24m Verifying property [36muglify.main[39m exists in config...[32mOK[39m Files: [36mPublic/JS/some-project.js[39m -> [36mPublic/JS/some-project.min.js[39m Minifying with UglifyJS...Reading Public/JS/some-project.js...[32mOK[39m [32mOK[39m Writing Public/JS/some-project.min.js...[32mOK[39m File "Public/JS/some-project.min.js" created. Original: [32m330481[39m bytes. Minified: [32m105772[39m bytes.

[4mRunning "photobox" task[24m

[4mRunning "photobox:task" (photobox) task[24m Verifying property [36mphotobox.task[39m exists in config...[32mOK[39m File: [33m[no files][39m Deleting Private\Tests\Screenshots\img\last...[32mOK[39m Deleting Private\Tests\Screenshots\img\diff...[32mOK[39m

[1mPHOTOBOX STARTED PHOTO SESSION.[22m Writing Private\Tests\Screenshots\img\current\timestamp.json...[32mOK[39m Wrote timestamp file with Mon Nov 25 2013 16:08:16 GMT+0100 (Mitteleuropäische Zeit). started photo session for http://www.google.de/|800x600 Writing Private\Tests\Screenshots\options.json...[32mOK[39m Command: phantomjs C:\xampp\htdocs\projects\some-project\node_modules\grunt-photobox\tasks\lib\photoboxScript.js http://www.google.de/|800x600 Private\Tests\Screenshots\ Private\Tests\Screenshots\options.json

[32m>> [39m[grunt-notify] growl: growlnotify wasn't found. If you were hoping to use Growl, make you sure you have their command line script called Growlnotify. Mac: http://growl.info/downloads or Windows: http://www.growlforwindows.com/gfw/help/growlnotify.aspx and put it in your path. You should be able to type growlnotify --version and get something back. [32m>> [39m[grunt-notify] IS_WINDOWS: true [32m>> [39m[grunt-notify] PROGRAM_FILES: C:\Program Files [32m>> [39m[grunt-notify] PROGRAM_FILES_X86: C:\Program Files (x86) [32m>> [39m[grunt-notify] fullPathToApplication: false [32m>> [39m[grunt-notify] snarl: We couldn't find heysnarl.exe in your path or in "full phat/Snarl/tools" - maybe you have an older version? [32m>> [39m[grunt-notify] os: Windows_NT [32m>> [39m[grunt-notify] version: 6.1.7601 [32m>> [39m[grunt-notify] IS_MAC: false [32m>> [39m[grunt-notify] MOUNTAIN_LION: false [32m>> [39m[grunt-notify] notification_center: Not available for your OS. [32m>> [39m[grunt-notify] notify-send: notify-send was not found in your path [32m>> [39m[no-notifications] title: Project photobox:task [32m>> [39m[no-notifications] message: Takin' picture of http://www.google.de/|800x600did not work correclty... [31m>> [39mTakin' picture of http://www.google.de/|800x600did not work correclty... Error PhotoSessionCallback: Result for http://www.google.de/|800x600 was PhotoSessionCallback: Code for http://www.google.de/|800x600 was 255 [32m>> [39mPHOTOBOX FINISHED PHOTO SESSION SUCCESSFULLY.

NOTE: You defined to use ImageMagick, make sure it is installed.

[1mPHOTOBOX STARTED DIFF GENERATION.[22m started diff for www.google.de--800x600 [32m>> [39m[no-notifications] title: Project photobox:task [32m>> [39m[no-notifications] message: Nothing to diff here - no old pictures available. [31m>> [39mNothing to diff here - no old pictures available. [32m>> [39mPHOTOBOX FINISHED DIFF GENERATION SUCCESSFULLY.

[1mPHOTOBOX STARTED INDEX FILE GENERATION[22m Reading C:\xampp\htdocs\projects\some-project\node_modules\grunt-photobox\tasks\tpl\magic.tpl...[32mOK[39m Reading Private\Tests\Screenshots\img\current\timestamp.json...[32mOK[39m Reading Private\Tests\Screenshots\img\last\timestamp.json...[32mOK[39m Writing Private\Tests\Screenshots\index.html...[32mOK[39m [32m>> [39mPHOTOBOX CREATED NEW 'index.html' AT 'Private\Tests\Screenshots\'.

[4mRunning "doc" task[24m

[4mRunning "jsdoc" task[24m

[4mRunning "jsdoc:dist" (jsdoc) task[24m Verifying property [36mjsdoc.dist[39m exists in config...[32mOK[39m Files: [36mPublic/JS/Animation.js[39m, [36mPublic/JS/Main.js[39m Documentation generated to C:\xampp\htdocs\projects\some-project\Private\Documentation\JavaScript [4mRunning "markdown" task[24m

[4mRunning "markdown:all" (markdown) task[24m Verifying property [36mmarkdown.all[39m exists in config...[32mOK[39m Files: [36mReadMe.md[39m -> [36mPrivate/Documentation/Index.html[39m Files: [36mPrivate/Less/README.md[39m -> [36mPrivate/Documentation/Less.html[39m Reading C:\xampp\htdocs\projects\some-project\node_modules\grunt-markdown\tasks\template.html...[32mOK[39m Reading ReadMe.md...[32mOK[39m Marking down...Writing Private/Documentation/Index.html...[32mOK[39m File "Private/Documentation/Index.html" created. Reading Private/Less/README.md...[32mOK[39m Marking down...Writing Private/Documentation/Less.html...[32mOK[39m File "Private/Documentation/Less.html" created.

[32mDone, without errors.[39m

stefanjudis commented 10 years ago

stefanjudis/grunt-phantomas#9 could maybe be the same problem.

stefanjudis commented 10 years ago

@Milanowicz Can you please check if 0.7.0 if solves that issues?!

stefanjudis commented 10 years ago

@Milanowicz I'm closing this issue now. Feel free to reopen, if you still have any troubles. :)