[Logo] Jaikoz and SongKong Forums
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Songkong just hangs  XML
Forum Index -> SongKong Issues
Author Message
monksy



Joined: 26/02/2013 15:45:18
Messages: 3
Offline

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:
http://imgur.com/RIZtz5K


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
paultaylor

Pro
[Avatar]

Joined: 21/08/2006 09:21:27
Messages: 7485
Offline

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:

Code:
rm -fr $HOME/.songkong/Prefs/Database


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.

thanks Paul (Administrator)
monksy



Joined: 26/02/2013 15:45:18
Messages: 3
Offline

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

Pro
[Avatar]

Joined: 21/08/2006 09:21:27
Messages: 7485
Offline

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

thanks Paul (Administrator)
paultaylor

Pro
[Avatar]

Joined: 21/08/2006 09:21:27
Messages: 7485
Offline

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

thanks Paul (Administrator)
 
Forum Index -> SongKong Issues
Go to:   
Powered by JForum 2.1.6 © JForum Team