pyOwnCloud icon indicating copy to clipboard operation
pyOwnCloud copied to clipboard

Installation: oclient missing

Open Boran opened this issue 11 years ago • 5 comments

After install owncloud (to have dependencies), the pyowncloud repo was cloned and "python setup.py install" ran.

It did not complain and finished up with: running install_egg_info Writing /usr/local/lib/python2.7/dist-packages/pyOwnCloud-0.4.pre.egg-info

But not "oclient" was created. Apparent running the following is the same: python /usr/local/lib/python2.7/dist-packages/csync/csync.py -h

Its is Ubuntu 12.04 server. Have I missed something obvious?

Boran avatar Dec 03 '13 10:12 Boran

Older versions where called csync. Can you show us the full python setup.py install output by chance?

Also, were you running the latest from git or?

csawyerYumaed avatar Dec 03 '13 15:12 csawyerYumaed

Yes, I had just pull the latest from git

For prerequisites: echo 'deb http://download.opensuse.org/repositories/isv:ownCloud:devel/xUbuntu_12.04//'

/etc/apt/sources.list.d/owncloud-client.list apt-get update apt-get install owncloud-client

git clone https://github.com/csawyerYumaed/pyOwnCloud.git pyowncloud Cloning into 'pyowncloud'... remote: Counting objects: 553, done. remote: Compressing objects: 100% (301/301), done. remote: Total 553 (delta 296), reused 501 (delta 246) Receiving objects: 100% (553/553), 122.59 KiB, done. Resolving deltas: 100% (296/296), done.

/opt/pyowncloud# python setup.py install Downloading http://pypi.python.org/packages/source/d/distribute/distribute-0.6.21.tar.gz Extracting in /tmp/tmpAHgkR6 Now working in /tmp/tmpAHgkR6/distribute-0.6.21 Building a Distribute egg in /opt/pyowncloud /opt/pyowncloud/distribute-0.6.21-py2.7.egg /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'entry_points' warnings.warn(msg) /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'extras_require' warnings.warn(msg) running install running build running build_py creating build creating build/lib.linux-x86_64-2.7 creating build/lib.linux-x86_64-2.7/csync copying csync/init.py -> build/lib.linux-x86_64-2.7/csync copying csync/version.py -> build/lib.linux-x86_64-2.7/csync copying csync/csync.py -> build/lib.linux-x86_64-2.7/csync copying csync/csynclib.py -> build/lib.linux-x86_64-2.7/csync copying csync/version.dat -> build/lib.linux-x86_64-2.7/csync running install_lib creating /usr/local/lib/python2.7/dist-packages/csync copying build/lib.linux-x86_64-2.7/csync/init.py -> /usr/local/lib/python2.7/dist-packages/csync copying build/lib.linux-x86_64-2.7/csync/version.py -> /usr/local/lib/python2.7/dist-packages/csync copying build/lib.linux-x86_64-2.7/csync/csync.py -> /usr/local/lib/python2.7/dist-packages/csync copying build/lib.linux-x86_64-2.7/csync/version.dat -> /usr/local/lib/python2.7/dist-packages/csync copying build/lib.linux-x86_64-2.7/csync/csynclib.py -> /usr/local/lib/python2.7/dist-packages/csync byte-compiling /usr/local/lib/python2.7/dist-packages/csync/init.py to init.pyc byte-compiling /usr/local/lib/python2.7/dist-packages/csync/version.py to version.pyc byte-compiling /usr/local/lib/python2.7/dist-packages/csync/csync.py to csync.pyc byte-compiling /usr/local/lib/python2.7/dist-packages/csync/csynclib.py to csynclib.pyc running install_egg_info Writing /usr/local/lib/python2.7/dist-packages/pyOwnCloud-0.4.pre.egg-info

thanks in advance,

Sean

On 3 December 2013 16:53, csawyerYumaed [email protected] wrote:

Older versions where called csync. Can you show us the full python setup.py install output by chance?

Also, were you running the latest from git or?

— Reply to this email directly or view it on GitHubhttps://github.com/csawyerYumaed/pyOwnCloud/issues/63#issuecomment-29721425 .

Boran avatar Dec 03 '13 16:12 Boran

hrm. seems like maybe you have an older setuptools?

/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'entry_points' warnings.warn(msg) /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'extras_require' warnings.warn(msg)

That's what worries me.

can you tell us what version of setuptools you are using?

from the $ prompt: start python $ python

import setuptools setuptools.version '0.6'

Then you can ctrl+d to exit the python interpreter. I'm using .6 and it accepts the entry_points option.

-Craig

csawyerYumaed avatar Dec 03 '13 16:12 csawyerYumaed

UGH. it's _ _ version _ _ without any spaces. I don't understand markdown.

csawyerYumaed avatar Dec 03 '13 16:12 csawyerYumaed

So setuptools was not in fact installed. After a "apt-get install python-setuptools", it reports v0.6.

and python setup.py install now finished with: Installing oclient script to /usr/local/bin

Yippe! :-)

So maybe the install script needs to check hat setuptools is installed?

Regards

On 3 December 2013 17:29, csawyerYumaed [email protected] wrote:

UGH. it's _ _ version _ _ without any spaces. I don't understand markdown.

— Reply to this email directly or view it on GitHubhttps://github.com/csawyerYumaed/pyOwnCloud/issues/63#issuecomment-29725099 .

Boran avatar Dec 04 '13 12:12 Boran