Skip to content
This repository has been archived by the owner on Feb 22, 2024. It is now read-only.

error with config command : onedrived-pref account add #138

Open
jdavid54 opened this issue Sep 2, 2020 · 1 comment
Open

error with config command : onedrived-pref account add #138

jdavid54 opened this issue Sep 2, 2020 · 1 comment

Comments

@jdavid54
Copy link

jdavid54 commented Sep 2, 2020

Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/onedrived-2.0.0-py3.8.egg/onedrived/od_models/bidict.py", line 2, in
from bidict import loosebidict
ImportError: cannot import name 'loosebidict' from 'bidict' (/usr/local/lib/python3.8/dist-packages/bidict-0.21.0-py3.8.egg/bidict/init.py)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/local/bin/onedrived-pref", line 11, in
load_entry_point('onedrived==2.0.0', 'console_scripts', 'onedrived-pref')()
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 490, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 2854, in load_entry_point
return ep.load()
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 2445, in load
return self.resolve()
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 2451, in resolve
module = import(self.module_name, fromlist=['name'], level=0)
File "/usr/local/lib/python3.8/dist-packages/onedrived-2.0.0-py3.8.egg/onedrived/od_pref.py", line 13, in
from . import mkdir, get_resource, od_auth, od_i18n
File "/usr/local/lib/python3.8/dist-packages/onedrived-2.0.0-py3.8.egg/onedrived/od_auth.py", line 16, in
from .od_models import account_profile
File "/usr/local/lib/python3.8/dist-packages/onedrived-2.0.0-py3.8.egg/onedrived/od_models/init.py", line 1, in
from . import account_profile, bidict, drive_config, path_filter, pretty_api, webhook_notification
File "/usr/local/lib/python3.8/dist-packages/onedrived-2.0.0-py3.8.egg/onedrived/od_models/bidict.py", line 5, in
class loosebidict(bidict.bidict):
File "/usr/local/lib/python3.8/dist-packages/onedrived-2.0.0-py3.8.egg/onedrived/od_models/bidict.py", line 6, in loosebidict
on_dup_val = bidict.OVERWRITE
AttributeError: module 'bidict' has no attribute 'OVERWRITE'

@abraunegg
Copy link

@jdavid54

Given the code was last updated on Jan 14, 2019 - I would say this client for OneDrive is stale and not maintained.

The OneDrive client that I actively maintain can be found here:

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

No branches or pull requests

2 participants