Jens Seidel | 2 Apr 01:03 2007
Picon

Re: crash while searching z3950.gbv.de

Hi all,

On Thu, Mar 15, 2007 at 12:12:08PM +0100, Benjamin von Engelhardt wrote:
> Am Mittwoch, 14. März 2007 21:22 schrieb Robby Stephenson:
> > On Wednesday 14 March 2007, Benjamin von Engelhardt wrote:
> > > while searching the gbv-Databases via z3950.gbv.de it get some entries,
> > > but then tellico crashes while still searching. This doesn't occur with
> > > the library of congress. I tried all different formats and codes (utf8
> > > etc.), always the same result (btw. I get only with the iso-8859-1 the
> > > correct german "Umlaute", with all the others, and also the library of
> > > congress, the umlauts are not correctly displayed).
> >
> > I need exact information to debug anything. What server, what port, what
> > character set, what user/pass, what search terms?
> 
> Server: z3950.gbv.de
> Port: 20010 (20012 for UTF-8)
> database: stabikat (same result with gvk)
> character set: iso-8891-1
> user: 999
> pass: abc
> search term: - tomuschat (person)
> 		     - engelhardt, dietrich (person)

I tried to reproduce this in a valgrind session but have to confess I do not
know where to insert these settings. Choosing "Data sources" -> "New" in the
config dialog I cannot insert these settings. I selected "Library of Congress"
and inserted the server and port number but failed to specify a database,
character set and other settings.

(Continue reading)

Robby Stephenson | 2 Apr 02:22 2007

Re: crash while searching z3950.gbv.de

On Sunday 01 April 2007, Jens Seidel wrote:
> > Server: z3950.gbv.de
> > Port: 20010 (20012 for UTF-8)
> > database: stabikat (same result with gvk)
> > character set: iso-8891-1
> > user: 999
> > pass: abc
> > search term: - tomuschat (person)
> > 		     - engelhardt, dietrich (person)
>
> I tried to reproduce this in a valgrind session but have to confess I do
> not know where to insert these settings. Choosing "Data sources" -> "New"
> in the config dialog I cannot insert these settings.

You don't want to use a preset server, so uncheck that box. Then all the 
others get enabled. The search terms get entered in the Internet Search 
dialog after selecting the source.

> I attached a minor patch which fixes two wrong memory accesses.

That's weird. Valgrind was showing a call for a negative column number? 
Maybe Qt uses -1 as some sort of error checking for a column number? That's 
a head-scratcher...

Robby
Jens Seidel | 2 Apr 09:01 2007
Picon

Re: crash while searching z3950.gbv.de

On Sun, Apr 01, 2007 at 05:22:01PM -0700, Robby Stephenson wrote:
> On Sunday 01 April 2007, Jens Seidel wrote:
> > I tried to reproduce this in a valgrind session but have to confess I do
> > not know where to insert these settings. Choosing "Data sources" -> "New"
> > in the config dialog I cannot insert these settings.
> 
> You don't want to use a preset server, so uncheck that box. Then all the 
> others get enabled. The search terms get entered in the Internet Search 
> dialog after selecting the source.

Will try it.

> > I attached a minor patch which fixes two wrong memory accesses.
> 
> That's weird. Valgrind was showing a call for a negative column number? 
> Maybe Qt uses -1 as some sort of error checking for a column number? That's 
> a head-scratcher...

Yes, -1 was used, which resulted in accessing an array at index -1.
This was during the start up phase at which no column was selected at
all.
Please note that this is not related to the crash I reported.

Jens
Jens Seidel | 2 Apr 23:18 2007
Picon

Re: crash while searching z3950.gbv.de

On Mon, Apr 02, 2007 at 09:01:10AM +0200, Jens Seidel wrote:
> On Sun, Apr 01, 2007 at 05:22:01PM -0700, Robby Stephenson wrote:
> > On Sunday 01 April 2007, Jens Seidel wrote:
> > > I tried to reproduce this in a valgrind session but have to confess I do
> > > not know where to insert these settings. Choosing "Data sources" -> "New"
> > > in the config dialog I cannot insert these settings.
> > 
> > You don't want to use a preset server, so uncheck that box. Then all the 
> > others get enabled. The search terms get entered in the Internet Search 
> > dialog after selecting the source.
> 
> Will try it.

Another call stack:

==3762==
==3762== Conditional jump or move depends on uninitialised value(s)
==3762==    at 0x813825B: Tellico::Fetch::Manager::stop() (fetchmanager.cpp:191)
==3762==    by 0x809D2F2: Tellico::FetchDialog::slotClearClicked() (fetchdialog.cpp:286)
==3762==    by 0x809D6EF: Tellico::FetchDialog::qt_invoke(int, QUObject*) (fetchdialog.moc:135)
==3762==    by 0x549ED4E: QObject::activate_signal(QConnectionList*, QUObject*) (in /usr/lib/libqt-mt.so.3.3.7)
==3762==    by 0x549F7DF: QObject::activate_signal(int) (in /usr/lib/libqt-mt.so.3.3.7)
==3762==    by 0x5830DE6: QButton::clicked() (in /usr/lib/libqt-mt.so.3.3.7)
==3762==    by 0x553BCF5: QButton::mouseReleaseEvent(QMouseEvent*) (in /usr/lib/libqt-mt.so.3.3.7)
==3762==    by 0x54D56EF: QWidget::event(QEvent*) (in /usr/lib/libqt-mt.so.3.3.7)
==3762==    by 0x5436C25: QApplication::internalNotify(QObject*, QEvent*) (in /usr/lib/libqt-mt.so.3.3.7)
==3762==    by 0x5438DC8: QApplication::notify(QObject*, QEvent*) (in /usr/lib/libqt-mt.so.3.3.7)
==3762==    by 0x504AE0D: KApplication::notify(QObject*, QEvent*) (in /usr/lib/libkdecore.so.4.2.0)
==3762==    by 0x53CA494: QApplication::sendSpontaneousEvent(QObject*, QEvent*) (in /usr/lib/libqt-mt.so.3.3.7)

(Continue reading)

Jens Seidel | 3 Apr 15:17 2007
Picon

Re: crash while searching z3950.gbv.de

On Tue, Apr 03, 2007 at 02:20:20PM +0200, Benjamin von Engelhardt wrote:
> > The original mail is still confusing to me:
> > > Server: z3950.gbv.de
> > > Port: 20010 (20012 for UTF-8)
> >
> > I can enter this in Settings->Configure Tellico...->Data Sources->New->
> > Source type: SRU Server
> 
> You have to select Source type: z39.50 Server, than the other fields will show 
> up.

Thanks, now I really understand! But I do not have a z39.50 source in
this dialog that's why I was so confused :-)

I use the subversion code from branch tellico-1.2.x and didn't forgot to
call "make install". Not sure whether z39.50 support is just a piece of
C++ source code (probably) or an external (XML?) file/plugin.

OK, I can search for it ...

Thanks,
Jens
Robby Stephenson | 3 Apr 15:42 2007

Re: crash while searching z3950.gbv.de

On Tuesday 03 April 2007, Jens Seidel wrote:
> I use the subversion code from branch tellico-1.2.x and didn't forgot to
> call "make install". Not sure whether z39.50 support is just a piece of
> C++ source code (probably) or an external (XML?) file/plugin.

You need libyaz installed for the z3950 source to show up.

Robby
Robby Stephenson | 3 Apr 15:52 2007

Re: crash while searching z3950.gbv.de

On Wednesday 28 March 2007, Benjamin von Engelhardt wrote:
> I'm still trying to find out when and why this crash occurs on my sistem.
> I have tried it whith strace but there, the error occured only once
> (searching more slowly, but whithout errors many times), showing the last
> lines in the shell as follows:;

The other thing that makes this tricky is the z3950 connection is the only 
part of Tellico that runs in a separate thread. So there may well be 
multi-threading issues that are popping up and causing mischief.

Robby
Robby Stephenson | 4 Apr 03:07 2007

Re: Tellico 1.2.8 Released

On Monday 05 February 2007, Robby Stephenson wrote:
> On Saturday 03 February 2007, sean wrote:
> > Robby Stephenson wrote:
> > > Tellico 1.2.8 is available with bug fixes.
> > >
> > >     * Updated CDDB import to grab extd data as comments, and category
> > > as keyword.
> >
> > Will the comment field retrieved from CDDB and the current one be
> > combined, or different fields?
>
> The only thing that "Merge collection" does for music collections is try
> to merge the track lists. So if you import the Audio CD data and select
> merge, the new comment field will just be dropped.
>
> Obviously, that's probably not the best thing. I should have the
> import/merge function do the same thing that the Internet Update does,
> that is, add all the non-empty fields.

OK, the "Merge Collection" option on import now does just that, a little 
better. New fields values are added, and paragraph fields are concatenated.

Robby
Robby Stephenson | 4 Apr 04:27 2007

Re: Trying to import from CSV

On Thursday 01 March 2007, Henk van Velden wrote:
> > Tracks could be separated by a semicolon. Like
> >   album, artist, track1;track2;track3,year
> > for example. That's how it's carried internally as a string.
>
> The semicolon seems not to bee enough. A space must be added (as is
> normaly doen in western punctuation). 

I just checked in a change so that the space is no longer required. That 
should make it a bit more lenient.

> I start Tellico and ask it to open a New Music Collection.
> The Group View now shows "Artist" in the header and "Artist" is also
> shown in the menu in the bar above.
> Then I go to File > Import > Import CSV data
> I choose a file and check "Append to current collection".
> Everything being Ok now klick "OK" and the data is imported.
> I now goto Edit > Undo
> The  Group view becomes empty (as the whole collection is deleted) and
> ... The heading of the Group View and the word in the bar above change to
> the next item of groupable fields (Genre in my case).
> Clicking on the menu in the bar it shows that Artist is gone.

That should be fixed now, too. 

I'll probably have a 1.2.10 released this weekend sometime.

Robby
Daniel Marcel Eichler | 5 Apr 15:07 2007
Picon
Picon

[Wish] Clickable URL in Paragraph

Hi

Actualy, tellico offers a field for simple text, which is handled as 
an url. You can click then beneath the field, and open the url in the
standard-browser. Thats ok, so far. But it has an disadvantage: it can 
only store one url. So, for some of my collections, i wished for a more 
dynamic solution, which allow me to save as many urls as needed. While it 
would be mainly stupid, IMHO, to add an extra-field for any extra-url, i 
came accros the idea, to use the paragraph-field.

So, my wish is, that the paragraph-field can transform text-urls to
clickable urls. Or that there will be an new multiline-field, which 
handles any seperate line, as an clickable url.

thanks in advance

Daniel

Gmane