prabbit wrote: 
> After numerous retries I finally got through analyzing all of my files.
> As a reminder, I analyzed my files using Ubuntu on Windows to get the
> high-level analysis. I see that data in the library.db file. I also see
> a jukebox file.
> 
> I am attempting to start the API server on my Windows system, the same
> one where I have run MusicIP Mixer Server for years. I get this output.
> 
> > 
Code:
--------------------
  >   > 
  > PS G:\music-similarity> python .\music-similarity.py
  > Traceback (most recent call last):
  > File "G:\music-similarity\music-similarity.py", line 37, in <module>
  > app.start_app(args, cfg, jukebox_file)
  > File "G:\music-similarity\lib\app.py", line 714, in start_app
  > similarity_app.init(args, config, jukebox_path)
  > File "G:\music-similarity\lib\app.py", line 50, in init
  > ids = self.mus.get_jukebox_from_file(jukebox_path)
  > File "G:\music-similarity\lib\musly.py", line 142, in get_jukebox_from_file
  > localmj = self.read_jukebox(path)
  > File "G:\music-similarity\lib\musly.py", line 130, in read_jukebox
  > localmj = self.mus.musly_jukebox_fromfile(ctypes.c_char_p(bytes(path, 
'utf-8')))
  > OSError: exception: access violation reading 0xFFFFFFFFFFFFFFFF
  > 
--------------------
> > 

I never actually tried analysing on Linux then running on Windows - or
even the other way around. I've just tried now (I have Windows 10 in a
VM) and it also fails. However, if you delete the jukebox file it is
recreated from the DB contents, and this then works.

What I can do is, perhaps, check for musly_jukebox_fromfile throwing
errors and delete and recreate the jukebox automatically.



*Material debug:* 1. Launch via http: //SERVER:9000/material/?debug=json
(Use http: //SERVER:9000/material/?debug=json,cometd to also see update
messages, e.g. play queue) 2. Open browser's developer tools 3. Open
console tab in developer tools 4. REQ/RESP messages sent to/from LMS
will be logged here.
------------------------------------------------------------------------
cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
View this thread: http://forums.slimdevices.com/showthread.php?t=115609

_______________________________________________
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to