When I try to access the WebDAV lock manager at /Control_Panel/DavLocks/manage_main I get a Site Error Error Type: TypeError Error Value: has_key() takes exactly 1 argument (2 given) Traceback (innermost last): Module ZPublisher.Publish, line 98, in publish Module ZPublisher.mapply, line 88, in mapply Module ZPublisher.Publish, line 39, in call_object Module Shared.DC.Scripts.Bindings, line 252, in __call__ Module Shared.DC.Scripts.Bindings, line 283, in _bindAndExec Module App.special_dtml, line 174, in _exec Module DocumentTemplate.DT_Let, line 75, in render Module DocumentTemplate.DT_Util, line 201, in eval - __traceback_info__: REQUEST Module <string>, line 0, in ? TypeError: has_key() takes exactly 1 argument (2 given) Addition info... I recently switched the Zope engine to 2.6 which seems to have fixed a PDF upload issue we were having but now it looks like I've got a new memory leak which I'm just starting to troubleshoot -- perhaps related? Any suggestions? Ricardo Newbery newbery@dvgroup.com
Ricardo Newbery writes:
When I try to access the WebDAV lock manager at
/Control_Panel/DavLocks/manage_main
I get a Site Error
Error Type: TypeError Error Value: has_key() takes exactly 1 argument (2 given)
Traceback (innermost last): Module ZPublisher.Publish, line 98, in publish Module ZPublisher.mapply, line 88, in mapply Module ZPublisher.Publish, line 39, in call_object Module Shared.DC.Scripts.Bindings, line 252, in __call__ Module Shared.DC.Scripts.Bindings, line 283, in _bindAndExec Module App.special_dtml, line 174, in _exec Module DocumentTemplate.DT_Let, line 75, in render Module DocumentTemplate.DT_Util, line 201, in eval - __traceback_info__: REQUEST Module <string>, line 0, in ? TypeError: has_key() takes exactly 1 argument (2 given) Apparently, there is some error ("has_key" called with two many arguments) in some DTML file.
Formerly, it has been possible (for the experienced eye) to see which DTML object was affected and where the error was. Unfortunately, with the new tracebacks, this is no longer possible. You must look yourself. Dieter
I had this too after using Dreamweaver over webdav. I deleted the file in the management screens and made it again, copying the data from the local Dreamweaver file. tom -- tom smith http://www.othermedia.com/blog/ 0207 089 5959 3rd Floor, The Pavilion, Newham's Row, London SE1 3UZ
On Monday 18 November 2002 00:25, tom smith wrote:
I had this too after using Dreamweaver over webdav. I deleted the file in the management screens and made it again, copying the data from the local Dreamweaver file.
...because Dreamweaver sucks: it does a _copy_ of your file during saving. Use Emacs instead. ;-) -- Regards, Bogdan F U cn rd dis U mst uz Unix.
participants (4)
-
Bo M. Maryniuck -
Dieter Maurer -
Ricardo Newbery -
tom smith