errors during migration
JustinHoMi
Joined: 2002-08-17
Posts: 42 |
Posted: Thu, 2005-01-13 08:02 |
I'm running into problems migrating my G1 data over to G2. My G1 gallery has 5300+ images in 220 albums occupying about 4.3GB of disk space. First, I attempted to migrate everything over at once. After clicking the migrate button, the browser twiddled it's thumbs for a minute or two and then stopped. It didn't reach the completion page or report any error. Upon inspection, it did migrate over about 600 images, but it was quite incomplete, and there were a number of errors in sorting, etc. The second attempt was to migrate a set of sub albums with 600 items, which worked great. The third attempt was to migrate a smaller set of albums that had a lot of videos. This failed after about 350 items with the following error: Warning: fread(): Length parameter must be greater than 0. in /home/httpd/justinmitchell.net/gallery2/modules/exif/lib/exifer/makers/olympus.inc on line 155 Warning: fread(): Length parameter must be greater than 0. in /home/httpd/justinmitchell.net/gallery2/modules/exif/lib/exifer/makers/olympus.inc on line 155 Warning: Cannot modify header information - headers already sent by (output started at /home/httpd/justinmitchell.net/gallery2/modules/exif/lib/exifer/makers/olympus.inc:155) in /home/httpd/justinmitchell.net/gallery2/main.php on line 375 Fourth attempt: same thing, same error. Five, six, seven, eight: I narrowed it down to a specific album (which was hidden at the time) but I couldn't figure out what the problem was. During migration, I unchecked the mapping and thumbnail options. Anyways, I figured I'd just post this in hopes of uncovering the cause. ---- |
|
Posts: 974
This isn't a migration issue, this is a exif-reader issue - I downloaded one of those images and tried to upload it to my own G2. I was unsuccessful until I turned off the exif module.
Posts: 42
Ah, good to know. As it turns out, the album actually imported, and the photo properties show all of the exif information, as far as I can tell. We just get that error that halts things....
But... we still have the problem with trying to import all of the albums at once .
Posts: 974
I've been throwing code at that problem for a few weeks now. It's coming along, and there are item by item status updates at the same time, meaning that random crashes will at least tell you how far they get along the way. ;)
Posts: 5
FWIW, I also get failed migrations on various files that I think are exif related. This is with a fresh cvs version of g2. Here is some error output using thumbnail generation, but no redirection links. My server is at 134.197.55.114.