From registrations at liamjdavison.info Tue Nov 2 04:00:41 2004 From: registrations at liamjdavison.info (Liam Davison) Date: Tue Nov 2 04:00:56 2004 Subject: [Alexandria-list] Back in the game but have a problem Message-ID: <1099386041.4835.2.camel@localhost.localdomain> Hi Got my system back in order - I am running Ubuntu linux now, which seems very nice. Installed and ran alexandria-0.3.1 fine, so I'm back to testing the CVS version. Unfortunately, I seem to be missing something and I can't work out what - here is a trace of what happens when I try to run alexandria(cvs). I think I have satisfied all the dependencies! $ DEBUG=1 alexandria Exception `URI::InvalidURIError' at /usr/lib/ruby/1.8/uri/common.rb:432 - bad URI(is not URI?): ----------------------- Alexandria just crashed ----------------------- Timestamp: Tue Nov 02 08:57:58 GMT 2004 Message: bad URI(is not URI?): Backtrace: /usr/lib/ruby/1.8/uri/common.rb:432:in `split' /usr/lib/ruby/1.8/uri/common.rb:481:in `parse' /usr/local/lib/site_ruby/1.8/alexandria.rb:45:in `main' /usr/bin/alexandria:10 Release: CVS Uname -a: Linux ubuntu 2.6.8.1-3-386 #1 Tue Oct 12 12:41:57 BST 2004 i686 GNU/Linux -- Please report this dump to 'alexandria-list@rubyforge.org' with some additional information, such as the description of the crash and the steps to reproduce it (if it's possible). This is straight from startup. Any thoughts? Liam From lrz at rubymonks.org Tue Nov 2 04:15:36 2004 From: lrz at rubymonks.org (Laurent Sansonetti) Date: Tue Nov 2 04:15:16 2004 Subject: [Alexandria-list] Back in the game but have a problem In-Reply-To: <1099386041.4835.2.camel@localhost.localdomain> References: <1099386041.4835.2.camel@localhost.localdomain> Message-ID: <34478.195.207.101.112.1099386936.squirrel@195.207.101.112> Hi Liam, > Hi > > Got my system back in order - I am running Ubuntu linux now, which seems > very nice. Installed and ran alexandria-0.3.1 fine, so I'm back to > testing the CVS version. > Great! Ubuntu seems cool by the way, it will probably be the next distribution I will try. But I'm so happy with Mandrake at the moment :-) > Unfortunately, I seem to be missing something and I can't work out what > - here is a trace of what happens when I try to run alexandria(cvs). I > think I have satisfied all the dependencies! > Looks like the http_proxy environment variable is invalid. I have fixed that in CVS a few days ago, if you are running a recent CVS snapshot you shouldn't get the problem! Could you list the environment variables on your system? While speaking of CVS, I have added yesterday the Import dialog. Alexandria is now able to export and import libraries via ISBN-list flat files. The Tellico import is empty, I will work on it tonight. I will also send PO files to all translators tonight, because I plan to release 0.4.0 Friday. I'm moving to France Saturday, and I won't have Internet access immediately (sigh). If you can, please try the CVS version as much as you can. I know I shouldn't release Alexandria without a lot of tests before, but I'm hurried with life stuff. Cheers, -- Laurent From me at liamjdavison.info Tue Nov 2 04:47:45 2004 From: me at liamjdavison.info (Liam Davison) Date: Tue Nov 2 04:49:28 2004 Subject: [Alexandria-list] Environment variables for my machine Message-ID: <1099388865.4835.6.camel@localhost.localdomain> Hi Laurent Thanks for getting back so quickly. Here are my environment variables - no HTTP_PROXY listed, but then, I don't have a proxy. $ printenv SSH_AGENT_PID=4772 TERM=xterm SHELL=/bin/bash GTK_RC_FILES=/etc/gtk/gtkrc:/home/ljd/.gtkrc-1.2-gnome2 WINDOWID=29363956 USER=ljd LS_COLORS=no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mpg=01;35:*.mpeg=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.ogg=01;35:*.mp3=01;35:*.wav=01;35: GNOME_KEYRING_SOCKET=/tmp/keyring-8F69sQ/socket SSH_AUTH_SOCK=/tmp/ssh-UDbVRW4726/agent.4726 SESSION_MANAGER=local/ubuntu:/tmp/.ICE-unix/4726 USERNAME=ljd DESKTOP_SESSION=default PATH=/usr/local/bin:/usr/local/sbin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/bin/X11:/usr/games PWD=/etc LANG=en_GB GDMSESSION=default HOME=/home/ljd SHLVL=1 LANGUAGE=en_GB:en_GB:en_US:en GNOME_DESKTOP_SESSION_ID=Default LOGNAME=ljd DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-N6KEOKdm2Y DISPLAY=:0.0 COLORTERM=gnome-terminal XAUTHORITY=/home/ljd/.Xauthority _=/usr/bin/printenv OLDPWD=/home/ljd Once I get this fixed, I promise I will test the CVS build as much as I can. Liam From lrz at rubymonks.org Tue Nov 2 04:58:41 2004 From: lrz at rubymonks.org (Laurent Sansonetti) Date: Tue Nov 2 04:58:12 2004 Subject: [Alexandria-list] Re: Environment variables for my machine In-Reply-To: <1099388865.4835.6.camel@localhost.localdomain> References: <1099388865.4835.6.camel@localhost.localdomain> Message-ID: <43161.195.207.101.112.1099389521.squirrel@195.207.101.112> Hi Liam, Could you try to modify alexandria.rb:45 as following? - ENV['http_proxy'] = nil if URI.parse(ENV['http_proxy']).userinfo.nil? + if !ENV['http_proxy'].nil? and URI.parse(ENV['http_proxy']).userinfo.nil? + ENV['http_proxy'] = nil + end I didn't try when there was no http_proxy variable (with Mandrake it is set by default). > Hi Laurent > > Thanks for getting back so quickly. Here are my environment variables - > no HTTP_PROXY listed, but then, I don't have a proxy. > > $ printenv > SSH_AGENT_PID=4772 > TERM=xterm > SHELL=/bin/bash > GTK_RC_FILES=/etc/gtk/gtkrc:/home/ljd/.gtkrc-1.2-gnome2 > WINDOWID=29363956 > USER=ljd > LS_COLORS=no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mpg=01;35:*.mpeg=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.ogg=01;35:*.mp3=01;35:*.wav=01;35: > GNOME_KEYRING_SOCKET=/tmp/keyring-8F69sQ/socket > SSH_AUTH_SOCK=/tmp/ssh-UDbVRW4726/agent.4726 > SESSION_MANAGER=local/ubuntu:/tmp/.ICE-unix/4726 > USERNAME=ljd > DESKTOP_SESSION=default > PATH=/usr/local/bin:/usr/local/sbin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/bin/X11:/usr/games > PWD=/etc > LANG=en_GB > GDMSESSION=default > HOME=/home/ljd > SHLVL=1 > LANGUAGE=en_GB:en_GB:en_US:en > GNOME_DESKTOP_SESSION_ID=Default > LOGNAME=ljd > DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-N6KEOKdm2Y > DISPLAY=:0.0 > COLORTERM=gnome-terminal > XAUTHORITY=/home/ljd/.Xauthority > _=/usr/bin/printenv > OLDPWD=/home/ljd > > Once I get this fixed, I promise I will test the CVS build as much as I > can. > > Liam > > > -- Laurent From lrz at rubymonks.org Tue Nov 2 12:46:27 2004 From: lrz at rubymonks.org (Laurent Sansonetti) Date: Tue Nov 2 12:46:57 2004 Subject: [Alexandria-list] Re: Environment variables for my machine In-Reply-To: <43161.195.207.101.112.1099389521.squirrel@195.207.101.112> References: <1099388865.4835.6.camel@localhost.localdomain> <43161.195.207.101.112.1099389521.squirrel@195.207.101.112> Message-ID: <1099417587.4809.2.camel@pinuxette.yavin.be> Just FYI, I just committed the fix on CVS and closed the following bug: http://rubyforge.org/tracker/?func=detail&atid=863&aid=1016&group_id=205 Amazing, the bug was opened this afternoon (a bit after you discovered it in the morning). It means that someone is trying the CVS version! :) Le mardi 02 novembre 2004 ? 10:58 +0100, Laurent Sansonetti a ?crit : > Hi Liam, > > Could you try to modify alexandria.rb:45 as following? > > - ENV['http_proxy'] = nil if URI.parse(ENV['http_proxy']).userinfo.nil? > + if !ENV['http_proxy'].nil? and URI.parse(ENV['http_proxy']).userinfo.nil? > + ENV['http_proxy'] = nil > + end > > I didn't try when there was no http_proxy variable (with Mandrake it is > set by default). > > > Hi Laurent > > > > Thanks for getting back so quickly. Here are my environment variables - > > no HTTP_PROXY listed, but then, I don't have a proxy. > > > > $ printenv > > SSH_AGENT_PID=4772 > > TERM=xterm > > SHELL=/bin/bash > > GTK_RC_FILES=/etc/gtk/gtkrc:/home/ljd/.gtkrc-1.2-gnome2 > > WINDOWID=29363956 > > USER=ljd > > LS_COLORS=no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mpg=01;35:*.mpeg=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.ogg=01;35:*.mp3=01;35:*.wav=01;35: > > GNOME_KEYRING_SOCKET=/tmp/keyring-8F69sQ/socket > > SSH_AUTH_SOCK=/tmp/ssh-UDbVRW4726/agent.4726 > > SESSION_MANAGER=local/ubuntu:/tmp/.ICE-unix/4726 > > USERNAME=ljd > > DESKTOP_SESSION=default > > PATH=/usr/local/bin:/usr/local/sbin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/bin/X11:/usr/games > > PWD=/etc > > LANG=en_GB > > GDMSESSION=default > > HOME=/home/ljd > > SHLVL=1 > > LANGUAGE=en_GB:en_GB:en_US:en > > GNOME_DESKTOP_SESSION_ID=Default > > LOGNAME=ljd > > DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-N6KEOKdm2Y > > DISPLAY=:0.0 > > COLORTERM=gnome-terminal > > XAUTHORITY=/home/ljd/.Xauthority > > _=/usr/bin/printenv > > OLDPWD=/home/ljd > > > > Once I get this fixed, I promise I will test the CVS build as much as I > > can. > > > > Liam > > > > > > > -- Laurent From lrz at rubymonks.org Tue Nov 2 16:50:06 2004 From: lrz at rubymonks.org (Laurent Sansonetti) Date: Tue Nov 2 16:50:20 2004 Subject: [Alexandria-list] Re: hacktivity In-Reply-To: References: <1be7247c04102407352726dc29@mail.gmail.com> <1be7247c041029001670dc7003@mail.gmail.com> <20041029183138.GS17352@muse.19inch.net> Message-ID: <1099432206.4809.6.camel@pinuxette.yavin.be> Hi Robby & all, Le vendredi 29 octobre 2004 ? 23:58 +0000, Robby Stephenson a ?crit : > Dafydd Harries writes: > > Ar 29/10/2004 am 09:16, ysgrifennodd Laurent Sansonetti: > > > Speaking about 0.4.0, what needs to be done is the import dialog. > > > While a Tellico and list-of-ISBNs-flat-file import sounds interesting > > > and easy to implement, I'm currently thinking if we should feature an > > > ONIX import. > > > > I suggest that flat-ISBN-list and Tellico imports be implemented now, > > and that we hold off on ONIX until after 0.4.0. Release early, release > > often! > > I'd be happy to help with the importer, but as before, I don't know Ruby. I > figure I could point out which xml elements in the Tellico file should be > imported, and maybe provide some pseudo-code to show how I would do it. That > might be enough to get someone started. I just committed an experimental Tellico import in CVS. It seems to work pretty well with Tellico archives generated by Alexandria itself, but I did not test it with real Tellico archives yet. If someone can give it a try, it would be great! -- Laurent From robby at periapsis.org Thu Nov 4 01:51:59 2004 From: robby at periapsis.org (Robby Stephenson) Date: Thu Nov 4 01:52:11 2004 Subject: [Alexandria-list] Re: hacktivity References: <1be7247c04102407352726dc29@mail.gmail.com> <1be7247c041029001670dc7003@mail.gmail.com> <20041029183138.GS17352@muse.19inch.net> <1099432206.4809.6.camel@pinuxette.yavin.be> Message-ID: Laurent Sansonetti writes: > > Hi Robby & all, > > Le vendredi 29 octobre 2004 ? 23:58 +0000, Robby Stephenson a ?crit : > > Dafydd Harries ...> writes: > > > Ar 29/10/2004 am 09:16, ysgrifennodd Laurent Sansonetti: > > > > Speaking about 0.4.0, what needs to be done is the import dialog. > > > > While a Tellico and list-of-ISBNs-flat-file import sounds interesting > > > > and easy to implement, I'm currently thinking if we should feature an > > > > ONIX import. > > > > > > I suggest that flat-ISBN-list and Tellico imports be implemented now, > > > and that we hold off on ONIX until after 0.4.0. Release early, release > > > often! > > > > I'd be happy to help with the importer, but as before, I don't know Ruby. I > > figure I could point out which xml elements in the Tellico file should be > > imported, and maybe provide some pseudo-code to show how I would do it. That > > might be enough to get someone started. > > I just committed an experimental Tellico import in CVS. It seems to > work pretty well with Tellico archives generated by Alexandria itself, > but I did not test it with real Tellico archives yet. > > If someone can give it a try, it would be great! I didn't have a chance to run the new code today, but I did glance at it. I'll try to give it a proper shakedown tomorrow. A couple of quick and easy suggestions. You probably want to check if the type attribute on the collection element is equal to "2" or "5", since those are books and bibliographies. Trying to import a DVD collection wouldn't do any good. You might also want to check about multiple publishers. I know several users who change the publisher field to have multiple values. I guess Alexandria would just pull in the first one? As a side note, I've been debating with myself whether to leave the root element name as bookcase or to change that to tellico. Also, the data file name is bookcase.xml inside the zip file (KOffice uses maindoc.xml). I'm less inclined to change that, however. You raise an exception if the root name is not "bookcase", so checking for "bookcase" or "tellico" would not be very complex. But I also don't want to mess up users by changing the XML format, and I'm still undecided. Great work! Robby From lrz at rubymonks.org Thu Nov 4 02:48:33 2004 From: lrz at rubymonks.org (Laurent Sansonetti) Date: Thu Nov 4 02:48:54 2004 Subject: [Alexandria-list] Re: hacktivity In-Reply-To: References: <1be7247c04102407352726dc29@mail.gmail.com> <1be7247c041029001670dc7003@mail.gmail.com> <20041029183138.GS17352@muse.19inch.net> <1099432206.4809.6.camel@pinuxette.yavin.be> Message-ID: <60216.195.207.101.112.1099554513.squirrel@195.207.101.112> Hi Robby, > A couple of quick and easy suggestions. You probably want to check if the > type > attribute on the collection element is equal to "2" or "5", since those > are > books and bibliographies. Trying to import a DVD collection wouldn't do > any > good. Totally agreed. I forgot to check that. > You might also want to check about multiple publishers. I know > several > users who change the publisher field to have multiple values. I guess > Alexandria > would just pull in the first one? > Mmh, unfortunately Alexandria has only one field for publishing. I believe I will just pick the first one. > As a side note, I've been debating with myself whether to leave the root > element > name as bookcase or to change that to tellico. Also, the data file name is > bookcase.xml inside the zip file (KOffice uses maindoc.xml). I'm less > inclined > to change that, however. You raise an exception if the root name is not > "bookcase", so checking for "bookcase" or "tellico" would not be very > complex. I can check for either bookcase or tellico, either as the file name or the XML root name. I will make these changes ASAP. Thanks for the feedback! -- Laurent From lrz at rubymonks.org Thu Nov 4 02:57:20 2004 From: lrz at rubymonks.org (Laurent Sansonetti) Date: Thu Nov 4 02:57:27 2004 Subject: [Alexandria-list] About 0.4.0 Message-ID: <37631.195.207.101.112.1099555040.squirrel@195.207.101.112> Hi all, I plan to release 0.4.0 Friday night. I won't be able to work on Alexandria immediately after Friday, because as I said previously I'm moving to France. Some issues: 1) This release won't ship updated translations. We found a bug in the latest Ruby-GetText release, that make impossible the generation of .po files. The maintainer is aware of the bugs and will release a new version this week-end (probably Sunday, at the same time as the new Ruby-GNOME2 release). Unfortunately, this is to late for me, because I will be in France, without Internet connection, starting from Saturday. 2) I tried to do my best to fix the most of them, but there are still some annoying bugs opened in the tracker. 3) I don't have the feeling that the CVS version has been deeply tested (at least, I did not). Conclusion: 0.4.0 will bring *a lot* of new features and bug fixes, but will miss updated translations and some bug fixes. And it should generate a lot of bug reports :) Do not hesitate to leave a comment. For example, would you prefer to have 0.4.0 released after (probably 2-3 weeks)? Cheers, -- Laurent From me at liamjdavison.info Thu Nov 4 13:43:01 2004 From: me at liamjdavison.info (Liam Davison) Date: Thu Nov 4 14:01:20 2004 Subject: [Alexandria-list] CVS and 0.4.0 Message-ID: <1099593781.4165.3.camel@localhost.localdomain> Hello Laurent I promised to do some CVS testing, but haven't done much I'm afraid. Like you, i'm moving home, although only about 200m down the road. Still, a time consuming business. I think you should go ahead with 0.4.0 - although the CVS build has crashed on me, it's never been a repeatable or regular occurance. Usually when switching between list and icon views and sorting. The new features are significant enough to warrant a new release, I think. So go for it! Liam From robby at periapsis.org Fri Nov 5 01:18:46 2004 From: robby at periapsis.org (Robby Stephenson) Date: Fri Nov 5 01:18:58 2004 Subject: [Alexandria-list] Re: hacktivity References: <1be7247c04102407352726dc29@mail.gmail.com> <1be7247c041029001670dc7003@mail.gmail.com> <20041029183138.GS17352@muse.19inch.net> <1099432206.4809.6.camel@pinuxette.yavin.be> Message-ID: Robby Stephenson writes: > I didn't have a chance to run the new code today, but I did glance at it. > I'll try to give it a proper shakedown tomorrow. I found a problem in some of the code I'd contributed. I had the namespace wrong. Line 418 in lib/alexandria/library.rb should have "http://periapsis.org/bookcase/" instead of "http://www.periapsis.org/bookcase/" In other words, remove the "www" That'll teach me to stay up late coding. Older versions of Tellico didn't do namespace checks, my current code does. It looks like you've changed the file extension for the images to .cover. That's gonna cause problems with Tellico. I didn't really think about it at the time, but the image loader guesses the image format from the file extension, based on the standard KDE mimetype installation. That's obviously not the best thing to be doing. I can fix it for my next release, but older versions won't be able to load the images in the Tellic data files exported by Alexandria because of that bug, since the images use .cover. Other than that, the other thing I noticed for the Tellico importer is that if any of the entries in the Tellico data file don't have a publisher, or binding, or isbn, the import fails since it tries to call the .text method on a NilClass or something. I guess the existence of each of those elements needs to be checked since they can't be guaranteed to be there. That may cause a problem, specifically for the isbn, since you need an isbn to save the book to a file, right? I hope I don't sound like I'm picking on the code - the rest of it looks good. I appreciate the work you're doing to make Tellico and Alexandria work together, and I hope your move goes well this weekend! Robby From lrz at rubymonks.org Fri Nov 5 05:01:45 2004 From: lrz at rubymonks.org (Laurent Sansonetti) Date: Fri Nov 5 05:01:52 2004 Subject: [Alexandria-list] CVS and 0.4.0 In-Reply-To: <1099593781.4165.3.camel@localhost.localdomain> References: <1099593781.4165.3.camel@localhost.localdomain> Message-ID: <50480.195.207.101.112.1099648905.squirrel@195.207.101.112> Hello Liam, > Hello Laurent > > I promised to do some CVS testing, but haven't done much I'm afraid. > Like you, i'm moving home, although only about 200m down the road. > Still, a time consuming business. > Yeah, it's always painful. I wish your move will be OK :) > I think you should go ahead with 0.4.0 - although the CVS build has > crashed on me, it's never been a repeatable or regular occurance. > Usually when switching between list and icon views and sorting. The new > features are significant enough to warrant a new release, I think. > > So go for it! > Thanks, so I will release it tonight. Regarding the crashes, I will try to fix that before the release, at least if I can reproduce the problem. Cheers -- Laurent From lrz at rubymonks.org Fri Nov 5 05:12:20 2004 From: lrz at rubymonks.org (Laurent Sansonetti) Date: Fri Nov 5 05:12:27 2004 Subject: [Alexandria-list] Re: hacktivity In-Reply-To: References: <1be7247c04102407352726dc29@mail.gmail.com> <1be7247c041029001670dc7003@mail.gmail.com> <20041029183138.GS17352@muse.19inch.net> <1099432206.4809.6.camel@pinuxette.yavin.be> Message-ID: <59441.195.207.101.112.1099649540.squirrel@195.207.101.112> Hi Robby, > Robby Stephenson writes: >> I didn't have a chance to run the new code today, but I did glance at >> it. >> I'll try to give it a proper shakedown tomorrow. > > I found a problem in some of the code I'd contributed. I had the namespace > wrong. Line 418 in lib/alexandria/library.rb should have > "http://periapsis.org/bookcase/" instead of > "http://www.periapsis.org/bookcase/" In other words, remove the "www" > That'll teach me to stay up late coding. Older versions of Tellico didn't > do namespace checks, my current code does. > Noted. I will change that just before the release (as well as the other things you discovered in the import code). > It looks like you've changed the file extension for the images to .cover. > That's gonna cause problems with Tellico. I didn't really think about it > at > the time, but the image loader guesses the image format from the file > extension, based on the standard KDE mimetype installation. That's > obviously not the best thing to be doing. I can fix it for my next > release, > but older versions won't be able to load the images in the Tellic data > files exported by Alexandria because of that bug, since the images > use .cover. > Mmh. If you want I can rename the .cover extention into .jpg in the export code. There is a little issue though, the bn.com provider retrieves cover image in the .gif format, and it is not easy (at least not via gdkpixbuf) to determine if a .cover file is either a .jpg or a .gif file. > Other than that, the other thing I noticed for the Tellico importer is > that > if any of the entries in the Tellico data file don't have a publisher, or > binding, or isbn, the import fails since it tries to call the .text method > on a NilClass or something. I guess the existence of each of those > elements > needs to be checked since they can't be guaranteed to be there. That may > cause a problem, specifically for the isbn, since you need an isbn to save > the book to a file, right? > Yes, fields like isbn, pubilsher or binding are needed by Alexandria. If the importer can not find that it will fail showing a dialog saying that the file format is not recognized. Normally the NilClass exception is catched, and you should never see it unless you run Alexandria with DEBUG=1. I can at least see an improvement here: if one of those fields can not be found, it would be better to skip the current entry and process another one, instead of immediately stopping the import. What do you thing? > I hope I don't sound like I'm picking on the code - the rest of it looks > good. I appreciate the work you're doing to make Tellico and Alexandria > work together, and I hope your move goes well this weekend! > I really enjoy your feedback, especially when you find bugs or defects. I really wish people will be able to exchange books from Alexandria to Tellico (and vice-versa) without problems. I also hope that the move will go well. If by any chance you (or anyone reading this list) visits Paris one day, drop me a mail before so we can maybe have a drink! Cheers, -- Laurent From kapheine at hypa.net Fri Nov 5 08:06:52 2004 From: kapheine at hypa.net (Zachary P. Landau) Date: Fri Nov 5 08:06:47 2004 Subject: [Alexandria-list] Re: hacktivity In-Reply-To: <59441.195.207.101.112.1099649540.squirrel@195.207.101.112> References: <1be7247c04102407352726dc29@mail.gmail.com> <1be7247c041029001670dc7003@mail.gmail.com> <20041029183138.GS17352@muse.19inch.net> <1099432206.4809.6.camel@pinuxette.yavin.be> <59441.195.207.101.112.1099649540.squirrel@195.207.101.112> Message-ID: <20041105130652.GB28919@localhost> > Mmh. If you want I can rename the .cover extention into .jpg in the > export code. There is a little issue though, the bn.com provider > retrieves cover image in the .gif format, and it is not easy (at least not > via gdkpixbuf) to determine if a .cover file is either a .jpg or a .gif > file. I don't know if you want to get into the whole 'file' method of determining file types, but in some of my code I do something similar to if 'JFIF' == image[6..9] ... end Or you can even use the 'file' interface someone put on RAA. Like I said though, I don't know if you want to go in that direction. -- Zachary P. Landau GPG: gpg --recv-key 0x24E5AD99 | http://kapheine.hypa.net/kapheine.asc -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://rubyforge.org/pipermail/alexandria-list/attachments/20041105/e4bb821d/attachment.bin From lrz at rubymonks.org Fri Nov 5 14:37:49 2004 From: lrz at rubymonks.org (Laurent Sansonetti) Date: Fri Nov 5 14:37:52 2004 Subject: [Alexandria-list] Re: hacktivity In-Reply-To: <20041105130652.GB28919@localhost> References: <1be7247c04102407352726dc29@mail.gmail.com> <1be7247c041029001670dc7003@mail.gmail.com> <20041029183138.GS17352@muse.19inch.net> <1099432206.4809.6.camel@pinuxette.yavin.be> <59441.195.207.101.112.1099649540.squirrel@195.207.101.112> <20041105130652.GB28919@localhost> Message-ID: <60140.217.117.39.171.1099683469.squirrel@217.117.39.171> Hi Zachary, >> Mmh. If you want I can rename the .cover extention into .jpg in the >> export code. There is a little issue though, the bn.com provider >> retrieves cover image in the .gif format, and it is not easy (at least >> not >> via gdkpixbuf) to determine if a .cover file is either a .jpg or a .gif >> file. > > I don't know if you want to get into the whole 'file' method of > determining file types, but in some of my code I do something similar > to > > if 'JFIF' == image[6..9] ... end > Nice! I added that snipet in the source code. I just fixed all issues Robby found in the import/export code. Here is the ChangeLog entry: * lib/alexandria/library.rb: - Tellico Import: check for either 'bookcase.xml' or 'tellico.xml' as the XML file ; - Tellico Import: check for either 'bookcase' or 'tellico' as the root element inside the XML ; - Tellico Import: check for either 2 or 5 as the collection type ; - ONIX and Tellico Export: rename the .cover extention either to 'jpg' or 'gif' according to the file type. - Tellico Export: remove the 'www' part of the namespace address. 0.4.0 is now imminent! -- Laurent From daf at muse.19inch.net Fri Nov 5 14:41:22 2004 From: daf at muse.19inch.net (Dafydd Harries) Date: Fri Nov 5 14:41:25 2004 Subject: [Alexandria-list] About 0.4.0 In-Reply-To: <37631.195.207.101.112.1099555040.squirrel@195.207.101.112> References: <37631.195.207.101.112.1099555040.squirrel@195.207.101.112> Message-ID: <20041105194122.GG17352@muse.19inch.net> Ar 04/11/2004 am 08:57, ysgrifennodd Laurent Sansonetti: > Hi all, > > I plan to release 0.4.0 Friday night. I won't be able to work on > Alexandria immediately after Friday, because as I said previously I'm > moving to France. > > Some issues: > > 1) This release won't ship updated translations. We found a bug in the > latest Ruby-GetText release, that make impossible the generation of .po > files. The maintainer is aware of the bugs and will release a new version > this week-end (probably Sunday, at the same time as the new Ruby-GNOME2 > release). Unfortunately, this is to late for me, because I will be in > France, without Internet connection, starting from Saturday. This sucks, but I won't say no to an Alexandria release. As soon as Ruby-GetText is released, we can try and get all translations updated quickly and release an 0.4.1. -- Dafydd From robby at periapsis.org Fri Nov 5 16:18:00 2004 From: robby at periapsis.org (Robby Stephenson) Date: Fri Nov 5 16:18:10 2004 Subject: [Alexandria-list] Re: hacktivity References: <1be7247c04102407352726dc29@mail.gmail.com> <1be7247c041029001670dc7003@mail.gmail.com> <20041029183138.GS17352@muse.19inch.net> <1099432206.4809.6.camel@pinuxette.yavin.be> <59441.195.207.101.112.1099649540.squirrel@195.207.101.112> Message-ID: Laurent Sansonetti writes: > Yes, fields like isbn, pubilsher or binding are needed by Alexandria... > > I can at least see an improvement here: if one of those fields can not be > found, it would be better to skip the current entry and process another > one, instead of immediately stopping the import. What do you thing? Are those fields absolutely required in Alexandria? I mean, what if I create a new book and leave the publisher field blank? When importing, can you check for the existence of the field in the Tellico file and use a blank string if it isn't found? I agree, though, skipping the entry is much preferable to not reading the file at all. > I just fixed all issues Robby found in the import/export code. Here is > the ChangeLog entry: > ... > 0.4.0 is now imminent! Great work! Robby From daf at muse.19inch.net Fri Nov 5 17:32:25 2004 From: daf at muse.19inch.net (Dafydd Harries) Date: Fri Nov 5 17:32:37 2004 Subject: [Alexandria-list] Alexandria 0.4.0 Message-ID: <20041105223225.GI17352@muse.19inch.net> Alexandria 0.4.0 has been released! About Alexandria ---------------- Alexandria is a GNOME application to help you manage your book collection. More information about Alexandria is available at the website: http://alexandria.rubyforge.org About this Release ------------------ This is a major release adding many new features and fixing many bugs. Sadly, due to a problem with the Ruby-GetText library, translations were not updated for this release. Hopefully, we'll be able to make another release soon which fixes this problem. New features: * export libraries into ONIX, Tellico and ISBN-list formats ; * import libraries from Tellico and ISBN-list formats ; * a provider to the Barnes and Noble (bn.com) library has been added ; * CueCat (R) barcode support ; * manual addition of books ; * allow the edition of all fields of the properties of a book (including cover change) ; * move books between libraries ; * display online information (amazon, proxis, bn) for a book ; * improved the usability of the Add Book dialog (the ISBN text entry grabs the focus at the beginning, the criterion is automatically selected upon clicks on insensitive widgets, the edition and publisher are appened in the search result list for books that have the same title and authors) ; * migration to the new GTK UI manager and file selector widgets. Bug fixed: * modified the ISBN text entry to allow 18 characters (extended EAN) instead of 13 ; * bin/alexandria is now automatically generated by the installer, this fixes a bug in the #! line (/usr/bin/env could not pass a parameter to Ruby) ; * squeezed extra space characters in the data given by Amazon ; * fixed the ISBN validation code for numbers that end with an X ; * recorded the maximize state of the main window in GConf ; * fixed the default rating to 0 instead of 3 (0 means unrated) ; * erases the 'http_proxy' environment variable if its content is invalid ; * show an error message when trying to rename a library to an empty name, or to a name that is already used by another library. Added translations: * Joachim Breitner (de) ; * Miguel Angel Garcia (es). -- Dafydd From kidouses at gmail.com Sun Nov 7 22:56:02 2004 From: kidouses at gmail.com (TheChris) Date: Sun Nov 7 23:10:12 2004 Subject: [Alexandria-list] Alexandria just crashed Message-ID: <56059966041107195654c73464@mail.gmail.com> I had done emerges of all the needed libraries and other requirements. I went through the set up steps in exactly the order given in the readme and this is what I got. A window appears and then disappears with this in the terminal. I am using gentoo with the 2.6.9 r-1 kernel. ----------------------- Alexandria just crashed ----------------------- Timestamp: Sun Nov 07 16:33:59 CST 2004 Message: undefined method `map' for nil:NilClass Backtrace: /usr/lib/ruby/site_ruby/1.8/alexandria/book_providers.rb:146:in `update_priority' /usr/lib/ruby/site_ruby/1.8/alexandria/book_providers.rb:142:in `initialize' /usr/lib/ruby/site_ruby/1.8/alexandria/book_providers.rb:18:in `new' /usr/lib/ruby/site_ruby/1.8/alexandria/book_providers.rb:18:in `new' /usr/lib/ruby/1.8/singleton.rb:95:in `instance' /usr/lib/ruby/1.8/singleton.rb:84:in `instance' /usr/lib/ruby/site_ruby/1.8/alexandria/book_providers.rb:150:in `method_missing' /usr/lib/ruby/site_ruby/1.8/alexandria/ui/main_app.rb:644:in `initialize_ui' /usr/lib/ruby/site_ruby/1.8/alexandria/ui/main_app.rb:40:in `initialize' /usr/lib/ruby/site_ruby/1.8/alexandria/ui.rb:40:in `new' /usr/lib/ruby/site_ruby/1.8/alexandria/ui.rb:40:in `main' /usr/lib/ruby/site_ruby/1.8/alexandria.rb:47:in `main' /usr/bin/alexandria:10 Release: 0.4.0 Uname -a: Linux tuxbox 2.6.9-gentoo-r1 #1 Wed Nov 3 18:02:55 CST 2004 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 1.80GHz GenuineIntel GNU/Linux -- ~Chris From daf at muse.19inch.net Mon Nov 8 03:14:55 2004 From: daf at muse.19inch.net (Dafydd Harries) Date: Mon Nov 8 03:14:55 2004 Subject: [Alexandria-list] Alexandria just crashed In-Reply-To: <56059966041107195654c73464@mail.gmail.com> References: <56059966041107195654c73464@mail.gmail.com> Message-ID: <20041108081455.GV17352@muse.19inch.net> Ar 07/11/2004 am 21:56, ysgrifennodd TheChris: > I had done emerges of all the needed libraries and other requirements. > I went through the set up steps in exactly the order given in the > readme and this is what I got. A window appears and then disappears > with this in the terminal. I am using gentoo with the 2.6.9 r-1 > kernel. > > ----------------------- > Alexandria just crashed > ----------------------- > Timestamp: Sun Nov 07 16:33:59 CST 2004 > Message: undefined method `map' for nil:NilClass > Backtrace: > /usr/lib/ruby/site_ruby/1.8/alexandria/book_providers.rb:146:in > `update_priority' > /usr/lib/ruby/site_ruby/1.8/alexandria/book_providers.rb:142:in `initialize' > /usr/lib/ruby/site_ruby/1.8/alexandria/book_providers.rb:18:in `new' > /usr/lib/ruby/site_ruby/1.8/alexandria/book_providers.rb:18:in `new' > /usr/lib/ruby/1.8/singleton.rb:95:in `instance' > /usr/lib/ruby/1.8/singleton.rb:84:in `instance' > /usr/lib/ruby/site_ruby/1.8/alexandria/book_providers.rb:150:in `method_missing' > /usr/lib/ruby/site_ruby/1.8/alexandria/ui/main_app.rb:644:in `initialize_ui' > /usr/lib/ruby/site_ruby/1.8/alexandria/ui/main_app.rb:40:in `initialize' > /usr/lib/ruby/site_ruby/1.8/alexandria/ui.rb:40:in `new' > /usr/lib/ruby/site_ruby/1.8/alexandria/ui.rb:40:in `main' > /usr/lib/ruby/site_ruby/1.8/alexandria.rb:47:in `main' > /usr/bin/alexandria:10 > Release: 0.4.0 Hmm, I'm not sure what the cause of the problem is, but could you try the attached (untested) patch? I would expect the preference to be initialised to an empty list, but it appears that's not happening. Perhaps a problem with GConf. -- Dafydd -------------- next part -------------- --- lib/alexandria/book_providers.rb 30 Sep 2004 19:28:09 -0000 1.8 +++ lib/alexandria/book_providers.rb 8 Nov 2004 08:11:55 -0000 @@ -143,7 +143,11 @@ end def update_priority - self.replace(@prefs.providers_priority.map { |x| self.class.module_eval("#{x}Provider").instance }) + if @prefs.providers_priority == nil + self.replace([]) + else + self.replace(@prefs.providers_priority.map { |x| self.class.module_eval("#{x}Provider").instance }) + end end def self.method_missing(id, *args, &block) From daf at muse.19inch.net Mon Nov 8 03:21:08 2004 From: daf at muse.19inch.net (Dafydd Harries) Date: Mon Nov 8 03:21:18 2004 Subject: [Alexandria-list] PO template for Alexandria 0.4.0 Message-ID: <20041108082108.GW17352@muse.19inch.net> After installing an updated ruby-gettext package (thanks, Masao!), I managed to regenerate the PO template for Alexandria 0.4.0. A copy is attached. Hopefully, we can get all the translations updated soon and make another release. -- Dafydd From kidouses at gmail.com Mon Nov 8 11:40:09 2004 From: kidouses at gmail.com (TheChris) Date: Mon Nov 8 11:40:08 2004 Subject: [Alexandria-list] Alexandria just crashed In-Reply-To: <20041108081455.GV17352@muse.19inch.net> References: <56059966041107195654c73464@mail.gmail.com> <20041108081455.GV17352@muse.19inch.net> Message-ID: <56059966041108084020e8e8b1@mail.gmail.com> I didn't try the patch but got it working. I went through and emerged all the requirements again and went through the setup and everything worked just fine. I must have messed up the install somewhere. Thanks for the help though! ~Chris On Mon, 8 Nov 2004 08:14:55 +0000, Dafydd Harries wrote: > Ar 07/11/2004 am 21:56, ysgrifennodd TheChris: > > > > I had done emerges of all the needed libraries and other requirements. > > I went through the set up steps in exactly the order given in the > > readme and this is what I got. A window appears and then disappears > > with this in the terminal. I am using gentoo with the 2.6.9 r-1 > > kernel. > > > > ----------------------- > > Alexandria just crashed > > ----------------------- > > Timestamp: Sun Nov 07 16:33:59 CST 2004 > > Message: undefined method `map' for nil:NilClass > > Backtrace: > > /usr/lib/ruby/site_ruby/1.8/alexandria/book_providers.rb:146:in > > `update_priority' > > /usr/lib/ruby/site_ruby/1.8/alexandria/book_providers.rb:142:in `initialize' > > /usr/lib/ruby/site_ruby/1.8/alexandria/book_providers.rb:18:in `new' > > /usr/lib/ruby/site_ruby/1.8/alexandria/book_providers.rb:18:in `new' > > /usr/lib/ruby/1.8/singleton.rb:95:in `instance' > > /usr/lib/ruby/1.8/singleton.rb:84:in `instance' > > /usr/lib/ruby/site_ruby/1.8/alexandria/book_providers.rb:150:in `method_missing' > > /usr/lib/ruby/site_ruby/1.8/alexandria/ui/main_app.rb:644:in `initialize_ui' > > /usr/lib/ruby/site_ruby/1.8/alexandria/ui/main_app.rb:40:in `initialize' > > /usr/lib/ruby/site_ruby/1.8/alexandria/ui.rb:40:in `new' > > /usr/lib/ruby/site_ruby/1.8/alexandria/ui.rb:40:in `main' > > /usr/lib/ruby/site_ruby/1.8/alexandria.rb:47:in `main' > > /usr/bin/alexandria:10 > > Release: 0.4.0 > > Hmm, I'm not sure what the cause of the problem is, but could you try > the attached (untested) patch? > > I would expect the preference to be initialised to an empty list, but it > appears that's not happening. Perhaps a problem with GConf. > > -- > Dafydd > > > From daf at muse.19inch.net Mon Nov 8 13:06:37 2004 From: daf at muse.19inch.net (Dafydd Harries) Date: Mon Nov 8 13:06:47 2004 Subject: [Alexandria-list] PO template for Alexandria 0.4.0 In-Reply-To: <20041108082108.GW17352@muse.19inch.net> References: <20041108082108.GW17352@muse.19inch.net> Message-ID: <20041108180637.GY17352@muse.19inch.net> Ar 08/11/2004 am 08:21, ysgrifennodd Dafydd Harries: > > After installing an updated ruby-gettext package (thanks, Masao!), I > managed to regenerate the PO template for Alexandria 0.4.0. A copy is > attached. > > Hopefully, we can get all the translations updated soon and make another > release. Whoops, forgot the attachment. At any rate, I thought merging the PO files against the template and sending those as well would be more useful. Attached is a tarball with the template and all the PO files. To update a translation, just modify the PO file and send it to me, or, if you have CVS access, commit it there. -- Dafydd -------------- next part -------------- A non-text attachment was scrubbed... Name: alexandria-0.4.0-po.tar.gz Type: application/octet-stream Size: 12011 bytes Desc: not available Url : http://rubyforge.org/pipermail/alexandria-list/attachments/20041108/c9ebca09/alexandria-0.4.0-po.tar-0001.obj From icarus at esa.fer.hr Fri Nov 12 15:23:55 2004 From: icarus at esa.fer.hr (Andjelko Iharos) Date: Sat Nov 13 05:56:17 2004 Subject: [Alexandria-list] alexandria crash Message-ID: <41951BDB.2000000@esa.fer.hr> First time starting alexandria, and nothing :) icarus@andelain icarus $ alexandria ----------------------- Alexandria just crashed ----------------------- Timestamp: Fri Nov 12 21:22:21 CET 2004 Message: undefined method `map' for nil:NilClass Backtrace: /usr/lib/ruby/site_ruby/1.8/alexandria/book_providers.rb:146:in `update_priority' /usr/lib/ruby/site_ruby/1.8/alexandria/book_providers.rb:142:in `initialize' /usr/lib/ruby/site_ruby/1.8/alexandria/book_providers.rb:18:in `new' /usr/lib/ruby/site_ruby/1.8/alexandria/book_providers.rb:18:in `new' /usr/lib/ruby/1.8/singleton.rb:95:in `instance' /usr/lib/ruby/1.8/singleton.rb:84:in `instance' /usr/lib/ruby/site_ruby/1.8/alexandria/book_providers.rb:150:in `method_missing' /usr/lib/ruby/site_ruby/1.8/alexandria/ui/main_app.rb:644:in `initialize_ui' /usr/lib/ruby/site_ruby/1.8/alexandria/ui/main_app.rb:40:in `initialize' /usr/lib/ruby/site_ruby/1.8/alexandria/ui.rb:40:in `new' /usr/lib/ruby/site_ruby/1.8/alexandria/ui.rb:40:in `main' /usr/lib/ruby/site_ruby/1.8/alexandria.rb:47:in `main' /usr/bin/alexandria:10 Release: 0.4.0 Uname -a: Linux andelain 2.6.9 #4 Thu Nov 11 04:07:45 CET 2004 i686 AMD Athlon(tm) XP 2000+ AuthenticAMD GNU/Linux -- Andjelko Iharos -- icarus@esa.fer.hr -- PGP: 0x989DAABF From theophile at saintmail.net Wed Nov 17 09:26:21 2004 From: theophile at saintmail.net (Christopher Meredith) Date: Wed Nov 17 09:20:22 2004 Subject: [Alexandria-list] Akexandria won't run Message-ID: <1100701581.32675.1.camel@Backfoot> Alexandria won't run. I'm running 0.4.0 on Gentoo and this happens every single time I try to run it. The program windo appears for a fraction of a second, then this. How can I fix it? Thanks! ----------------------- Alexandria just crashed ----------------------- Timestamp: Wed Nov 17 08:24:48 CST 2004 Message: undefined method `map' for nil:NilClass Backtrace: /usr/lib/ruby/site_ruby/1.8/alexandria/book_providers.rb:146:in `update_priority' /usr/lib/ruby/site_ruby/1.8/alexandria/book_providers.rb:142:in `initialize' /usr/lib/ruby/site_ruby/1.8/alexandria/book_providers.rb:18:in `new' /usr/lib/ruby/site_ruby/1.8/alexandria/book_providers.rb:18:in `new' /usr/lib/ruby/1.8/singleton.rb:95:in `instance' /usr/lib/ruby/1.8/singleton.rb:84:in `instance' /usr/lib/ruby/site_ruby/1.8/alexandria/book_providers.rb:150:in `method_missing'/usr/lib/ruby/site_ruby/1.8/alexandria/ui/main_app.rb:644:in `initialize_ui' /usr/lib/ruby/site_ruby/1.8/alexandria/ui/main_app.rb:40:in `initialize' /usr/lib/ruby/site_ruby/1.8/alexandria/ui.rb:40:in `new' /usr/lib/ruby/site_ruby/1.8/alexandria/ui.rb:40:in `main' /usr/lib/ruby/site_ruby/1.8/alexandria.rb:47:in `main' /usr/bin/alexandria:10 Release: 0.4.0 Uname -a: Linux Backfoot 2.6.9-rc2-love4 #1 Wed Nov 3 17:45:07 CST 2004 i686 AMD Athlon(tm) XP 2400+ AuthenticAMD GNU/Linux -- Christopher Meredith From kapheine at butter.homeunix.net Thu Nov 18 03:48:08 2004 From: kapheine at butter.homeunix.net (Zachary P. Landau) Date: Thu Nov 18 12:58:28 2004 Subject: [Alexandria-list] Akexandria won't run In-Reply-To: <1100701581.32675.1.camel@Backfoot> References: <1100701581.32675.1.camel@Backfoot> Message-ID: <20041118084807.GA1803@localhost> On Wed, Nov 17, 2004 at 08:26:21AM -0600, Christopher Meredith wrote: > Alexandria won't run. I'm running 0.4.0 on Gentoo and this happens every > single time I try to run it. The program windo appears for a fraction of > a second, then this. How can I fix it? Thanks! > > ----------------------- > Alexandria just crashed > ----------------------- > Timestamp: Wed Nov 17 08:24:48 CST 2004 > Message: undefined method `map' for nil:NilClass I ran into this problem before. Unfortunately, I don't remember exactly what I did to fix it, but I didn't have to modify code or anything. Try reloading gconfd. Also, make sure the datafiles are in place under /usr/share. -- Zachary P. Landau -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Digital signature Url : http://rubyforge.org/pipermail/alexandria-list/attachments/20041118/a1ef511c/attachment.bin From registrations at liamjdavison.info Thu Nov 18 15:42:49 2004 From: registrations at liamjdavison.info (Liam Davison) Date: Thu Nov 18 15:42:26 2004 Subject: [Alexandria-list] Akexandria won't run In-Reply-To: <20041118084807.GA1803@localhost> References: <1100701581.32675.1.camel@Backfoot> <20041118084807.GA1803@localhost> Message-ID: <1100810569.4061.2.camel@localhost.localdomain> On Thu, 2004-11-18 at 03:48 -0500, Zachary P. Landau wrote: > On Wed, Nov 17, 2004 at 08:26:21AM -0600, Christopher Meredith wrote: > > Alexandria won't run. I'm running 0.4.0 on Gentoo and this happens every > > single time I try to run it. The program windo appears for a fraction of > > a second, then this. How can I fix it? Thanks! > > > > ----------------------- > > Alexandria just crashed > > ----------------------- > > Timestamp: Wed Nov 17 08:24:48 CST 2004 > > Message: undefined method `map' for nil:NilClass If i remember correctly, this is because of a problem with one of the gconf values for the window position or size being set to something like (240,nil) when it should be (240,0) or somesuch. If you can reset these gconf values to (0,0) alexandria will set them to a better default. Liam From theophile at saintmail.net Sat Nov 20 11:24:14 2004 From: theophile at saintmail.net (Christopher Meredith) Date: Sat Nov 20 11:42:00 2004 Subject: [Alexandria-list] Akexandria won't run In-Reply-To: <20041118084807.GA1803@localhost> References: <1100701581.32675.1.camel@Backfoot> <20041118084807.GA1803@localhost> Message-ID: <1100967854.12472.1.camel@Backfoot> Don't know how to reload gconfd but I have restarted the machine to no avail. Also, there is a /usr/share/alexandia directory with three subdirectories: glade, icons, and ui. If I run alexandria as root, the program window appears but immediately crashes if I try to add a book. ~Christopher On Thu, 2004-11-18 at 03:48 -0500, Zachary P. Landau wrote: > On Wed, Nov 17, 2004 at 08:26:21AM -0600, Christopher Meredith wrote: > > Alexandria won't run. I'm running 0.4.0 on Gentoo and this happens every > > single time I try to run it. The program windo appears for a fraction of > > a second, then this. How can I fix it? Thanks! > > > > ----------------------- > > Alexandria just crashed > > ----------------------- > > Timestamp: Wed Nov 17 08:24:48 CST 2004 > > Message: undefined method `map' for nil:NilClass > > I ran into this problem before. Unfortunately, I don't remember exactly > what I did to fix it, but I didn't have to modify code or anything. Try > reloading gconfd. Also, make sure the datafiles are in place under > /usr/share. > > -- > Zachary P. Landau -- Christopher Meredith From afb at paradise.net.nz Sat Nov 20 20:41:11 2004 From: afb at paradise.net.nz (Adam Bogacki) Date: Sun Nov 21 00:39:07 2004 Subject: [Alexandria-list] alexandria crash log Message-ID: <419FF237.8050001@paradise.net.nz> Hi apt-installed alexandria meaning to use it as opportunity allowed but found on on 'apt-get dist-upgrade --fix-missing' that it was to be deleted. Nevertheless, on a number of attempts to use it it has crashed. I apt removed and reinstalled it successfully, but attempts to use it get the following result. A dependency problem ? Adam Bogacki, afb@paradise.net.nz > adam@Tux:~$ alexandria > ----------------------- > Alexandria just crashed > ----------------------- > Timestamp: Sun Nov 21 12:56:42 NZDT 2004 > Message: undefined method `on_switch_page' for class > `Alexandria::UI::MainApp' > Backtrace: > /usr/local/lib/site_ruby/1.8/alexandria/ui/glade_base.rb:23:in `method' > /usr/local/lib/site_ruby/1.8/alexandria/ui/glade_base.rb:23:in > `initialize' > /usr/local/lib/site_ruby/1.8/alexandria/ui/glade_base.rb:23:in `call' > /usr/lib/ruby/1.8/libglade2.rb:32:in `connect' > /usr/local/lib/site_ruby/1.8/alexandria/ui/glade_base.rb:23:in > `initialize' > /usr/local/lib/site_ruby/1.8/alexandria/ui/glade_base.rb:23:in `new' > /usr/local/lib/site_ruby/1.8/alexandria/ui/glade_base.rb:23:in > `initialize' > /usr/local/lib/site_ruby/1.8/alexandria/ui/main_app.rb:25:in `initialize' > /usr/local/lib/site_ruby/1.8/alexandria/ui.rb:36:in `new' > /usr/local/lib/site_ruby/1.8/alexandria/ui.rb:36:in `main' > /usr/local/lib/site_ruby/1.8/alexandria.rb:42:in `main' > /usr/bin/alexandria:10 > Release: 0.3.1 > > Uname -a: Linux Tux 2.6.5-1-686 #5 Fri Apr 30 20:26:13 EST 2004 i686 > GNU/Linux > -- > Please report this dump to 'alexandria-list@rubyforge.org' with some > additional > information, such as the description of the crash and the steps to > reproduce it > (if it's possible). > adam@Tux:~$ > From fabian at vilers.net Tue Nov 30 03:45:26 2004 From: fabian at vilers.net (fabian@vilers.net) Date: Tue Nov 30 03:44:41 2004 Subject: [Alexandria-list] Alexandria in Gentoo Message-ID: <62990.81.188.10.218.1101804326.squirrel@paris105.amen.fr> Hi Laurent, Maybe you should add to the Alexandria web page that it is available in the Gentoo portage tree. Best regards, Fabian From todd at hardboot.org Tue Nov 30 10:36:25 2004 From: todd at hardboot.org (todd@hardboot.org) Date: Tue Nov 30 10:35:40 2004 Subject: [Alexandria-list] Alexandria in Gentoo In-Reply-To: <62990.81.188.10.218.1101804326.squirrel@paris105.amen.fr> References: <62990.81.188.10.218.1101804326.squirrel@paris105.amen.fr> Message-ID: <1101828985.41ac93793827a@hardboot.org> > Maybe you should add to the Alexandria web page that it is available in > the Gentoo portage tree. It is! I hadn't noticed. I've been building from scratch because Alexandria wasn't there when I started using it. Thanks for pointing it out, Fabian. -todd From fabian at vilers.net Tue Nov 30 10:54:30 2004 From: fabian at vilers.net (fabian@vilers.net) Date: Tue Nov 30 10:53:44 2004 Subject: [Alexandria-list] Alexandria in Gentoo In-Reply-To: <1101828985.41ac93793827a@hardboot.org> References: <62990.81.188.10.218.1101804326.squirrel@paris105.amen.fr> <1101828985.41ac93793827a@hardboot.org> Message-ID: <64387.81.188.10.218.1101830070.squirrel@paris105.amen.fr> > It is! I hadn't noticed. I've been building from scratch because > Alexandria wasn't there when I started using it. I don't know who added it. It is still masked. > Thanks for pointing it out, Fabian. All the pleasure was mine to promote my favorite distribution ;-) Regards, Fabian