McSwindler / kodi-mirror

A Kodi plugin that allows you to mirror the content from another Kodi installation
MIT License
5 stars 2 forks source link

No module named _multiprocessing #1

Open schrink opened 8 years ago

schrink commented 8 years ago

Hi,

I have installed your plugin on OSX, Kodi 16 Beta. It installs but when I try to open it I get the following error. Any idea?

20:57:50 T:123145304526848 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--No module named _multiprocessing

McSwindler commented 8 years ago

I don't have a Mac to test with, but it looks like the problematic import isn't used anymore, so hopefully just removing it will work.

You can download the updated here: https://github.com/McSwindler/kodi-mirror/blob/master/dist/plugin.video.mirror.zip?raw=true

Let me know how it works for you :)

schrink commented 8 years ago

Hey, thanks a lot! It works now, I can install it and configure. But it get's stuck on "Opening stream" forever. This is from the error log:

02:49:29 T:123145328214016 ERROR: EXCEPTION: XBMC is not playing any media file 02:49:29 T:123145328214016 ERROR: Exception in thread Thread-1: Traceback (most recent call last): File "/Users/Shared/jenkins/workspace/OSX-64/tools/depends/xbmc-depends/macosx10.10_x86_64-target/lib/python2.6/threading.py", line 532, in __bootstrap_inner File "/Users/Shared/jenkins/workspace/OSX-64/tools/depends/xbmc-depends/macosx10.10_x86_64-target/lib/python2.6/threading.py", line 484, in run File "/Users/vladimirlelicanin/Library/Application Support/Kodi/addons/plugin.video.mirror/RPCSocket.py", line 49, in _wait self._callbacks[js['method']](self, js) File "/Users/vladimirlelicanin/Library/Application Support/Kodi/addons/plugin.video.mirror/MirrorPlayer.py", line 61, in _onPause if self.isPaused(): File "/Users/vladimirlelicanin/Library/Application Support/Kodi/addons/plugin.video.mirror/MirrorPlayer.py", line 132, in isPaused start_time = self.getTime() RuntimeError: XBMC is not playing any media file 02:49:29 T:123145326067712 WARNING: CPythonInvoker(19, /Users/vladimirlelicanin/Library/Application Support/Kodi/addons/plugin.video.mirror/addon.py): the python script "/Users/vladimirlelicanin/Library/Application Support/Kodi/addons/plugin.video.mirror/addon.py" has left several classes in memory that we couldn't clean up. The classes include: N14PythonBindings30XBMCAddon_xbmc_Player_DirectorE 02:49:29 T:140735163060224 ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.mirror/?mode=server&id=007a0be4bdd68c25f0db4b964e997ca1] 02:49:42 T:123145304526848 WARNING: CSkinInfo: failed to load skin settings 02:49:42 T:140735163060224 ERROR: Control 1100 in window 13000 has been asked to focus, but it can't 02:49:47 T:123145326604288 WARNING: DARWINOSX: underflow (0 vs 4096 bytes) 02:50:07 T:123145305063424 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--

McSwindler commented 8 years ago

Can you try it now? I made some tweaks, though I'm not 100% sure if it'll solve everything. If there are further errors could you turn on debug logging and post any messages prepended with 'kodi-mirror::' as well as what type of file you are playing on the server Kodi instance. (like if it's an internet stream, something in your library, or a DVD, etc)