Kodi Community Forum
Beta AttributeError - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: OS independent / Other (https://forum.kodi.tv/forumdisplay.php?fid=228)
+---- Thread: Beta AttributeError (/showthread.php?tid=357537)



AttributeError - Juicemujimu - 2020-10-06

Hi guys,

I have kodi 18.6 and one on my add ons keeps giving me the below message whenever I try login. If anyone has any idea how to solve this i would greatly appreciate it. 

AttributeError: Nonetype Object has no attribute group 

File"/resource/lib/api.py", line 91, in login token = re.search(name ="_RequestVerificationToken".*?value=(.*?)


RE: AttributeError - DarrenHill - 2020-10-06

Thread moved to OS independent until we can get some more data.

We'd need a debug log (wiki) to have some idea here perhaps. See the next post for details.


AttributeError - DarrenHill - 2020-10-06

To receive meaningful assistance you will need to provide a full debug log.

The instructions are here... debug log (wiki)

If you are using the Basic Method, then ensure the following is applied...
1.Enable debugging in Settings>System Settings>Logging,
2.Restart Kodi
3.Replicate the problem.
4.Upload the log to Kodi Paste Site manually or use the Kodi Logfile Uploader. (wiki) With either method post the link to the log back here.

If you are using the Advanced Method ensure you have correctly created and applied the advancedsettings.xml file (wiki)

In both instances, you should see the word DEBUG throughout the log.

Note: Full logs only. No partial or redacted logs
Do NOT post your logs directly into the forum. Use the Kodi Paste Site. Post the link to your pasted log in the forum



RE: AttributeError - Juicemujimu - 2020-10-06

(2020-10-06, 21:30)DarrenHill Wrote: To receive meaningful assistance you will need to provide a full debug log.

The instructions are here... debug log (wiki)

If you are using the Basic Method, then ensure the following is applied...
1.Enable debugging in Settings>System Settings>Logging,
2.Restart Kodi
3.Replicate the problem.
4.Upload the log to Kodi Paste Site manually or use the Kodi Logfile Uploader. (wiki) With either method post the link to the log back here.

If you are using the Advanced Method ensure you have correctly created and applied the advancedsettings.xml file (wiki)

In both instances, you should see the word DEBUG throughout the log.

Note: Full logs only. No partial or redacted logs
Do NOT post your logs directly into the forum. Use the Kodi Paste Site. Post the link to your pasted log in the forum

Log has been uploaded


RE: AttributeError - Juicemujimu - 2020-10-06

(2020-10-06, 21:37)Juicemujimu Wrote:
(2020-10-06, 21:30)DarrenHill Wrote: To receive meaningful assistance you will need to provide a full debug log.

The instructions are here... debug log (wiki)

If you are using the Basic Method, then ensure the following is applied...
1.Enable debugging in Settings>System Settings>Logging,
2.Restart Kodi
3.Replicate the problem.
4.Upload the log to Kodi Paste Site manually or use the Kodi Logfile Uploader. (wiki) With either method post the link to the log back here.

If you are using the Advanced Method ensure you have correctly created and applied the advancedsettings.xml file (wiki)

In both instances, you should see the word DEBUG throughout the log.

Note: Full logs only. No partial or redacted logs
Do NOT post your logs directly into the forum. Use the Kodi Paste Site. Post the link to your pasted log in the forum

Log has been uploaded
This is the link for the logfile: https://paste.kodi.tv/tuqafiyomo


RE: AttributeError - Juicemujimu - 2020-10-06

(2020-10-06, 21:44)Juicemujimu Wrote:
(2020-10-06, 21:37)Juicemujimu Wrote:
(2020-10-06, 21:30)DarrenHill Wrote: To receive meaningful assistance you will need to provide a full debug log.

The instructions are here... debug log (wiki)

If you are using the Basic Method, then ensure the following is applied...
1.Enable debugging in Settings>System Settings>Logging,
2.Restart Kodi
3.Replicate the problem.
4.Upload the log to Kodi Paste Site manually or use the Kodi Logfile Uploader. (wiki) With either method post the link to the log back here.

If you are using the Advanced Method ensure you have correctly created and applied the advancedsettings.xml file (wiki)

In both instances, you should see the word DEBUG throughout the log.

Note: Full logs only. No partial or redacted logs
Do NOT post your logs directly into the forum. Use the Kodi Paste Site. Post the link to your pasted log in the forum

Log has been uploaded
This is the link for the logfile: https://paste.kodi.tv/tuqafiyomo
Hi Darren, please disregard the last log file I missed the 3rd step to replicate the problem. 

this is the link with the correct information. 

https://paste.kodi.tv/bepehiyaro


AttributeError - DarrenHill - 2020-10-07

@Juicemujimu per the forum rules (wiki) that you accepted and agreed to abide by when you signed up here, we offer no support for devices containing banned addons (wiki) that violate our forum rules (wiki). Unfortunately yours has several of them installed.

For support here, all such addons and repos would need to be removed. And given the amount of them you have, you would probably be better with a fresh install and starting again without any such installations.

The forum moderators have determined that banned addons (wiki) are present on your system. To receive assistance here, these banned items must be removed. If a clean log is not submitted within 3 days, then the relevant post(s) will be removed after this time.


RE: AttributeError - Juicemujimu - 2020-10-07

(2020-10-07, 09:05)DarrenHill Wrote: @Juicemujimu per the forum rules (wiki) that you accepted and agreed to abide by when you signed up here, we offer no support for devices containing banned addons (wiki) that violate our forum rules (wiki). Unfortunately yours has several of them installed.

For support here, all such addons and repos would need to be removed. And given the amount of them you have, you would probably be better with a fresh install and starting again without any such installations.

The forum moderators have determined that banned addons (wiki) are present on your system. To receive assistance here, these banned items must be removed. If a clean log is not submitted within 3 days, then the relevant post(s) will be removed after this time
Hi Darren, 

I have reinstalled my Kodi with a fresh install and the addon that has been giving me issues that is not listed on the banned listed. 

This is my log file address: https://paste.kodi.tv/muriyapofe


RE: AttributeError - Juicemujimu - 2020-10-07

(2020-10-07, 15:43)Juicemujimu Wrote:
(2020-10-07, 09:05)DarrenHill Wrote: @Juicemujimu per the forum rules (wiki) that you accepted and agreed to abide by when you signed up here, we offer no support for devices containing banned addons (wiki) that violate our forum rules (wiki). Unfortunately yours has several of them installed.

For support here, all such addons and repos would need to be removed. And given the amount of them you have, you would probably be better with a fresh install and starting again without any such installations.

The forum moderators have determined that banned addons (wiki) are present on your system. To receive assistance here, these banned items must be removed. If a clean log is not submitted within 3 days, then the relevant post(s) will be removed after this time
Hi Darren, 

I have reinstalled my Kodi with a fresh install and the addon that has been giving me issues that is not listed on the banned listed. 

This is my log file address: https://paste.kodi.tv/muriyapofe
Also whenever I restart my kodi I get a version check error since I did a fresh install


RE: AttributeError - DarrenHill - 2020-10-07

Both look to have the same cause (the version check service that's installed by default) - it's a known issue that's been reported and a fix is in the works but needs some work itself.

Which addon is actually giving you the login error? dstv ?

See

https://github.com/xbmc/repo-scripts/pull/1703#issuecomment-704612430

and

https://github.com/xbmc/repo-scripts/pull/1707


RE: AttributeError - Juicemujimu - 2020-10-07

(2020-10-07, 17:23)DarrenHill Wrote: Both look to have the same cause (the version check service that's installed by default) - it's a known issue that's been reported and a fix is in the works but needs some work itself.

Which addon is actually giving you the login error? dstv ?

See

https://github.com/xbmc/repo-scripts/pull/1703#issuecomment-704612430

and

https://github.com/xbmc/repo-scripts/pull/1707

Yes DSTV


RE: AttributeError - Juicemujimu - 2020-10-07

(2020-10-07, 17:57)Juicemujimu Wrote:
(2020-10-07, 17:23)DarrenHill Wrote: Both look to have the same cause (the version check service that's installed by default) - it's a known issue that's been reported and a fix is in the works but needs some work itself.

Which addon is actually giving you the login error? dstv ?

See

https://github.com/xbmc/repo-scripts/pull/1703#issuecomment-704612430

and

https://github.com/xbmc/repo-scripts/pull/1707

Yes DSTV

It just fixed itself, did you by any chance do anything on your end?


RE: AttributeError - scott967 - 2020-10-07

It appears that when you had the logged error, the regex that was attempted on something called resp.txt (which I am guessing is something obtained from your dstv logon credentials) didn't return any match (in python the match is returned as an object instance) thus the .group(1) failed.  Needs to be addressed to plugin dstv now author to review (my guess is this error should be handled by notifying user via notification dialog).  335718 (thread) @matthuisman

scott s.
.


RE: AttributeError - Juicemujimu - 2020-10-07

(2020-10-07, 18:54)scott967 Wrote: It appears that when you had the logged error, the regex that was attempted on something called resp.txt (which I am guessing is something obtained from your dstv logon credentials) didn't return any match (in python the match is returned as an object instance) thus the .group(1) failed.  Needs to be addressed to plugin dstv now author to review (my guess is this error should be handled by notifying user via notification dialog).  335718 (thread) @matthuisman

scott s.
.

Makes sense, thank you.