You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since files are cached in /tmp/tvdb_api and that directory is owned by whatever user first used tvnamer, if another user comes along and tries to grab info on another show not already cached they get an error since tvnamer can't save the file into that directory.
Example error message:
DataRetrievalError("Error with www.thetvdb.com: Could not connect to server: [Errno 2] No such file or directory: '/tmp/tvdb_api/9dc4c83476074703f5bab38e7226c83b.body'",)
I guess you could just have the username as part of the temporary directory name, or have the files flat in /tmp rather than in a subdirectory (this way they'd still be shared) or maybe there's a better solution.
The text was updated successfully, but these errors were encountered:
Fixed in tvdb_api==1.8.1 - if you upgrade that, it should all work again
On platforms with os.getuid the path is /tmp/tvdb_api-u501 (for user ID 501), and on others (Windows) it's includes the username (from getpass.getpass)
Since files are cached in /tmp/tvdb_api and that directory is owned by whatever user first used tvnamer, if another user comes along and tries to grab info on another show not already cached they get an error since tvnamer can't save the file into that directory.
Example error message:
I guess you could just have the username as part of the temporary directory name, or have the files flat in /tmp rather than in a subdirectory (this way they'd still be shared) or maybe there's a better solution.
The text was updated successfully, but these errors were encountered: