Skip to content

Conversation

@PhoenixAlx
Copy link

python3-changes

python3-changes
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, this is the problem with plain files.
Your PR would delete the latest code.

Best would be to apply your changes manually (add them inside the code) instead of replacing the whole file.

The goal is that this view here only shows whatever you changed.
Please use the actual latest version of owncloud.py and apply your changes on top of that.

Thanks.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok.
I really did the next.

with pi i downloaded the pyocclient
pip install pyocclient
and thext step I did

2to3 -w ......./lib/python3.4/site-packages/owncloud/init.py

after change the line
headers['X-OC-MTIME'] = stat_result.st_mtime
by
headers['X-OC-MTIME'] = bytes(str(stat_result.st_mtime),'utf-8')

and this is all

pyocclient works in python and owncloud 8 ^-^

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok I see. @blizzz is that what you did too ?

@PVince81
Copy link
Contributor

python 3 support was added through #173

@PVince81 PVince81 closed this Oct 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants