Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError: No module named kodi_dlive #9

Closed
ivoruetsche opened this issue Dec 28, 2020 · 6 comments
Closed

ImportError: No module named kodi_dlive #9

ivoruetsche opened this issue Dec 28, 2020 · 6 comments
Labels
External repo packaging Not a problem caused by the add-on - but by a repository packaging

Comments

@ivoruetsche
Copy link

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
Copy link
Owner

winsomehax commented Dec 28, 2020

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
Copy link
Author

Thank you, via .zip file it works!

@winsomehax
Copy link
Owner

winsomehax commented Dec 28, 2020 via email

@winsomehax winsomehax added the External repo packaging Not a problem caused by the add-on - but by a repository packaging label Dec 29, 2020
@neosin
Copy link

neosin commented Jan 6, 2021

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

@neosin
Copy link

neosin commented Jan 6, 2021

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
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
External repo packaging Not a problem caused by the add-on - but by a repository packaging
Projects
None yet
Development

No branches or pull requests

3 participants