From simon.robert at phonecoop.coop Mon Oct 26 08:45:59 2009
From: simon.robert at phonecoop.coop (simon.robert at phonecoop.coop)
Date: Mon, 26 Oct 2009 12:45:59 +0000
Subject: [Alexandria-list] ISBN lookup problems
Message-ID: <1256561159.5405.37.camel@frog2>
I too am have problems with the amazon ISBN lookup. I have registered
and it used to work but does not any more.
This is the output;
I, [2009-10-26T12:32:11.231161 #5955] INFO -- : New @find_thread
#
Amazon
lookup
D, [2009-10-26T12:32:11.233523 #5955] DEBUG -- [Cls Amazon::Ecs]:
Request URL:
http://webservices.amazon.co.uk/onca/xml?Service=AWSECommerceService&SearchIndex=Books&ResponseGroup=ItemAttributes%2CImages&Keywords=1591027918&AWSAccessKeyId=AKIAINQQDW2NLOVQ7HTA&Operation=ItemSearch&Timestamp=2009-10-26T12%3A32%3A11Z&Signature=psfSdretQ5qo3Ls3ffmpyI%2FFBVHnUR83ujpQzbirq6M%3D
Exception `Amazon::RequestError'
at /usr/lib/ruby/1.8/alexandria/book_providers/amazon_ecs_util.rb:126 -
HTTP Response: 403
Forbidden
D, [2009-10-26T12:32:11.437957 #5955] DEBUG -- : Got Amazon::RequestError at
uk: HTTP Response: 403
Forbidden
D, [2009-10-26T12:32:11.438835 #5955] DEBUG -- [Cls Amazon::Ecs]:
Request URL:
http://webservices.amazon.ca/onca/xml?Service=AWSECommerceService&SearchIndex=Books&ResponseGroup=ItemAttributes%2CImages&Keywords=1591027918&AWSAccessKeyId=AKIAINQQDW2NLOVQ7HTA&Operation=ItemSearch&Timestamp=2009-10-26T12%3A32%3A11Z&Signature=Jc6l9ffsZO%2BEsEsGY9ILiw9LkCP%2B2RBXvkK%2F42rv1Iw%3D
D, [2009-10-26T12:32:11.492476 #5955] DEBUG -- : update message : Searching Provider
'Amazon'...
Exception `Amazon::RequestError'
at /usr/lib/ruby/1.8/alexandria/book_providers/amazon_aws.rb:131 - No
products
D, [2009-10-26T12:32:11.762145 #5955] DEBUG -- : Got Amazon::RequestError at
ca: No
products
D, [2009-10-26T12:32:11.762986 #5955] DEBUG -- [Cls Amazon::Ecs]:
Request URL:
http://webservices.amazon.de/onca/xml?Service=AWSECommerceService&SearchIndex=Books&ResponseGroup=ItemAttributes%2CImages&Keywords=1591027918&AWSAccessKeyId=AKIAINQQDW2NLOVQ7HTA&Operation=ItemSearch&Timestamp=2009-10-26T12%3A32%3A11Z&Signature=zSqX0OFyhIUKAO%2Bjw6Ks66YqLYnctI2uQMe9cgAeQfY%3D
Exception `Amazon::RequestError'
at /usr/lib/ruby/1.8/alexandria/book_providers/amazon_ecs_util.rb:126 -
HTTP Response: 403
Forbidden
D, [2009-10-26T12:32:11.933336 #5955] DEBUG -- : Got Amazon::RequestError at
de: HTTP Response: 403
Forbidden
D, [2009-10-26T12:32:11.934191 #5955] DEBUG -- [Cls Amazon::Ecs]:
Request URL:
http://webservices.amazon.fr/onca/xml?Service=AWSECommerceService&SearchIndex=Books&ResponseGroup=ItemAttributes%2CImages&Keywords=1591027918&AWSAccessKeyId=AKIAINQQDW2NLOVQ7HTA&Operation=ItemSearch&Timestamp=2009-10-26T12%3A32%3A11Z&Signature=gi1MgZrmdcCWHJFiESw55SU%2Boub9RsgCxZh%2F2xVbJXA%3D
Exception `Amazon::RequestError'
at /usr/lib/ruby/1.8/alexandria/book_providers/amazon_ecs_util.rb:126 -
HTTP Response: 403
Forbidden
D, [2009-10-26T12:32:12.096721 #5955] DEBUG -- : Got Amazon::RequestError at
fr: HTTP Response: 403
Forbidden
D, [2009-10-26T12:32:12.097540 #5955] DEBUG -- [Cls Amazon::Ecs]:
Request URL:
http://webservices.amazon.co.jp/onca/xml?Service=AWSECommerceService&SearchIndex=Books&ResponseGroup=ItemAttributes%2CImages&Keywords=1591027918&AWSAccessKeyId=AKIAINQQDW2NLOVQ7HTA&Operation=ItemSearch&Timestamp=2009-10-26T12%3A32%3A12Z&Signature=%2Bm6D3XwqMFlj4LdrFhCdgSrYjzPbZSKDUIxzfCNjoII%3D
Exception `Amazon::RequestError'
at /usr/lib/ruby/1.8/alexandria/book_providers/amazon_ecs_util.rb:126 -
HTTP Response: 403
Forbidden
D, [2009-10-26T12:32:12.680414 #5955] DEBUG -- : Got Amazon::RequestError at
jp: HTTP Response: 403
Forbidden
D, [2009-10-26T12:32:12.681240 #5955] DEBUG -- [Cls Amazon::Ecs]:
Request URL:
http://webservices.amazon.com/onca/xml?Service=AWSECommerceService&SearchIndex=Books&ResponseGroup=ItemAttributes%2CImages&Keywords=1591027918&AWSAccessKeyId=AKIAINQQDW2NLOVQ7HTA&Operation=ItemSearch&Timestamp=2009-10-26T12%3A32%3A12Z&Signature=Fr3bCjWebHLU0W6xLV0ffzHBIYUTZLMN8uFAubJ2vfU%3D
Exception `Amazon::RequestError'
at /usr/lib/ruby/1.8/alexandria/book_providers/amazon_ecs_util.rb:126 -
HTTP Response: 403
Forbidden
D, [2009-10-26T12:32:13.062030 #5955] DEBUG -- : Got Amazon::RequestError at
us: HTTP Response: 403
Forbidden
Exception `Alexandria::BookProviders::NoResultsError'
at /usr/lib/ruby/1.8/alexandria/book_providers/amazon_aws.rb:137 -
Alexandria::BookProviders::NoResultsError
Proxis (Belgium) lookup
I am running it on kubuntu, installed from the repository and the book,
1591027918 is Prince of Storms by Kay Kenyon and amazon is set to "uk".
As you can see all but a couple of calls to amazon seem to be forbidden,
except the one to amazon ca.
Thanks
Simon
From cathal.alexandria at gnostai.org Mon Oct 26 11:20:55 2009
From: cathal.alexandria at gnostai.org (Cathal Mc Ginley)
Date: Mon, 26 Oct 2009 15:20:55 +0000
Subject: [Alexandria-list] ISBN lookup problems
In-Reply-To: <1256561159.5405.37.camel@frog2>
References: <1256561159.5405.37.camel@frog2>
Message-ID: <20091026152055.452006da@jadzia>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Mon, 26 Oct 2009 12:45:59 +0000
"simon.robert at phonecoop.coop" wrote:
> I too am have problems with the amazon ISBN lookup. I have registered
> and it used to work but does not any more.
I've tested this on my (non-Ubuntu) system with Alexandria 0.6.5 and it
found ISBN:1591027918 with no problems at Amazon[uk].
I also found the book at Amazon[ca], whereas you got "no products".
I tested this by modifying (breaking) my AWS secret key, and found that
Amazon[ca] reports "no products" instead of failing with Forbidden 403,
so this could have the same root cause asthe above problem.
It's a shame I didn't think to output the error message from the
Forbidden result at Amazon. I half-thought it might have been to do
with the "timestamp" since we've recently switched back to GMT from
Summer Time, but your e-mail has the +00:00 time-zone, so I don't think
that's it... If you like, when you get another of these Request URLs
which results in a failing message, quickly copy and paste the URL into
a web-browser and read the contents of the element (it needs
to be quickly, or the timestamp of the URL will have expired) and
e-mail it to me.
To get much more verbose debug information, run Alexandria with
alexandria --debug
I don't really think it'll be helpful in this case though.
What I'll probably do is install the latest Ubuntu somewhere and try to
diagnose the problem first-hand. Ping me again if I haven't got back to
this issue within a week or so.
...
As a side note, you may find that most of the other providers seem
broken too. This looks like the Hpricot problem I found recently
https://bugs.launchpad.net/ubuntu/+source/libhpricot-ruby/+bug/440158
(Summary: the alpha and beta Karmic releases of Ubuntu ship with
libhpricot-ruby 0.8 which is buggy. 0.8.1 fixes these problems.)
Hopefully, Ubuntu will upgrade to the working version before Karmic
final comes out. In the mean time, you can upgrade libhpricot-ruby by
downloading the suitable deb files for libhpricot-ruby and
libhpricot-ruby1.8 from Debian, here:
http://packages.debian.org/testing/ruby/libhpricot-ruby
and here:
http://packages.debian.org/squeeze/libhpricot-ruby1.8
This *should* be safe (provided you pick the right architecture for
the libhpricot-ruby1.8 deb), but of course I can't guarantee it.
- C.
- --
http://palatina.gnostai.org/ - Palatina: the experimental Alexandria
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: GnuPT 2.6.2.1 by EQUIPMENTE.DE
iEYEARECAAYFAkrlvlcACgkQfMAUnRdb+8rCUACgxjLIV4rd/Fh2HfrJO7xHZWwg
TdkAnRHJvkDG1d5+K2HNcmDm6zWAh9x9
=rcIe
-----END PGP SIGNATURE-----
From pocmatos at gmail.com Thu Oct 29 08:51:00 2009
From: pocmatos at gmail.com (Paulo J. Matos)
Date: Thu, 29 Oct 2009 12:51:00 +0000
Subject: [Alexandria-list] Import from tellico
Message-ID: <1256820660.14381.21.camel@turing>
Hello all,
I have been trying to import my tellico book collection into alexandria
and alexandria reports that the file format is unknown. Is there a way
to debug what's happening?
Cheers,
--
Paulo Jorge Matos - pocmatos at gmail.com
Webpage: http://www.pmatos.net
From simon.robert at phonecoop.coop Thu Oct 29 11:39:12 2009
From: simon.robert at phonecoop.coop (simon.robert at phonecoop.coop)
Date: Thu, 29 Oct 2009 15:39:12 +0000
Subject: [Alexandria-list] amazon ISBN
Message-ID: <1256830752.2032.2.camel@frog2>
Thanks once again. I did get to see a recently generated page and
the
problem was with the amazon key. Restoring it from backup seemed
to have
done something to the keys. Couldn't see anything wrong, but
copying and
pasting them in again made it work.
So sorry about the false alarm. And thanks for telling me how to
recover
the keys.
Alexandria is a brilliant app. I even bought a cuecat to go with
it -
which is one weird device, described (correctly I think) as an
inappropriate solution to a non-existant problem. The only bug
that I
can see is that I can't delete anything.
Yours
Simon
From cathal.alexandria at gnostai.org Thu Oct 29 14:19:42 2009
From: cathal.alexandria at gnostai.org (Cathal Mc Ginley)
Date: Thu, 29 Oct 2009 18:19:42 +0000
Subject: [Alexandria-list] amazon ISBN
In-Reply-To: <1256830752.2032.2.camel@frog2>
References: <1256830752.2032.2.camel@frog2>
Message-ID: <20091029181942.153cb59e@jadzia>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Thu, 29 Oct 2009 15:39:12 +0000
"simon.robert at phonecoop.coop" wrote:
> copying and pasting them in again made it work.
Glad you got the problem sorted out.
>
> I even bought a cuecat to go with it - which is one weird device,
> described (correctly I think) as an inappropriate solution to a
> non-existant problem.
Yep. Oddly, it was a precursor to snapping 2D barcodes with your
mobile-phone camera and going directly to some sort of promotional
website. But with none of the technology to make it convenient or
compelling. Makes a cheap barcode reader though - I have one myself! I
bought it online and started contributing to Alexandria at around the
same time.
> The only bug that I can see is that I can't delete anything.
I've heard of this report before. I really must try to get to the
bottom of this issue.What exact version of Ubuntu (Kubuntu) are you
using?
Actually, the final release of Karmic came out today, so I'll just
install that on one of my old computers and see if I can reproduce the
problem.
- C.
- --
http://palatina.gnostai.org/ - Palatina: the experimental Alexandria
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: GnuPT 2.6.2.1 by EQUIPMENTE.DE
iEYEARECAAYFAkrp3L4ACgkQfMAUnRdb+8r7kgCfaz9Dmlva8WFPb5puVP6Spx9+
1jEAn0GZgiW4Fir9XXeZLBaMPyICsZNi
=eD9B
-----END PGP SIGNATURE-----
From pocmatos at gmail.com Fri Oct 30 05:35:28 2009
From: pocmatos at gmail.com (Paulo J. Matos)
Date: Fri, 30 Oct 2009 09:35:28 +0000
Subject: [Alexandria-list] amazon ISBN
In-Reply-To: <20091029181942.153cb59e@jadzia>
References: <1256830752.2032.2.camel@frog2> <20091029181942.153cb59e@jadzia>
Message-ID: <1256895328.14647.2.camel@turing>
On Thu, 2009-10-29 at 18:19 +0000, Cathal Mc Ginley wrote:
>
> > I even bought a cuecat to go with it - which is one weird device,
> > described (correctly I think) as an inappropriate solution to a
> > non-existant problem.
> Yep. Oddly, it was a precursor to snapping 2D barcodes with your
> mobile-phone camera and going directly to some sort of promotional
> website. But with none of the technology to make it convenient or
> compelling. Makes a cheap barcode reader though - I have one myself! I
> bought it online and started contributing to Alexandria at around the
> same time.
Does cuecat allow you to read normal 2D barcodes (the ones on books)?
Where did you get yours from?
I am having a hard time finding a cheap bar code reader to input my book
collection into Alexandria.
Cheers,
--
Paulo Jorge Matos - pocmatos at gmail.com
Webpage: http://www.pmatos.net
From cathal.alexandria at gnostai.org Fri Oct 30 16:32:00 2009
From: cathal.alexandria at gnostai.org (Cathal Mc Ginley)
Date: Fri, 30 Oct 2009 20:32:00 +0000
Subject: [Alexandria-list] amazon ISBN
In-Reply-To: <1256895328.14647.2.camel@turing>
References: <1256830752.2032.2.camel@frog2> <20091029181942.153cb59e@jadzia>
<1256895328.14647.2.camel@turing>
Message-ID: <20091030203200.135a3c0f@jadzia>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Fri, 30 Oct 2009 09:35:28 +0000
"Paulo J. Matos" wrote:
>
> Does cuecat allow you to read normal 2D barcodes
Clarification: "2D Barcode" is a common way of referring to "Matrix
Barcodes" like the "QR Code" http://en.wikipedia.org/wiki/QR_Code
popular in Japan.
> (the ones on books)?
CueCats can read "Linear Barcodes", like the ones on books &
magazines, CDs & DVDs, and lots of grocery products. (This translates
to ISBN, ISSN, EAN and UPC codes). Alexandria can currently read ISBN
barcodes using a CueCat (or any "Keyboard Wedge" barcode reader).
> Where did you get yours from?
>
I got mine at "Electro Mavin" for $12 plus postage.
http://www.mavin.com/index.php/products/usb-cuecat-single-units
It was "as-new" (I believe the stock was bought at the liquidation
sale of "Digital Convergence Corporation").
You also might be able to pick one up cheaper from ebay or somewhere
similar.
> I am having a hard time finding a cheap bar code reader to input my
> book collection into Alexandria.
A CueCat will do the trick - you don't even need to modify it to work
with Alexandria. (It uses a trivial data-scrambling which can be
disabled by opening up the device and breaking some pins on the circuit
board - but Alexandria just does the de-scrambling in software).
Just plug the CueCat into your USB port, open the "Add Book" dialog in
Alexandria and swipe the barcode...
I seem to remember I've given this information more than once - sounds
like a Frequently Asked Question to me (must add FAQ page to the
Alexandria web site then... and the manual is out-of-date for barcode
scanner support too). Aha - there's a doc file - cuecat_support.rdoc
http://alexandria.rubyforge.org/rdoc/cuecat_support.rdoc
It's not very easy to follow though.
- C.
- --
http://palatina.gnostai.org/ - Palatina: the experimental Alexandria
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: GnuPT 2.6.2.1 by EQUIPMENTE.DE
iEYEARECAAYFAkrrTUEACgkQfMAUnRdb+8pgzwCeKSAJvaflbcByFeOnuFQUJSyx
oykAn13Kxw1hjVlNOl7zLTFW/4HdfntS
=FCTa
-----END PGP SIGNATURE-----