Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't upload file #1

Open
andrewleech opened this issue Jul 28, 2016 · 2 comments
Open

Can't upload file #1

andrewleech opened this issue Jul 28, 2016 · 2 comments

Comments

@andrewleech
Copy link
Owner

When trying to copy a file onto the server from mac, Finder as the client.

Gives error, creates zero byte file.

Exception happened during processing of request from ('', 64387)
Traceback (most recent call last):
- - [29/Jul/2016 07:35:07] "PROPFIND /devpi8/upload/PyWebDAV3-0.9.8/pywebdav/server/._daemonize.py HTTP/1.1" 404 -
File "/usr/lib/python3.5/socketserver.py", line 628, in process_request_thread
self.finish_request(request, client_address)
File "/usr/lib/python3.5/socketserver.py", line 357, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/usr/lib/python3.5/socketserver.py", line 684, in init
self.handle()
File "/usr/lib/python3.5/http/server.py", line 415, in handle
self.handle_one_request()
File "/usr/lib/python3.5/http/server.py", line 403, in handle_one_request
method()
File "virtualenv_linux/lib/python3.5/site-packages/pywebdav/lib/locks.py", line 141, in do_LOCK
{'Lock-Token' : 'opaquelocktoken:%s' % token})
File "virtualenv_linux/lib/python3.5/site-packages/pywebdav/lib/WebDAVServer.py", line 65, in send_body
self.send_response(code, message=msg)
File "/usr/lib/python3.5/http/server.py", line 471, in send_response
self.send_response_only(code, message)
File "/usr/lib/python3.5/http/server.py", line 486, in send_response_only
(self.protocol_version, code, message)).encode(

TypeError: %d format: a number is required, not str

@auyeung112002
Copy link

Also encounter the same error. Using Builtin file explorer of Windows 10

@gbach
Copy link

gbach commented Sep 21, 2020

The same here (explorer on win10)

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

No branches or pull requests

3 participants