From afb at paradise.net.nz Wed May 3 05:50:22 2006 From: afb at paradise.net.nz (Adam Bogacki) Date: Wed, 03 May 2006 21:50:22 +1200 Subject: [Alexandria-list] Alex* crashes: won't open .. Message-ID: <20060503095021.GD3878@paradise.net.nz> Alexandria consistently crashes on opening whether from menu or gnome-terminal with the following output. Adam Bogacki, afb at paradise.net.nz adam at Tux:~09:46:36$ alexandria ----------------------- Alexandria just crashed ----------------------- Timestamp: Wed May 03 21:46:41 NZST 2006 Message: bad URI(is not URI?): http://localhost:4001 Backtrace: /usr/lib/ruby/1.8/uri/common.rb:432:in `split' /usr/lib/ruby/1.8/uri/common.rb:481:in `parse' /usr/lib/ruby/1.8/alexandria.rb:65:in `main' /usr/bin/alexandria:10 Release: 0.6.1 Uname -a: Linux Tux 2.6.14 #8 Tue Mar 28 04:18:02 NZST 2006 i686 GNU/Linux -- Please report this dump to 'alexandria-list at rubyforge.org' with some additional information, such as the description of the crash and the steps to reproduce it (if it's possible). adam at Tux:~09:46:41$ -------------- 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/20060503/81aac5c5/attachment.bin From laurent.sansonetti at gmail.com Mon May 8 12:00:23 2006 From: laurent.sansonetti at gmail.com (Laurent Sansonetti) Date: Mon, 8 May 2006 18:00:23 +0200 Subject: [Alexandria-list] Alex* crashes: won't open .. In-Reply-To: <20060503095021.GD3878@paradise.net.nz> References: <20060503095021.GD3878@paradise.net.nz> Message-ID: <1be7247c0605080900u37ca10dn4b3938028ad3ff8@mail.gmail.com> Hi Adam, (Sorry for the late response...). On 5/3/06, Adam Bogacki wrote: > Alexandria consistently crashes on opening whether from menu or > gnome-terminal with the following output. > > Adam Bogacki, > afb at paradise.net.nz > > adam at Tux:~09:46:36$ alexandria > ----------------------- > Alexandria just crashed > ----------------------- > Timestamp: Wed May 03 21:46:41 NZST 2006 > Message: bad URI(is not URI?): http://localhost:4001 > Backtrace: > /usr/lib/ruby/1.8/uri/common.rb:432:in `split' > /usr/lib/ruby/1.8/uri/common.rb:481:in `parse' > /usr/lib/ruby/1.8/alexandria.rb:65:in `main' > /usr/bin/alexandria:10 > Release: 0.6.1 > http://rubyforge.org/mailman/listinfo/alexandria-list > Apparently Alexandria is trying to parse your "http_proxy" environment variable using Ruby's URI library but an error happened during the parse. What is strange is that http://localhost:4001 is a valid URI, and that: $ irb irb(main):001:0> require 'uri' => true irb(main):002:0> URI.parse('http://localhost:1004') => # So I would suggest to investigate a bit further, try checkout out the contents of the "http_proxy" environment variable, maybe it contains some invalid stuff. And anyway removing this environment variable should make Alexandria working as before. Laurent From laurent.sansonetti at gmail.com Mon May 8 12:02:19 2006 From: laurent.sansonetti at gmail.com (Laurent Sansonetti) Date: Mon, 8 May 2006 18:02:19 +0200 Subject: [Alexandria-list] Alexandria just crashed Permission denied In-Reply-To: <200604291142.15109.bob.paddock@gmail.com> References: <200604291142.15109.bob.paddock@gmail.com> Message-ID: <1be7247c0605080902m2664355cqba5d00fd6e89a0d2@mail.gmail.com> Hi Bob, Very sorry for the late response... On 4/29/06, Bob Paddock wrote: > > I am trying to add the book '0-9641153-4-4' to which I get > a Permission Denied. Don't know why? Everything looks > correct as far as owner/group, trying to add it to my own account. > > > After that didn't work I hit 'New' and that resulted in > this crash. > Another user (using Fedora) reported me that problem, but I could not reproduce on my machine. I guess the problem is not Alexandria based, something in the Ruby stdlib probably changed recently. I will try to investigate as soon as I have some time. Laurent From waldner at waldner.priv.at Mon May 8 13:14:39 2006 From: waldner at waldner.priv.at (Robert Waldner) Date: Mon, 08 May 2006 19:14:39 +0200 Subject: [Alexandria-list] Crashes when trying to add book manually Message-ID: <20060508171445.DC57D1BDA3@fsck.waldner.priv.at> Hi! Every time I try to manually add a book, Alexandria crashes when I leave the "Title:" field. $ DEBUG=1 alexandria Exception `NameError' at /usr/lib/ruby/1.8/alexandria/ui/glade_base.rb:26 - `@dialog-vbox1' is not allowed as an instance variable name Exception `Errno::ENOENT' at /usr/lib/ruby/1.8/fileutils.rb:1279 - No such file or directory - /tmp/tmp_cover /usr/lib/ruby/1.8/fileutils.rb: line 1279 GLib-CRITICAL **:g_utf8_casefold: assertion `str != NULL' failed Any idea where "dialog-vbox1" comes from? I don't even have the slightest idea what the code in glade_base.rb's supposed to do. (This is Alexandria 0.6.1-1, on Debian, with the following dependencies: ii gconf2 2.14.0-1 GNOME configuration database system (support ii libamazon-ruby 0.9.0-2 a Ruby library for programmatic access to th ii libgconf2-4 2.14.0-1 GNOME configuration database system (shared ii libgconf2-ruby 0.14.1-1.1 GConf 2 bindings for the Ruby language ii libgettext-rub 0.8.0-1 Gettext for ruby1.8 ii libglade2-ruby 0.14.1-1.1 Libglade 2 bindings for the Ruby language ii libgnome2-ruby 0.14.1-1.1 GNOME 2 bindings for the Ruby language ii libruby1.8 1.8.4-2 Libraries necessary to run Ruby 1.8 ii libzlib-ruby 0.6.0+ruby1.8. Extension library to use zlib from Ruby ii ruby1.8 1.8.4-2 Interpreter of object-oriented scripting lan ) cheers+tia, &rw -- -- "An editor is a tool for saving programmer-bukkake to disk." -- - Anthony de Boer -------------- 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/20060508/e5546771/attachment.bin From smyjak at verizon.net Sat May 20 18:03:23 2006 From: smyjak at verizon.net (Leeksoup) Date: Sat, 20 May 2006 22:03:23 +0000 (UTC) Subject: [Alexandria-list] built rpms and installed successfully on fc5 Message-ID: Using the instructions on the "Road to Alexandria" page you link to, I have managed to successfully build the rpms and install and run Alexandria on Fedora Core 5. I have already sent my fixes / updated spec files to Gnot at the Road to Alexandria site. I would be happy to give the rpms to someone who could host it but I have no site myself. (I see Alexandria has an out of date project at sourceforge but no files in it.) Any ideas? Also I am unable to load the home page at http://alexandria.rubyforge.org/ .. I have been looking at the page in Google's cache instead (!) Is it the right URL? Thanks for making this available. It looks great! I can't believe how quick it is to add books. Only thing I would add is some way to categorize books, though I suppose I could do that by using multiple libraries. From afb at paradise.net.nz Thu May 25 06:57:07 2006 From: afb at paradise.net.nz (Adam Bogacki) Date: Thu, 25 May 2006 22:57:07 +1200 Subject: [Alexandria-list] Alex* crashes: won't open .. In-Reply-To: <1be7247c0605080900u37ca10dn4b3938028ad3ff8@mail.gmail.com> References: <20060503095021.GD3878@paradise.net.nz> <1be7247c0605080900u37ca10dn4b3938028ad3ff8@mail.gmail.com> Message-ID: <20060525105707.GC2925@paradise.net.nz> Hmm .. it looks normal to my limited experience in hacking .gconf. I thought I'd run it past you before deleting anything. I'd be grateful for any comments - I'd like to get Alex up again. Adam. Tux:/home/adam/.gconf/system# ls %gconf.xml gstreamer http_proxy proxy Tux:/home/adam/.gconf/system# cd http_proxy Tux:/home/adam/.gconf/system/http_proxy# ls %gconf.xml Tux:/home/adam/.gconf/system/http_proxy# --------------------------- On Mon, May 08, 2006 at 06:00:23PM +0200 or thereabouts, Laurent Sansonetti wrote: > Hi Adam, > > (Sorry for the late response...). > > On 5/3/06, Adam Bogacki wrote: > >Alexandria consistently crashes on opening whether from menu or > >gnome-terminal with the following output. > > > >Adam Bogacki, > >afb at paradise.net.nz > > > >adam at Tux:~09:46:36$ alexandria > >----------------------- > >Alexandria just crashed > >----------------------- > >Timestamp: Wed May 03 21:46:41 NZST 2006 > >Message: bad URI(is not URI?): http://localhost:4001 > >Backtrace: > >/usr/lib/ruby/1.8/uri/common.rb:432:in `split' > >/usr/lib/ruby/1.8/uri/common.rb:481:in `parse' > >/usr/lib/ruby/1.8/alexandria.rb:65:in `main' > >/usr/bin/alexandria:10 > >Release: 0.6.1 > >http://rubyforge.org/mailman/listinfo/alexandria-list > > > > Apparently Alexandria is trying to parse your "http_proxy" environment > variable using Ruby's URI library but an error happened during the > parse. > > What is strange is that http://localhost:4001 is a valid URI, and that: > > $ irb > irb(main):001:0> require 'uri' > => true > irb(main):002:0> URI.parse('http://localhost:1004') > => # > > So I would suggest to investigate a bit further, try checkout out the > contents of the "http_proxy" environment variable, maybe it contains > some invalid stuff. > > And anyway removing this environment variable should make Alexandria > working as before. > > Laurent > -------------- 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/20060525/12e6237a/attachment.bin From laurent.sansonetti at gmail.com Wed May 31 07:19:35 2006 From: laurent.sansonetti at gmail.com (Laurent Sansonetti) Date: Wed, 31 May 2006 13:19:35 +0200 Subject: [Alexandria-list] Alex* crashes: won't open .. In-Reply-To: <20060531074219.GF2920@paradise.net.nz> References: <20060503095021.GD3878@paradise.net.nz> <1be7247c0605080900u37ca10dn4b3938028ad3ff8@mail.gmail.com> <20060531074219.GF2920@paradise.net.nz> Message-ID: <1be7247c0605310419u754c278cjb6db71dacaa21e56@mail.gmail.com> Hi Adam, (CC'ing this message to alexandria-list at rubyforge.org and not alsa-user at sourceforge.net) On 5/31/06, Adam Bogacki wrote: > Laurent, re. > > >And anyway removing this environment variable should make Alexandria > >working as before. > > .. I renamed 'http_proxy' to #http_proxy# via .. > > >Tux:/home/adam/.gconf/system# mv http_proxy > >/home/adam/.gconf/system/#http_proxy# > >Tux:/home/adam/.gconf/system# ls > >#http_proxy# %gconf.xml gstreamer proxy > In fact this is not the GConf variable that is problematic, but the "http_proxy" environment variable. Just check with "env" that you have a "http_proxy" variable, and check out if its content is valid. Alexandria crashes because it's not (and it should not crash BTW, instead we should ignore this variable and continue...). You should anyway be able to start Alexandria again like this: $ unset http_proxy $ alexandria Laurent From afb at paradise.net.nz Wed May 31 23:54:39 2006 From: afb at paradise.net.nz (Adam Bogacki) Date: Thu, 01 Jun 2006 15:54:39 +1200 Subject: [Alexandria-list] Alex* crashes: won't open .. In-Reply-To: <1be7247c0605310419u754c278cjb6db71dacaa21e56@mail.gmail.com> References: <20060503095021.GD3878@paradise.net.nz> <1be7247c0605080900u37ca10dn4b3938028ad3ff8@mail.gmail.com> <20060531074219.GF2920@paradise.net.nz> <1be7247c0605310419u754c278cjb6db71dacaa21e56@mail.gmail.com> Message-ID: <20060601035438.GC2897@paradise.net.nz> Merci Laurent ! On Wed, May 31, 2006 at 01:19:35PM +0200 or thereabouts, Laurent Sansonetti wrote: > Hi Adam, > > (CC'ing this message to alexandria-list at rubyforge.org and not > alsa-user at sourceforge.net) > > On 5/31/06, Adam Bogacki wrote: > >Laurent, re. > > > >>And anyway removing this environment variable should make Alexandria > >>working as before. > > > >.. I renamed 'http_proxy' to #http_proxy# via .. > > > >>Tux:/home/adam/.gconf/system# mv http_proxy > >>/home/adam/.gconf/system/#http_proxy# > >>Tux:/home/adam/.gconf/system# ls > >>#http_proxy# %gconf.xml gstreamer proxy > > > > In fact this is not the GConf variable that is problematic, but the > "http_proxy" environment variable. > > Just check with "env" that you have a "http_proxy" variable, and check > out if its content is valid. Alexandria crashes because it's not (and > it should not crash BTW, instead we should ignore this variable and > continue...). > > You should anyway be able to start Alexandria again like this: > $ unset http_proxy > $ alexandria > > Laurent > It turned out I had TWO "http_proxy" enironment variables .. Tux:/home/adam/.gconf/system# env SSH_AGENT_PID=2630 SHELL=/bin/bash TERM=xterm GTK_RC_FILES=/etc/gtk/gtkrc:/home/adam/.gtkrc-1.2-gnome2 WINDOWID=14690881 OLDPWD=/root http_proxy=http://localhost:4001 USER=root .. and USERNAME=adam SESSION_MANAGER=local/Tux:/tmp/.ICE-unix/2542 XPSERVERLIST=:64 MAIL=/var/mail/root PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11 PWD=/home/adam/.gconf/system PS1=\h:\w\$ GDMSESSION=gnome SHLVL=2 HOME=/root LS_OPTIONS=--color=auto GNOME_DESKTOP_SESSION_ID=Default HTTP_PROXY=http://localhost:4001 .. but as you noted, adam at Tux:~03:43:56$ unset http_proxy adam at Tux:~03:44:08$ alexandria adam at Tux:~03:51:30$ .. made it work again. I'll have to update it. Cheers, Adam Bogacki, afb at paradise.net.nz [ISP] adam.bogacki at gmail.com -------------- 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/20060601/31f93541/attachment.bin