xybu / onedrive-d-old

Microsoft OneDrive client on Linux.
http://xybu.me/projects/onedrive-d/
GNU Lesser General Public License v3.0
820 stars 143 forks source link

install completes successfully, but is broken #193

Open seandarcy opened 8 years ago

seandarcy commented 8 years ago

On Fedora 22:

The install runs without errors:

git clone https://github.com/xybu/onedrive-d-old.gitCloning into 'onedrive-d-old'... remote: Counting objects: 944, done. remote: Total 944 (delta 0), reused 0 (delta 0), pack-reused 944 Receiving objects: 100% (944/944), 322.77 KiB | 0 bytes/s, done. Resolving deltas: 100% (468/468), done. Checking connectivity... done. [root@lenovo 10]# cd onedrive-d-old/ [root@lenovo onedrive-d-old]# ./install.sh python3 installed...OK .................... Finished processing dependencies for onedrive-d==1.1.0.dev0 /usr/lib/python3.4/site-packages/setuptools/dist.py:285: UserWarning: Normalizing '1.1.0dev' to '1.1.0.dev0' normalized_version, running clean onedrive-d installed successfully. Please run command onedrive-pref to set up the program.

But: onedrive-pref [2015-10-17 10:03:09,361] CRITICAL: MainThread: onedrive-d may not be installed properly. Exit.

seandarcy commented 8 years ago

Full output of install.sh. Also, edited install.sh to use dnf instead of yum. Same result.

./install.sh python3 installed...OK Yum command has been deprecated, redirecting to '/usr/bin/dnf install python3-devel'. See 'man dnf' and 'man yum2dnf' for more information. To transfer transaction metadata from yum to DNF, run: 'dnf install python-dnf-plugins-extras-migrate && dnf-2 migrate'

Last metadata expiration check performed 1:36:40 ago on Sat Oct 17 08:28:59 2015. Package python3-devel-3.4.2-6.fc22.x86_64 is already installed, skipping. Dependencies resolved. Nothing to do. Complete! pip3 installed...OK inotifywait installed...OK Yum command has been deprecated, redirecting to '/usr/bin/dnf install pygobject3 inotify-tools'. See 'man dnf' and 'man yum2dnf' for more information. To transfer transaction metadata from yum to DNF, run: 'dnf install python-dnf-plugins-extras-migrate && dnf-2 migrate'

Last metadata expiration check performed 1:36:41 ago on Sat Oct 17 08:28:59 2015. Package pygobject3-3.16.2-1.fc22.x86_64 is already installed, skipping. Package inotify-tools-3.14-8.fc22.x86_64 is already installed, skipping. Dependencies resolved. Nothing to do. Complete! /usr/lib/python3.4/site-packages/setuptools/dist.py:285: UserWarning: Normalizing '1.1.0dev' to '1.1.0.dev0' normalized_version, running install running bdist_egg running egg_info creating onedrive_d.egg-info writing top-level names to onedrive_d.egg-info/top_level.txt writing entry points to onedrive_d.egg-info/entry_points.txt writing onedrive_d.egg-info/PKG-INFO writing dependency_links to onedrive_d.egg-info/dependency_links.txt writing requirements to onedrive_d.egg-info/requires.txt writing manifest file 'onedrive_d.egg-info/SOURCES.txt' reading manifest file 'onedrive_d.egg-info/SOURCES.txt' writing manifest file 'onedrive_d.egg-info/SOURCES.txt' installing library code to build/bdist.linux-x86_64/egg running install_lib running build_py creating build creating build/lib creating build/lib/onedrive_d copying onedrive_d/od_sqlite.py -> build/lib/onedrive_d copying onedrive_d/od_ignore_list.py -> build/lib/onedrive_d copying onedrive_d/od_pref.py -> build/lib/onedrive_d copying onedrive_d/od_main.py -> build/lib/onedrive_d copying onedrive_d/od_inotify_thread.py -> build/lib/onedrive_d copying onedrive_d/init.py -> build/lib/onedrive_d copying onedrive_d/od_mon_gtk.py -> build/lib/onedrive_d copying onedrive_d/od_onedrive_api.py -> build/lib/onedrive_d copying onedrive_d/od_pref_gtk.py -> build/lib/onedrive_d copying onedrive_d/od_glob.py -> build/lib/onedrive_d copying onedrive_d/od_mon_cli.py -> build/lib/onedrive_d copying onedrive_d/od_worker_thread.py -> build/lib/onedrive_d copying onedrive_d/od_thread_manager.py -> build/lib/onedrive_d copying onedrive_d/od_pref_cli.py -> build/lib/onedrive_d creating build/lib/onedrive_d/res copying onedrive_d/res/icon_256.png -> build/lib/onedrive_d/res copying onedrive_d/res/icon_256_idle.png -> build/lib/onedrive_d/res copying onedrive_d/res/default_ignore.ini -> build/lib/onedrive_d/res creating build/bdist.linux-x86_64 creating build/bdist.linux-x86_64/egg creating build/bdist.linux-x86_64/egg/onedrive_d copying build/lib/onedrive_d/od_sqlite.py -> build/bdist.linux-x86_64/egg/onedrive_d copying build/lib/onedrive_d/od_ignore_list.py -> build/bdist.linux-x86_64/egg/onedrive_d copying build/lib/onedrive_d/od_pref.py -> build/bdist.linux-x86_64/egg/onedrive_d copying build/lib/onedrive_d/od_main.py -> build/bdist.linux-x86_64/egg/onedrive_d copying build/lib/onedrive_d/od_inotify_thread.py -> build/bdist.linux-x86_64/egg/onedrive_d copying build/lib/onedrive_d/init.py -> build/bdist.linux-x86_64/egg/onedrive_d copying build/lib/onedrive_d/od_mon_gtk.py -> build/bdist.linux-x86_64/egg/onedrive_d copying build/lib/onedrive_d/od_onedrive_api.py -> build/bdist.linux-x86_64/egg/onedrive_d creating build/bdist.linux-x86_64/egg/onedrive_d/res copying build/lib/onedrive_d/res/icon_256.png -> build/bdist.linux-x86_64/egg/onedrive_d/res copying build/lib/onedrive_d/res/default_ignore.ini -> build/bdist.linux-x86_64/egg/onedrive_d/res copying build/lib/onedrive_d/res/icon_256_idle.png -> build/bdist.linux-x86_64/egg/onedrive_d/res copying build/lib/onedrive_d/od_pref_gtk.py -> build/bdist.linux-x86_64/egg/onedrive_d copying build/lib/onedrive_d/od_glob.py -> build/bdist.linux-x86_64/egg/onedrive_d copying build/lib/onedrive_d/od_mon_cli.py -> build/bdist.linux-x86_64/egg/onedrive_d copying build/lib/onedrive_d/od_worker_thread.py -> build/bdist.linux-x86_64/egg/onedrive_d copying build/lib/onedrive_d/od_thread_manager.py -> build/bdist.linux-x86_64/egg/onedrive_d copying build/lib/onedrive_d/od_pref_cli.py -> build/bdist.linux-x86_64/egg/onedrive_d byte-compiling build/bdist.linux-x86_64/egg/onedrive_d/od_sqlite.py to od_sqlite.cpython-34.pyc byte-compiling build/bdist.linux-x86_64/egg/onedrive_d/od_ignore_list.py to od_ignore_list.cpython-34.pyc byte-compiling build/bdist.linux-x86_64/egg/onedrive_d/od_pref.py to od_pref.cpython-34.pyc byte-compiling build/bdist.linux-x86_64/egg/onedrive_d/od_main.py to od_main.cpython-34.pyc byte-compiling build/bdist.linux-x86_64/egg/onedrive_d/od_inotify_thread.py to od_inotify_thread.cpython-34.pyc byte-compiling build/bdist.linux-x86_64/egg/onedrive_d/init.py to init.cpython-34.pyc byte-compiling build/bdist.linux-x86_64/egg/onedrive_d/od_mon_gtk.py to od_mon_gtk.cpython-34.pyc byte-compiling build/bdist.linux-x86_64/egg/onedrive_d/od_onedrive_api.py to od_onedrive_api.cpython-34.pyc byte-compiling build/bdist.linux-x86_64/egg/onedrive_d/od_pref_gtk.py to od_pref_gtk.cpython-34.pyc byte-compiling build/bdist.linux-x86_64/egg/onedrive_d/od_glob.py to od_glob.cpython-34.pyc byte-compiling build/bdist.linux-x86_64/egg/onedrive_d/od_mon_cli.py to od_mon_cli.cpython-34.pyc byte-compiling build/bdist.linux-x86_64/egg/onedrive_d/od_worker_thread.py to od_worker_thread.cpython-34.pyc byte-compiling build/bdist.linux-x86_64/egg/onedrive_d/od_thread_manager.py to od_thread_manager.cpython-34.pyc byte-compiling build/bdist.linux-x86_64/egg/onedrive_d/od_pref_cli.py to od_pref_cli.cpython-34.pyc creating build/bdist.linux-x86_64/egg/EGG-INFO copying onedrive_d.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO copying onedrive_d.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying onedrive_d.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying onedrive_d.egg-info/entry_points.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying onedrive_d.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying onedrive_d.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO zip_safe flag not set; analyzing archive contents... creating dist creating 'dist/onedrive_d-1.1.0.dev0-py3.4.egg' and adding 'build/bdist.linux-x86_64/egg' to it removing 'build/bdist.linux-x86_64/egg' (and everything under it) Processing onedrive_d-1.1.0.dev0-py3.4.egg Copying onedrive_d-1.1.0.dev0-py3.4.egg to /usr/lib/python3.4/site-packages Adding onedrive-d 1.1.0.dev0 to easy-install.pth file Installing onedrive-pref script to /usr/bin Installing onedrive-d script to /usr/bin

Installed /usr/lib/python3.4/site-packages/onedrive_d-1.1.0.dev0-py3.4.egg Processing dependencies for onedrive-d==1.1.0.dev0 Searching for daemonocle==0.8 Best match: daemonocle 0.8 Processing daemonocle-0.8-py3.4.egg daemonocle 0.8 is already the active version in easy-install.pth

Using /usr/lib/python3.4/site-packages/daemonocle-0.8-py3.4.egg Searching for Send2Trash==1.3.0 Best match: Send2Trash 1.3.0 Processing Send2Trash-1.3.0-py3.4.egg Send2Trash 1.3.0 is already the active version in easy-install.pth

Using /usr/lib/python3.4/site-packages/Send2Trash-1.3.0-py3.4.egg Searching for certifi==2015.9.6.2 Best match: certifi 2015.9.6.2 Processing certifi-2015.9.6.2-py3.4.egg certifi 2015.9.6.2 is already the active version in easy-install.pth

Using /usr/lib/python3.4/site-packages/certifi-2015.9.6.2-py3.4.egg Searching for urllib3==1.10.2 Best match: urllib3 1.10.2 Adding urllib3 1.10.2 to easy-install.pth file

Using /usr/lib/python3.4/site-packages Searching for requests==2.7.0 Best match: requests 2.7.0 Adding requests 2.7.0 to easy-install.pth file

Using /usr/lib/python3.4/site-packages Searching for psutil==2.1.1 Best match: psutil 2.1.1 Processing psutil-2.1.1-py3.4-linux-x86_64.egg psutil 2.1.1 is already the active version in easy-install.pth

Using /usr/lib/python3.4/site-packages/psutil-2.1.1-py3.4-linux-x86_64.egg Searching for click==2.5 Best match: click 2.5 Processing click-2.5-py3.4.egg click 2.5 is already the active version in easy-install.pth

Using /usr/lib/python3.4/site-packages/click-2.5-py3.4.egg Finished processing dependencies for onedrive-d==1.1.0.dev0 /usr/lib/python3.4/site-packages/setuptools/dist.py:285: UserWarning: Normalizing '1.1.0dev' to '1.1.0.dev0' normalized_version, running clean onedrive-d installed successfully. Please run command onedrive-pref to set up the program.

xybu commented 8 years ago

Does the folder ~/.onedrive exist?

seandarcy commented 8 years ago

Created ~.onedrive. All works.

Thanks for the prompt response. And for a great program..

nimrodflores commented 8 years ago

the folder ~/.onedrive exists in mine.. but still getting the same error.

btw, I'm using python 3.5

eruysal commented 7 years ago

./install.sh python3 installed...OK Reading package lists... Done Building dependency tree
Reading state information... Done python3-dev is already the newest version (3.5.1-3). 0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded. pip3 installed...OK inotifywait installed...OK Reading package lists... Done Building dependency tree
Reading state information... Done python3-gi is already the newest version (3.20.0-0ubuntu1). inotify-tools is already the newest version (3.14-1ubuntu1). 0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded. /usr/lib/python3/dist-packages/setuptools/dist.py:285: UserWarning: Normalizing '1.1.0dev' to '1.1.0.dev0' normalized_version, running install Checking .pth file support in /usr/local/lib/python3.5/dist-packages/ /usr/bin/python3 -E -c pass TEST PASSED: /usr/local/lib/python3.5/dist-packages/ appears to support .pth files running bdist_egg running egg_info creating onedrive_d.egg-info writing top-level names to onedrive_d.egg-info/top_level.txt writing entry points to onedrive_d.egg-info/entry_points.txt writing onedrive_d.egg-info/PKG-INFO writing requirements to onedrive_d.egg-info/requires.txt writing dependency_links to onedrive_d.egg-info/dependency_links.txt writing manifest file 'onedrive_d.egg-info/SOURCES.txt' reading manifest file 'onedrive_d.egg-info/SOURCES.txt' writing manifest file 'onedrive_d.egg-info/SOURCES.txt' installing library code to build/bdist.linux-x86_64/egg running install_lib running build_py creating build creating build/lib creating build/lib/onedrive_d copying onedrive_d/od_onedrive_api.py -> build/lib/onedrive_d copying onedrive_d/od_pref_gtk.py -> build/lib/onedrive_d copying onedrive_d/od_glob.py -> build/lib/onedrive_d copying onedrive_d/od_mon_gtk.py -> build/lib/onedrive_d copying onedrive_d/od_mon_cli.py -> build/lib/onedrive_d copying onedrive_d/od_ignore_list.py -> build/lib/onedrive_d copying onedrive_d/od_main.py -> build/lib/onedrive_d copying onedrive_d/od_pref.py -> build/lib/onedrive_d copying onedrive_d/init.py -> build/lib/onedrive_d copying onedrive_d/od_worker_thread.py -> build/lib/onedrive_d copying onedrive_d/od_thread_manager.py -> build/lib/onedrive_d copying onedrive_d/od_inotify_thread.py -> build/lib/onedrive_d copying onedrive_d/od_sqlite.py -> build/lib/onedrive_d copying onedrive_d/od_pref_cli.py -> build/lib/onedrive_d creating build/lib/onedrive_d/res copying onedrive_d/res/icon_256_idle.png -> build/lib/onedrive_d/res copying onedrive_d/res/icon_256.png -> build/lib/onedrive_d/res copying onedrive_d/res/default_ignore.ini -> build/lib/onedrive_d/res creating build/bdist.linux-x86_64 creating build/bdist.linux-x86_64/egg creating build/bdist.linux-x86_64/egg/onedrive_d copying build/lib/onedrive_d/od_onedrive_api.py -> build/bdist.linux-x86_64/egg/onedrive_d copying build/lib/onedrive_d/od_pref_gtk.py -> build/bdist.linux-x86_64/egg/onedrive_d copying build/lib/onedrive_d/od_glob.py -> build/bdist.linux-x86_64/egg/onedrive_d copying build/lib/onedrive_d/od_mon_gtk.py -> build/bdist.linux-x86_64/egg/onedrive_d copying build/lib/onedrive_d/od_mon_cli.py -> build/bdist.linux-x86_64/egg/onedrive_d copying build/lib/onedrive_d/od_ignore_list.py -> build/bdist.linux-x86_64/egg/onedrive_d copying build/lib/onedrive_d/od_main.py -> build/bdist.linux-x86_64/egg/onedrive_d copying build/lib/onedrive_d/od_pref.py -> build/bdist.linux-x86_64/egg/onedrive_d creating build/bdist.linux-x86_64/egg/onedrive_d/res copying build/lib/onedrive_d/res/icon_256_idle.png -> build/bdist.linux-x86_64/egg/onedrive_d/res copying build/lib/onedrive_d/res/icon_256.png -> build/bdist.linux-x86_64/egg/onedrive_d/res copying build/lib/onedrive_d/res/default_ignore.ini -> build/bdist.linux-x86_64/egg/onedrive_d/res copying build/lib/onedrive_d/init.py -> build/bdist.linux-x86_64/egg/onedrive_d copying build/lib/onedrive_d/od_worker_thread.py -> build/bdist.linux-x86_64/egg/onedrive_d copying build/lib/onedrive_d/od_thread_manager.py -> build/bdist.linux-x86_64/egg/onedrive_d copying build/lib/onedrive_d/od_inotify_thread.py -> build/bdist.linux-x86_64/egg/onedrive_d copying build/lib/onedrive_d/od_sqlite.py -> build/bdist.linux-x86_64/egg/onedrive_d copying build/lib/onedrive_d/od_pref_cli.py -> build/bdist.linux-x86_64/egg/onedrive_d byte-compiling build/bdist.linux-x86_64/egg/onedrive_d/od_onedrive_api.py to od_onedrive_api.cpython-35.pyc byte-compiling build/bdist.linux-x86_64/egg/onedrive_d/od_pref_gtk.py to od_pref_gtk.cpython-35.pyc byte-compiling build/bdist.linux-x86_64/egg/onedrive_d/od_glob.py to od_glob.cpython-35.pyc byte-compiling build/bdist.linux-x86_64/egg/onedrive_d/od_mon_gtk.py to od_mon_gtk.cpython-35.pyc byte-compiling build/bdist.linux-x86_64/egg/onedrive_d/od_mon_cli.py to od_mon_cli.cpython-35.pyc byte-compiling build/bdist.linux-x86_64/egg/onedrive_d/od_ignore_list.py to od_ignore_list.cpython-35.pyc byte-compiling build/bdist.linux-x86_64/egg/onedrive_d/od_main.py to od_main.cpython-35.pyc byte-compiling build/bdist.linux-x86_64/egg/onedrive_d/od_pref.py to od_pref.cpython-35.pyc byte-compiling build/bdist.linux-x86_64/egg/onedrive_d/init.py to init.cpython-35.pyc byte-compiling build/bdist.linux-x86_64/egg/onedrive_d/od_worker_thread.py to od_worker_thread.cpython-35.pyc byte-compiling build/bdist.linux-x86_64/egg/onedrive_d/od_thread_manager.py to od_thread_manager.cpython-35.pyc byte-compiling build/bdist.linux-x86_64/egg/onedrive_d/od_inotify_thread.py to od_inotify_thread.cpython-35.pyc byte-compiling build/bdist.linux-x86_64/egg/onedrive_d/od_sqlite.py to od_sqlite.cpython-35.pyc byte-compiling build/bdist.linux-x86_64/egg/onedrive_d/od_pref_cli.py to od_pref_cli.cpython-35.pyc creating build/bdist.linux-x86_64/egg/EGG-INFO copying onedrive_d.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO copying onedrive_d.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying onedrive_d.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying onedrive_d.egg-info/entry_points.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying onedrive_d.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying onedrive_d.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO zip_safe flag not set; analyzing archive contents... creating dist creating 'dist/onedrive_d-1.1.0.dev0-py3.5.egg' and adding 'build/bdist.linux-x86_64/egg' to it removing 'build/bdist.linux-x86_64/egg' (and everything under it) Processing onedrive_d-1.1.0.dev0-py3.5.egg Removing /usr/local/lib/python3.5/dist-packages/onedrive_d-1.1.0.dev0-py3.5.egg Copying onedrive_d-1.1.0.dev0-py3.5.egg to /usr/local/lib/python3.5/dist-packages onedrive-d 1.1.0.dev0 is already the active version in easy-install.pth Installing onedrive-pref script to /usr/local/bin Installing onedrive-d script to /usr/local/bin

Installed /usr/local/lib/python3.5/dist-packages/onedrive_d-1.1.0.dev0-py3.5.egg Processing dependencies for onedrive-d==1.1.0.dev0 Searching for daemonocle==1.0.1 Best match: daemonocle 1.0.1 Processing daemonocle-1.0.1-py3.5.egg daemonocle 1.0.1 is already the active version in easy-install.pth

Using /usr/local/lib/python3.5/dist-packages/daemonocle-1.0.1-py3.5.egg Searching for Send2Trash==1.3.0 Best match: Send2Trash 1.3.0 Processing Send2Trash-1.3.0-py3.5.egg Send2Trash 1.3.0 is already the active version in easy-install.pth

Using /usr/local/lib/python3.5/dist-packages/Send2Trash-1.3.0-py3.5.egg Searching for certifi==2016.8.31 Best match: certifi 2016.8.31 Processing certifi-2016.8.31-py3.5.egg certifi 2016.8.31 is already the active version in easy-install.pth

Using /usr/local/lib/python3.5/dist-packages/certifi-2016.8.31-py3.5.egg Searching for urllib3==1.13.1 Best match: urllib3 1.13.1 urllib3 1.13.1 is already the active version in easy-install.pth

Using /usr/lib/python3/dist-packages Searching for requests==2.9.1 Best match: requests 2.9.1 requests 2.9.1 is already the active version in easy-install.pth

Using /usr/lib/python3/dist-packages Searching for psutil==4.3.1 Best match: psutil 4.3.1 Processing psutil-4.3.1-py3.5-linux-x86_64.egg psutil 4.3.1 is already the active version in easy-install.pth

Using /usr/local/lib/python3.5/dist-packages/psutil-4.3.1-py3.5-linux-x86_64.egg Searching for click==6.6 Best match: click 6.6 Processing click-6.6-py3.5.egg click 6.6 is already the active version in easy-install.pth

Using /usr/local/lib/python3.5/dist-packages/click-6.6-py3.5.egg Finished processing dependencies for onedrive-d==1.1.0.dev0 /usr/lib/python3/dist-packages/setuptools/dist.py:285: UserWarning: Normalizing '1.1.0dev' to '1.1.0.dev0' normalized_version, running clean onedrive-d installed successfully. Please run command onedrive-pref to set up the program.

eruysal commented 7 years ago

i execute install.sh second time and the output is above.it worked for my lubuntu16.04.

johng42 commented 6 years ago

still hitting this in Ubuntu 16.04, Python 3.4 I also have the onedrive folder created