derrix060 / onedriveClient

A Microsoft OneDrive and OneDrive for Business client for Linux, written in Python3.
MIT License
65 stars 10 forks source link

'loosebidict' not available in bidict 0.14+ #9

Closed ghost closed 6 years ago

ghost commented 6 years ago

Having all sorts of issues getting this working. The latest:

rodom@oe2134:~$ onedrived start
Traceback (most recent call last):
  File "/usr/local/bin/onedrived", line 11, in <module>
    load_entry_point('onedrived==2.0.0', 'console_scripts', 'onedrived')()
  File "/usr/local/lib/python3.5/dist-packages/pkg_resources/__init__.py", line 572, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/local/lib/python3.5/dist-packages/pkg_resources/__init__.py", line 2752, in load_entry_point
    return ep.load()
  File "/usr/local/lib/python3.5/dist-packages/pkg_resources/__init__.py", line 2405, in load
    return self.resolve()
  File "/usr/local/lib/python3.5/dist-packages/pkg_resources/__init__.py", line 2411, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/usr/local/lib/python3.5/dist-packages/onedrived/od_main.py", line 22, in <module>
    from .od_watcher import LocalRepositoryWatcher
  File "/usr/local/lib/python3.5/dist-packages/onedrived/od_watcher.py", line 6, in <module>
    from bidict import loosebidict
ImportError: cannot import name 'loosebidict'

Resolved by downgrading bidict to 0.13.1: sudo pip3 install --upgrade bidict==0.13.1 However I guess, if this has been removed, the code needs updating to use something else.

pintman commented 6 years ago

Had the same issue. Thanks for the hint.

derrix060 commented 6 years ago

Fixed in c692b95c175576625bf816e38009d8bb480261d2