Bruno Cornec | 1 Sep 01:42

Re: Unable to import from CD any more

On Sun, Aug 31, 2008 at 11:44:46AM +0200, bruno cornec wrote:
> When trying to import from a CD tellico is now crashing everytime :-(
> It may not be linked to tellico itself as an apps, but linked to my conf, or an evolution of one of the
underlying kde libs, not sure. I do regular updates of my RPMS through cron so can't be really sure.

Ok, it seems linked to the CDDB system. If I rename my .cddb dir to
cddb.sav, then it says that no entry corresponding to the CD has been
found. Much better as it doesn't crash in that case, but I loose the
CDDB function I need ;-)

> FYI kscd is reading that cd without problem, and the CDDB request is working just fine.

Anybody know if a modification to the CDDB has been done recently
(one/two monthes) that could explain it ?

Bruno.
--

-- 
Des infos sur la musique ancienne  -- http://www.musique-ancienne.org
Des infos sur les logiciels libres -- http://www.HyPer-Linux.org
Home, sweet musical Home -- Lover of Andromède, Béatrice, Early Music, 
Josquin, Linux, Mélisande, Recorder, and Ségolène (not in that order)
Bruno Cornec | 1 Sep 02:21

Re: Unable to import from CD any more

On Mon, Sep 01, 2008 at 01:42:37AM +0200, Bruno Cornec wrote:
> On Sun, Aug 31, 2008 at 11:44:46AM +0200, bruno cornec wrote:
> > When trying to import from a CD tellico is now crashing everytime :-(
> > It may not be linked to tellico itself as an apps, but linked to my conf, or an evolution of one of the
underlying kde libs, not sure. I do regular updates of my RPMS through cron so can't be really sure.
> 
> Ok, it seems linked to the CDDB system. If I rename my .cddb dir to
> cddb.sav, then it says that no entry corresponding to the CD has been
> found. Much better as it doesn't crash in that case, but I loose the
> CDDB function I need ;-)
> 
> > FYI kscd is reading that cd without problem, and the CDDB request is working just fine.

I think I know what happens:

kscd is trying to make a CDDB request, but in fact fails. However, the
CDs I try to add, have CD-Text content. So kscd displays that instead.
So I thought the CD was in CDDB.

Now when I try to import a CD-Text CD in tellico, tellico crashes if I
saved the content to my CDDB cache, or sayss that no entry corresponding
to the CD has been found if it has not been saved and doesn't seem to
use the CD-Text info.

Hope this gives you some hints on where to look.

Bruno.
--

-- 
Des infos sur la musique ancienne  -- http://www.musique-ancienne.org
Des infos sur les logiciels libres -- http://www.HyPer-Linux.org
(Continue reading)

Robby Stephenson | 4 Sep 16:00
Gravatar

Re: Unable to import from CD any more

On Sunday 31 August 2008, Bruno Cornec wrote:
> Now when I try to import a CD-Text CD in tellico, tellico crashes if I
> saved the content to my CDDB cache, or sayss that no entry corresponding
> to the CD has been found if it has not been saved and doesn't seem to
> use the CD-Text info.

Can you zip/tar the contents of the CDDB cache and send it to me?

The KCDDB library (libkcddb.so) that Tellico uses for CDDB lookup is in the 
kdemultimedia-CD package on suse. I'm not sure which package has it on 
Mandriva. If it's a new issue after a package upgrade, it might be related 
to some lib change, I guess. But Tellico doesn't use libkcddb for CD-text 
lookup.

Robby
Robby Stephenson | 5 Sep 07:17
Gravatar

Re: importing csv

On Thursday 28 August 2008, Peter Alcibiades wrote:
> Suppose however that the last line reads
>
> 1 TAB 2 TAB  TAB 4
>
> It then, in the field definition dialogue, moves all the fields over one,
> so the contents are no longer in the same columns, and this obviously
> screws everything up.

Consecutive tabs are now recognized as multiple delimiters instead of being 
combined, at least in my test case.

> Also, if you have a : in the field label, it seems not to show up on the
> detail display.  I fixed this by putting a different punctuation -
> spelling it.  I had A:B, but replaced it with A&B which works fine.

I can't reproduce this. Can you send me a test case with expected results?

> Another curious discovery.  When you have first done an import, even on
> the default template, entries will not display.  However, restart and
> they do.... I do not think this used to happen either.  No big deal once
> you know about it, but it had me worried for a moment!

I can't reproduce this. Can you describe each step exactly, with expected 
results?

Robby
Bruno Cornec | 6 Sep 01:20

Re: Unable to import from CD any more

On Thu, Sep 04, 2008 at 07:00:08AM -0700, Robby Stephenson wrote:
> On Sunday 31 August 2008, Bruno Cornec wrote:
> > Now when I try to import a CD-Text CD in tellico, tellico crashes if I
> > saved the content to my CDDB cache, or sayss that no entry corresponding
> > to the CD has been found if it has not been saved and doesn't seem to
> > use the CD-Text info.
> 
> Can you zip/tar the contents of the CDDB cache and send it to me?

Ok, I attahced one example of a CD which creates a problem. If you want
the full cache, I can also send it to you seperately, but I think it's
useless.

How to reproduce on my side:

rm -f .cddb/misc/5b10071a 
put the CD in /dev/hda
tellico
File / Import / From Audio CD / Add & Read from /dev/hda
Tellico crashes
more .cddb/misc/5b10071a 

# Revision: 1
DISCID=5b10071a
DTITLE=Ensemble Aziman / Le Tournoi de Chauvency
DYEAR=
DGENRE=Unknown
TTITLE0=Prologue - Por Mal Tens
TTITLE1=Armes - En ma Dame
TTITLE2=Armes - Abundance de Félonie
(Continue reading)

Bruno Cornec | 6 Sep 01:49

Re: Unable to import from CD any more

On Sat, Sep 06, 2008 at 01:20:39AM +0200, Bruno Cornec wrote:
> How to reproduce on my side:
> 
> rm -f .cddb/misc/5b10071a 
> put the CD in /dev/hda
> tellico
> File / Import / From Audio CD / Add & Read from /dev/hda
> Tellico crashes
> more .cddb/misc/5b10071a 

[...]

Ok, it seems my DVD burner has issues with the CD-TXT (as well as with
SACD). It can't read them completely and for the CD-TEXT part it makes
tellico crash. 

I tried with another reader on the same machine, and I was able to
import the CD content without problem. 

So there may still be a corner case where code should return the error
instead of crashing.

Hope this will help you find where it is.
Bruno.
--

-- 
Des infos sur la musique ancienne  -- http://www.musique-ancienne.org
Des infos sur les logiciels libres -- http://www.HyPer-Linux.org
Home, sweet musical Home -- Lover of Andromède, Béatrice, Early Music, 
Josquin, Linux, Mélisande, Recorder, and Ségolène (not in that order)
(Continue reading)

Riccardo Gori | 7 Sep 10:48
Picon
Gravatar

[PATCH] Fix for ibs fetcher

Hello,
here is a fix for the ibs.it fetcher when you try to search by title or author.

Thank you!
Riccardo

diff --git a/src/fetch/ibsfetcher.cpp b/src/fetch/ibsfetcher.cpp
--- a/src/fetch/ibsfetcher.cpp
+++ b/src/fetch/ibsfetcher.cpp
@@ -151,7 +151,7 @@ void IBSFetcher::slotComplete(KJob*) {

   QString s = Tellico::decodeHTML(QString(data));
   // really specific regexp
-  QString pat = QString::fromLatin1("http://www.internetbookshop.it/code/");
+  QString pat = QString::fromLatin1("http://www.ibs.it/code/");
   QRegExp anchorRx(QString::fromLatin1("<a\\s+[^>]*href\\s*=\\s*[\"'](") +
                    QRegExp::escape(pat) +
                    QString::fromLatin1("[^\"]*)\"[^>]*><b>([^<]+)<"),
Qt::CaseInsensitive);
Robby Stephenson | 7 Sep 17:42
Gravatar

Re: [PATCH] Fix for ibs fetcher

On Sunday 07 September 2008, Riccardo Gori wrote:
> Hello,
> here is a fix for the ibs.it fetcher when you try to search by title or
> author.
>
> Thank you!
> Riccardo

Thanks, applied.

Robby
Robby Stephenson | 10 Sep 04:45
Gravatar

Re: Image files missing

On Thursday 28 August 2008, Peter Landgren wrote:
> 1. Image files are missing
> If I in my gusetbook application include the images in the *.tc-file,
> and then generate a report and save it as HTML, no images are shown.
> I get errors like:
> File or directory
> /home/peter/.kde/share/apps/tellico/data/c8aaaef63a61ecb870d4f377bd67ff34
>.png does not exist. when I try to show the image. It's just a small icon
> in GuestBook4.html. See GuestBook4.html

Can you check the current SVN branch and see if the problem is fixed?

> 2. Show the HTML on another system.
> I would like to send this HTML file to someone else, but this does not
> work.
>
> The paths to the images files are absolute in my machine. So it will not
> work in another machine unless that has exactly the same file structrure,
> which is unlikely. And don't think of exporting it to a Windows system.

For now, I think you might have to live with that. I've some code in there 
that allows relative urls in a URL field, but making all the image code 
aware of a relative image link is a bit more work. The link url is just a 
string that gets copied.

Robby
Peter Landgren | 10 Sep 09:45
Picon

Re: Image files missing

Robby,

> On Thursday 28 August 2008, Peter Landgren wrote:
> > 1. Image files are missing
> > If I in my gusetbook application include the images in the *.tc-file,
> > and then generate a report and save it as HTML, no images are shown.
> > I get errors like:
> > File or directory
> > /home/peter/.kde/share/apps/tellico/data/c8aaaef63a61ecb870d4f377bd67ff34
> >.png does not exist. when I try to show the image. It's just a small icon
> > in GuestBook4.html. See GuestBook4.html
> 
> Can you check the current SVN branch and see if the problem is fixed?
Works just fine now!

 
> > 2. Show the HTML on another system.
> > I would like to send this HTML file to someone else, but this does not
> > work.
> >
> > The paths to the images files are absolute in my machine. So it will not
> > work in another machine unless that has exactly the same file structrure,
> > which is unlikely. And don't think of exporting it to a Windows system.
> 
> For now, I think you might have to live with that. I've some code in there 
> that allows relative urls in a URL field, but making all the image code 
> aware of a relative image link is a bit more work. The link url is just a 
> string that gets copied.

OK. Yes, I know this might be complicated if you allow the images to be
(Continue reading)


Gmane