winsomehax / KODI-DLIVE-plugin

Plugin for KODI to watch streams on the dlive.tv streaming website.
GNU General Public License v2.0
4 stars 2 forks source link

ImportError: No module named kodi_dlive #9

Closed ivoruetsche closed 3 years ago

ivoruetsche commented 3 years ago

Hi

I would like to use dlive on my Kodi installation (LibreELEC 9.2.0). I just followed these instruction: https://www.tvaddons.co/kodi-addons/show/plugin.video.dlive (via Fusion Installer)

After I start the plugin, I got these error:

dlive.tv error
Check the log for more information.

...this is the referring part of the log file:

2020-12-28 21:43:45.692 T:1937054144   ERROR: Control 55 in window 10025 has been asked to focus, but it can't
2020-12-28 21:43:45.818 T:1274995584   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.ImportError'>
                                            Error Contents: No module named kodi_dlive
                                            Traceback (most recent call last):
                                              File "/storage/.kodi/addons/plugin.video.dlive/main.py", line 1, in <module>
                                                import kodi_dlive
                                            ImportError: No module named kodi_dlive
                                            -->End of Python script error report<--
2020-12-28 21:43:45.836 T:1241424768   ERROR: GetDirectory - Error getting plugin://plugin.video.dlive/
2020-12-28 21:43:45.908 T:1937054144   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.dlive/) failed

...and the files from the plugin folder:


270375180      0 drwxr-xr-x   3 root     root          165 Dec 28 21:07 .
272452010      4 -rw-r--r--   1 root     root         2272 Dec 28 21:07 ./dlivequery.py
272524653      4 -rw-r--r--   1 root     root          793 Dec 28 21:07 ./graphql.py
272524655      4 -rw-r--r--   1 root     root         1157 Dec 28 21:07 ./addon.xml
272525643     20 -rw-r--r--   1 root     root        18092 Dec 28 21:07 ./LICENSE
406490499      0 drwxr-xr-x   3 root     root           58 Dec 28 21:07 ./resources
406490500     28 -rw-r--r--   1 root     root        25195 Dec 28 21:07 ./resources/icon.png
406490501      4 -rw-r--r--   1 root     root          161 Dec 28 21:07 ./resources/settings.xml
    77082      0 drwxr-xr-x   3 root     root           54 Dec 28 21:07 ./resources/language
136996335      0 drwxr-xr-x   2 root     root           24 Dec 28 21:07 ./resources/language/resource.language.en_gb
136996336      4 -rw-r--r--   1 root     root          557 Dec 28 21:07 ./resources/language/resource.language.en_gb/strings.po
    77084      4 -rw-r--r--   1 root     root           49 Dec 28 21:07 ./resources/language/README.md
272525644      4 -rw-r--r--   1 root     root         1160 Dec 28 21:07 ./README.md
272525654      4 -rw-r--r--   1 root     root           16 Dec 28 21:07 ./.gitignore
272525656      4 -rw-r--r--   1 root     root           24 Dec 28 21:07 ./changelog.txt
272535119      4 -rw-r--r--   1 root     root           71 Dec 28 21:07 ./main.py
.kodi/addons/plugin.video.dlive# 

What I doing wrong?

ivo

winsomehax commented 3 years ago

Looks like the fusion repo copied an older version that had a bug while it was still being developed. The current master branch here works.

You can download the zip file from here and install it yourself Code tab -> Green Code button -> Download zip. And then you can use the "Install from zip file" in the addons menu.

You may need to have unknown sources set in settings.

Settings -> System -> Addons -> Unknown sources.

In fact, I'm watching dlive with it right now...

ivoruetsche commented 3 years ago

Thank you, via .zip file it works!

winsomehax commented 3 years ago

Cool. If you could let the repo where you got it know... that would be great.

They grabbed a version like 18 months ago when it was first being set up on GitHub (not fully pushed - why you get the missing module error) and have never updated it since.

On Mon, 28 Dec 2020, 21:40 IvoR., notifications@github.com wrote:

Thank you, via .zip file it works!

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/winsomehax/KODI-DLIVE-plugin/issues/9#issuecomment-751872899, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALDWQEY4JP2TTKT6VJOLHVLSXD3ORANCNFSM4VMO3GYQ .

neosin commented 3 years ago

weird seems many of the apps in fusion don't work on firestick at the moment

neosin commented 3 years ago

mad a short url to the master branch zip for easy install https://tinyurl.com/kodidlive

I uninstalled Indigo (seems to be source of all issues) and then reinstalled dlive 1.1.0 via this zip and it works now

winsomehax commented 3 years ago

I've added a link to this issue into the README file for the github project.