Message 19430

Author
jesteve
Date
2015-01-02.19:32:17
Message id
19430

Content

Can not be added a file by WebDAV in v3.4 (v3.2 works well). Traceback:

localhost - - [02/Jan/2015 18:13:38] "PROPFIND /database/Tercers/PartyName-8 HTTP/1.1" 207 -
----------------------------------------
Exception happened during processing of request from ('::ffff:127.0.0.1', 35247, 0, 0)
Traceback (most recent call last):
  File "/usr/lib/python2.7/SocketServer.py", line 582, in process_request_thread
    self.finish_request(request, client_address)
  File "/usr/lib/python2.7/SocketServer.py", line 323, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/usr/lib/python2.7/SocketServer.py", line 640, in __init__
    self.finish()
  File "/home/path/trytond/trytond/protocols/webdav.py", line 531, in finish
    Cache.resets(dbname)
  File "/home/path/trytond/trytond/cache.py", line 100, in resets
    with Transaction().new_cursor():
  File "/home/path/trytond/trytond/transaction.py", line 154, in new_cursor
    database = Database(self.cursor.database_name).connect()
AttributeError: 'NoneType' object has no attribute 'database_name'
----------------------------------------
localhost - - [02/Jan/2015 18:13:38] "PROPFIND /database/Tercers/PartyName-8 HTTP/1.1" 207 -
----------------------------------------
Exception happened during processing of request from ('::ffff:127.0.0.1', 35249, 0, 0)
Traceback (most recent call last):
  File "/usr/lib/python2.7/SocketServer.py", line 582, in process_request_thread
    self.finish_request(request, client_address)
  File "/usr/lib/python2.7/SocketServer.py", line 323, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/usr/lib/python2.7/SocketServer.py", line 640, in __init__
    self.finish()
  File "/home/path/trytond/trytond/protocols/webdav.py", line 531, in finish
    Cache.resets(dbname)
  File "/home/path/trytond/trytond/cache.py", line 100, in resets
    with Transaction().new_cursor():
  File "/home/path/trytond/trytond/transaction.py", line 154, in new_cursor
    database = Database(self.cursor.database_name).connect()
AttributeError: 'NoneType' object has no attribute 'database_name'
----------------------------------------
localhost - - [02/Jan/2015 18:13:38] "HEAD /database/Tercers/PartyName-8/Document%20sense%20nom HTTP/1.1" 404 -
----------------------------------------
Exception happened during processing of request from ('::ffff:127.0.0.1', 35251, 0, 0)
Traceback (most recent call last):
  File "/usr/lib/python2.7/SocketServer.py", line 582, in process_request_thread
    self.finish_request(request, client_address)
  File "/usr/lib/python2.7/SocketServer.py", line 323, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/usr/lib/python2.7/SocketServer.py", line 640, in __init__
    self.finish()
  File "/home/path/trytond/trytond/protocols/webdav.py", line 531, in finish
    Cache.resets(dbname)
  File "/home/path/trytond/trytond/cache.py", line 100, in resets
    with Transaction().new_cursor():
  File "/home/path/trytond/trytond/transaction.py", line 154, in new_cursor
    database = Database(self.cursor.database_name).connect()
AttributeError: 'NoneType' object has no attribute 'database_name'
----------------------------------------
localhost - - [02/Jan/2015 18:13:39] "PUT /database/Tercers/PartyName-8/Document%20sense%20nom HTTP/1.1" 403 -
----------------------------------------
Exception happened during processing of request from ('::ffff:127.0.0.1', 35253, 0, 0)
Traceback (most recent call last):
  File "/usr/lib/python2.7/SocketServer.py", line 582, in process_request_thread
    self.finish_request(request, client_address)
  File "/usr/lib/python2.7/SocketServer.py", line 323, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/usr/lib/python2.7/SocketServer.py", line 640, in __init__
    self.finish()
  File "/home/path/trytond/trytond/protocols/webdav.py", line 531, in finish
    Cache.resets(dbname)
  File "/home/path/trytond/trytond/cache.py", line 100, in resets
    with Transaction().new_cursor():
  File "/home/path/trytond/trytond/transaction.py", line 154, in new_cursor
    database = Database(self.cursor.database_name).connect()
AttributeError: 'NoneType' object has no attribute 'database_name'
----------------------------------------
localhost - - [02/Jan/2015 18:13:39] "PROPFIND /database/Tercers/PartyName-8/Document%20sense%20nom HTTP/1.1" 404 -
----------------------------------------
Exception happened during processing of request from ('::ffff:127.0.0.1', 35255, 0, 0)
Traceback (most recent call last):
  File "/usr/lib/python2.7/SocketServer.py", line 582, in process_request_thread
    self.finish_request(request, client_address)
  File "/usr/lib/python2.7/SocketServer.py", line 323, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/usr/lib/python2.7/SocketServer.py", line 640, in __init__
    self.finish()
  File "/home/path/trytond/trytond/protocols/webdav.py", line 531, in finish
    Cache.resets(dbname)
  File "/home/path/trytond/trytond/cache.py", line 100, in resets
    with Transaction().new_cursor():
  File "/home/path/trytond/trytond/transaction.py", line 154, in new_cursor
    database = Database(self.cursor.database_name).connect()
AttributeError: 'NoneType' object has no attribute 'database_name'
----------------------------------------
History
Date User Action Args
2015-01-02 19:32:18jestevesetmessageid: <1420223538.24.0.521768538994.issue4448@tryton.org>
2015-01-02 19:32:18jestevelinkissue4448 messages
2015-01-02 19:32:17jestevecreate

Showing 10 items. Show all history (warning: this could be VERY long)