Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

onedrivecmd - impossible to use - onedrivesdk deprecated #57

Open
andreabisello opened this issue Sep 9, 2019 · 8 comments
Open

onedrivecmd - impossible to use - onedrivesdk deprecated #57

andreabisello opened this issue Sep 9, 2019 · 8 comments

Comments

@andreabisello
Copy link

Microsoft Windows [Versione 10.0.18362.329]
(c) 2019 Microsoft Corporation. Tutti i diritti sono riservati.

C:\Users\Andrea>pip -V
pip 19.0.3 from c:\users\andrea\appdata\local\programs\python\python37-32\lib\site-packages\pip (python 3.7)

C:\Users\Andrea>pip install onedrivecmd
Requirement already satisfied: onedrivecmd in c:\users\andrea\appdata\local\programs\python\python37-32\lib\site-packages (0.1.6)
Requirement already satisfied: progress in c:\users\andrea\appdata\local\programs\python\python37-32\lib\site-packages (from onedrivecmd) (1.5)
Requirement already satisfied: onedrivesdk in c:\users\andrea\appdata\local\programs\python\python37-32\lib\site-packages (from onedrivecmd) (2.0)
Requirement already satisfied: requests in c:\users\andrea\appdata\local\programs\python\python37-32\lib\site-packages (from onedrivecmd) (2.22.0)
Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in c:\users\andrea\appdata\local\programs\python\python37-32\lib\site-packages (from requests->onedrivecmd) (1.25.3)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in c:\users\andrea\appdata\local\programs\python\python37-32\lib\site-packages (from requests->onedrivecmd) (3.0.4)
Requirement already satisfied: certifi>=2017.4.17 in c:\users\andrea\appdata\local\programs\python\python37-32\lib\site-packages (from requests->onedrivecmd) (2019.6.16)
Requirement already satisfied: idna<2.9,>=2.5 in c:\users\andrea\appdata\local\programs\python\python37-32\lib\site-packages (from requests->onedrivecmd) (2.8)
You are using pip version 19.0.3, however version 19.2.3 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.

C:\Users\Andrea>onedrivecmd
Traceback (most recent call last):
File "c:\users\andrea\appdata\local\programs\python\python37-32\lib\site-packages\onedrivecmd\utils\actions.py", line 10, in
from static import *
ModuleNotFoundError: No module named 'static'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "c:\users\andrea\appdata\local\programs\python\python37-32\lib\site-packages\onedrivecmd\utils\uploader.py", line 12, in
from static import *
ModuleNotFoundError: No module named 'static'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "c:\users\andrea\appdata\local\programs\python\python37-32\lib\site-packages\onedrivecmd\onedrivecmd.py", line 8, in
from onedrivecmd.utils.actions import *
File "c:\users\andrea\appdata\local\programs\python\python37-32\lib\site-packages\onedrivecmd\utils\actions.py", line 17, in
from .uploader import *
File "c:\users\andrea\appdata\local\programs\python\python37-32\lib\site-packages\onedrivecmd\utils\uploader.py", line 18, in
from .helper_item import *
File "c:\users\andrea\appdata\local\programs\python\python37-32\lib\site-packages\onedrivecmd\utils\helper_item.py", line 7, in
import onedrivesdk
File "c:\users\andrea\appdata\local\programs\python\python37-32\lib\site-packages\onedrivesdk_init_.py", line 6, in
raise ImportError(MESSAGE)
ImportError: 'onedrivesdk' has been deprecated.
Visit https://pypi.org/project/onedrivesdk for migration information.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "c:\users\andrea\appdata\local\programs\python\python37-32\lib\site-packages\onedrivecmd\utils\actions.py", line 10, in
from static import *
ModuleNotFoundError: No module named 'static'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "c:\users\andrea\appdata\local\programs\python\python37-32\lib\site-packages\onedrivecmd\utils\uploader.py", line 12, in
from static import *
ModuleNotFoundError: No module named 'static'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Users\Andrea\AppData\Local\Programs\Python\Python37-32\Scripts\onedrivecmd-script.py", line 11, in
load_entry_point('OnedriveCMD==0.1.6', 'console_scripts', 'onedrivecmd')()
File "c:\users\andrea\appdata\local\programs\python\python37-32\lib\site-packages\pkg_resources_init_.py", line 489, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "c:\users\andrea\appdata\local\programs\python\python37-32\lib\site-packages\pkg_resources_init_.py", line 2793, in load_entry_point
return ep.load()
File "c:\users\andrea\appdata\local\programs\python\python37-32\lib\site-packages\pkg_resources_init_.py", line 2411, in load
return self.resolve()
File "c:\users\andrea\appdata\local\programs\python\python37-32\lib\site-packages\pkg_resources_init_.py", line 2417, in resolve
module = import(self.module_name, fromlist=['name'], level=0)
File "c:\users\andrea\appdata\local\programs\python\python37-32\lib\site-packages\onedrivecmd\onedrivecmd.py", line 16, in
from .utils.actions import *
File "c:\users\andrea\appdata\local\programs\python\python37-32\lib\site-packages\onedrivecmd\utils\actions.py", line 17, in
from .uploader import *
File "c:\users\andrea\appdata\local\programs\python\python37-32\lib\site-packages\onedrivecmd\utils\uploader.py", line 18, in
from .helper_item import *
File "c:\users\andrea\appdata\local\programs\python\python37-32\lib\site-packages\onedrivecmd\utils\helper_item.py", line 7, in
import onedrivesdk
File "c:\users\andrea\appdata\local\programs\python\python37-32\lib\site-packages\onedrivesdk_init_.py", line 6, in
raise ImportError(MESSAGE)
ImportError: 'onedrivesdk' has been deprecated.
Visit https://pypi.org/project/onedrivesdk for migration information.

C:\Users\Andrea>

@cnbeining
Copy link
Owner

cnbeining commented Sep 9, 2019 via email

@cnbeining
Copy link
Owner

Fixed - please update.

@andreabisello
Copy link
Author

@cnbeining thanks ! have you already put the fix on the PIP? a pip install onedrivecmd find nothing to update.

@cnbeining
Copy link
Owner

cnbeining commented Sep 12, 2019 via email

@cxumol
Copy link

cxumol commented Sep 15, 2019

got the same issue today, by either pip install --force-reinstall --upgrade onedrivecmd or pip install --force-reinstall -U git+https://github.com/cnbeining/onedrivecmd.git

@andreabisello
Copy link
Author

@cnbeining
please, can you deploy the fix?
many thanks.

@andreabisello
Copy link
Author

@cnbeining please,
i would like to use this command line tool. can you deploy the fix? thanks.

@DictXiong
Copy link
Collaborator

If git clone ... and python3 setup.py install work then just use it...

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

No branches or pull requests

4 participants