-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Downsync fails with Node 10.22 #10
Comments
I'm using it with 10.21 myself, and don't see any errors. It's possible it's trying to use imagemagick despite it not existing, in which case it should simply pass over instead of error out. Checking the code now. |
should now work, node-flickrapi was updated and 0.2.17 should no longer cause a crash when the imagemagick program is not installed |
after an |
I did an "npm update" but didn't actually confirm the code was updated. Still saw the error. Installed imagemagick (how is it used if installed?) I say seems to be, because it's been running for over 10 mins and usually Can't scroll back far enough to see what it's doing, but I suspect it if that theory is correct it would explain why the main page isn't working; thanks again, mike On Wed, Nov 20, 2013 at 9:55 PM, Mike Kamermans notifications@github.comwrote:
|
it should still load a main page if it fails to download anything; even without a single photo, it should still generate a skeleton page =/ |
I also just ran node-flickrapi (v02.17) with imagemagick uninstalled, and it doesn't crash, so the errors your seeing may not be caused by imagemagick in this case. |
I've now broken the display of secondary pages, likely due to the error I I'll be tied up most of the day, but what I plan to do is remove the old I'll let you know once I've done that and we can see where things stand at thanks! Mike On Thu, Nov 21, 2013 at 12:10 AM, Mike Kamermans
|
If you've comfortable with it, you could zip your ia dir (no need for the actual images. broken image links don't prevent the pages from loading, they just result in lots of 404s after it loads and it tries to load in the images) and mail it to me, and then I'd be happy to run as many tests as I can come up with against that, to see what's going on. |
no problem. I'll wait til the current downsync completes, see if there's On Thu, Nov 21, 2013 at 12:03 PM, Mike Kamermans
|
well, that didn't work, file too large you can pick up the zip, if you don't mind, at ---------- Forwarded message ---------- Delivery to the following recipient failed permanently: Technical details of permanent failure: The error that the other server returned was: ----- Original message ----- DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; oCXxpuIKZ6crvsYxjJkdLKZmPauwhpdEKrwE8Ti7wcQOq2Ppv9SnG/NZ3qkQhFGZIIt+ 4bAuFnN3OXqZ1bSJc8EqzRmYZIu7Npm2XEqwHWRMN9LnJ2KsaOE5JSGNixG35jXH7sC0 pQVrY/G78lkxtbn0hoNKBsUnhkeh1bmMU9qE57+7t2GHpvHAKB/0DeLG7IGQ40ag7mky M/FjjwYeP1tCw4EAEhojn63sIq3Bm6kdrKsGyg0cCb6p5P+gqqhcSFPXFIO8bM71Hzd8
Here you go. I'm having a bad day, and thought I made a backup before arg. got this from gmail: ia.zip contains an executable file. For security since when is json an executable? anyway, I renamed the file and it seems to work thanks, Mike On Thu, Nov 21, 2013 at 12:03 PM, Mike Kamermans
|
that's just gmail being a twit (which, frankly, is pretty par for the course with it). I downloaded the zip file, and will be seeing what's making the code not generate pages for you. |
errors reproduced with your .json data, so I should be able to find out what's wrong with some poking and coffee. Thanks for packing up the ia dir! |
Wonderful, glad to hear it! On Thu, Nov 21, 2013 at 6:11 PM, Mike Kamermans notifications@github.comwrote:
|
Turns out one of your collections is a collection-of-collections. I had no idea Flickr allowed you to build one of those, but that's a) pretty cool and b) definitely broke the code. I rewrote it a bit to cope with arbitrarily nested collections, so you should now be able to see your main page (I can, although I see broken image links of course =) on version v0.1.11 |
Thank you very much! It's now working on my site as well. Whoo hoo! On Thu, Nov 21, 2013 at 6:30 PM, Mike Kamermans notifications@github.comwrote:
|
Also, since I don't really manage my collections (guess I should, I didn't diff views/index.orig.html views/index.html10,15d9 On Thu, Nov 21, 2013 at 6:30 PM, Mike Kamermans notifications@github.comwrote:
|
I had a look at the code some more and imagemagick is honestly just now worth it... so I updated node-flickrapi and flickrmirror to just get rid of it entirely. The collection thumbnail is simply copied from flickr.com now as well, based on the collection.iconsmall/.iconlarge properties. It actually brings down main page load time a lot too, as it's no longer loading all the tiny thumbnails. So I guess you get two solutions to the problem =P |
Hi, I shared the link to my mirror and then went like I would on any other Do you have any plans for logging capabilities, or any pointers on how I I'm a novice javascript programmer, but who knows, I might be able to And if this is something you've thought about doing, I'll be glad to post thanks, Mike On Thu, Nov 21, 2013 at 8:41 PM, Mike Kamermans notifications@github.comwrote:
|
It's trivial to add logging to the app by adding a |
v0.1.13 now logs server events to the logs directory, using one file per 24 hour period, marked on when the application is (re)started. You can control the log verbosity through the .env file, and there are two new vars: LOGCYCLE for the interval between two log files, and LOGFORMAT, which can be any that connect.logger() allows (http://www.senchalabs.org/connect/logger.html) I'm going to keep this ticket closed, so if you have any other feature request, please file a new issue and I'll be happy to look at it there. |
Ubuntu 12.04 32 bit on digital ocean.
node app --downsync fails with the following error:
---------------------------------------------------------------------------] 1/5913
events.js:72
throw er; // Unhandled 'error' event
^
Error: spawn ENOENT
at errnoException (child_process.js:980:11)
at Process.ChildProcess._handle.onexit (child_process.js:771:34)
root@riverside-cafe:/usr/local/src/flickrmirror-master#
This is after it's "done fetching photo information from Flickr and during the 1st image during the "downloading photos and metadata from Flickr."
Though I just now noticed it didn't complete the download apparently:
==============================================================-------------] 5900/5913
done fetching photo information from Flickr.
Using node 0.8.9 the downsync completes w/out errors.
The text was updated successfully, but these errors were encountered: