Error msgs. while importing G1 to G2

bibi

Joined: 2003-06-28
Posts: 33
Posted: Fri, 2008-12-26 17:15

I'm trying to export pictures from Gallery 1 to G2.
directory is set with chmod -R 777 ... and right access.
This is the error msg I have:

Error Detail -
Error (ERROR_BAD_PARAMETER) : Missing or not readable file: /home/yves/download/albums.Yves/Maud_2005_Courses-de-ski-de-fond-Yoann-Fév-Mars/album.dat

* in modules/migrate/classes/Gallery1DataParser.class at line 66 (GalleryCoreApi::error)
* in modules/migrate/classes/Gallery1DataParser.class at line 225 (Gallery1DataParser::loadFile)
* in modules/migrate/classes/Gallery1DataParser.class at line 109 (Gallery1DataParser::loadAlbumFields)
* in modules/migrate/ChooseObjects.inc at line 265 (Gallery1DataParser::getAlbumList)
* in modules/migrate/ChooseObjects.inc at line 218 (ChooseObjectsView::_createG1AlbumTree)
* in modules/core/SiteAdmin.inc at line 209 (ChooseObjectsView::loadTemplate)
* in modules/core/classes/GalleryView.class at line 293 (SiteAdminView::loadTemplate)
* in main.php at line 465 (GalleryView::doLoadTemplate)
* in main.php at line 104
* in main.php at line 88
---
System Information
Gallery version 2.3
PHP version 5.1.6 apache2handler
Webserver Apache/2.2.3 (CentOS)
Database mysqli 5.0.45
Toolkits ImageMagick, Thumbnail, NetPBM
Operating system Linux t0.pointca.com 2.6.18-92.1.18.el5PAE #1 SMP Wed Nov 12 10:02:30 EST 2008 i686
Browser Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sat, 2008-12-27 04:47
Quote:
Missing or not readable file: /home/yves/download/albums.Yves/Maud_2005_Courses-de-ski-de-fond-Yoann-Fév-Mars/album.dat

Does that file exist?
Does your G1 install work?

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
bibi

Joined: 2003-06-28
Posts: 33
Posted: Sat, 2008-12-27 05:12

I find my 'bobo' ;-) Just privilege and bad linked albums problems here ...

G1 worked for several years without any problems. G2 is now working fine. Import is very useful.

I just get a problem with GD lib. and libjpeg for CENTOS 5 which do not support crop ...

All the rest is really great !!!

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sat, 2008-12-27 05:28

You will have issues with GD, so I would recommend using another toolkit.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
bibi

Joined: 2003-06-28
Posts: 33
Posted: Sat, 2008-12-27 05:54

As I uderstand, Captcha use GD, and if gd do not work, Captcha won't work too ?

It is very strange, GD is correct, and there for PHP, lib is also there ...

[root@t0 ~]# php -r 'phpinfo();' | grep -i gd
Configure Command => './configure' '--build=i686-redhat-linux-gnu'
'--host=i686-redhat-linux-gnu' '--target=i386-redhat-linux-gnu'
'--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr'
'--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc'
'--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib'
'--libexecdir=/usr/libexec' '--localstatedir=/var'
'--sharedstatedir=/usr/com' '--mandir=/usr/share/man'
'--infodir=/usr/share/info' '--cache-file=../config.cache'
'--with-libdir=lib' '--with-config-file-path=/etc'
'--with-config-file-scan-dir=/etc/php.d' '--disable-debug' '--with-pic'
'--disable-rpath' '--without-pear' '--with-bz2' '--with-curl'
'--with-exec-dir=/usr/bin' '--with-freetype-dir=/usr' '--with-png-dir=/usr'
'--enable-gd-native-ttf' '--without-gdbm' '--with-gettext' '--with-gmp'
'--with-iconv' '--with-jpeg-dir=/usr' '--with-openssl' '--with-png'
'--with-pspell' '--with-expat-dir=/usr' '--with-pcre-regex=/usr'
'--with-zlib' '--with-layout=GNU' '--enable-exif' '--enable-ftp'
'--enable-magic-quotes' '--enable-sockets' '--enable-sysvsem'
'--enable-sysvshm' '--enable-sysvmsg' '--enable-track-vars'
'--enable-trans-sid' '--enable-yp' '--enable-wddx' '--with-kerberos'
'--enable-ucd-snmp-hack' '--with-unixODBC=shared,/usr'
'--enable-memory-limit' '--enable-shmop' '--enable-calendar' '--enable-dbx'
'--enable-dio' '--with-mime-magic=/usr/share/file/magic.mime'
'--without-sqlite' '--with-libxml-dir=/usr' '--with-xml'
'--with-system-tzdata' '--enable-force-cgi-redirect' '--enable-pcntl'
'--with-imap=shared' '--with-imap-ssl' '--enable-mbstring=shared'
'--enable-mbstr-enc-trans' '--enable-mbregex' '--with-ncurses=shared'
'--with-gd=shared' '--enable-bcmath=shared' '--enable-dba=shared'
'--with-db4=/usr' '--with-xmlrpc=shared' '--with-ldap=shared'
'--with-ldap-sasl' '--with-mysql=shared,/usr'
'--with-mysqli=shared,/usr/bin/mysql_config' '--enable-dom=shared'
'--with-dom-xslt=/usr' '--with-dom-exslt=/usr' '--with-pgsql=shared'
'--with-snmp=shared,/usr' '--enable-soap=shared' '--with-xsl=shared,/usr'
'--enable-xmlreader=shared' '--enable-xmlwriter=shared' '--enable-fastcgi'
'--enable-pdo=shared' '--with-pdo-odbc=shared,unixODBC,/usr'
'--with-pdo-mysql=shared,/usr' '--with-pdo-pgsql=shared,/usr'
'--with-pdo-sqlite=shared,/usr' '--enable-dbase=shared'
/etc/php.d/gd.ini,
gd
GD Support => enabled
GD Version => bundled (2.0.28 compatible)
=================================

What do you suggest?

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sat, 2008-12-27 07:03

Install another toolkit and set the toolkit priority so that GD is last.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
bibi

Joined: 2003-06-28
Posts: 33
Posted: Sat, 2008-12-27 20:25

... and what toolkit should be used with Captcha?

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sat, 2008-12-27 20:57

GD,
but it only has to be on the list, at a lower priority.

All I am saying is that GD is a memory hog when it comes to making thumbs and resizes. If you don't experience issues with GD then you can live with it the way it is.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
bibi

Joined: 2003-06-28
Posts: 33
Posted: Sun, 2008-12-28 17:45

OK, I've done this and it is working fine ! Thanks for the trick ;-)