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

Don't add account in Kodi nexus. #302

Closed
luhanmcs opened this issue Nov 16, 2022 · 36 comments
Closed

Don't add account in Kodi nexus. #302

luhanmcs opened this issue Nov 16, 2022 · 36 comments

Comments

@luhanmcs
Copy link

I try with version 1.4.11 and 1.4.10-matrix and don't add account get error.

Screenshot_20221116-132930

Log:

[plugin.googledrive][MainThread-2217994608]: [plugin.googledrive] [1.4.10+matrix.2]/[1.3.9+matrix.2]

                                               Erro desconhecido:
                                               module 'inspect' has no attribute 'getargspec'
                                               Por favor, tente novamente.
                                               
                                               Traceback (most recent call last):
                                                 File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.clouddrive.common/clouddrive/common/ui/addon.py", line 702, in route
                                                   for name in inspect.getargspec(method)[0]:
                                                               ^^^^^^^^^^^^^^^^^^
                                               AttributeError: module 'inspect' has no attribute 'getargspec'
                                               
                                               
                                               show_error_dialog: True
@billol25
Copy link

billol25 commented Nov 26, 2022

I can reply the error with last nightly version of KODI 20, error opening media with previous account, rolling back to KODI 20 beta1. With KODI 20 beta1 same error, rolling back to Alpha 3. Ok with Kodi 20 alpha 3.

@adarshvadwitiya
Copy link

Also happening with Android TV on Kodi 20-RC-1

@PaulinHalenria
Copy link

Got the same error, don't find anything when googling it except this thread

@RedSquirrel87
Copy link

Same here with Kodi 20 rc2, I solved this issue by simply editing the file at:
.kodi/addons/script.module.clouddrive.common/clouddrive/common/ui/addon.py
by changing the getargspec with the new getfullargspec, so that at line 702:
for name in inspect.getargspec(method)[0]:
become
for name in inspect.getfullargspec(method)[0]:
and also this Google Drive extension came back to work.

@RobElse1992
Copy link

Any ideas how we can do RedSquirrels fix on Android TV? Access to files is very limited on Android 12, I can't seem to find anything using Kodis built in file browser

@RedSquirrel87
Copy link

RedSquirrel87 commented Dec 26, 2022

Any ideas how we can do RedSquirrels fix on Android TV? Access to files is very limited on Android 12, I can't seem to find anything using Kodis built in file browser

On a PC you could edit that line in the source code of the clouddrive module, pack it in a ZIP package, move it on the device and then install it with the "install from a ZIP file" feature of Kodi replacing the installed one.
Anyway I just created a pull request, maybe it will be fixed soon in the official repository too

RedSquirrel87 added a commit to RedSquirrel87/script.module.clouddrive.common that referenced this issue Dec 26, 2022
@adarshvadwitiya
Copy link

Same here with Kodi 20 rc2, I solved this issue by simply editing the file at:
.kodi/addons/script.module.clouddrive.common/clouddrive/common/ui/addon.py
by changing the getargspec with the new getfullargspec, so that at line 702:
for name in inspect.getargspec(method)[0]:
become
for name in inspect.getfullargspec(method)[0]:
and also this Google Drive extension came back to work.

Cheers mate! This is working

@makykiki
Copy link

Very thanks RedSquirrel87 this works perfectly.

@ClassickTech
Copy link

Same here with Kodi 20 rc2, I solved this issue by simply editing the file at: .kodi/addons/script.module.clouddrive.common/clouddrive/common/ui/addon.py by changing the getargspec with the new getfullargspec, so that at line 702: for name in inspect.getargspec(method)[0]: become for name in inspect.getfullargspec(method)[0]: and also this Google Drive extension came back to work.

Where exactly would I find this in the source code? Also, your zip is not working for me or 20 Nexus stable.

@JohnJohn45
Copy link

Thanks you for the tip. I will test modify zip addon directly and install it on my Android tv.

@JohnJohn45
Copy link

JohnJohn45 commented Jan 18, 2023

Same here with Kodi 20 rc2, I solved this issue by simply editing the file at: .kodi/addons/script.module.clouddrive.common/clouddrive/common/ui/addon.py by changing the getargspec with the new getfullargspec, so that at line 702: for name in inspect.getargspec(method)[0]: become for name in inspect.getfullargspec(method)[0]: and also this Google Drive extension came back to work.

Where exactly would I find this in the source code? Also, your zip is not working for me or 20 Nexus stable.

Addon is here : https://mirrors.kodi.tv/addons/nexus/script.module.clouddrive.common/

You can edit addon.py file in the zip and install it

@janglapuk
Copy link

Haven't been able to try it, but this should solve the problem. Need someone to do the PR.

if not hasattr(inspect, 'getargspec'):
    inspect.getargspec = inspect.getfullargspec

The solution is taken from this comment:
pyinvoke/invoke#833 (comment)

@ClassickTech
Copy link

Haven't been able to try it, but this should solve the problem. Need someone to do the PR.

if not hasattr(inspect, 'getargspec'):
    inspect.getargspec = inspect.getfullargspec

The solution is taken from this comment: pyinvoke/invoke#833 (comment)

Where do you change this at?

@ClassickTech
Copy link

ClassickTech commented Jan 19, 2023

Same here with Kodi 20 rc2, I solved this issue by simply editing the file at: .kodi/addons/script.module.clouddrive.common/clouddrive/common/ui/addon.py by changing the getargspec with the new getfullargspec, so that at line 702: for name in inspect.getargspec(method)[0]: become for name in inspect.getfullargspec(method)[0]: and also this Google Drive extension came back to work.

Where exactly would I find this in the source code? Also, your zip is not working for me or 20 Nexus stable.

Addon is here : https://mirrors.kodi.tv/addons/nexus/script.module.clouddrive.common/

You can edit addon.py file in the zip and install it

I changed to getfullargspec and zipped. Add on still gives me error when trying to install by zip on Kodi 20

@I-MacHunt
Copy link

I can't get the files transferred to my Nvidia Shield as for some reason it will only copy the folders but not their contents.

@barclayslb
Copy link

Same here with Kodi 20 rc2, I solved this issue by simply editing the file at:
.kodi/addons/script.module.clouddrive.common/clouddrive/common/ui/addon.py
by changing the getargspec with the new getfullargspec, so that at line 702:
for name in inspect.getargspec(method)[0]:
become
for name in inspect.getfullargspec(method)[0]:
and also this Google Drive extension came back to work.

Cheers mate! This is working

thank you, that solve the problem !

@janglapuk
Copy link

janglapuk commented Jan 20, 2023

Officialy, this issue already fixed from related repos. Look at the merged PRs:

The current problem is the addon hasn't been officially released yet at repository.plugins for Nexus updates, you will not get updates on Kodi until @cguZZman updates it.

Someone has already opened an issue (cguZZman/repository.plugins#17) regarding this problem, we hope @cguZZman will make a release soon.

Just wait for an official update or create your own ZIP.

@I-MacHunt
Copy link

The problem is that I can't transfer any files to my Nvidia Shield, so even if I could create a zip file, I can't access it.

@janglapuk
Copy link

The problem is that I can't transfer any files to my Nvidia Shield, so even if I could create a zip file, I can't access it.

If you can't wait for the release,

  1. Create or fork @cguZZman repository.plugins as your own addon repository.
  2. Update the necessary XMLs, ZIPs, hashes, and so on with the latest.
  3. Upload to your web server and add the URL as custom repo source in your Kodi.

I don't know how to make this easy.

@I-MacHunt
Copy link

Thanks, I'll try that.

@vician
Copy link
Contributor

vician commented Jan 20, 2023

You can use mine temporary fix zip on https://wiki.vician.net/tv.zip but you need to enable unknown sources and overriding system packages updates from unknown sources. And you would need to uninstall and remove it when the official update will be released.

@janglapuk
Copy link

You can use mine temporary fix zip on https://wiki.vician.net/tv.zip but you need to enable unknown sources and overriding system packages updates from unknown sources. And you would need to uninstall and remove it when the official update will be released.

The update has been released now.

@I-MacHunt
Copy link

Typical!! I finally got it working last night 😂😂😂

@DeHickok
Copy link

You can use mine temporary fix zip on https://wiki.vician.net/tv.zip but you need to enable unknown sources and overriding system packages updates from unknown sources. And you would need to uninstall and remove it when the official update will be released.

The update has been released now.

but i still get same error: "module 'inspect' has no attribute 'getargspec'
Please try again." after reinstallation whole KODI and AddOn OneDrive (Android Sony TV)

@janglapuk
Copy link

but i still get same error: "module 'inspect' has no attribute 'getargspec' Please try again." after reinstallation whole KODI and AddOn OneDrive (Android Sony TV)

The main Kodi repository is still serving the old version. Google Drive plugin still shows 1.4.10+matrix.2, and Cloud Drive Common Module shows 1.3.9+matrix.2, instead of the latest one.

I still don't know if the information hasn't been updated by the author, or there is a delay in getting it updated to the Kodi database.

This solution can solve this problem by following the instructions given in the README.md in this repository by installing using repo.daro.mx source and selecting the latest version of addons repository (select repository.cguzzman-3.0.0.zip for Nexus).

Make sure to enabling "Unknown Source" and change "Update official add-ons from" option to "Any repositories" placed in Settings / System / Add-ons setting before doing the instructions.

Or, you can look at this screencast video for how to do that.

@pikilon
Copy link

pikilon commented Jan 21, 2023

thank you @janglapuk very useful.
Do you know how to donate to @cguZZman ?

@cguZZman
Copy link
Owner

The new version has been submitted to the Kodi repository. It takes some time.

@ClassickTech
Copy link

The new version has been submitted to the Kodi repository. It takes some time.

Your update is Live. I just tried it and everything is back working again! Thanks!

@Makukorn
Copy link

IMG_20230122_132335

I can't update to 1.5.0 from official repository. I'm getting this error.

Google TV on Hisense U8H

@I-MacHunt
Copy link

Add http://repo.daro.mx as a source as per /~https://github.com/cguZZman/repository.plugins instructions and update it from there.

@Makukorn
Copy link

Makukorn commented Jan 22, 2023

Add http://repo.daro.mx as a source as per /~https://github.com/cguZZman/repository.plugins instructions and update it from there.

Thats what i'm doing. Same error.

IMG_20230122_151040
IMG_20230122_151053

Update: I was missing One config. I put The add ons update to any repo instead of only official and now it's working.

Thx!

@I-MacHunt
Copy link

Have you made sure to update all of the "dependencies"?

@PaulinHalenria
Copy link

PaulinHalenria commented Jan 22, 2023 via email

@I-MacHunt
Copy link

What hardware are you all using?

@PaulinHalenria
Copy link

PaulinHalenria commented Jan 22, 2023 via email

@I-MacHunt
Copy link

Make sure to go into Nvidia settings/apps/kodi/permissions and allow access to files etc. ALWAYS not just "when using the app". That's what messed everything up for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests