From pocmatos at gmail.com Fri Feb 5 06:18:51 2010 From: pocmatos at gmail.com (Paulo J. Matos) Date: Fri, 5 Feb 2010 11:18:51 +0000 Subject: [Alexandria-list] Sync DB Message-ID: <11b141711002050318k5fc7cb54rb0ad2e6ddb591485@mail.gmail.com> Hi all, One of the features I would like to see in Alexandria, would be a way to synchronize Alexandria DB between several computers. However, I would also like to hear suggestions on how to do this without this feature in Alexandria. Thanks, -- Paulo Jorge Matos - pocmatos at gmail.com http://www.pmatos.net From yorvik.ubunto at googlemail.com Fri Feb 5 11:05:03 2010 From: yorvik.ubunto at googlemail.com (Steve) Date: Fri, 05 Feb 2010 16:05:03 -0000 Subject: [Alexandria-list] Sync DB In-Reply-To: <11b141711002050318k5fc7cb54rb0ad2e6ddb591485@mail.gmail.com> References: <11b141711002050318k5fc7cb54rb0ad2e6ddb591485@mail.gmail.com> Message-ID: On Fri, 05 Feb 2010 11:18:51 -0000, Paulo J. Matos wrote: Hi all, One of the features I would like to see in Alexandria, would be a way to synchronize Alexandria DB between several computers. However, I would also like to hear suggestions on how to do this without this feature in Alexandria. Thanks, On the network at home I just have simlinks from the directories in ./alexandria that point to my server. I am going to try using Ubuntuone at some point. -- Steve From yorvik.ubunto at googlemail.com Fri Feb 5 11:12:16 2010 From: yorvik.ubunto at googlemail.com (Steve) Date: Fri, 05 Feb 2010 16:12:16 -0000 Subject: [Alexandria-list] Sync DB In-Reply-To: <4B6C41B0.4000004@gmail.com> References: <11b141711002050318k5fc7cb54rb0ad2e6ddb591485@mail.gmail.com> <4B6C41B0.4000004@gmail.com> Message-ID: On Fri, 05 Feb 2010 16:05:04 -0000, Paulo J. Matos wrote: > Steve wrote: >> On Fri, 05 Feb 2010 11:18:51 -0000, Paulo J. Matos >> wrote: >> >>> Hi all, >>> >>> One of the features I would like to see in Alexandria, would be a way >>> to synchronize Alexandria DB between several computers. >>> However, I would also like to hear suggestions on how to do this >>> without this feature in Alexandria. >>> >>> Thanks, >>> >> On the network at home I just have simlinks from the directories in >> ./alexandria that point to my server. I am going to try using >> Ubuntuone at some point. >> > > Do you mean you have a server mounted through ssh or similar and then > you just create a symlink? That's an idea... :) > > Thanks! I use NFS on the network not tried it with ssh. -- Steve From pocmatos at gmail.com Fri Feb 5 11:14:33 2010 From: pocmatos at gmail.com (Paulo J. Matos) Date: Fri, 05 Feb 2010 16:14:33 +0000 Subject: [Alexandria-list] Sync DB In-Reply-To: References: <11b141711002050318k5fc7cb54rb0ad2e6ddb591485@mail.gmail.com> <4B6C41B0.4000004@gmail.com> Message-ID: <4B6C43E9.2000001@gmail.com> Steve wrote: > On Fri, 05 Feb 2010 16:05:04 -0000, Paulo J. Matos > wrote: > >> Steve wrote: >>> On Fri, 05 Feb 2010 11:18:51 -0000, Paulo J. Matos >>> wrote: >>> >>>> Hi all, >>>> >>>> One of the features I would like to see in Alexandria, would be a way >>>> to synchronize Alexandria DB between several computers. >>>> However, I would also like to hear suggestions on how to do this >>>> without this feature in Alexandria. >>>> >>>> Thanks, >>>> >>> On the network at home I just have simlinks from the directories in >>> ./alexandria that point to my server. I am going to try using >>> Ubuntuone at some point. >>> >> >> Do you mean you have a server mounted through ssh or similar and then >> you just create a symlink? That's an idea... :) >> >> Thanks! > I use NFS on the network not tried it with ssh. > Okidoki! :) From victor at chuma.org Fri Feb 5 09:07:03 2010 From: victor at chuma.org (Victor Rehorst) Date: Fri, 05 Feb 2010 09:07:03 -0500 Subject: [Alexandria-list] Sync DB In-Reply-To: <11b141711002050318k5fc7cb54rb0ad2e6ddb591485@mail.gmail.com> References: <11b141711002050318k5fc7cb54rb0ad2e6ddb591485@mail.gmail.com> Message-ID: <4B6C2607.1050801@chuma.org> On 05/02/10 06:18 AM, Paulo J. Matos wrote: > One of the features I would like to see in Alexandria, would be a way > to synchronize Alexandria DB between several computers. > However, I would also like to hear suggestions on how to do this > without this feature in Alexandria Alexandria stores its database as simple files under the .alexandria/ directory in the user's home folder. An online file storage / sync service like Dropbox [http://getdropbox.com/] should be able to do this no problem. Let's say you've installed Dropbox on your source computer (the one with the Alexandria DB now). Your Alexandria DB is at ~/.alexandria/ and your Dropbox folder is at ~/Dropbox/. Symlink your DB into the Dropbox folder: ln -s ~/.alexandria/ ~/Dropbox/alexandria/ Dropbox should detect the change immediately and start uploading the changes to their server. Now install Dropbox on a target computer (using the same account of course). But don't start Alexandria yet. Symlink the DB from the Dropbox folder into the correct location: ln -s ~/Dropbox/alexandria ~/.alexandria Now start Alexandria on the target machine and it should just work. I hope that helps, Dropbox has some excellent online support if any of this was confusing. -Victor From pocmatos at gmail.com Wed Feb 10 17:24:16 2010 From: pocmatos at gmail.com (Paulo Matos) Date: Wed, 10 Feb 2010 22:24:16 +0000 Subject: [Alexandria-list] Alexandria Amazon Bug Message-ID: <4B733210.9070301@gmail.com> Hi, I am running Alexandria 0.6.5 and I am getting a bug from Amazon which I am not being able to decipher by reading the debug. It might have something to do with the access keys stuff. I tried finding where the keys are kept but they don't seem to be kept in .alexandria. Any tips on their whereabouts? In the meantime I will try the latest 0.6.6-beta. Cheers, -- PMatos From pocmatos at gmail.com Wed Feb 10 17:46:10 2010 From: pocmatos at gmail.com (Paulo Matos) Date: Wed, 10 Feb 2010 22:46:10 +0000 Subject: [Alexandria-list] Installing in home dir Message-ID: <4B733732.8050208@gmail.com> Hi, Is there a way to install alexandria in the home dir, in case you don't have admin rights? -- PMatos From martin.sucha-ml at jts-sro.sk Wed Feb 10 18:10:11 2010 From: martin.sucha-ml at jts-sro.sk (Martin Sucha) Date: Thu, 11 Feb 2010 00:10:11 +0100 Subject: [Alexandria-list] [PATCHes] Some glitches in latest beta Message-ID: <201002110010.11395.martin.sucha-ml@jts-sro.sk> Hi all, I've started using Alexandria, but I found some bugs while adding my books to the library. I am using alexandria 0.6.6-beta1 (from PPA) and attached patches are against this version. First of all, only first part of book title was added from custom Z39.50 provider, so I modified it to add second part as well. (I don't know this standard so I don't know if it is correct change, but it works for me. If this is only applicable to providers I use, I can provide list of these so you can add special casing for them) and the pseudomarc parser additionally fails when provider returns ISBN with capital X at the end. See pseudomarc.diff. Secondly, alexandria seems to require that books have authors (this is logical), but there is no author for one book it found. This causes errors when opening properties dialog (and thus, you can't add author there). See book_properties_dialog.diff and completion_models.diff. Another feature that fails when there is no author is CSV export (I have no patch for this, maybe someone on this list could have a look?) Additionally, it would be useful to be able to import/export X39.50 provider connection info to for example xml file (I needed to add about 10 local providers and it is time consuming to copy&paste all the information from the web) Last but not least, there is an useful option to keep the dialog for adding books open after adding a book, however when you add more than a few books, the list view with books does not scroll automatically. It would be useful to see the title and author for a book e.g in status bar ('Found in $provider' could be replaced by 'Found $book written by $authors in $provider) or the book list view could scroll automatically or both. I've modified alexandria files in place (yes, I know I should get a proper vcs checkout, but I'm lazy :), so the attached diffs do not contain correct file paths, but I believe this is not a problem. Best regards, Martin Sucha -------------- next part -------------- A non-text attachment was scrubbed... Name: completion_models.diff Type: text/x-patch Size: 505 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: book_properties_dialog.diff Type: text/x-patch Size: 633 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: pseudomarc.diff Type: text/x-patch Size: 1800 bytes Desc: not available URL: From cathal.alexandria at gnostai.org Thu Feb 11 12:44:58 2010 From: cathal.alexandria at gnostai.org (Cathal Mc Ginley) Date: Thu, 11 Feb 2010 17:44:58 +0000 Subject: [Alexandria-list] Installing in home dir In-Reply-To: <4B733732.8050208@gmail.com> References: <4B733732.8050208@gmail.com> Message-ID: <20100211174458.5bf418d5@jadzia> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, 10 Feb 2010 22:46:10 +0000 Paulo Matos wrote: > Is there a way to install alexandria in the home dir, in case you > don't have admin rights? It's possible with Alexandria 0.6.6-beta1 (I was adding the feature for 0.6.6). Download the tar.gz and extract it. Then choose where you want to install the program, for example if you want the 'alexandria' script in ~/bin, the data files in ~/.share and the ruby files in ~/.rubylib then you run the following: PREFIX=$HOME SHARE=$HOME/.share RUBYLIBDIR=$HOME/.rubylib rake PREFIX=$HOME SHARE=$HOME/.share RUBYLIBDIR=$HOME/.rubylib rake \ install_package Then add RUBYLIB=$HOME/.rubylib to your environment variables (export it in your ~/.bashrc for example) and run: alexandria (This method doesn't install a launcher in your Office application menu, but you can add one manually. The program will be ~/bin/alexandria and you can find the icons under ~/.share/icons ) - Cathal. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: GnuPT 2.6.2.1 by EQUIPMENTE.DE iEYEARECAAYFAkt0QhoACgkQfMAUnRdb+8priwCdFafQ9E1ojAUitI4/mOm1SmLa 4x8AnjvOPv8jjAhjb+/3tBvTir/F38Yu =o5K2 -----END PGP SIGNATURE----- From cathal.alexandria at gnostai.org Sun Feb 14 08:19:38 2010 From: cathal.alexandria at gnostai.org (Cathal Mc Ginley) Date: Sun, 14 Feb 2010 13:19:38 +0000 Subject: [Alexandria-list] Alexandria Amazon Bug In-Reply-To: <4B733210.9070301@gmail.com> References: <4B733210.9070301@gmail.com> Message-ID: <20100214131938.0bf9fbfb@jadzia> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, 10 Feb 2010 22:24:16 +0000 Paulo Matos wrote: > I am running Alexandria 0.6.5 and I am getting a bug from Amazon > which I am not being able to decipher by reading the debug. It might > have something to do with the access keys stuff. As I mentioned on your bug report (#27816) the problem may be due to a buggy version of libhpricot-ruby. > I tried finding where the keys are kept but they don't seem to be kept > in .alexandria. Any tips on their whereabouts? Alexandria's settings are stored using GConf, you can view (and edit) them directly with: gconf-editor /apps/alexandria Cheers, - C. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: GnuPT 2.6.2.1 by EQUIPMENTE.DE iEYEARECAAYFAkt3+GoACgkQfMAUnRdb+8oK4wCdEGR1f/qn6DkwV6z9to6pEH4l 4fYAnRHYbcdS1oDDXgECB0IBjr49DG/q =vT73 -----END PGP SIGNATURE----- From cathal.alexandria at gnostai.org Sun Feb 14 09:55:05 2010 From: cathal.alexandria at gnostai.org (Cathal Mc Ginley) Date: Sun, 14 Feb 2010 14:55:05 +0000 Subject: [Alexandria-list] [PATCHes] Some glitches in latest beta In-Reply-To: <201002110010.11395.martin.sucha-ml@jts-sro.sk> References: <201002110010.11395.martin.sucha-ml@jts-sro.sk> Message-ID: <20100214145505.577b8935@jadzia> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thu, 11 Feb 2010 00:10:11 +0100 Martin Sucha wrote: > Hi all, > > I've started using Alexandria, but I found some bugs while adding my > books to the library. Hi Martin, welcome to Alexandria. > I am using alexandria 0.6.6-beta1 (from PPA) and attached patches are > against this version. > > First of all, only first part of book title was added from custom > Z39.50 provider, so I modified it to add second part as well. 245$a is for title proper; 245$b for subtitle. Alexandria doesn't handle subtitles separately (as Palatina does) so I suppose it's simply a matter of opinion whether it should be appended to the title in these cases. Providers like Amazon usually have title and subtitle as a single field, so I'll include your change. Thanks for the suggestion. > pseudomarc parser additionally fails when provider returns ISBN with > capital X at the end. D'oh! That was careless of me, I'd probably meant to make it a case-insensitive regex (i.e. /blah/i ) > Secondly, alexandria seems to require that books have authors Actually, Alexandria *should* work fine for books which have no author. (I just confirmed this by adding 9780719051463 from Amazon). CSV export works too, the line looks like this: Beowulf: Revised Edition (Manchester Medieval Classics);;Manchester University Press;Paperback;9780719051463;1997;;;1;0;1; > This causes errors when opening properties dialog (and thus, you > can't add author there). This is odd, and I haven't experienced this issue. When a book has no author, the book.authors property will be an empty list which should cause no problems for the user interface. Can you confirm that you encounter problems when your patch is present and that the patch fixes the problems? What version of Ruby are you using? There might be an issue with loading the data from YAML. > Additionally, it would be useful to be able to import/export X39.50 > provider connection info to for example xml file (I needed to add > about 10 local providers and it is time consuming to copy&paste all > the information from the web) In the mean time, you could script this. The custom Z39.50 settings are kept in GConf under /apps/alexandria with key names like z3950_566159849_name. Actually, looking into this, it's not quite so easy (because you'd need to append the new provider to list properties). But I've attached an example of a shell script which adds a new Z39.50 provider using a gconftool-2. It should be pretty easy to work into a ruby script for importing from a CSV list of providers or something. You can save your GConf settings with: gconftool-2 --dump /apps/alexandria > alexandria-gconf.xml and reload them with: gconftool-2 --load alexandria-gconf.xml > Last but not least, there is an useful option to keep the dialog for > adding books open after adding a book, however when you add more than > a few books, the list view with books does not scroll automatically. I've also thought that would be useful. Unfortunately the code in that area gets into the regions of "stuff I don't fully understand" and there are already issues with it (especially the icon view). We can add it to a features wishlist. > It would be useful to see the title and author for a book e.g in > status bar ('Found in $provider' could be replaced by 'Found $book > written by $authors in $provider) or the book list view could scroll > automatically or both. When it's working correctly, it should say "Found at $provider" and then select the newly-added book and say "$book.title selected", which seems to be pretty much what you're looking for. Unfortunately, it doesn't *always* select the right book, so that's the main thing to fix. > I've modified alexandria files in place (yes, I know I should get a > proper vcs checkout, but I'm lazy :), so the attached diffs do not > contain correct file paths, but I believe this is not a problem. Modifying files in-place is how I got started with Alexandria too. I've applied your pseudomarc patch, it's in SVN r1137 if you need motivation to check out the SVN repository. I'm holding off on the other patches, since I'm not sure why you're getting these problems for no-author-books when I'm not. Anyway, thanks for your contributions. - Cathal. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: GnuPT 2.6.2.1 by EQUIPMENTE.DE iEYEARECAAYFAkt4DskACgkQfMAUnRdb+8pjXACeI+sn+FKV+CHlQfGaQuXuwp4e QccAoLbtDiGRewymrIixljGUB25CQzic =u1F4 -----END PGP SIGNATURE----- -------------- next part -------------- A non-text attachment was scrubbed... Name: add_z3950_provider.sh Type: application/x-shellscript Size: 1496 bytes Desc: not available URL: From martin.sucha-ml at jts-sro.sk Sun Feb 14 12:20:34 2010 From: martin.sucha-ml at jts-sro.sk (Martin Sucha) Date: Sun, 14 Feb 2010 18:20:34 +0100 Subject: [Alexandria-list] [PATCHes] Some glitches in latest beta In-Reply-To: <20100214145505.577b8935@jadzia> References: <201002110010.11395.martin.sucha-ml@jts-sro.sk> <20100214145505.577b8935@jadzia> Message-ID: <201002141820.34885.martin.sucha-ml@jts-sro.sk> Hi Cathal, On Sunday 14 February 2010 15:55:05 Cathal Mc Ginley wrote: > > Secondly, alexandria seems to require that books have authors > > Actually, Alexandria *should* work fine for books which have no author. > (I just confirmed this by adding 9780719051463 from Amazon). CSV export > works too, the line looks like this: > > Beowulf: Revised Edition (Manchester Medieval Classics);;Manchester > University Press;Paperback;9780719051463;1997;;;1;0;1; > > > This causes errors when opening properties dialog (and thus, you > > can't add author there). > > This is odd, and I haven't experienced this issue. When a book has no > author, the book.authors property will be an empty list which should > cause no problems for the user interface. > > Can you confirm that you encounter problems when your patch is present > and that the patch fixes the problems? What version of Ruby are you > using? There might be an issue with loading the data from YAML. I've tried to add ~10 books (with no authors) to test library and I wasn't able to reproduce it. Don't know why book.authors was Nil. Maybe it was caused by the capital-X-in-isbn problem? Books with X in ISBN were actually added to library, but with wrong ISBN, maybe something other was wrong with them too?. I remember making patches for authors before I found the isbn problem. Anyway, thanks for your help. I'll let you know if I encounter this strange problem again. > > > Additionally, it would be useful to be able to import/export X39.50 > > provider connection info to for example xml file (I needed to add > > about 10 local providers and it is time consuming to copy&paste all > > the information from the web) > > In the mean time, you could script this. The custom Z39.50 settings are > kept in GConf under /apps/alexandria with key names like > z3950_566159849_name. Actually, looking into this, it's not quite so > easy (because you'd need to append the new provider to list > properties). But I've attached an example of a shell script which adds > a new Z39.50 provider using a gconftool-2. It should be pretty easy to > work into a ruby script for importing from a CSV list of providers or > something. > > You can save your GConf settings with: > gconftool-2 --dump /apps/alexandria > alexandria-gconf.xml > and reload them with: > gconftool-2 --load alexandria-gconf.xml Thanks, will try next time. > > > Last but not least, there is an useful option to keep the dialog for > > adding books open after adding a book, however when you add more than > > a few books, the list view with books does not scroll automatically. > > I've also thought that would be useful. Unfortunately the code in that > area gets into the regions of "stuff I don't fully understand" and > there are already issues with it (especially the icon view). We can add > it to a features wishlist. Please do, so it is at least listed there. > > > It would be useful to see the title and author for a book e.g in > > status bar ('Found in $provider' could be replaced by 'Found $book > > written by $authors in $provider) or the book list view could scroll > > automatically or both. > > When it's working correctly, it should say "Found at $provider" and > then select the newly-added book and say "$book.title selected", which > seems to be pretty much what you're looking for. Indeed. > I've applied your pseudomarc patch, it's in SVN r1137 if you need > motivation to check out the SVN repository. Thanks. > I'm holding off on the other patches, since I'm not sure why you're > getting these problems for no-author-books when I'm not. Seems it is working correctly now, so no need to commit these. Thanks. Best regards, Martin Sucha From internaciulo at gmail.com Thu Feb 18 13:03:59 2010 From: internaciulo at gmail.com (Jean-Michel) Date: Thu, 18 Feb 2010 19:03:59 +0100 Subject: [Alexandria-list] Fwd: I can't get alexandria svn to get anything In-Reply-To: <1a1eb9691002180931j5df403ddufe738498dee52c4c@mail.gmail.com> References: <1a1eb9691002180931j5df403ddufe738498dee52c4c@mail.gmail.com> Message-ID: <1a1eb9691002181003v3362d5a0of2435f621503360c@mail.gmail.com> ---------- Forwarded message ---------- From: Jean-Michel FAYARD Date: 2010/2/18 Subject: I can't get alexandria svn to get anything To: alexandria-list at rubyforge.org Hi ! Alexandria looks nice, but it does not find any isbns on my ubuntu 9.10 running the svn version The logs are in the attached file. Jean-Michel PS: could it be possible to desactivate a given book provider ? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: log_alexandria 2010-02-18 18:24:34+01:00.txt URL: From cathal.alexandria at gnostai.org Thu Feb 18 20:14:13 2010 From: cathal.alexandria at gnostai.org (Cathal Mc Ginley) Date: Fri, 19 Feb 2010 01:14:13 +0000 Subject: [Alexandria-list] Fwd: I can't get alexandria svn to get anything In-Reply-To: <1a1eb9691002181003v3362d5a0of2435f621503360c@mail.gmail.com> References: <1a1eb9691002180931j5df403ddufe738498dee52c4c@mail.gmail.com> <1a1eb9691002181003v3362d5a0of2435f621503360c@mail.gmail.com> Message-ID: <20100219011413.4ccd4071@jadzia> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thu, 18 Feb 2010 19:03:59 +0100 Jean-Michel wrote: > Alexandria looks nice, but it does not find any isbns on my ubuntu > 9.10 running the svn version If you already have the necessary dependencies installed (libhpricot-ruby & libhtmlentities-ruby for example) then it could be a few things: 1) Look for the non-buggy version of libhpricot-ruby http://rubyforge.org/tracker/?func=detail&group_id=205&aid=27168&atid=863 2) Make sure you have a Amazon AWS account to enable Amazon support (http://aws.amazon.com) Enter your details into the Alexandria preferences. > PS: could it be possible to desactivate a given book provider ? This is possible with the latest svn release (and with 0.6.6-beta1). Just uncheck the checkbox in the preferences dialog. - Cathal. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: GnuPT 2.6.2.1 by EQUIPMENTE.DE iEYEARECAAYFAkt95eUACgkQfMAUnRdb+8qsDwCgx5TUpYQ3sPalZ8WdgAr3Awfw PpkAn3i9xqttr9LtWKHH/ATMekCjM/FX =Zs7L -----END PGP SIGNATURE----- From internaciulo at gmail.com Thu Feb 18 20:55:12 2010 From: internaciulo at gmail.com (Jean-Michel) Date: Fri, 19 Feb 2010 02:55:12 +0100 Subject: [Alexandria-list] Fwd: I can't get alexandria svn to get anything In-Reply-To: <20100219011413.4ccd4071@jadzia> References: <1a1eb9691002180931j5df403ddufe738498dee52c4c@mail.gmail.com> <1a1eb9691002181003v3362d5a0of2435f621503360c@mail.gmail.com> <20100219011413.4ccd4071@jadzia> Message-ID: <1a1eb9691002181755w18550ad4n5a2e8c182adaf86@mail.gmail.com> > > 1) Look for the non-buggy version of libhpricot-ruby > http://rubyforge.org/tracker/?func=detail&group_id=205&aid=27168&atid=863 > Thanks, it works like a charm now ! May I suggest a different UI to import a list of ISBNs ? It would be a lot better if we kneew what happens under the hood, since it take a lot of time So it would be great to have a web-like interface : Searching for ISBN xxxxxx.... Found on Amazon Searchgin for ISBN yyyyyy... Found on Amazon Searchgin for ISBN yyyyyy... Found on Barnes & Nobles Searchgin for ISBN yyyyyy... Not found (in red) Searching for ISBN zzzzzz.... Searching on amazon... Thanks for the great work ! -------------- next part -------------- An HTML attachment was scrubbed... URL: From internaciulo at gmail.com Fri Feb 19 09:41:48 2010 From: internaciulo at gmail.com (Jean-Michel) Date: Fri, 19 Feb 2010 15:41:48 +0100 Subject: [Alexandria-list] Hello, me again :) Message-ID: <1a1eb9691002190641q5d5b4678q94d69907ba06b7d7@mail.gmail.com> Alexandria crashes when importing the file isbn.txt cheers, jean-michel -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- 0486424537 0060984031 0688074022 0060516054 978-0743274715 978-9642558070 978-0827607095 978-0140445800 0771091508 2742764941 2890214397 0679810307 0486278050 1551110431 0936347392 978-0738205373 0674000773 2709802333 1551928035 0711902569 0312318448 978-0374399979 978-1440049408 978-1400031047 1876175826 0312003080 0771075863 1573220558 978-1594771835 978-0684848280 0969318503 1416536035 0486282724 0156002167 0743249666 0140126864 0140009728 0140441522 0140431179 978-2253155805 978-2714309921 2877304809 289406022X 2253160709 978-2070347810 2253160660 978-2229000209 2290315885 2070319962 978-2020220453 978-2756100685 0864422288 978-2352871330 2070304051 0618918248 978-8120831056 2070360040 2842742540 978-0966075007 978-0824818159 8971415541 0838451756 978-0471272144 2091811076 8915030338 2091812277 8175362804 978-2845822313 0140183485 0534950973 8121511208 978-2830709414 8175363959 8120803337 8971415533 8121511275 0944613403 -------------- next part -------------- ========================== ========================== ==================================== ==================================== ImportDialog opened. Added ImportFilter # -- D?tection automatique Added ImportFilter # -- Archive Tellico XML (*.bc, *.tc) Added ImportFilter # -- Liste d'ISBNs (*.txt) Added ImportFilter # -- GoodReads CSV Going forward with filter: D?tection automatique Selected: import_autodetect -- isbn -- /home/jmfayard/T?l?chargements/isbn.txt ["isbn", "/home/jmfayard/T?l?chargements/isbn.txt", #, #] Filename is /home/jmfayard/T?l?chargements/isbn.txt and ext is .txt Beginning import: isbn, /home/jmfayard/T?l?chargements/isbn.txt Starting import_as_isbn_list... Trying line 0486424537 Trying line 0060984031 Trying line 0688074022 Trying line 0060516054 Trying line 978-0743274715 Trying line 978-9642558070 Trying line 978-0827607095 Trying line 978-0140445800 Trying line 0771091508 Trying line 2742764941 Trying line 2890214397 Trying line 0679810307 Trying line 0486278050 Trying line 1551110431 Trying line 0936347392 Trying line 978-0738205373 Trying line 0674000773 Trying line 2709802333 Trying line 1551928035 Trying line 0711902569 Trying line 0312318448 Trying line 978-0374399979 Trying line 978-1440049408 Trying line 978-1400031047 Trying line 1876175826 Trying line 0312003080 Trying line 0771075863 Trying line 1573220558 Trying line 978-1594771835 Trying line 978-0684848280 Trying line 0969318503 Alexandria::Library::InvalidISBNError Trying line 1416536035 Trying line 0486282724 Trying line 0156002167 Trying line 0743249666 Trying line 0140126864 Trying line 0140009728 Trying line 0140441522 Trying line 0140431179 Trying line 978-2253155805 Trying line 978-2714309921 Trying line 2877304809 Trying line 289406022X Trying line 2253160709 Trying line 978-2070347810 Trying line 2253160660 Trying line 978-2229000209 Alexandria::Library::InvalidISBNError Trying line 2290315885 Trying line 2070319962 Trying line 978-2020220453 Trying line 978-2756100685 Trying line 0864422288 Trying line 978-2352871330 Trying line 2070304051 Trying line 0618918248 Trying line 978-8120831056 Trying line 2070360040 Trying line 2842742540 Trying line 978-0966075007 Trying line 978-0824818159 Trying line 8971415541 Trying line 0838451756 Trying line 978-0471272144 Trying line 2091811076 Trying line 8915030338 Trying line 2091812277 Trying line 8175362804 Trying line 978-2845822313 Trying line 0140183485 Trying line 0534950973 Trying line 8121511208 Trying line 978-2830709414 Trying line 8175363959 Trying line 8120803337 Trying line 8971415533 Trying line 8121511275 Trying line 0944613403 Isbn list: [["0486424537", "0486424537"], ["0060984031", "0060984031"], ["0688074022", "0688074022"], ["0060516054", "0060516054"], ["978-0743274715", "0743274717"], ["978-9642558070", "9642558076"], ["978-0827607095", "0827607091"], ["978-0140445800", "0140445803"], ["0771091508", "0771091508"], ["2742764941", "2742764941"], ["2890214397", "2890214397"], ["0679810307", "0679810307"], ["0486278050", "0486278050"], ["1551110431", "1551110431"], ["0936347392", "0936347392"], ["978-0738205373", "0738205370"], ["0674000773", "0674000773"], ["2709802333", "2709802333"], ["1551928035", "1551928035"], ["0711902569", "0711902569"], ["0312318448", "0312318448"], ["978-0374399979", "0374399972"], ["978-1440049408", "1440049408"], ["978-1400031047", "1400031044"], ["1876175826", "1876175826"], ["0312003080", "0312003080"], ["0771075863", "0771075863"], ["1573220558", "1573220558"], ["978-1594771835", "1594771839"], ["978-0684848280", "0684848287"], ["0969318503", nil], ["1416536035", "1416536035"], ["0486282724", "0486282724"], ["0156002167", "0156002167"], ["0743249666", "0743249666"], ["0140126864", "0140126864"], ["0140009728", "0140009728"], ["0140441522", "0140441522"], ["0140431179", "0140431179"], ["978-2253155805", "2253155802"], ["978-2714309921", "2714309925"], ["2877304809", "2877304809"], ["289406022X", "289406022X"], ["2253160709", "2253160709"], ["978-2070347810", "2070347818"], ["2253160660", "2253160660"], ["978-2229000209", nil], ["2290315885", "2290315885"], ["2070319962", "2070319962"], ["978-2020220453", "2020220458"], ["978-2756100685", "2756100684"], ["0864422288", "0864422288"], ["978-2352871330", "2352871336"], ["2070304051", "2070304051"], ["0618918248", "0618918248"], ["978-8120831056", "8120831055"], ["2070360040 ", "2070360040"], ["2842742540", "2842742540"], ["978-0966075007", "0966075005"], ["978-0824818159", "0824818156"], ["8971415541 ", "8971415541"], ["0838451756", "0838451756"], ["978-0471272144", "0471272140"], ["2091811076", "2091811076"], ["8915030338", "8915030338"], ["2091812277", "2091812277"], ["8175362804", "8175362804"], ["978-2845822313", "2845822316"], ["0140183485", "0140183485"], ["0534950973", "0534950973"], ["8121511208", "8121511208"], ["978-2830709414", "2830709411"], ["8175363959", "8175363959"], ["8120803337", "8120803337"], ["8971415533", "8971415533"], ["8121511275", "8121511275"], ["0944613403", "0944613403"]] Amazon lookup # Percentage: 0,012987012987013 Amazon lookup # Percentage: 0,0194805194805195 Amazon lookup # Percentage: 0,025974025974026 Amazon lookup # Percentage: 0,0324675324675325 Amazon lookup # Percentage: 0,038961038961039 Amazon lookup BarnesAndNoble lookup Requesting http://search.barnesandnoble.com/booksearch/isbnInquiry.asp?ISBSRC=Y&ISBN=9789642558070 From brian.mckee at gmail.com Tue Feb 23 23:00:49 2010 From: brian.mckee at gmail.com (Brian McKee) Date: Tue, 23 Feb 2010 23:00:49 -0500 Subject: [Alexandria-list] alexandria won't launch - PPA for Ubuntu Karmic Message-ID: Hi All I'm running Ubuntu Karmic Netbook Remix. I'm trying to install and run Alexandria from the PPA provided. It installed ok, but crashes when I try and run it. I ran in a terminal with the --debug options - output below. What's the best way around this? Brian ==> alexandria --debug W, [2010-02-23T22:55:05.712836 #7053] 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 D, [2010-02-23T22:55:06.691006 #7053] DEBUG -- : Initializing Alexandria... I, [2010-02-23T22:55:06.691349 #7053] INFO -- [Mod Alexandria::UI]: Initializing app_datadir... /usr/lib/ruby/1.8/alexandria/ui.rb: line 34 GLib-WARNING **:g_set_prgname() called multiple times I, [2010-02-23T22:55:06.743629 #7053] INFO -- [Mod Alexandria::UI]: Initializing Icons... ========================== I, [2010-02-23T22:55:06.762730 #7053] INFO -- [Mod Alexandria::UI]: Starting MainApp... ========================== I, [2010-02-23T22:55:06.763247 #7053] INFO -- : Starting MainApp I, [2010-02-23T22:55:07.159461 #7053] INFO -- : Loading Libraries... Exception `Errno::ENOENT' at /usr/lib/ruby/1.8/alexandria/smart_library.rb:54 - No such file or directory - /home/brian/.alexandria/.smart_libraries Exception `Errno::EEXIST' at /usr/lib/ruby/1.8/fileutils.rb:243 - File exists - /home/brian/.alexandria/.smart_libraries Exception `Errno::EEXIST' at /usr/lib/ruby/1.8/fileutils.rb:243 - File exists - /home/brian/.alexandria/.smart_libraries Exception `Errno::EEXIST' at /usr/lib/ruby/1.8/fileutils.rb:243 - File exists - /home/brian/.alexandria/.smart_libraries Exception `Errno::EEXIST' at /usr/lib/ruby/1.8/fileutils.rb:243 - File exists - /home/brian/.alexandria/.smart_libraries Exception `Errno::EEXIST' at /usr/lib/ruby/1.8/fileutils.rb:243 - File exists - /home/brian/.alexandria/.smart_libraries Exception `Errno::EEXIST' at /usr/lib/ruby/1.8/fileutils.rb:243 - File exists - /home/brian/.alexandria/.smart_libraries Exception `Errno::EEXIST' at /usr/lib/ruby/1.8/fileutils.rb:243 - File exists - /home/brian/.alexandria/.smart_libraries Exception `Errno::EEXIST' at /usr/lib/ruby/1.8/fileutils.rb:243 - File exists - /home/brian/.alexandria/.smart_libraries Exception `Errno::EEXIST' at /usr/lib/ruby/1.8/fileutils.rb:243 - File exists - /home/brian/.alexandria/.smart_libraries Exception `NameError' at /usr/lib/ruby/1.8/alexandria/book_providers.rb:373 - uninitialized constant Alexandria::BookProviders::WebsiteBasedProvider ----------------------- Alexandria just crashed ----------------------- Timestamp: Tue Feb 23 22:55:07 -0500 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 twinstar 2.6.31-19-generic #56-Ubuntu SMP Thu Jan 28 01:26:53 UTC 2010 i686 GNU/Linux -- Hey, it's your computer.... isn't it? From cathal.alexandria at gnostai.org Wed Feb 24 07:45:37 2010 From: cathal.alexandria at gnostai.org (Cathal Mc Ginley) Date: Wed, 24 Feb 2010 12:45:37 +0000 Subject: [Alexandria-list] alexandria won't launch - PPA for Ubuntu Karmic In-Reply-To: References: Message-ID: <20100224124537.54457e35@jadzia> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 This was reported on the Tracker back in January. It's bug #27622 http://rubyforge.org/tracker/?func=detail&group_id=205&aid=27622&atid=863 The best solution is to install libhpricot-ruby and libhtmlentities-ruby The crash behaviour has been fixed since the 0.6.6-beta1 release. I suppose I should work on putting out the 0.6.6 final release soon, now that my arm is working again. - C. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: GnuPT 2.6.2.1 by EQUIPMENTE.DE iEUEARECAAYFAkuFH3EACgkQfMAUnRdb+8rltgCgvCfVg37kG1VoAumXxi9/uLCx d30Al080M4Lp/E9vd8IolOnqZ6OXi0w= =qv7C -----END PGP SIGNATURE----- From brian.mckee at gmail.com Wed Feb 24 13:35:39 2010 From: brian.mckee at gmail.com (Brian McKee) Date: Wed, 24 Feb 2010 13:35:39 -0500 Subject: [Alexandria-list] alexandria won't launch - PPA for Ubuntu Karmic In-Reply-To: <20100224124537.54457e35@jadzia> References: <20100224124537.54457e35@jadzia> Message-ID: On Wed, Feb 24, 2010 at 7:45 AM, Cathal Mc Ginley wrote: > This was reported on the Tracker back in January. It's bug #27622 > http://rubyforge.org/tracker/?func=detail&group_id=205&aid=27622&atid=863 > The best solution is to install libhpricot-ruby and libhtmlentities-ruby Thank you Cathal for the information. I will try that tonight. Knowing little about ruby I couldn't make too much out of that error message. If rubyforge is the official bug tracker I'll look there first next time. Brian -- Hey, it's your computer.... isn't it?