In attempting to use the G1->G2 module to import photos into my new G@ gallery, I get the following:
Quote:
Error
An error has occurred.
Back to the Gallery
Error Detail -
Error (ERROR_BAD_PATH) : /oldlocal/www.samkuhn.com/photos/albums/sndwed_AKguys/aaa.jpg
* in modules/core/classes/GalleryPhotoItem.class at line 121 (gallerystatus::error)
* in modules/core/classes/helpers/GalleryItemHelper_medium.class at line 207 (galleryphotoitem::create)
* in modules/core/classes/GalleryCoreApi.class at line 1381 (galleryitemhelper_medium::additemtoalbum)
* in modules/migrate/ConfirmImport.inc at line 816 (gallerycoreapi::additemtoalbum)
* in main.php at line 164 (confirmimportcontroller::handlerequest)
* in main.php at line 46
* in main.php at line 39
The error prevents further import on that session, and generates the following error when I attempt to browse to the album which contains the album which contains the imported picture in the original error:
Quote:
Error
An error has occurred.
Back to the Gallery
Error Detail -
Error (ERROR_LOCK_TIMEOUT)
* in modules/core/classes/GalleryStorage/DatabaseStorage.class at line 917 (gallerystatus::error)
* in modules/core/classes/GalleryStorage.class at line 471 (mysqldatabasestorage::acquirewritelock)
* in modules/core/classes/DatabaseLockSystem.class at line 88 (gallerystorage::acquirewritelock)
* in modules/core/classes/helpers/GalleryLockHelper_simple.class at line 196 (databaselocksystem::acquirewritelock)
* in modules/core/classes/GalleryCoreApi.class at line 2045 (gallerylockhelper_simple::acquirewritelock)
* in modules/core/classes/helpers/GalleryDerivativeHelper_advanced.class at line 681 (gallerycoreapi::acquirewritelock)
* in modules/core/classes/helpers/GalleryDerivativeHelper_advanced.class at line 669 (galleryderivativehelper_advanced::rebuildcache)
* in modules/core/classes/GalleryCoreApi.class at line 759 (galleryderivativehelper_advanced::rebuildcache)
* in modules/core/classes/GalleryLayout.class at line 626 (gallerycoreapi::rebuildderivativecache)
* in layouts/matrix/layout.inc at line 263 (matrixlayout::loadlayouttemplate)
* in layouts/matrix/layout.inc at line 150 (matrixlayout::_loadalbumtemplate)
* in modules/core/ShowItem.inc at line 124 (matrixlayout::loadtemplate)
* in modules/core/classes/GalleryView.class at line 246 (showitemview::loadtemplate)
* in main.php at line 283 (showitemview::doloadtemplate)
* in main.php at line 46
* in main.php at line 39
Any more data I can provide? Can the G1 import module break more gracefully? Perhaps offer a list of files that it fails to import or generate thumbs for (another issue, but I'll get to that later)?
Quote:
System Information
Gallery version 2.0-alpha-4+
PHP version 4.3.10 apache2handler
Webserver Apache
Database mysqlt 4.1.8-standard
Toolkits ImageMagick, Gd
Operating system Linux www.samkuhn.com 2.6.9-5.cc #1 Sat Dec 4 10:24:14 EST 2004 i686
Browser Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
Posts: 60
OK, so the import directory has only the album data files, and no .jpg files at all. Odd, yes?
Posts: 60
In anther imported album I am also having trouble.
http://photos.kuhnfamily.net/main.php/v/gene/album09/album10/album11_0/
I can load the photos directly by going to the debug browse
http://photos.kuhnfamily.net/main.php/v/gene/album09/album10/album11_0/aaa
note there is no mid size or thumb, and G2 won't generate one, apparently.
The debug tree for that window looks like:
Posts: 974
It could certainly break more nicely. qYou appear to be missing the file
/oldlocal/www.samkuhn.com/photos/albums/sndwed_AKguys/aaa.jpg
from your gallery1.
Please double check that the image is present and readable in your gallery1. Thanks
Posts: 60
Sorry if my original inquiry seemed obtuse. I greatly appreciate your work on the G1-G2 migration module. I have ~10,000 images. It would be awful to replace them all.
The directory above has no jpg files in it at all, only gallery daa files (.dat,etc.). I'm not sure what happened to the jpg files.
Would it be possible to add error checking to the import module to simply return an error such as "picture files specified in album.dat not found" or some such thing, then move on? As it is, a G2 album is setup that matches the broken G1 album. The new G2 album is broken. That is, it is not possible to navigate into the album that contains the broken album. When a link that should go to the parent album of the broken album, the browser attempts to load the link (i.e. the spinner is active), then fails, remaining at the same page, with the same URL.. I have buffered debugging on, but I do not seem to be getting any additional debug info.
Is there a way I can provide more information?
The unnavigable-broken-album issue seems to exist in several of my albums, but one problem at a time!
Posts: 60
Bah. I was wondering where all the debug output was! I had debug turned on for the other site...
Attempting to navigate from:
http://photos.kuhnfamily.net/main.php/v/sam/
to
http://photos.kuhnfamily.net/main.php/v/sam/sam_d_s_cats/
Here is the information: