Reply to topic

Debugging dialog betweenn Tellico and Data Sources

slamy
Registered Member
Posts
7
Karma
0
Hi
Is there a way to understand and debug the way tellico ask for data to a server (amazon, us congress and so on), and the way it computes the answer?
Espacialy for books, looking the messages in the console let me think tellico asks the server giving the title of the book.
Some others informations, like ISBN, may be more accurate to identify the book on the server.

How can I see the data sent and received by Tellico, and is there a way To customize this?

Thanks for your replies
Regards
robbystephenson
KDE Developer
Posts
268
Karma
1
OS
slamy wrote:Is there a way to understand and debug the way tellico ask for data to a server (amazon, us congress and so on), and the way it computes the answer?
Espacialy for books, looking the messages in the console let me think tellico asks the server giving the title of the book.
Some others informations, like ISBN, may be more accurate to identify the book on the server.

How can I see the data sent and received by Tellico, and is there a way To customize this?

Within the Tellico source code, there are many debugging statements in the data sources that are commented out. If you need to see some of that traffic, you'd have to edit those particular files and recompile.

Depending on the data source, Tellico offers different types of searches. Some have only Keyword or Title searches, but others offer direct ISBN, like the US Library of Congress and any z39.50 source. In those cases, the ISBN can be used. Is there a particular search you might be using that I could help with?
slamy
Registered Member
Posts
7
Karma
0
Is there a particular search you might be using that I could help with?

Yes there is:
  • I tried to addthe BNF z39.50 data source (national repository of France). Looking at the console messages made me think tellico used title search only. But maybe I was wrong.
  • Also, trying to use the Sudoc z39.50 server showed me some message in the console:
    Code: Select all
    conversion from "urf-8" to "iso-5426" is unsupported
Thanks for your answer
robbystephenson
KDE Developer
Posts
268
Karma
1
OS
slamy wrote:
Is there a particular search you might be using that I could help with?

Yes there is:
  • I tried to addthe BNF z39.50 data source (national repository of France). Looking at the console messages made me think tellico used title search only. But maybe I was wrong.

The z39.50 search definitely does a direct ISBN search when one is entered. If you're compiling from source, be sure to use -DCMAKE_BUILD_TYPE=Debug to see more relevant output. With the CQL protocol, Tellico uses the bath.isbn identifier (at least, for Library of Congress, though I tweaked that in a recent release).
slamy wrote:
  • Also, trying to use the Sudoc z39.50 server showed me some message in the console:
    Code: Select all
    conversion from "urf-8" to "iso-5426" is unsupported
Thanks for your answer

Is that supposed to be utf-8 instead of urf-8? That might be a typo somewhere.
slamy
Registered Member
Posts
7
Karma
0
urf8: that was a typo from me copying my terminal.
robbystephenson
KDE Developer
Posts
268
Karma
1
OS
robbystephenson wrote:The z39.50 search definitely does a direct ISBN search when one is entered. If you're compiling from source, be sure to use -DCMAKE_BUILD_TYPE=Debug to see more relevant output.

With debug output, an ISBN search with a z39.50 source will show output something like this:
Code: Select all
QDEBUG : Z3950FetcherTest::testBibsysIsbn() PQN query =  " @attr 1=7 8242407665"
QDEBUG : Z3950FetcherTest::testBibsysIsbn() current syntax is  "marc21"  ( 1  results)
slamy
Registered Member
Posts
7
Karma
0
I'll see this, thanks a lot!

 
Reply to topic

Bookmarks



Who is online

Registered users: Baidu [Spider], Bing [Bot], Exabot [Bot], Google [Bot], jehojakim2, Mero Art, metzman, psrch, raddison, Sogou [Bot], somescrewslost, Yahoo [Bot]