xybu / onedrive-d-old

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

Package registration error #212

Open abayega opened 8 years ago

abayega commented 8 years ago

I followed the README.md directions but when I run install.sh I get the following error;

TypeError: init() takes 2 positional arguments but 4 were given

A brief of the installation profile is here;

Installed /usr/local/lib/python3.5/dist-packages/onedrive_d-1.1.0.dev0-py3.5.egg Traceback (most recent call last): File "setup.py", line 52, in 'onedrive-pref = onedrive_d.od_pref:main' File "/usr/lib/python3.5/distutils/core.py", line 148, in setup dist.run_commands() File "/usr/lib/python3.5/distutils/dist.py", line 955, in run_commands self.run_command(cmd) File "/usr/lib/python3.5/distutils/dist.py", line 974, in run_command cmd_obj.run() File "/usr/lib/python3/dist-packages/setuptools/command/install.py", line 73, in run self.do_egg_install() File "/usr/lib/python3/dist-packages/setuptools/command/install.py", line 96, in do_egg_install cmd.run() File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 381, in run self.easy_install(spec, not self.no_deps) File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 597, in easy_install return self.install_item(None, spec, tmpdir, deps, True) File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 648, in install_item self.process_distribution(spec, dist, deps) File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 689, in process_distribution distreq.project_name, distreq.specs, requirement.extras TypeError: init() takes 2 positional arguments but 4 were given

The full profile is here;

abayega@ubuntu:~/onedrive-d-old$ ./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). The following packages were automatically installed and are no longer required: r-cran-boot r-cran-class r-cran-cluster r-cran-foreign r-cran-nlme r-cran-nnet r-cran-spatial Use 'sudo apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 67 not upgraded. pip3 installed...OK Notice: installing inotifywait... Reading package lists... Done Building dependency tree
Reading state information... Done The following packages were automatically installed and are no longer required: r-cran-boot r-cran-class r-cran-cluster r-cran-foreign r-cran-nlme r-cran-nnet r-cran-spatial Use 'sudo apt autoremove' to remove them. The following additional packages will be installed: libinotifytools0 The following NEW packages will be installed: inotify-tools libinotifytools0 0 upgraded, 2 newly installed, 0 to remove and 67 not upgraded. Need to get 39.3 kB of archives. After this operation, 166 kB of additional disk space will be used. Do you want to continue? [Y/n] Y Get:1 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 libinotifytools0 amd64 3.14-1ubuntu1 [17.0 kB] Get:2 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 inotify-tools amd64 3.14-1ubuntu1 [22.3 kB] Fetched 39.3 kB in 0s (140 kB/s)
Selecting previously unselected package libinotifytools0. (Reading database ... 324429 files and directories currently installed.) Preparing to unpack .../libinotifytools0_3.14-1ubuntu1_amd64.deb ... Unpacking libinotifytools0 (3.14-1ubuntu1) ... Selecting previously unselected package inotify-tools. Preparing to unpack .../inotify-tools_3.14-1ubuntu1_amd64.deb ... Unpacking inotify-tools (3.14-1ubuntu1) ... Processing triggers for man-db (2.7.5-1) ... Setting up libinotifytools0 (3.14-1ubuntu1) ... Setting up inotify-tools (3.14-1ubuntu1) ... Processing triggers for libc-bin (2.23-0ubuntu3) ... Reading package lists... Done Building dependency tree
Reading state information... Done python3-gi is already the newest version (3.20.0-0ubuntu1). python3-gi set to manually installed. inotify-tools is already the newest version (3.14-1ubuntu1). The following packages were automatically installed and are no longer required: r-cran-boot r-cran-class r-cran-cluster r-cran-foreign r-cran-nlme r-cran-nnet r-cran-spatial Use 'sudo apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 67 not upgraded. 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 dependency_links to onedrive_d.egg-info/dependency_links.txt writing entry points to onedrive_d.egg-info/entry_points.txt writing requirements to onedrive_d.egg-info/requires.txt writing onedrive_d.egg-info/PKG-INFO writing top-level names to onedrive_d.egg-info/top_level.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_inotify_thread.py -> build/lib/onedrive_d copying onedrive_d/od_onedrive_api.py -> build/lib/onedrive_d copying onedrive_d/od_mon_cli.py -> build/lib/onedrive_d copying onedrive_d/od_glob.py -> build/lib/onedrive_d copying onedrive_d/od_pref.py -> build/lib/onedrive_d copying onedrive_d/od_mon_gtk.py -> build/lib/onedrive_d copying onedrive_d/od_pref_gtk.py -> build/lib/onedrive_d copying onedrive_d/od_ignore_list.py -> build/lib/onedrive_d copying onedrive_d/od_sqlite.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_main.py -> build/lib/onedrive_d copying onedrive_d/od_pref_cli.py -> build/lib/onedrive_d copying onedrive_d/od_thread_manager.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_inotify_thread.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 copying build/lib/onedrive_d/od_mon_cli.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_pref.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_pref_gtk.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_sqlite.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/default_ignore.ini -> 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/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_main.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 copying build/lib/onedrive_d/od_thread_manager.py -> build/bdist.linux-x86_64/egg/onedrive_d 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_onedrive_api.py to od_onedrive_api.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_glob.py to od_glob.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/od_mon_gtk.py to od_mon_gtk.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_ignore_list.py to od_ignore_list.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/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_main.py to od_main.cpython-35.pyc byte-compiling build/bdist.linux-x86_64/egg/onedrive_d/od_pref_cli.py to od_pref_cli.cpython-35.pyc byte-compiling build/bdist.linux-x86_64/egg/onedrive_d/od_thread_manager.py to od_thread_manager.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 Traceback (most recent call last): File "setup.py", line 52, in 'onedrive-pref = onedrive_d.od_pref:main' File "/usr/lib/python3.5/distutils/core.py", line 148, in setup dist.run_commands() File "/usr/lib/python3.5/distutils/dist.py", line 955, in run_commands self.run_command(cmd) File "/usr/lib/python3.5/distutils/dist.py", line 974, in run_command cmd_obj.run() File "/usr/lib/python3/dist-packages/setuptools/command/install.py", line 73, in run self.do_egg_install() File "/usr/lib/python3/dist-packages/setuptools/command/install.py", line 96, in do_egg_install cmd.run() File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 381, in run self.easy_install(spec, not self.no_deps) File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 597, in easy_install return self.install_item(None, spec, tmpdir, deps, True) File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 648, in install_item self.process_distribution(spec, dist, deps) File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 689, in process_distribution distreq.project_name, distreq.specs, requirement.extras TypeError: init() takes 2 positional arguments but 4 were given

Kindly assist me here. THanks