@wartz:
sudo pip3 install daemonocle
sudo pip3 install psutil
Then, give it a shot again!
Search Criteria
Package Details: onedrive-d-git 20150407.g62a0733-4
Package Actions
| Package Base: | onedrive-d-git |
|---|---|
| Description: | Client daemon for Microsoft OneDrive service |
| Upstream URL: | https://github.com/xybu92/onedrive-d |
| Category: | network |
| Licenses: | |
| Provides: | |
| Submitter: | pbrenna |
| Maintainer: | vlad |
| Last Packager: | vlad |
| Votes: | 13 |
| First Submitted: | 2014-07-30 11:25 |
| Last Updated: | 2015-05-22 17:47 |
Dependencies (11)
Required by (0)
Sources
- git+https://github.com/xybu92/onedrive-d
- onedrive-d.desktop
Latest Comments
Comment by toddpi314
Comment by wartz
Comment by wartz
quoting what Manouchehri said.
I attempted to fix the package myself but failed.
Comment by Manouchehri
pkg_resources.DistributionNotFound: The 'psutil==2.1.1' distribution was not found and is required by daemonocle
Comment by figue
I had to install these modules to fix python errors:
pip install psutil==2.1.1
pip install click==2.5
also I need to create ~/.onedrive manually.
Then I can run onedrive-pref to setup my account. It would be great if you can include those instructions in post_install()
Thank you
Comment by totokaka
Package doesn't work for me. First pip dependencies click==2.5 and psutil==2.1.1 are missing, then after installing those, I get this error on `onedrive-d`:
[2015-05-22 17:17:00,194] CRITICAL: MainThread: onedrive-d may not be installed properly. Exit.
Comment by vlad
Fixed.
Comment by erichdongubler
I had issues with the cloning -- for some reason the git:// link wasn't working, but I fixed by replacing with "git+https://". ArchWiki examples used https exclusively.
Comment by vlad
python-certifi and python-daemonocle added to depends.
Comment by Inspiredbynight
$sudo pip install daemonocle
$sudo pip install certifi
$onedrive-pref
Did the trick for me.
Running M*jaro.
Comment by vlad
python-urllib3 and python-send2trash added to depends.
Comment by techlive
One depends:
daemonocle
send2trash
certifi
urllib3
After installation, run 'onedrive-pref'
Comment by valandil
Just remove setup.patch and the patch line in my modified PKGBUILD. It builds for me.
Comment by luolimao
Also, setup.py doesn't exist in $srcdir/onedrive-d/onedrive_d, it's in $srcdir/onedrive-d. I believe @valandil's fix accounted for this and the spacing issues, but the 2nd hunk of @valandil's setup.patch fails.
Comment by luolimao
Also, there's a bunch of other dependencies (python modules), specifically daemonocle (AUR package doesn't exist), send2trash, python-certifi, and python-urllib3, that are missing. After that, running "onedrive-d" in terminal just returns
[2015-03-06 04:46:07,215] CRITICAL: MainThread: onedrive-d may not be installed properly. Exit.
Comment by luolimao
There shouldn't be spaces between provides, =, and 'onedrive-d'.
Comment by valandil
This should work.
https://gist.github.com/valandil/a423c1c8a9420463a987
Comment by nopy
Package will not build. After installing required dependencies, the build fails with the following output:
python3: can't open file 'setup.py': [Errno 2] No such file or directory
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build onedrive-d-git.
Comment by pbrenna
The project recently switched from python2 to python3, and made some other changes. The page states that version 1.0 is still in developement; the package will build but not work for now.
Comment by RobinHood2015
Package will not build. After installing required dependencies, the build fails with the following output:
python2: can't open file 'setup.py': [Errno 2] No such file or directory
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build onedrive-d-git.
Comment by pbrenna
Note that the project is still incomplete
From the developer's site: "The project is still under development. Please back up your data if you really want to use it in real scenario. it is appreciated that one contributes to the code and reports bugs". This package is meant to make it easy to install on arch and provide feedback to help developement.
Please report issues to the upstream developer
Comment by saihenjin
This package does not work. Authentication works properly, but when you try to select a folder to use as the local OneDrive, it crashes with the following information:
$ onedrive-d
/usr/lib/python2.7/site-packages/onedrive_d/prefs.py:296: GtkWarning: gtk_tree_model_filter_get_value: assertion 'GTK_TREE_MODEL_FILTER (model)->priv->stamp == iter->stamp' failed
gtk.main()
/usr/lib/python2.7/site-packages/onedrive_d/prefs.py:296: Warning: gtype.c:4210: type id '0' is invalid
gtk.main()
/usr/lib/python2.7/site-packages/onedrive_d/prefs.py:296: Warning: can't peek value table for type '<invalid>' which is not currently referenced
gtk.main()
/usr/lib/python2.7/site-packages/onedrive_d/prefs.py:296: GtkWarning: gtk_tree_model_filter_get_value: assertion 'GTK_TREE_MODEL_FILTER (model)->priv->stamp == iter->stamp' failed
gtk.main()
/usr/lib/python2.7/site-packages/onedrive_d/prefs.py:296: Warning: gtype.c:4210: type id '0' is invalid
gtk.main()
/usr/lib/python2.7/site-packages/onedrive_d/prefs.py:296: Warning: can't peek value table for type '<invalid>' which is not currently referenced
gtk.main()
OneDrive-d was not authenticated or properly configured. Exit.