[Logo] Jaikoz and SongKong Forums
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Unable to retrieve acoustic ids  XML
Forum Index -> Jaikoz Issues Go to Page: 1, 2 Next 
Author Message
Anonymous



Hi, I'm running jaikoz on linux and have the following issue: When I try to retrieve accoustic IDs, I get the following kind of messages:

Feb 8, 2007 4:55:18 PM: WARNING: Unable to retrieve an acoustic id for /home/me/music/Jethro Tull/This Was/02- Jethro Tull - Some Day The Sun Won't Shine For You.mp3 because this track cannot be analysed
Feb 8, 2007 4:55:34 PM: INFO: Retrieved 0 acoustic ids successfully
paultaylor

Pro
[Avatar]

Joined: 21/08/2006 09:21:27
Messages: 7563
Online

Is this happening for every track ,or just the occasional one. Could you send your log files to support at jthink dot net so that I can investigate.

thanks Paul (Administrator)
Anonymous



I am on the trial version, and I am having the same problem. I am running Mac OS X. I will send the log files.
paultaylor

Pro
[Avatar]

Joined: 21/08/2006 09:21:27
Messages: 7563
Online

The linux 1.5 version uses a new version of the Get AcousticId program which is much more accurate, I think this would fix the original posters problem. For OSX this new version of the Get Acoustic Id program is not availble yet, but should be very soon.

thanks Paul (Administrator)
jayekub



Joined: 18/03/2007 19:11:07
Messages: 1
Offline

I am using a licensed copy of 1.5.0 on Linux and I'm still getting message with almost every mp3 file I've tried it on. Is there any way to get more verbose output so I can find out what it is that's wrong with my files? All these files load and play fine in every other program I've tried them with...
paultaylor

Pro
[Avatar]

Joined: 21/08/2006 09:21:27
Messages: 7563
Online

I'm suprised you our still not having much luck. Jaikoz v1.5 performs much better for Linux than v1.4.1, however I don't think it is still quite as accurate as the Windows version, but unfortunately the code for generating acoustic ids is not written by me, but provided by MusicIP so i dont know the full details of the differences, I have asked MusicIP if they can give me any more information on the differences.

Could you try running Jaikoz on Windows against these files as a test/workaround ?

Paul

thanks Paul (Administrator)
Anonymous



I'm getting the same error with jaikoz 1.6.1 (full license) on Suse 10.1. When retrieving acoustic IDs for just about any song, the console displays
Code:
 WARNING: Unable to retreive an acoustic id for <file>
 INFO: Retrieved 0 acoustic ids successfully
 INFO: Completed retrieval of Acoustic Ids for 1 files

The terminal screen says:
Code:
 [Fatal Error] :-1:-1: Premature end of file.
 08/04/2007 00.48.19:WARNING: Unable to create Puid for:0:null

Interestingly, if I manually run genpuid on these files (with an anonymous key from musicip), many of them do in fact return a puid. Which leads me to believe the problem is with jaikoz. Any ideas?
paultaylor

Pro
[Avatar]

Joined: 21/08/2006 09:21:27
Messages: 7563
Online

Anonymous wrote:
I'm getting the same error with jaikoz 1.6.1
[Fatal Error] :-1:-1: Premature end of file.
 

This specific error is new , Ive never seen it could you please send your your full jaikozuser0-0.log and jaikozdebug0-0.log so I can analyse this properly.
Anonymous



Same error with 1.7.0 on Suse 10.1 and 1.6.1 on Suse 10.2 (different system). Any progress?
paultaylor

Pro
[Avatar]

Joined: 21/08/2006 09:21:27
Messages: 7563
Online

I have not yet managed to get hold of a Suse system to try and reproduce this, it is not happening on my Fedora Linux system

thanks Paul (Administrator)
cpicton

Enthusiast

Joined: 23/03/2007 02:47:00
Messages: 12
Offline

For testing like this, I find vmware extremely useful. You can install any OS/Distro you need to, to test compatibility.

The server version is free to download and use (www.vmware.com)
paultaylor

Pro
[Avatar]

Joined: 21/08/2006 09:21:27
Messages: 7563
Online

cpicton wrote:
For testing like this, I find vmware extremely useful. You can install any OS/Distro you need to, to test compatibility.

The server version is free to download and use (www.vmware.com)
 

thanks for the tip

thanks Paul (Administrator)
Anonymous



Has there been any progress on this issue? It's been about a month since I first posted.
paultaylor

Pro
[Avatar]

Joined: 21/08/2006 09:21:27
Messages: 7563
Online

Anonymous wrote:
Has there been any progress on this issue? It's been about a month since I first posted. 

i havent forgotten but OpenSuse is not officially supported so i must admit it has not been top priority. I have been trying to use Innotek VirtualBox to get a working Suse installation, but without success.
Anonymous



paultaylor wrote:

Anonymous wrote:
Has there been any progress on this issue? It's been about a month since I first posted. 

i havent forgotten but OpenSuse is not officially supported so i must admit it has not been top priority. I have been trying to use Innotek VirtualBox to get a working Suse installation, but without success. 


have the same problem with "this track cannot be analysed" on Suse 10.2 any help to fix it? Using full licence 1.9.4, it's a issue of priviliges?

I can let you test it on mine server if you can't install virtual machine and get OpenSuse if you are interested. let me know at thedop@gmail.com
issic



Joined: 16/06/2007 17:33:38
Messages: 2
Offline

Anonymous wrote:

paultaylor wrote:

Anonymous wrote:
Has there been any progress on this issue? It's been about a month since I first posted. 

i havent forgotten but OpenSuse is not officially supported so i must admit it has not been top priority. I have been trying to use Innotek VirtualBox to get a working Suse installation, but without success. 


have the same problem with "this track cannot be analysed" on Suse 10.2 any help to fix it? Using full licence 1.9.4, it's a issue of priviliges?

I can let you test it on mine server if you can't install virtual machine and get OpenSuse if you are interested. let me know at thedop@gmail.com 

I wrote it
Nocturnal

Pro

Joined: 05/06/2007 16:41:06
Messages: 20
Offline

I see this issue, too.
This is under Gentoo Linux with all latest updates and Sun's VM 1.5.0_11.

Examples: Code:
 [Fatal Error] :-1:-1: Premature end of file.
 21/06/2007 19.41.12:WARNING: Unable to create Puid for:29:null
 [Fatal Error] :-1:-1: Premature end of file.
 21/06/2007 19.45.07:WARNING: Unable to create Puid for:95:null
 [Fatal Error] :-1:-1: Premature end of file.
 21/06/2007 19.45.56:WARNING: Unable to create Puid for:112:null
 [Fatal Error] :-1:-1: Premature end of file.
 21/06/2007 19.46.32:WARNING: Unable to create Puid for:127:null
 [Fatal Error] :-1:-1: Premature end of file.
 21/06/2007 19.46.45:WARNING: Unable to create Puid for:132:null
 [Fatal Error] :-1:-1: Premature end of file.

I have uploaded all log files (userlog, debuglog and part of the console output) here.
paultaylor

Pro
[Avatar]

Joined: 21/08/2006 09:21:27
Messages: 7563
Online

Ok, so this problem has happened on three occasions nows, and always with Linux, I haven't managed to replicate it myself.

Can you clarify for me is this happening consistently for the same files. For example in the debug log where it says Unable to create Puid for:132, the 132 refers to the 133nd file (because records are labelled from zero) in the list when sorted by record number. So if this problem occurs again after identifying the record you could right click on it s record header and just select 'Remote Correct/Correct Acoustic Ids' to retry this one file.

If it does reoccur could you send me the file and/or try against Windows or OSX to see if the problem persists.

Another thing that might be useful would be if you increased the logging output but this will slow down jaikoz so you only really want to do it for when running a test , not all the time. You can increase the logging by using the jaikoz.sh shell script and editing the value -l2 in jaikoz.sh to -l7.


thanks Paul (Administrator)
Nocturnal

Pro

Joined: 05/06/2007 16:41:06
Messages: 20
Offline

paultaylor wrote:
[...]
Can you clarify for me is this happening consistently for the same files. For example in the debug log where it says Unable to create Puid for:132, the 132 refers to the 133nd file (because records are labelled from zero) in the list when sorted by record number. So if this problem occurs again after identifying the record you could right click on it s record header and just select 'Remote Correct/Correct Acoustic Ids' to retry this one file.
[...] 

(The list in the GUI of Jaikoz also starts from 0.)
What I did was first analyse a directory of 517 files with genpuid (all files at once). I saved the output in a file. Then I opened the same directory in Jaikoz, started the acoustic analysis, and waited until 2 songs had shown the error. Then I cancelled the operation, and retried acoustic analysis on them separately. This did work. The PUID for these songs was also present in the saved output of genpuid itself.

Then I closed Jaikoz (without saving anything), reopened it, and did everything exactly the same. There were errors again, but this time on different files! The files that gave errors the first time, had no problem this time. Again right-clicking and analyzing only that file gave no problems. The files that had errors this time also didn't give any error with genpuid.

It is possible that these files are corrupt, but even that can't explain why it doesn't always hang on the same files. What I am wondering about is the error format:
Code:
 [Fatal Error] :-1:-1: Premature end of file.
 23/06/2007 01.06.15:WARNING: Unable to create Puid for:11:null
 

What programs generate these? The first one doesn't seem like your log format. [edit]I found out it's an error from your XML parser. So probably the output received from genpuid isn't up to par all the time...[/edit] The second one states the list number (so probably from your program) and then 'null'. Where do you print this message? What should follow the list number? Seems like that parameter isn't initialized...

I'll retry this with more debug output later...
I'm also going to try redoing the entire directory with genpuid, seeing if it also sometimes fails on different files.
paultaylor

Pro
[Avatar]

Joined: 21/08/2006 09:21:27
Messages: 7563
Online

Nocturnal wrote:
What I am wondering about is the error format:
Code:
 [Fatal Error] :-1:-1: Premature end of file.
 23/06/2007 01.06.15:WARNING: Unable to create Puid for:11:null
 

What programs generate these? The first one doesn't seem like your log format. [edit]I found out it's an error from your XML parser. So probably the output received from genpuid isn't up to par all the time...[/edit] The second one states the list number (so probably from your program) and then 'null'. Where do you print this message? What should follow the list number? Seems like that parameter isn't initialized...

I'll retry this with more debug output later...
I'm also going to try redoing the entire directory with genpuid, seeing if it also sometimes fails on different files. 


Thankyou for taking the time to look at this, it appears that the problem is not file related but related to the interaction between Jaikoz and Genpuid.

This lines comes from jaikoz:
23/06/2007 01.06.15:WARNING: Unable to create Puid for:11:null
The null is because there is an exception but it has no error message, it is not because something is not inilitized.

I dont know where
[Fatal Error] :-1:-1: Premature end of file.
is coming from but I guess it is coming from genpuid in some way. Ive just reread your message how do you its from the xmlparser, thats interesting.
Yes please try with more debugging, this may give the extra information I need to fix this.

thanks Paul (Administrator)
Nocturnal

Pro

Joined: 05/06/2007 16:41:06
Messages: 20
Offline

paultaylor wrote:
I dont know where
[Fatal Error] :-1:-1: Premature end of file.
is coming from but I guess it is coming from genpuid in some way. Ive just reread your message how do you its from the xmlparser, thats interesting. 

When you look it up on Google, the first result shows the exact same error message, coming from the Java SAX XML parser. No doubt you also use some kind of Java XML parser on the output of genpuid...

"Premature end of file" would probably refer to the XML data you feed (from genpuid) into the parser, so the problem is probably either the XML returned by genpuid, or the variable you use to store it in (maybe it doesn't get reset properly after every run?)...
Nocturnal

Pro

Joined: 05/06/2007 16:41:06
Messages: 20
Offline

BTW, I see this issue on Windows, as well, just not as frequently.
paultaylor

Pro
[Avatar]

Joined: 21/08/2006 09:21:27
Messages: 7563
Online

That is important to know, Im reviewing the code BTW are your machines multiple cpus.

thanks Paul (Administrator)
paultaylor

Pro
[Avatar]

Joined: 21/08/2006 09:21:27
Messages: 7563
Online

Nocturnal wrote:
maybe it doesn't get reset properly after every run... 


That isnt the issue, but I have found something else that maybe causing the problem, a debug log showing the problem occurring would be useful if you have a chance.

thanks Paul (Administrator)
Nocturnal

Pro

Joined: 05/06/2007 16:41:06
Messages: 20
Offline

paultaylor wrote:

Nocturnal wrote:
maybe it doesn't get reset properly after every run... 


That isnt the issue, but I have found something else that maybe causing the problem, a debug log showing the problem occurring would be useful if you have a chance. 

That's good news!

I don't have a debug log yet. I'm running a session of 22 000+ files now, already going 20+ hours, I really didn't want to slow that down or risk a hang with that many files . The error only occured 25 times in 10 000 files so it really is a rare bug. I don't actually have multiple CPU's, but I do have Hyperthreading activated, which the OS (both Windows and Linux) will treat as if they were 2 CPU's. I do have some more output (different error messages but I'm pretty sure they're caused by the same problem):
Code:
[Fatal Error] :1:1: Content is not allowed in prolog.
 24/06/2007 19.46.35:WARNING: Unable to create Puid for:2556:null
 [Fatal Error] :1:20: XML document structures must start and end within the same entity.
 24/06/2007 19.55.24:WARNING: Unable to create Puid for:2997:null
 [Fatal Error] :-1:-1: Premature end of file.
 24/06/2007 19.57.38:WARNING: Unable to create Puid for:3132:null
 [Fatal Error] :-1:-1: Premature end of file.
 24/06/2007 19.57.49:WARNING: Unable to create Puid for:3135:null
 [Fatal Error] :1:20: XML document structures must start and end within the same entity.
 24/06/2007 19.57.56:WARNING: Unable to create Puid for:3136:null
 [Fatal Error] :-1:-1: Premature end of file.
 24/06/2007 20.04.30:WARNING: Unable to create Puid for:3505:null
 [Fatal Error] :1:20: XML document structures must start and end within the same entity.
 24/06/2007 20.08.34:WARNING: Unable to create Puid for:3741:null
 [Fatal Error] :-1:-1: Premature end of file.


This shows that it's really a problem with recording of the output of genpuid. Since I doubt the problem is in the output itself, it might be caused by processing the output before it's entirely finished (i.e. it still has to write "npuid>" or something)?

If you need me to beta-test a possible bugfix, let me know.
paultaylor

Pro
[Avatar]

Joined: 21/08/2006 09:21:27
Messages: 7563
Online

Nocturnal wrote:
Since I doubt the problem is in the output itself, it might be caused by processing the output before it's entirely finished (i.e. it still has to write "npuid>" or something)?

If you need me to beta-test a possible bugfix, let me know.  

Yes I think there is a possibility of reading before output has completed, which would be more likely on a multi-threaded system, I may ask you to beat test sometime this week, thanks.

thanks Paul (Administrator)
paultaylor

Pro
[Avatar]

Joined: 21/08/2006 09:21:27
Messages: 7563
Online

I believe this is now fixed in Jaikoz 1.10 please let me know

thanks Paul (Administrator)
tvanbeck



Joined: 23/08/2007 11:06:07
Messages: 1
Offline

I'm running Suse 10.1 and Jaikoz 1.10 and I'm having this error for every file. 1.10 did not resolve this issue.
paultaylor

Pro
[Avatar]

Joined: 21/08/2006 09:21:27
Messages: 7563
Online

Every file, this was not the behaviour that existed before, can you send me a log file please ?

thanks Paul (Administrator)
juanqui



Joined: 24/12/2007 20:02:22
Messages: 2
Offline

I experience the smae problem with Jaikoz 2.1.0 build 1039 under windows XP. I have 101 mp3 files that Jaikoz doesn't assign a musicIP ID to. It does search for one, (although occaisionally VERY slowly), but they are not actually assigned. It seems to happen to certain artists/albums, but I haven't found in wich these are different from the rest of my collection.

If you tell me hoe to create a log, I'll send you one...
 
Forum Index -> Jaikoz Issues Go to Page: 1, 2 Next 
Go to:   
Powered by JForum 2.1.6 © JForum Team