From tristil at gmail.com Tue May 1 10:52:05 2007 From: tristil at gmail.com (Joseph Method) Date: Tue, 1 May 2007 10:52:05 -0400 Subject: [Alexandria-list] Documenting Alexandria In-Reply-To: References: <167b6aa00704270717id4c3df4pc31c556f055f821c@mail.gmail.com> <167b6aa00704301239q24ac2f08n1c8ee89356eb56db@mail.gmail.com> Message-ID: <167b6aa00705010752s7f55be21kb1bfb5961d68ecf@mail.gmail.com> No problem, Liam. I misunderstood what you meant by testing. Rake is less important than RSpec. [This is for the benefit of the list:] With RSpec you write a "specification" that says what the code *should* do. a specification looks like this: context "ISBN export" do specify "should output a comma-separated file" do csv = Alexandria.export_isbn("file.csv")[fake api] csv.should_not be_empty csv.length.should > 0 end end Anyways, a good bug report helps me or another programmer find the bug and write the specification to cover the desired behavior. I see you have developer status already, so commit away on documentation. Do you want access to the website as well? On 5/1/07, Liam Davison wrote: > Sorry, busier weekend than I had planned. Will definitely check it out > this week! > > I wrote the documentation for Alexandria specifically because I wanted > to contribute but my programming skills are, well, less than skillful. > I've no experience of serious testing tools like Rake, I'm afraid. > > Liam > > On 30/04/07, Joseph Method wrote: > > What happened? :) > > > > On 4/27/07, Joseph Method wrote: > > > Liam, > > > > > > Are you kidding? We need all the help we can get! :) > > > > > > > I'm Liam Davison, and I wrote the original documentation for > > > > Alexandria, and I would be happy to help out with testing and > > > > documentation again. I've downloaded SVN and had a quick run - didn't > > > > go very well, I'm afraid - but I'll run proper tests over the weekend. > > > > > > Testing is so important at this point, especially if you can help > > > convert bug reports into unit tests. Actually, I've been a bit quiet > > > lately because I've been playing with/learning about Rake and RSpec. > > > I'll write a full post about these later, but I wonder if you have any > > > experience with these tools? > > > > > > > I'm glad that Alexandria has been resurrected, and kudos to the > > > > designer of the new website - looks good. > > > > > > Thanks. The next step is to get a working wiki and a blog planet. If > > > you're interested in altering any of the actual text on the site, I > > > can give you a login to the Radiant system (that goes for anyone else, > > > of course). I'm thinking of using Retroactiva for the wiki, with an > > > option of using that for tickets/repository stuff later (needs some > > > consideration re: Rubyforge presence). > > > > > > > I used to develop a parallel fork of Alexandria, called Carnegie, > > > > which I hoped would be useful for publishers maintaining catalogues of > > > > their own books. It was designed to have comprehensive support for > > > > ONIX, but didn't get very far. Alexandria's current ONIX export > > > > function produces files which aren't valid because Alexandria doesn't > > > > store enough information. > > > > > > You should see Marco Constantini's post (referred to in the "Marco's > > > Vision" thread) about separating the various components of Alexandria. > > > Carnegie would be within the scope of Alexandria Projects, if you > > > wanted to resurrect it and place it under that umbrella(cool name, > > > btw, I live in Pittsburgh). > > > > > > > If anyone would like to know more about Carnegie or ONIX support in > > > > Alexandria, drop me an email. > > > > > > Marco Constantini has done some work on improving the ONIX support. > > > BTW, what were the biggest issues with running from the svn? > > > -- > > > -J. Method > > > > > > > > > -- > > -J. Method > > > -- -J. Method From tristil at gmail.com Tue May 1 13:17:41 2007 From: tristil at gmail.com (Joseph Method) Date: Tue, 1 May 2007 13:17:41 -0400 Subject: [Alexandria-list] Changes to website Message-ID: <167b6aa00705011017v1aa61eeflc409271d13e217ee@mail.gmail.com> Hey all, I made some changes to the website at http://www.alexandria-projects.org . The Wiki link actually goes somewhere now, to a set of wikis at code.alexandria-projects.org. You should be able to register yourself and edit the wiki pages with or without signing in. If the wikis get hit by spam, I'll disable the anonymous editing but continue to allow self-registration. Self-appointed wiki czars wanted. -- -J. Method From liamjdavison at gmail.com Thu May 3 16:19:24 2007 From: liamjdavison at gmail.com (Liam Davison) Date: Thu, 3 May 2007 21:19:24 +0100 Subject: [Alexandria-list] Testing Alexandria SVN: Amazon locales and converting from ISBN10 Message-ID: Hi all, I thought I'd spend some time today playing around with Alexandria, but I'm afraid I didn't have much luck. I started with the latest from SVN, launched alexandria, switched to Amazon.co.uk and found my first snag. Now it has been ages since I worked on Alexandria, so please forgive me if this has all been looked at before. I'm also terrible at reporting bugs - you should the emails my web developer and I exchange... - The name of the amazon provider does not reflect the chosen locale. It appears as Amazon (Usa) regardless of the chosen locale - Searches on sites other than amazon.com fail: New @find_thread # Amazon (Usa) lookup Exception `URI::InvalidURIError' at /usr/lib/ruby/1.8/uri/common.rb:432 - bad URI(is not URI?): Fetching http://xml.amazon.com/onca/xml3?t=calibanorg-20&KeywordSearch=Maximum+City&mode=books-de&f=xml&type=heavy&dev-t=01YF1BBNF7JRSVCMGD02&page=1&locale=de... Exception `NoMethodError' at /usr/lib/ruby/1.8/amazon/search.rb:945 - undefined method `coerce' for false:FalseClass Exception `TypeError' at /usr/lib/ruby/1.8/amazon/search.rb:945 - false can't be coerced into Fixnum --- I then tried using my old alexandria 0.6.1 folder, complete with 2 ISBN10 only libraries, but that immediately failed. This has been reported by another user, but basically it gets caught in a loop: version: CVS Entering resave-test block for 0749083468.yaml Exception `RuntimeError' at /usr/local/lib/site_ruby/1.8/alexandria/library.rb:92 - 0749083468.yaml isbn is not okay I'm reformatting 0749083468.yaml because 0749083468.yaml isbn is not okay Moving cover /home/liam/.alexandria/OnixTest/9780749083465.cover to /home/liam/.alexandria/OnixTest/9780749083465.cover Exception `ArgumentError' at /usr/lib/ruby/1.8/fileutils.rb:1378 - same file: /home/liam/.alexandria/OnixTest/9780749083465.cover and /home/liam/.alexandria/OnixTest/9780749083465.cover --- !ruby/object:Alexandria::Book authors: - Chris Gordon edition: Paperback isbn: "9780749083465" loaned: false loaned_since: 2005-06-28 00:00:00 +01:00 loaned_to: "" notes: Harmless fun publisher: Allison & Busby rating: 3 saved_ident: "9780749083465" title: Book of Weird version: CVS Entering resave-test block for 0749083468.yaml The loop appears to be endless, so I Ctrl-C'd: Exception `RuntimeError' at /usr/local/lib/site_ruby/1.8/alexandria/library.rb:92 - 0749083468.yaml isbn is not okay I'm reformatting 0749083468.yaml because 0749083468.yaml isbn is not okay Moving cover /home/liam/.alexandria/OnixTest/9780749083465.cover to /home/liam/.alexandria/OnixTest/9780749083465.cover Exception `Interrupt' at /usr/local/lib/site_ruby/1.8/alexandria/library.rb:502 - /usr/local/lib/site_ruby/1.8/alexandria/library.rb:502:in `cover': Interrupt from /usr/local/lib/site_ruby/1.8/alexandria/library.rb:357:in `simple_save' I hope this is useful, but please let me know what would be more helpful in the future. Liam -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/alexandria-list/attachments/20070503/29a8435f/attachment-0001.html From tristil at gmail.com Thu May 3 16:28:44 2007 From: tristil at gmail.com (Joseph Method) Date: Thu, 3 May 2007 16:28:44 -0400 Subject: [Alexandria-list] Testing Alexandria SVN: Amazon locales and converting from ISBN10 In-Reply-To: References: Message-ID: <167b6aa00705031328g1eabe4c8wa2b74fc4834d5c3a@mail.gmail.com> That sucks, and it's entirely my fault. I wrote that test-resave block. Where is the other complaint about this? On 5/3/07, Liam Davison wrote: > Hi all, > > I thought I'd spend some time today playing around with Alexandria, but I'm > afraid I didn't have much luck. I started with the latest from SVN, launched > alexandria, switched to Amazon.co.uk and found my first snag. Now it has > been ages since I worked on Alexandria, so please forgive me if this has all > been looked at before. I'm also terrible at reporting bugs - you should the > emails my web developer and I exchange... > > - The name of the amazon provider does not reflect the chosen locale. It > appears as Amazon (Usa) regardless of the chosen locale > - Searches on sites other than amazon.com fail: > > New @find_thread # > Amazon (Usa) lookup > Exception `URI::InvalidURIError' at > /usr/lib/ruby/1.8/uri/common.rb:432 - bad URI(is not URI?): > Fetching > http://xml.amazon.com/onca/xml3?t=calibanorg-20&KeywordSearch=Maximum+City&mode=books-de&f=xml&type=heavy&dev-t=01YF1BBNF7JRSVCMGD02&page=1&locale=de > ... > Exception `NoMethodError' at > /usr/lib/ruby/1.8/amazon/search.rb:945 - undefined method > `coerce' for false:FalseClass > Exception `TypeError' at > /usr/lib/ruby/1.8/amazon/search.rb:945 - false can't be > coerced into Fixnum > > --- > > I then tried using my old alexandria 0.6.1 folder, complete with 2 ISBN10 > only libraries, but that immediately failed. This has been reported by > another user, but basically it gets caught in a loop: > > version: CVS > Entering resave-test block for 0749083468.yaml > Exception `RuntimeError' at > /usr/local/lib/site_ruby/1.8/alexandria/library.rb:92 - > 0749083468.yaml isbn is not okay > I'm reformatting 0749083468.yaml because 0749083468.yaml isbn is not okay > Moving cover > /home/liam/.alexandria/OnixTest/9780749083465.cover to > /home/liam/.alexandria/OnixTest/9780749083465.cover > Exception `ArgumentError' at > /usr/lib/ruby/1.8/fileutils.rb:1378 - same file: > /home/liam/.alexandria/OnixTest/9780749083465.cover and > /home/liam/.alexandria/OnixTest/9780749083465.cover > --- !ruby/object:Alexandria::Book > authors: > - Chris Gordon > edition: Paperback > isbn: "9780749083465" > loaned: false > loaned_since: 2005-06-28 00:00:00 +01:00 > loaned_to: "" > notes: Harmless fun > publisher: Allison & Busby > rating: 3 > saved_ident: "9780749083465" > title: Book of Weird > version: CVS > Entering resave-test block for 0749083468.yaml > > The loop appears to be endless, so I Ctrl-C'd: > > Exception `RuntimeError' at > /usr/local/lib/site_ruby/1.8/alexandria/library.rb:92 - > 0749083468.yaml isbn is not okay > I'm reformatting 0749083468.yaml because 0749083468.yaml isbn is not okay > Moving cover > /home/liam/.alexandria/OnixTest/9780749083465.cover to > /home/liam/.alexandria/OnixTest/9780749083465.cover > Exception `Interrupt' at > /usr/local/lib/site_ruby/1.8/alexandria/library.rb:502 - > /usr/local/lib/site_ruby/1.8/alexandria/library.rb:502:in > `cover': Interrupt > from > /usr/local/lib/site_ruby/1.8/alexandria/library.rb:357:in > `simple_save' > > I hope this is useful, but please let me know what would be more helpful in > the future. > > Liam > > _______________________________________________ > Alexandria-list mailing list > Alexandria-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/alexandria-list > -- -J. Method From tristil at gmail.com Thu May 3 16:33:48 2007 From: tristil at gmail.com (Joseph Method) Date: Thu, 3 May 2007 16:33:48 -0400 Subject: [Alexandria-list] Testing Alexandria SVN: Amazon locales and converting from ISBN10 In-Reply-To: References: Message-ID: <167b6aa00705031333s659355b2s7980e2ce25584d16@mail.gmail.com> Thanks for this, Liam. There are all kinds of things wrong with this. Notice how the version is CVS! It's supposed to be 0.6.1. On 5/3/07, Liam Davison wrote: > Hi all, > > I thought I'd spend some time today playing around with Alexandria, but I'm > afraid I didn't have much luck. I started with the latest from SVN, launched > alexandria, switched to Amazon.co.uk and found my first snag. Now it has > been ages since I worked on Alexandria, so please forgive me if this has all > been looked at before. I'm also terrible at reporting bugs - you should the > emails my web developer and I exchange... > > - The name of the amazon provider does not reflect the chosen locale. It > appears as Amazon (Usa) regardless of the chosen locale > - Searches on sites other than amazon.com fail: > > New @find_thread # > Amazon (Usa) lookup > Exception `URI::InvalidURIError' at > /usr/lib/ruby/1.8/uri/common.rb:432 - bad URI(is not URI?): > Fetching > http://xml.amazon.com/onca/xml3?t=calibanorg-20&KeywordSearch=Maximum+City&mode=books-de&f=xml&type=heavy&dev-t=01YF1BBNF7JRSVCMGD02&page=1&locale=de > ... > Exception `NoMethodError' at > /usr/lib/ruby/1.8/amazon/search.rb:945 - undefined method > `coerce' for false:FalseClass > Exception `TypeError' at > /usr/lib/ruby/1.8/amazon/search.rb:945 - false can't be > coerced into Fixnum > > --- > > I then tried using my old alexandria 0.6.1 folder, complete with 2 ISBN10 > only libraries, but that immediately failed. This has been reported by > another user, but basically it gets caught in a loop: > > version: CVS > Entering resave-test block for 0749083468.yaml > Exception `RuntimeError' at > /usr/local/lib/site_ruby/1.8/alexandria/library.rb:92 - > 0749083468.yaml isbn is not okay > I'm reformatting 0749083468.yaml because 0749083468.yaml isbn is not okay > Moving cover > /home/liam/.alexandria/OnixTest/9780749083465.cover to > /home/liam/.alexandria/OnixTest/9780749083465.cover > Exception `ArgumentError' at > /usr/lib/ruby/1.8/fileutils.rb:1378 - same file: > /home/liam/.alexandria/OnixTest/9780749083465.cover and > /home/liam/.alexandria/OnixTest/9780749083465.cover > --- !ruby/object:Alexandria::Book > authors: > - Chris Gordon > edition: Paperback > isbn: "9780749083465" > loaned: false > loaned_since: 2005-06-28 00:00:00 +01:00 > loaned_to: "" > notes: Harmless fun > publisher: Allison & Busby > rating: 3 > saved_ident: "9780749083465" > title: Book of Weird > version: CVS > Entering resave-test block for 0749083468.yaml > > The loop appears to be endless, so I Ctrl-C'd: > > Exception `RuntimeError' at > /usr/local/lib/site_ruby/1.8/alexandria/library.rb:92 - > 0749083468.yaml isbn is not okay > I'm reformatting 0749083468.yaml because 0749083468.yaml isbn is not okay > Moving cover > /home/liam/.alexandria/OnixTest/9780749083465.cover to > /home/liam/.alexandria/OnixTest/9780749083465.cover > Exception `Interrupt' at > /usr/local/lib/site_ruby/1.8/alexandria/library.rb:502 - > /usr/local/lib/site_ruby/1.8/alexandria/library.rb:502:in > `cover': Interrupt > from > /usr/local/lib/site_ruby/1.8/alexandria/library.rb:357:in > `simple_save' > > I hope this is useful, but please let me know what would be more helpful in > the future. > > Liam > > _______________________________________________ > Alexandria-list mailing list > Alexandria-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/alexandria-list > -- -J. Method From tristil at gmail.com Thu May 10 10:21:15 2007 From: tristil at gmail.com (Joseph Method) Date: Thu, 10 May 2007 10:21:15 -0400 Subject: [Alexandria-list] Group work Message-ID: <167b6aa00705100721j57ccb78cyf8c42d669bdeb040@mail.gmail.com> All, I'm going to finally get some time to code on Alexandria this weekend. I wonder whether anyone would be interested in working together for a scheduled period of time, over IM, IRC or even in the collaboration program Gobby. This would be a good chance for anyone who's wobbly in Ruby or who gets lost in the codebase but still wants to help. -- -J. Method From telech at bluewin.ch Fri May 11 12:49:59 2007 From: telech at bluewin.ch (telech at bluewin.ch) Date: Fri, 11 May 2007 18:49:59 +0200 Subject: [Alexandria-list] Problems with 0.6.1 on KDE Message-ID: <46449EB7.507@bluewin.ch> Hi, I`m using Alexandria (0.6.0.2) on Kubuntu. It works stable (in root mode). But one thing bothers me: after an upgrade to 0.6.1 there are no "Advanced Preferences" and hence no possibility to add providers. To get this feature I had to remove libyaz2 and install libaz and the deb`s from (http://www.stoffel.org/john/sources/alexandria/) within some modifications described here: (http://rubyforge.org/pipermail/alexandria-list/2006-April/001090.html) and finally downgrade to 0.6.0.2. There has already been a post on a similar subject (http://rubyforge.org/pipermail/alexandria-list/2006-January/001035.html) with no replies. I am well aware, that Alexandria was built for GNOME. It would be great, anyway, if someone could give me a hint how to fix this problem and get up to date with this great software on KDE. Thank`s allot.... Stefan From blackfeather at gmail.com Mon May 14 22:42:40 2007 From: blackfeather at gmail.com (Blackfeather Tanfur) Date: Mon, 14 May 2007 22:42:40 -0400 Subject: [Alexandria-list] Attending Railsconf? (semi-OT) Message-ID: Hello all, I was wondering if anyone out there will be at Railsconf? It starts on Thursday. Maybe we could meet for lunch one day, maybe if there is some interest? I know it is a specialty within ruby, but I do think it topical to the list. It is the biggest Ruby on Rails meet of the year, after all. Cheers, Craig / Blackfeather ----------------------------------------------------------------- Blackfeather Tanfur http://www.livejournal.com/users/blackfeather blackfeather at gmail.com AIM: blackfeatherTF ICQ: 98069618 From nisses.mail at home.se Tue May 22 10:26:02 2007 From: nisses.mail at home.se (Andreas Nilsson) Date: Tue, 22 May 2007 16:26:02 +0200 Subject: [Alexandria-list] Application icon Message-ID: <4652FD7A.9080002@home.se> Hi everyone! I recently stumbled upon the new website and was happy to see that one of my favorite application projects was alive once again! I have created some new icons for Alexandria and the first one to finish is a application that follows the tango style guidelines and therefore fits in better with the rest of the icons in GNOME. The icon is also available in several sizes so it will look sharp both on the desktop, on the panel and in the menu. You can find it here: http://andreasn.se/diverse/temp/alexandria-app-icon.tar.gz These should be installed in $/icons/hicolor/$size/apps according to http://live.gnome.org/GnomeGoals/AppIcon I'm still working on some of the other icons and I'll post those as well as soon as I'm done with them. Thanks for a great application everyone! - Andreas From tristil at gmail.com Tue May 22 23:38:34 2007 From: tristil at gmail.com (Joseph Method) Date: Tue, 22 May 2007 23:38:34 -0400 Subject: [Alexandria-list] Application icon In-Reply-To: <4652FD7A.9080002@home.se> References: <4652FD7A.9080002@home.se> Message-ID: <167b6aa00705222038i29574b30k308892f6b1ae3047@mail.gmail.com> Hey, I like it! Did you follow the Tango guidelines to make this? It looks like it. Two criticisms, though: the dark brown outline visible in the svg seems to fade into a gray dockbar or menu. Maybe try an even darker line? I notice that Tango icons tend to exaggerate the outlines. And the white spines on the books look a bit like video cassettes. What would happen if some had different colors? Too muddy? Anyways, we can definitely use this. On 5/22/07, Andreas Nilsson wrote: > Hi everyone! > I recently stumbled upon the new website and was happy to see that one > of my favorite application projects was alive once again! > I have created some new icons for Alexandria and the first one to finish > is a application that follows the tango style guidelines and therefore > fits in better with the rest of the icons in GNOME. The icon is also > available in several sizes so it will look sharp both on the desktop, on > the panel and in the menu. > You can find it here: > http://andreasn.se/diverse/temp/alexandria-app-icon.tar.gz > > These should be installed in $/icons/hicolor/$size/apps according to > http://live.gnome.org/GnomeGoals/AppIcon > > I'm still working on some of the other icons and I'll post those as well > as soon as I'm done with them. > Thanks for a great application everyone! > - Andreas > _______________________________________________ > Alexandria-list mailing list > Alexandria-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/alexandria-list > -- -J. Method From nisses.mail at home.se Thu May 24 11:40:33 2007 From: nisses.mail at home.se (Andreas Nilsson) Date: Thu, 24 May 2007 17:40:33 +0200 Subject: [Alexandria-list] Application icon In-Reply-To: <167b6aa00705222038i29574b30k308892f6b1ae3047@mail.gmail.com> References: <4652FD7A.9080002@home.se> <167b6aa00705222038i29574b30k308892f6b1ae3047@mail.gmail.com> Message-ID: <4655B1F1.80102@home.se> Hi Joseph! Thanks for the feedback! Yes, it's tango-style, as always. Haven't done anything else for a year and a half now. :) I updated the icons a bit and did the outlines slightly darker in the smaller sizes and fixed the look of the books in the 48x48 size. Hope it works better now. I tried adding colors, but that just ended up looking weird. :/ http://andreasn.se/diverse/temp/alexandria-app-icon.tar.gz - Andreas Joseph Method wrote: > Hey, I like it! Did you follow the Tango guidelines to make this? It > looks like it. Two criticisms, though: the dark brown outline visible > in the svg seems to fade into a gray dockbar or menu. Maybe try an > even darker line? I notice that Tango icons tend to exaggerate the > outlines. And the white spines on the books look a bit like video > cassettes. What would happen if some had different colors? Too muddy? > Anyways, we can definitely use this. > > On 5/22/07, Andreas Nilsson wrote: >> Hi everyone! >> I recently stumbled upon the new website and was happy to see that one >> of my favorite application projects was alive once again! >> I have created some new icons for Alexandria and the first one to finish >> is a application that follows the tango style guidelines and therefore >> fits in better with the rest of the icons in GNOME. The icon is also >> available in several sizes so it will look sharp both on the desktop, on >> the panel and in the menu. >> You can find it here: >> http://andreasn.se/diverse/temp/alexandria-app-icon.tar.gz >> >> These should be installed in $/icons/hicolor/$size/apps according to >> http://live.gnome.org/GnomeGoals/AppIcon >> >> I'm still working on some of the other icons and I'll post those as well >> as soon as I'm done with them. >> Thanks for a great application everyone! >> - Andreas > >