steeve / plugin.video.pulsar

Pulsar addon for XBMC/Kodi
http://forum.kodi.tv/showthread.php?tid=200957
Other
547 stars 351 forks source link

Not working on OpenELEC 5.01 #102

Closed jonashilmersson closed 9 years ago

jonashilmersson commented 9 years ago

Pulsar doesn't work anymore after upgrading to OpenELEC 5.01. I'm running v0.4.5 and get script failed errors when trying to start streaming.

epoxi commented 9 years ago

Same here. It keeps displaying "You must restat XBMC before using Pulsar".

Pulsar 0.4.5 OpenELEC 5.01 Raspberry Pi B+

kero99 commented 9 years ago

Confirmed:

Pulsar 0.4.5 OpenELEC 5.01 Raspberry Pi B+

Loop restarting pulsar after first reboot...

steeve commented 9 years ago

Can you provide a debug log ? Can't do nothing without it...

alexis-boisserand commented 9 years ago

Same problem here. Here is a debug log: http://xbmclogs.com/show.php?id=419172

NoGood commented 9 years ago

I am using Pulsar 0.4.5 OpenELEC 5.01

Without a problem. not running on raspberry pi though

epoxi commented 9 years ago

Updated OpenELEC and Pulsar to a new version, still the same problem:

Pulsar 0.4.6 OpenELEC 5.03 Raspberry Pi B+

Kodi Log --> https://gist.github.com/epoxi/fd7ea2703dd1b5fc605c

jonashilmersson commented 9 years ago

I updated OpenELEC and Pulsar to a new version:

Now Pulsar tells me that XBMC must be restarted, and it doesn't help to reboot the PI.

Brgds

Jonas

steeve commented 9 years ago

Guys, how are you downloading the addon? I hope not from the Github "Download ZIP" on the right.

Use the releases provided at: https://github.com/steeve/plugin.video.pulsar/releases/

That's what your logs tell me @epoxi

Prophecy67 commented 9 years ago

@steeve I'm getting looping errors on the latest 0.4.7 version (openelec 5.0.1). Cannot start Pulsar at all

18:06:01 T:3043266560 NOTICE: Previous line repeats 1 times. 18:06:01 T:3043266560 ERROR: GetDirectory - Error getting plugin://plugin.video.pulsar/ 18:06:01 T:3043266560 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.pulsar/) failed 18:06:04 T:3043266560 ERROR: GetDirectory - Error getting addons://sources/video/ 18:06:04 T:3043266560 ERROR: CGUIMediaWindow::GetDirectory(addons://sources/video/) failed 18:06:04 T:3043266560 NOTICE: SpawnThread - fatal error creating thread 18:06:32 T:3043266560 NOTICE: Previous line repeats 2 times. 18:06:32 T:3043266560 ERROR: GetDirectory - Error getting addons://sources/video/ 18:06:32 T:3043266560 ERROR: CGUIMediaWindow::GetDirectory(addons://sources/video/) failed 18:06:32 T:3043266560 NOTICE: SpawnThread - fatal error creating thread 18:07:04 T:3043266560 NOTICE: Previous line repeats 1 times. 18:07:04 T:3043266560 ERROR: GetDirectory - Error getting addons://all/ 18:07:04 T:3043266560 ERROR: CGUIMediaWindow::GetDirectory(addons://all/) failed 18:07:04 T:3043266560 NOTICE: SpawnThread - fatal error creating thread

EDIT : I've installed version 0.4.5 now and enabled XMLRPC JSON ( http://kodi.wiki/view/JSON-RPC_API#Enabling_JSON-RPC)

Now getting no result when seacrhing for any movie to play. 18:23:03 T:2692740160 NOTICE: -->Python Interpreter Initialized<-- 18:23:04 T:2692740160 NOTICE: http://localhost:65251/movie/tt2245084/play 18:23:04 T:2779771968 NOTICE: [plugin.video.pulsar] 2015/02/22 18:23:04 Searching links for IMDB: tt2245084 18:23:04 T:2779771968 NOTICE: [plugin.video.pulsar] 2015/02/22 18:23:04 Resolved tt2245084 to Big Hero 6 18:23:04 T:2779771968 NOTICE: [plugin.video.pulsar] 2015-02-22 18:23:04 INFO linkssearch Resolving torrent files... 18:23:04 T:2779771968 NOTICE: [plugin.video.pulsar] 2015-02-22 18:23:04 INFO linkssearch Received 0 links. 18:23:04 T:2779771968 NOTICE: [plugin.video.pulsar] [GIN] 2015/02/22 - 18:23:04 | 200 | 23.369222ms | 127.0.0.1:58844 | GET /movie/tt2245084/play 18:23:04 T:3043233792 ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.pulsar/movie/tt2245084/play]

jonashilmersson commented 9 years ago

Got the latest version v.0.47 automatically downloaded from the repo, and it still says "You must restart XBMC before using Pulsar." Rebooting doesn't help unfortunately.

Log file contents:

19:37:49 T:1818887232 NOTICE: ## OpenELEC Addon ## 0.5.8 19:37:52 T:1713370176 NOTICE: [plugin.video.pulsar] pulsar: starting jsonrpc service 19:37:54 T:1704981568 NOTICE: [plugin.video.pulsar] pulsard: starting pulsard 19:37:56 T:1810498624 NOTICE: StorageServer Module loaded RUN 19:37:56 T:1810498624 NOTICE: StorageClient-2.5.4 Starting server 19:37:57 T:1704981568 NOTICE: Traceback (most recent call last): 19:37:58 T:1704981568 NOTICE: File "/storage/.kodi/addons/plugin.video.pulsar/resources/site-packages/pulsar/daemon.py", line 110, in pulsard_thread 19:37:58 T:1704981568 NOTICE: proc = start_pulsard(stdout=subprocess.PIPE, stderr=subprocess.STDOUT) 19:37:58 T:1704981568 NOTICE: File "/storage/.kodi/addons/plugin.video.pulsar/resources/site-packages/pulsar/daemon.py", line 87, in start_pulsard 19:37:58 T:1704981568 NOTICE: pulsar_dir, pulsar_binary = get_pulsar_binary() 19:37:58 T:1704981568 NOTICE: File "/storage/.kodi/addons/plugin.video.pulsar/resources/site-packages/pulsar/daemon.py", line 65, in get_pulsar_binary 19:37:58 T:1704981568 NOTICE: if not os.path.exists(dest_binary_path) or get_pulsard_checksum(dest_binary_path) != get_pulsard_checksum(binary_path): 19:37:58 T:1704981568 NOTICE: File "/storage/.kodi/addons/plugin.video.pulsar/resources/site-packages/pulsar/daemon.py", line 35, in get_pulsard_checksum 19:37:58 T:1704981568 NOTICE: fp.seek(-40, os.SEEK_END) # we put a sha1 there 19:37:58 T:1704981568 NOTICE: IOError: [Errno 22] Invalid argument 19:37:58 T:1704981568 ERROR: Exception in thread Thread-2: Traceback (most recent call last): File "/home/stephan/projects/openelec-5.0/build.OpenELEC-RPi.arm-5.0.3/Python-2.7.3/.install_pkg/usr/lib/python2.7/threading.py", line 551, in __bootstrap_inner File "/home/stephan/projects/openelec-5.0/build.OpenELEC-RPi.arm-5.0.3/Python-2.7.3/.install_pkg/usr/lib/python2.7/threading.py", line 504, in run File "/storage/.kodi/addons/plugin.video.pulsar/resources/site-packages/pulsar/daemon.py", line 110, in pulsard_thread proc = start_pulsard(stdout=subprocess.PIPE, stderr=subprocess.STDOUT) File "/storage/.kodi/addons/plugin.video.pulsar/resources/site-packages/pulsar/daemon.py", line 87, in start_pulsard pulsar_dir, pulsar_binary = get_pulsar_binary() File "/storage/.kodi/addons/plugin.video.pulsar/resources/site-packages/pulsar/daemon.py", line 65, in get_pulsar_binary if not os.path.exists(dest_binary_path) or get_pulsard_checksum(dest_binary_path) != get_pulsard_checksum(binary_path): File "/storage/.kodi/addons/plugin.video.pulsar/resources/site-packages/pulsar/daemon.py", line 35, in get_pulsard_checksum fp.seek(-40, os.SEEK_END) # we put a sha1 there IOError: [Errno 22] Invalid argument 19:49:46 T:1802110016 NOTICE: Thread JobWorker start, auto delete: true 19:49:54 T:1756705856 NOTICE: Previous line repeats 2 times. 19:49:54 T:1756705856 NOTICE: Thread LanguageInvoker start, auto delete: false 19:49:55 T:1756705856 NOTICE: -->Python Interpreter Initialized<-- 19:49:56 T:1969405952 ERROR: GetDirectory - Error getting plugin://plugin.video.pulsar/ 19:49:56 T:1969405952 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.pulsar/) failed 19:49:56 T:1756705856 NOTICE: Thread BackgroundLoader start, auto delete: false 19:50:13 T:1756705856 NOTICE: Previous line repeats 1 times. 19:50:13 T:1756705856 NOTICE: Thread LanguageInvoker start, auto delete: false 19:50:14 T:1756705856 NOTICE: -->Python Interpreter Initialized<-- 19:50:17 T:1969405952 ERROR: GetDirectory - Error getting plugin://plugin.video.pulsar/ 19:50:17 T:1969405952 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.pulsar/) failed 19:50:17 T:1756705856 NOTICE: Thread BackgroundLoader start, auto delete: false 20:12:16 T:1781871680 NOTICE: Thread JobWorker start, auto delete: true 20:12:55 T:1654645824 NOTICE: Thread LanguageInvoker start, auto delete: false 20:12:55 T:1654645824 NOTICE: -->Python Interpreter Initialized<-- 20:12:56 T:1969405952 ERROR: Control 1000 in window 13001 has been asked to focus, but it can't

epoxi commented 9 years ago

@steeve, I've now downladed Pulsar from the link you provided (https://github.com/steeve/plugin.video.pulsar/releases/)

The outcome was almost the same. But now it keeps crashing and reloading :(

Upgraded OpenELEC to 5.04

Pulsar 0.4.7 OpenELEC 5.04 Raspberry Pi B+

jonashilmersson commented 9 years ago

Hi,

I have also upgraded to OpenELEC 5.04 and Pulsar 0.4.7, still the same message to restart XBMC.

Brgds

Jonas

kodispot commented 9 years ago

I Have The Same Issue with Gotham OpenELEC In Mx2 Box..

asfaltboy commented 9 years ago

@steeve - The logs above seem to indicate that the error tends to occur after the get_pulsar_checksum method; the exception might indicate wrong (out of bounds) fd position or argument value (taken from here).

I don't have the issue yet, per se, but I will be testing the addon on an OpenELEC later tonight (finally hooking up my RaspberryPi 2 up).

steeve commented 9 years ago

ok, apparently you guys have a corrupted install.

try this, in OpenELEC shell:

$ rm -rf .kodi/addons/plugin.video.pulsar .kodi/userdata/addon_data/plugin.video.pulsar

And then reinstall Pulsar from the zip at https://github.com/steeve/plugin.video.pulsar/releases/download/v0.4.7/plugin.video.pulsar-0.4.7.zip

epoxi commented 9 years ago

Did what you mention, and reinstalled... Pulsar keeps restarting

17:49:46 T:1690297408 NOTICE: [plugin.video.pulsar] pulsard: starting pulsard 17:49:47 T:1690297408 NOTICE: [plugin.video.pulsar] 2015-03-03 20:49:47 INFO main 17:49:47 T:1690297408 NOTICE: [plugin.video.pulsar] 2015-03-03 20:49:47 INFO main . 17:49:47 T:1690297408 NOTICE: [plugin.video.pulsar] 2015-03-03 20:49:47 INFO main ____ | | _____ _____ 17:49:47 T:1690297408 NOTICE: [plugin.video.pulsar] 2015-03-03 20:49:47 INFO main __ | | \ | / / \ \ 17:49:47 T:1690297408 NOTICE: [plugin.video.pulsar] 2015-03-03 20:49:47 INFO main | |> > | / |____ \ / | | \/ 17:49:47 T:1690297408 NOTICE: [plugin.video.pulsar] 2015-03-03 20:49:47 INFO main | **/|/|/ >(____ /| 17:49:47 T:1690297408 NOTICE: [plugin.video.pulsar] 2015-03-03 20:49:47 INFO main |**| \/ \/ 17:49:47 T:1690297408 NOTICE: [plugin.video.pulsar] 2015-03-03 20:49:47 INFO main 17:49:47 T:1690297408 NOTICE: [plugin.video.pulsar] 2015-03-03 20:49:47 INFO main Version: 0.4.7 Git: v0.4.7 Go: go1.4 17:49:47 T:1690297408 NOTICE: [plugin.video.pulsar] 2015-03-03 20:49:47 INFO config Reloading configuration... 17:49:48 T:1690297408 NOTICE: [plugin.video.pulsar] 2015-03-03 20:49:48 INFO main Addon: plugin.video.pulsar v0.4.7 17:49:48 T:1690297408 NOTICE: [plugin.video.pulsar] 2015-03-03 20:49:48 INFO btservice Setting Session settings... 17:49:48 T:1690297408 NOTICE: [plugin.video.pulsar] 2015-03-03 20:49:48 INFO btservice Setting Encryption settings... 17:49:48 T:1690297408 NOTICE: [plugin.video.pulsar] 2015-03-03 20:49:48 INFO btservice Consuming alerts... 17:49:48 T:1690297408 NOTICE: [plugin.video.pulsar] panic: dial tcp 127.0.0.1:9090: connection refused 17:49:48 T:1690297408 NOTICE: [plugin.video.pulsar] 17:49:48 T:1690297408 NOTICE: [plugin.video.pulsar] goroutine 1 [running]: 17:49:48 T:1690297408 NOTICE: [plugin.video.pulsar] pulsard: starting pulsard

On Mon, Mar 2, 2015 at 5:36 PM, Steeve Morin notifications@github.com wrote:

ok, apparently you guys have a corrupted install.

try this, in OpenELEC shell:

$ rm -rf .kodi/addons/plugin.video.pulsar .kodi/userdata/addon_data/plugin.video.pulsar

And then reinstall Pulsar from the zip at https://github.com/steeve/plugin.video.pulsar/releases/download/v0.4.7/plugin.video.pulsar-0.4.7.zip

— Reply to this email directly or view it on GitHub https://github.com/steeve/plugin.video.pulsar/issues/102#issuecomment-76813392 .

Atte.- LC

steeve commented 9 years ago

Yes because you didn't follow the install guide and didn't enable remote control in Kodi

On Tuesday, March 3, 2015, Lucas Campa notifications@github.com wrote:

Did what you mention, and reinstalled... Pulsar keeps restarting

17:49:46 T:1690297408 NOTICE: [plugin.video.pulsar] pulsard: starting pulsard 17:49:47 T:1690297408 NOTICE: [plugin.video.pulsar] 2015-03-03 20:49:47 INFO main 17:49:47 T:1690297408 NOTICE: [plugin.video.pulsar] 2015-03-03 20:49:47 INFO main . 17:49:47 T:1690297408 NOTICE: [plugin.video.pulsar] 2015-03-03 20:49:47 INFO main ____ | | _____ _____ 17:49:47 T:1690297408 NOTICE: [plugin.video.pulsar] 2015-03-03 20:49:47 INFO main __ | | \ | / / \ \ 17:49:47 T:1690297408 NOTICE: [plugin.video.pulsar] 2015-03-03 20:49:47 INFO main | |> > | / |____ \ / | | \/ 17:49:47 T:1690297408 NOTICE: [plugin.video.pulsar] 2015-03-03 20:49:47 INFO main | **/|/|/ >(____ /| 17:49:47 T:1690297408 NOTICE: [plugin.video.pulsar] 2015-03-03 20:49:47 INFO main |**| \/ \/ 17:49:47 T:1690297408 NOTICE: [plugin.video.pulsar] 2015-03-03 20:49:47 INFO main 17:49:47 T:1690297408 NOTICE: [plugin.video.pulsar] 2015-03-03 20:49:47 INFO main Version: 0.4.7 Git: v0.4.7 Go: go1.4 17:49:47 T:1690297408 NOTICE: [plugin.video.pulsar] 2015-03-03 20:49:47 INFO config Reloading configuration... 17:49:48 T:1690297408 NOTICE: [plugin.video.pulsar] 2015-03-03 20:49:48 INFO main Addon: plugin.video.pulsar v0.4.7 17:49:48 T:1690297408 NOTICE: [plugin.video.pulsar] 2015-03-03 20:49:48 INFO btservice Setting Session settings... 17:49:48 T:1690297408 NOTICE: [plugin.video.pulsar] 2015-03-03 20:49:48 INFO btservice Setting Encryption settings... 17:49:48 T:1690297408 NOTICE: [plugin.video.pulsar] 2015-03-03 20:49:48 INFO btservice Consuming alerts... 17:49:48 T:1690297408 NOTICE: [plugin.video.pulsar] panic: dial tcp 127.0.0.1:9090: connection refused 17:49:48 T:1690297408 NOTICE: [plugin.video.pulsar] 17:49:48 T:1690297408 NOTICE: [plugin.video.pulsar] goroutine 1 [running]: 17:49:48 T:1690297408 NOTICE: [plugin.video.pulsar] pulsard: starting pulsard

On Mon, Mar 2, 2015 at 5:36 PM, Steeve Morin <notifications@github.com javascript:_e(%7B%7D,'cvml','notifications@github.com');> wrote:

ok, apparently you guys have a corrupted install.

try this, in OpenELEC shell:

$ rm -rf .kodi/addons/plugin.video.pulsar .kodi/userdata/addon_data/plugin.video.pulsar

And then reinstall Pulsar from the zip at

https://github.com/steeve/plugin.video.pulsar/releases/download/v0.4.7/plugin.video.pulsar-0.4.7.zip

— Reply to this email directly or view it on GitHub < https://github.com/steeve/plugin.video.pulsar/issues/102#issuecomment-76813392

.

Atte.- LC

— Reply to this email directly or view it on GitHub https://github.com/steeve/plugin.video.pulsar/issues/102#issuecomment-77031899 .

Steeve Morin twitter.com/steeve github.com/steeve linkd.in/smorin

epoxi commented 9 years ago

Clean reinstall, erasing all ./kodi pulsar files.

OpenELEC:~ # rm -rf .kodi/addons/plugin.video.pulsar .kodi/userdata/addon_data/plugin.video.pulsar OpenELEC:~ # cd .kodi/addons/plugin.video.pulsar -sh: cd: can't cd to .kodi/addons/plugin.video.pulsar OpenELEC:~ # cd .kodi/userdata/addon_data/plugin.video.pulsar -sh: cd: can't cd to .kodi/userdata/addon_data/plugin.video.pulsar OpenELEC:~ #

ON REBOOT

ON SECOND REBOOT

A lil' slow on a RBPi B+, but is really neat and functional :D

Thanks Steeve!

On Tue, Mar 3, 2015 at 7:07 PM, Steeve Morin notifications@github.com wrote:

Yes because you didn't follow the install guide and didn't enable remote control in Kodi

On Tuesday, March 3, 2015, Lucas Campa notifications@github.com wrote:

Did what you mention, and reinstalled... Pulsar keeps restarting

17:49:46 T:1690297408 NOTICE: [plugin.video.pulsar] pulsard: starting pulsard 17:49:47 T:1690297408 NOTICE: [plugin.video.pulsar] 2015-03-03 20:49:47 INFO main 17:49:47 T:1690297408 NOTICE: [plugin.video.pulsar] 2015-03-03 20:49:47 INFO main . 17:49:47 T:1690297408 NOTICE: [plugin.video.pulsar] 2015-03-03 20:49:47 INFO main ____ | | _____ _____ 17:49:47 T:1690297408 NOTICE: [plugin.video.pulsar] 2015-03-03 20:49:47 INFO main __ | | \ | / / \ \ 17:49:47 T:1690297408 NOTICE: [plugin.video.pulsar] 2015-03-03 20:49:47 INFO main | |> > | / |____ \ / | | \/ 17:49:47 T:1690297408 NOTICE: [plugin.video.pulsar] 2015-03-03 20:49:47 INFO main | **/|/|/ >(____ /| 17:49:47 T:1690297408 NOTICE: [plugin.video.pulsar] 2015-03-03 20:49:47 INFO main |**| \/ \/ 17:49:47 T:1690297408 NOTICE: [plugin.video.pulsar] 2015-03-03 20:49:47 INFO main 17:49:47 T:1690297408 NOTICE: [plugin.video.pulsar] 2015-03-03 20:49:47 INFO main Version: 0.4.7 Git: v0.4.7 Go: go1.4 17:49:47 T:1690297408 NOTICE: [plugin.video.pulsar] 2015-03-03 20:49:47 INFO config Reloading configuration... 17:49:48 T:1690297408 NOTICE: [plugin.video.pulsar] 2015-03-03 20:49:48 INFO main Addon: plugin.video.pulsar v0.4.7 17:49:48 T:1690297408 NOTICE: [plugin.video.pulsar] 2015-03-03 20:49:48 INFO btservice Setting Session settings... 17:49:48 T:1690297408 NOTICE: [plugin.video.pulsar] 2015-03-03 20:49:48 INFO btservice Setting Encryption settings... 17:49:48 T:1690297408 NOTICE: [plugin.video.pulsar] 2015-03-03 20:49:48 INFO btservice Consuming alerts... 17:49:48 T:1690297408 NOTICE: [plugin.video.pulsar] panic: dial tcp 127.0.0.1:9090: connection refused 17:49:48 T:1690297408 NOTICE: [plugin.video.pulsar] 17:49:48 T:1690297408 NOTICE: [plugin.video.pulsar] goroutine 1 [running]: 17:49:48 T:1690297408 NOTICE: [plugin.video.pulsar] pulsard: starting pulsard

On Mon, Mar 2, 2015 at 5:36 PM, Steeve Morin <notifications@github.com javascript:_e(%7B%7D,'cvml','notifications@github.com');> wrote:

ok, apparently you guys have a corrupted install.

try this, in OpenELEC shell:

$ rm -rf .kodi/addons/plugin.video.pulsar .kodi/userdata/addon_data/plugin.video.pulsar

And then reinstall Pulsar from the zip at

https://github.com/steeve/plugin.video.pulsar/releases/download/v0.4.7/plugin.video.pulsar-0.4.7.zip

— Reply to this email directly or view it on GitHub <

https://github.com/steeve/plugin.video.pulsar/issues/102#issuecomment-76813392

.

Atte.- LC

— Reply to this email directly or view it on GitHub < https://github.com/steeve/plugin.video.pulsar/issues/102#issuecomment-77031899

.

Steeve Morin twitter.com/steeve github.com/steeve linkd.in/smorin

— Reply to this email directly or view it on GitHub https://github.com/steeve/plugin.video.pulsar/issues/102#issuecomment-77046947 .

Atte.- LC

pakamon commented 9 years ago

Same here.

myssing commented 9 years ago

Please check out my comment in https://github.com/steeve/plugin.video.pulsar/issues/118

jonashilmersson commented 9 years ago

Hi,

I had to reinstall my PI with a new OpenELEC 5.0.6 for other reasons (the Confluence interface was corrupt), and now Pulsar 0.4.7 works fine.

Brgds

Jonas

steeve commented 9 years ago

May I close this, then ?

jonashilmersson commented 9 years ago

Ok for me :-)

lilp69 commented 9 years ago

Hi, I use Openelec 5.0.3 on Rpi2, I download the repository 1.0.1, but when I want download Pulsar from the repository I always have a fail.

burekas7 commented 8 years ago

Hi, What is the solution for the message "you must restart xbmc before using pulsar" in Kodi 15.1 insengrad even after restarting kodi? I have already uninstall several times include the providers, delete all the related folders, and install again (by the way it works only with install from zip from here), and again and again the same problem.

zorglub76 commented 8 years ago

I've had the same message on Raspberry Pi 2. I tried reinstalling Openelec with beta version, but the same message kept appearing ("you must restart....."). And then I noticed that I downloaded the whole pulsar repository (master), instead a particular version (https://github.com/steeve/plugin.video.pulsar/releases). I uninstalled Pulsar, installed from the new file, and it worked like a charm.

burekas7 commented 8 years ago

@zorglub76 Thanks man! Now it works.