2 Nov
2004
2 Nov
'04
3:41 p.m.
Hi, I upgraded Zope 2.5.1 to 2.7.2 and i have a problem with ExternalFile. The script which worked before: ... documents.manage_addProduct['ExternalFile'].manage_add(efid, '', '', target_filepath) ... Now produce error: ... Traceback (innermost last): Module ZPublisher.Publish, line 101, in publish Module ZPublisher.mapply, line 88, in mapply Module ZPublisher.Publish, line 39, in call_object Module Shared.DC.Scripts.Bindings, line 306, in __call__ Module Shared.DC.Scripts.Bindings, line 343, in _bindAndExec Module Products.PythonScripts.PythonScript, line 323, in _exec Module None, line 14, in addDocument <PythonScript at /todolist/scripts/addDocument> Line 14 AttributeError: manage_add ... Any tip? Thank you. LP, Jadran