<TYPE YOUR MESSAGE HERE, ENTER SYSTEM DETAILS BELOW>
<Please check the G2 FAQ (sticky topic in this forum) before posting!>
----
Error Detail -
Error (ERROR_BAD_PATH)
in modules/core/classes/GalleryMovieItem.class at line 144 (gallerystatus::error)
in modules/core/classes/helpers/GalleryItemHelper_medium.class at line 190 (gallerymovieitem::create)
in modules/core/classes/GalleryCoreApi.class at line 1484 (galleryitemhelper_medium::additemtoalbum)
in modules/migrate/ConfirmImport.inc at line 857 (gallerycoreapi::additemtoalbum)
in main.php at line 183 (confirmimportcontroller::handlerequest)
in main.php at line 87
in main.php at line 78
System Information
Gallery version 2.0-beta-3+
PHP version 4.3.10 apache2handler
Webserver
Database mysql 4.1.10-standard
Toolkits ImageMagick, NetPBM, Gd
Operating system Linux fishgeeks.com 2.4.22-1.2199.4.legacy.nptlsmp #1 SMP Sun Feb 20 18:07:59 EST 2005 i686
Browser Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; Alexa Toolbar)
G1 album has approx 300 sub albums and 6000 images. Mem limit is set to 160MB in php.ini
Posts: 974
sounds to me like you have a missing file. You should figure out which file it is trying to import and figure out why it is missing from your g1 -- or if it is not missing, give me a link to it so I can see if it has a strange name or if there is some other reason why g2 can't find it.
Posts: 32509
jmullan, mbuna is using g2 embedded in postnuke. don't know if this could have anything to do with this problem.
Posts: 96
um, any hints on how to figure out what file it was working on?
Posts: 32509
jmullan, seems like embedded g2 has nothing to do with it. it was executed in g1 standalone.
Posts: 974
mbuna, run the import again and watch as it tells you each album and item it imports. Make note of what it says it is doing when it breaks. If you like, you could figure out which album the item is in and try importing just that album.
Posts: 974
Also, have you run the find orphans tool yet? You really should. I don't know if it detects missing items, but it ought to if it doesn't.
Posts: 4
I don't have nuke. I just have a customized version of G1, but the import always errors out on trying to read photos.dat. None of my gallery albums have that file.
Posts: 96
Jmullan,
I have yet to see any albums/etc be displayed during the import. I just get the status bar and then some numbers in the upper right hand part of the screen.
I'll have a look at the orphans tool. In G1 that tool completely hosed one of my galleries so I'm hesitant to use it on a prod site.
Posts: 974
dpruitt, uh, is this your thread? No, it isn't. I don't know how I missed your other thread, but I will answer your question there, since it has nothing to do with this thread.
mbuna, you aren't seeing anything above the progress bar? Would you mind giving me access to your g2 so I can run the import? Otherwise, you could check to see what the last item imported was, and figure out what album that was in. (hint: it would have the highest id)
Posts: 96
JM,
Ok, I do see that it shows the album, but it was in white on white so it wasn't viewable. I had to view source to see what it said.
I found the file that was missing and am trying the import again.
Posts: 96
hmm, now it just stops importing with no error message.
The import path is /www/htdocs/fishgeeks/modules/gallery/albums (this is my production gallery)
Posts: 32509
mbuna, this will be too few information for jmullan. you'll have to find out which specific album / item is the problem.
and maybe if you can you should give jmullan access to your g2/box such that he can debug the problem.
Posts: 974
mbuna sent me a pm with login info, so we'll see
Posts: 96
JM, I'm online at
(yahoo) or
(msn) if you need anything from me on this.
Posts: 974
We'll see if I can get to this after work. My contact info is in every post, so if you want to contact me I can walk you through more debugging (like checking your apache error logs to see if you ran out of memory). Actually, that's a good idea. You should look in your error log and see if it says "failed to allocated xxx bytes." Also, you should tell me what sort of memory usage you get in the upper right hand corner, since that is the first warning for memory errors. You might still get memory errors without warning if something like the EXIF module runs away with an fread (it happens... a lot).
Posts: 96
No error in the log. I have php set to 160MB.
Here is what is on the page when it stops:
Migration Status
Importing photos
tank_setups anq.jpg
Estimated time remaining: 10:25
<snip>
18805856/160M
18808616/160M
18811512/160M
18814480/160M
I'll up the mem and try again.
Posts: 96
Ok, upping mem to 256MB didn't make a difference. Still crapped out on the same photo.
Posts: 96
Ok here is what I've tried.
Upping mem to 256mb
Importing a single album
Importing an album with sub albums
turning off thumbnail creation
All fail. When I tried on album tree they all failed on the same photo, this photo exists and looks ok from the server.
I've also run the orphan and validate tools against the g1 album prior to trying to import.
Posts: 974
What is that photo? Can you download it from your G1 and upload it to your G2 through normal means? With 256M it is very likely not a migration problem any more, but it could still be an EXIF issue - I've seen the library that we use try to allocate multiple GIGAbytes of space. This is a bug, of course, but, uh, well, try uploading that image separately and let me know.
Thanks!
Posts: 96
I deleted that photo and it failed on the next one. I'll try uploading that one manually.
Posts: 96
http://www.aquaria.info/modules/gallery/albums/tank_setups/ans.jpg
This is the photo it's puking on. I can't seem to add it manually either.
Posts: 96
JM,
Were you able to import that photo into your G2 album?
Posts: 974
Nope, sorry, I just tried, and with exif on it runs out of memory. With exif off it's fine. :/ Sigh.
Posts: 96
Ok, so this is part of the known bug? Any eta on resolution?
Posts: 974
Sort of -- we know that the exif library that we use is buggy. I started a new local branch so I could see about fixing it.
Posts: 96
How can I turn off exif?
Posts: 974
go to the admin options, then modules, and deactivate the module
Posts: 96
Thanks JM. What do you lose if you turn off that module?
Posts: 32509
you lose exif data, e.g. when the pic was captured etc.