csawyerYumaed / pyOwnCloud

ownCloud CLI client written in python, more info on owncloud: www.owncloud.org
Other
97 stars 17 forks source link

Does not run under Python3 #2

Open duckunix opened 11 years ago

duckunix commented 11 years ago

don@little:~/src/console/pyOwnCloud> ./csync.py -v File "./csync.py", line 40 print 'SSL fingerpting: %s not accepted, aborting' % fingerprint ^ SyntaxError: invalid syntax don@little:~/src/console/pyOwnCloud> python -V Python 3.3.0 don@little:~/src/console/pyOwnCloud> python2 ./csync.py -v csync.py 0.1 - repo: 77cb78251cfcf22b003845c1eafb6732652f76d4 don@little:~/src/console/pyOwnCloud> python2 -V Python 2.7.3

csawyerYumaed commented 11 years ago

I do not have python 3 to test under, I welcome patches to the code for python 3 compatibility, but I want to maintain python2 working as well, since that is my primary platform.

csawyerYumaed commented 11 years ago

I do not have the resources to fix this. I updated the README to make it clear we don't work with python 3.x

I think it MIGHT work if you run it against the python 2 to 3 converter, but I've never played with python 3 at all, so I don't have the slightest clue even how to make it work.

hefee commented 11 years ago

python3 support isn't that hard. Uncurlhalo has created a version that runs at python3 and python2. I see there some small issues but actually: Uncurlhalo/pyOwnCloudMultiVer@07369f6b3b8d66d6f8b54a6dca86608862998db8