Support Requests: Browse | Submit New | Admin

[#28162] Alexandria crashing after Ubuntu 10.04 upgrade...

Date:
2010-04-30 17:36
Priority:
3
Submitted By:
Douglas Peloquin (doulos564)
Assigned To:
Nobody (None)
Category:
None
State:
Open
Summary:
Alexandria crashing after Ubuntu 10.04 upgrade...

Detailed description
/usr/bin/alexandria
 
W, [2010-04-30T13:33:46.226518 #5466]  WARN -- [Cls  Alexandria::BookProviders]: Can't load 'hpricot' and 'htmlentities',
hence AdLibris, Barnes & Noble, DeaStore, Proxis, Siciliano, Thalia and Worldcat book providers will not be
available
-----------------------
Alexandria just crashed
-----------------------
Timestamp: Fri Apr 30 13:33:46 -0400 2010
Message: uninitialized constant Alexandria::BookProviders::WebsiteBasedProvider
Backtrace:
/usr/lib/ruby/1.8/alexandria/book_providers.rb:373:in `update_priority'
/usr/lib/ruby/1.8/alexandria/book_providers.rb:368:in `each'
/usr/lib/ruby/1.8/alexandria/book_providers.rb:368:in `update_priority'
/usr/lib/ruby/1.8/alexandria/book_providers.rb:358:in `initialize'
/usr/lib/ruby/1.8/singleton.rb:94:in `new'
/usr/lib/ruby/1.8/singleton.rb:94:in `instance'
/usr/lib/ruby/1.8/alexandria/book_providers.rb:412:in `method_missing'
/usr/lib/ruby/1.8/alexandria/ui/callbacks.rb:357:in `connect_signals'
/usr/lib/ruby/1.8/alexandria/ui/ui_manager.rb:88:in `setup_callbacks'
/usr/lib/ruby/1.8/alexandria/ui/ui_manager.rb:44:in `initialize'
/usr/lib/ruby/1.8/alexandria/ui/main_app.rb:56:in `new'
/usr/lib/ruby/1.8/alexandria/ui/main_app.rb:56:in `initialize'
/usr/lib/ruby/1.8/singleton.rb:94:in `new'
/usr/lib/ruby/1.8/singleton.rb:94:in `instance'
/usr/lib/ruby/1.8/alexandria/ui.rb:45:in `start_main_app'
/usr/lib/ruby/1.8/alexandria/ui.rb:56:in `main'
/usr/lib/ruby/1.8/alexandria.rb:40:in `main'
/usr/bin/alexandria:34
Release: 0.6.6(0.6.6-beta1)
Uname -a: Linux luther 2.6.32-21-generic #32-Ubuntu SMP Fri Apr 16 08:09:38 UTC 2010 x86_64 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).

Add A Comment: Notepad

Please login


Followup

Message
Date: 2010-05-01 00:40
Sender: Cathal Mc Ginley

Um, oops. When you said 'lynx', I thought you were referring
to the text-based browser, not the version of Ubuntu. But using
the karmic repository under lucid? I don't know, it might work...
But it shouldn't be necessary if you got it up and running okay
without it.

I didn't handle the libhpricot-ruby and libhtmlentities-ruby
dependencies right in the 0.6.6-beta1 deb file, so that might
have been causing some issues.
Date: 2010-04-30 21:54
Sender: Douglas Peloquin

libhpricot-ruby (>= 0.8.2-1)  was already installed.
After I installed libhtmlentities-ruby, alexandria started
working again.

This must have been installed under Ubuntu 9.10.
So, why would it get dropped during the upgrade to Ubuntu 10.04?

BTW - Are you suggesting using the Karmic PPA under Lucid?
Date: 2010-04-30 18:19
Sender: Cathal Mc Ginley

To add the alexandria-team PPA, add these two lines to your
/etc/apt/sources.list

deb http://ppa.launchpad.net/alexandria-team/ppa/ubuntu karmic
main
deb-src http://ppa.launchpad.net/alexandria-team/ppa/ubuntu karmic
main

You can download deb packages directly from
https://launchpad.net/~alexandria-team/+archive/ppa/+packages
(I've tested the page in Links, not Lynx, but it should work
okay.)

Fixing this issue (as you may have established) should be a matter
of installing libhpricot-ruby (>= 0.8.2-1)
and libhtmlentities-ruby.
Date: 2010-04-30 17:41
Sender: Douglas Peloquin

Is there a lynx version of the PPA?

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

No Changes Have Been Made to This Item