Piwigo Bugtracker

Viewing Issue Advanced Details Jump to Notes ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001010 [pLoader] preparation major always 2009.05.26 03:34 2009.06.02 23:47
Reporter RizThon View Status public  
Assigned To rosman
Priority normal Resolution fixed Platform
Status closed   OS Windows
Projection none   OS Version XP
ETA none Fixed in Version 2.0.2c Product Version 2.0.2b
  Target Version Product Build
Summary 0001010: Error with pLoader cache
Description If you have a 500 error when uploading pictures and you move those pictures on your hard drive from one location to another, when trying to upload those sames pictures from their new location, you get an error message stating that the 1st picture doesn't exist (the whole upload stops here, it doesn't try the other pictures). The path show in the message box is the old path.
Steps To Reproduce - try uploading big (more than 1MB) pictures to piwigo 2.0.1 and get a 500 error (the pictures are too big and the chunk feature doesn't work with 2.0.1)
- upgrade to piwigo 2.0.2
- move the pictures you tried to previously upload to another location on your hard drive
- try uploading the same pictures that have been moved
Additional Information Here is a workaround before a clean fix.
pLoader has a cache located in : C:\Documents and Settings\<user account>\Local Settings\Application Data\.pLoader ( XP ). Just remove pLoader.dat file and restart pLoader.

This error happened because I first used piwigo 2.0.1 and tried uploading big pictures, but we would probably get the same result if for some reasons there's a server error, or it's unreachable.

When looking at the cache, I realized that all the pictures I ever uploaded (and removed from the pLoader selection) are still there in the preview, resize, thumbnails an wxthumbnails directories, and still referenced to in pLoader.dat (and the last pictures were sent straight to piwigo 2.0.2 and were uploaded successfully at once).
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0002605)
rosman (manager)
2009.05.27 08:39

Image metadata are saved in pLoader.dat.

Each image is identified by its md5 checksum. When file location changes, metadata are not updated to reflect the new location.

A photo can be uploaded in several categories. pLoader processes images in cache only once.

This behaviour should be optional or user should have the choice to clean up cache.
(0002609)
RizThon (reporter)
2009.05.27 16:47

I guess the pictures should be removed from the cache as soon as they are removed from the selection in pLoader.

I never thought you used an MD5 so that a picture can be uploaded in several categories (which internally means the picture is physically uploaded only once, but added in several categories). To me this goes beyond the scope of having a software "just to upload pictures to Piwigo without the need to use an FTP (and at the same time create the thumbnails and resized pictures)". But I guess you guys did this because it was useful to you, so it can probably be useful to others too. That feature just need to be well explained.
(0002617)
rosman (manager)
2009.05.29 22:57
edited on: 2009.05.30 11:07

Fixed in [Subversion] r3366


- Issue History
Date Modified Username Field Change
2009.05.26 03:34 RizThon New Issue
2009.05.27 08:39 rosman Note Added: 0002605
2009.05.27 08:40 rosman Assigned To => rosman
2009.05.27 08:40 rosman Status new => assigned
2009.05.27 16:47 RizThon Note Added: 0002609
2009.05.29 22:57 rosman Note Added: 0002617
2009.05.29 22:57 rosman Status assigned => resolved
2009.05.29 22:57 rosman Fixed in Version => 2.0.2c
2009.05.29 22:57 rosman Resolution open => fixed
2009.05.30 11:07 rosman Note Edited: 0002617
2009.06.02 23:47 plg Status resolved => closed


Mantis 1.1.6[^]
Copyright © 2000 - 2008 Mantis Group
Contact
Powered by Mantis Bugtracker