mirror of
https://github.com/tubearchivist/tubearchivist-plex.git
synced 2026-03-23 20:37:11 +00:00
[GH-ISSUE #67] [Bug]: global name 'urllib' is not defined #24
Labels
No labels
bug
bug
documentation
duplicate
enhancement
good first issue
help wanted
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
tubearchivist/archived-tubearchivist-plex#24
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @lesleyxyz on GitHub (May 23, 2024).
Original GitHub issue: https://github.com/tubearchivist/tubearchivist-plex/issues/67
I've read the documentation.
Operating System
Debian + Docker (linuxserver/plex)
Your Bug Report
Describe the bug
Installing the plugin in a docker container throws a missing library error.
Steps To Reproduce
Expected behavior
When scanning the library, no video will be returned.
Instead an urllib error will be thrown.
Relevant log output
Anything else?
It appears to come from this line:
github.com/tubearchivist/tubearchivist-plex@a8774f19c3/Contents/Code/init.py#L200because urllib is assumed while urllib2 may also have been used.
Instead, I believe removing this line will work as expected whether urllib or urllib2 has been imported
Note: It is also present in the Scanner, so modification there will probably also be required:
github.com/tubearchivist/tubearchivist-plex@a8774f19c3/Scanners/Series/TubeArchivist Series Scanner.py (L118)@lamusmaser commented on GitHub (May 23, 2024):
Acknowledged. This looks related to some handling that was recently added. I'll see if I can fix that in a better method.
@folofjc commented on GitHub (May 27, 2024):
I am getting this error in the Scanner log. I just installed it, so I guess I got the recent handling change.
EDIT: If I commented out this line:
github.com/tubearchivist/tubearchivist-plex@a8774f19c3/Scanners/Series/TubeArchivist Series Scanner.py (L118)(and add the port number in the ta_config.json file)
then the scanner appears to continue.
@Ogglord commented on GitHub (Jun 2, 2024):
I have the same issue in my docker.
@dalton-morrison commented on GitHub (Sep 13, 2024):
I am having the same issue. Installed via docker compose on top of UnRAID.
@lamusmaser commented on GitHub (Sep 13, 2024):
Apologies that this has taken a long time to look into. I still haven't had development time to fix the underlying issue. I do know what the problem is, and it will be accounted for when I am able to make the next release.
@lamusmaser commented on GitHub (Sep 13, 2024):
This should be fixed in v0.1.6. I have done testing in various ways to show that it now properly handles the URLs and should account for both python2 and python3 iterations.
I'm going to close this for now, but please let me know if there are additional instances of this error that come after updating to the latest released version.