SongKong Jaikoz

SongKong and Jaikoz Music Tagger Community Forum

Songkong just hangs

I’m running songkong as a cron job in the linux command line.

I’m kicking off the program with the following command: xvfb-run --server-args="-screen 0, 1440x900x24" /home/musicmaker/SongKong/songkong.sh -m /home/musicmaker/NewMusic

There was an issue with running it from the commandline as that the complaint was that it was a headless environment. So now it’s just hanging when I run it in the command line.

In a GUI I get this error:
Imgur

The last log appears like this.
The log:

21/01/2015 19.44.14:com.jthink.acoustid.query.AbstractAcoustidQuery:performBasicSubmissionQuery:SEVERE: Posting to url:http://api.acoustid.org/v2//user/lookup?format=xml&client=8XaBELgH&user=f1xZPSV5
21/01/2015 19.44.14:com.jthink.songkong.analyse.filename.BaseFolderGuesser:guessBaseFolderSubFolderSplit:SEVERE: FileWalkTree:Start:/home/musicmaker/NewMusic
21/01/2015 19.44.14:com.jthink.songkong.analyse.filename.BaseFolderGuesser$FindFile:visitFile:SEVERE: BaseFolderGuesser checking:06-band-title.mp3
21/01/2015 19.44.14:com.jthink.songkong.analyse.filename.BaseFolderGuesser:guessBaseFolderSubFolderSplit:SEVERE: FileWalkTree:End
21/01/2015 19.44.14:com.jthink.songkong.analyse.filename.BaseFolderGuesser:guessBaseFolderSubFolderSplit:SEVERE: Album PathElement Checking:home:album:Bandnmae
21/01/2015 19.44.14:com.jthink.songkong.analyse.filename.BaseFolderGuesser:guessBaseFolderSubFolderSplit:SEVERE: Album PathElement Checking:musicmaker:album:Bandnmae
21/01/2015 19.44.14:com.jthink.songkong.analyse.filename.BaseFolderGuesser:guessBaseFolderSubFolderSplit:SEVERE: Album PathElement Checking:NewMusic:album:Bandnmae
21/01/2015 19.44.14:com.jthink.songkong.fileloader.FileMapping:configureBaseFolders:SEVERE: Path LengthNameCountIs:3:BaseFolderSplit:3
21/01/2015 19.44.14:com.jthink.songlayer.hibernate.HibernateUtil:createFactory:SEVERE: ----Initilizing Hibernate Session factory

Hi, sorry for the delay in replying.

So I think what is happening:

1> The database is corrupted and needs recreating
2> The code that reports the error isn’t checking that you running in cmdline and therefore displays an error message as if a gui when it isnt which is why you get the headless error.

So remove the old database as follows:

when SongKong nexts starts it should create new database and work as expected.

Ive raised http://jthink.net:8081/browse/SONGKONG-810 to fix the gui message problem.

If you need help with reproducing this please do not hesitate to contact me. I’ll send you my details via a PM.

Thanks, did deleting the database resolve the issue for you.

http://jthink.net:8081/browse/SONGKONG-810 now fixed for next release.