Closed Skirtum closed 6 years ago
Hello, can send the entire error stack?
Here it is:
~ $ onedrived-pref --help
Traceback (most recent call last):
File "/home/skirtum/.local/bin/onedrived-pref", line 11, in
It could be, that something's wrong with onedrived_config_v2.json, but I'm not sure what and how to solve it :/
Here some more debug info:
~/onedrived-dev $ sudo python3 ./setup.py test running test Searching for requests-mock Reading https://pypi.python.org/simple/requests-mock/ Downloading https://pypi.python.org/packages/8d/cb/1267d7294d97e9a3ef24bf1370791da4d2dc6abc0f67626f38f4bf25dfa3/requests-mock-1.3.0.tar.gz#md5=d2efbaf16d19153b7d271628071b4d4b Best match: requests-mock 1.3.0 Processing requests-mock-1.3.0.tar.gz Writing /tmp/easy_install-kk8dgjxo/requests-mock-1.3.0/setup.cfg Running requests-mock-1.3.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-kk8dgjxo/requests-mock-1.3.0/egg-dist-tmp-c2tslywj
Installed /tmp/easy_install-kk8dgjxo/requests-mock-1.3.0/.eggs/pbr-3.1.1-py3.6.egg creating /home/skirtum/onedrived-dev/.eggs/requests_mock-1.3.0-py3.6.egg Extracting requests_mock-1.3.0-py3.6.egg to /home/skirtum/onedrived-dev/.eggs
Installed /home/skirtum/onedrived-dev/.eggs/requests_mock-1.3.0-py3.6.egg
running egg_info
creating onedrived.egg-info
writing onedrived.egg-info/PKG-INFO
writing dependency_links to onedrived.egg-info/dependency_links.txt
writing entry points to onedrived.egg-info/entry_points.txt
writing requirements to onedrived.egg-info/requires.txt
writing top-level names to onedrived.egg-info/top_level.txt
writing manifest file 'onedrived.egg-info/SOURCES.txt'
reading manifest file 'onedrived.egg-info/SOURCES.txt'
writing manifest file 'onedrived.egg-info/SOURCES.txt'
running build_ext
Traceback (most recent call last):
File "./setup.py", line 63, in
Thank you. Can you also put your onedrived_config_v2.json?
It's just empty (0 bytes). under /home/skirtum/.config/onedrived: https://flic.kr/p/21DWdwF
that is the problem. have you installed the projectnfrom scratch??
I think I did followed all instructions from start to end. I'll try to uninstall onedrived and try to delete this file and then - reinstall
It looks like it did helped! Thanks! I guess someone could include deletion of the "onedrived" directory from the .config folder into "uninstall" proceduress
But now I get this error:
$ onedrived-pref --help WARNING:root:Failed to load config file: [Errno 2] No such file or directory: '/home/skirtum/.config/onedrived/onedrived_config_v2.json'. Use default.
I guess this file should be created. But installation didn't do that. I've used PIP installation. Maybe I should do the manuall one...
I did the manuall installation but result is the same. No "onedrived_config_v2.json" file was created under /home/skirtum/.config/onedrived
Maybe I can create it manually? :)
I've tried to add account, but I got this error:
Successfully authorized onedrived. Failed to save account: No recommended backend was available. Install the keyrings.alt package if you want to use the non-recommended backends. See README.rst for details..
https://github.com/xybu/onedrived-dev/issues/72 :) found it. Solved it.
Thank you @derrix060 !!!
I've been trying to install onedrived-dev, but I get this error as soon as I'll try to run onedrived-pref --help after successfull installation of the program:
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Can you please help me to understand what's wrong and help me to fix it somehow?