fredrikcarno / flyerpic-backend

Backend of e-commerce platform for photographers
0 stars 0 forks source link

Still stocastic sorting, is the server updated after you found the stripping info bug in watermark plug #69

Closed fredrikcarno closed 10 years ago

fredrikcarno commented 10 years ago

image

electerious commented 10 years ago

I updated and it worked perfectly yesterday o0 That's really strange. Will look at it again. EXIF data missing after upload, again… Can reproduce the issue.

electerious commented 10 years ago

Further investigations are showing: When you upload photos the first time, they have EXIF data in Lychee. When you upload them and a copy of the photo is already stored in Lychee, they don't have EXIF data. This could be an issue of Lychee. I'm on it.

electerious commented 10 years ago

Ok, it's not Lychee. It's the watermark plugin having problems with the current of Lychee.

electerious commented 10 years ago

The bug only happens when you upload photos that have been uploaded before. As photographers aren't uploading the same photos multiple times, they should not have this error. However, I'm on fixing this thing.

fredrikcarno commented 10 years ago

Very cool you never know if they upload a lot and forget, who know better to find all

electerious commented 10 years ago

Will try to take a closer look at it this evening. Sorry for the trouble :-/

fredrikcarno commented 10 years ago

No trouble i find it very interesting that we find these bugs, or rather special usescases producing special results :)

electerious commented 10 years ago

Seems it was already fixed, but we had old photos on the server and Lychee was using the photos which where uploaded before I had fixed the bug. But yes, seems like I finally figured it out. Also slightly optimize the watermarking. I now tested several times and it's always working! :) Hope this is the last issue on GitHub for this problem haha

fredrikcarno commented 10 years ago

:)

fredrikcarno commented 10 years ago

Latest testing it was all alright. It seems that this qr is so detailed that you got to hold really still to take a good shot. I think i had it in my mind to take a photo of "the flyer", from a little distance... But we should really think, take photo of "the code" ie come closer and only photo these parts of the flyer.. This must be rememberred to be communicated to the photographers. definatly for the webdesign part after the thesis, to have it communicated, mabye with pictures

fredrikcarno commented 10 years ago

Hmm when log in.. ..the first uploading of files most time fails. Really strange. Also when logging in in chrome ios i dont see the 3 icons must reload to see them.

electerious commented 10 years ago

What is the error of the first failing upload?

fredrikcarno commented 10 years ago

This image

electerious commented 10 years ago

I have some errors saying 'Error: Connection lost: The server closed the connection.'. Not sure what this is. Looks new. Can you open a new issue for that so I can have a look at it?

electerious commented 10 years ago

Yes, you error is because of this. The backend is loosing the connection to the database when running for a longer time. The upload needs the database. That's never the case on my computer as the backend isn't running all the time. I need to handle the error and reconnect. Than it should be fixed :)

electerious commented 10 years ago

http://stackoverflow.com/questions/20210522/nodejs-mysql-error-connection-lost-the-server-closed-the-connection

fredrikcarno commented 10 years ago

Very cool add a seperate issue