Evan Simpson wrote:
Martijn Faassen wrote:
Anybody have any clue why copy and paste is not working? What should I investigate? If this post contains too little information I'll just release my code with this bug next week so people can study it then. :)
Do rename and import fail with the same message? One version of PythonMethods had a bug which looked just like this. It was introduced when I moved some HTMLFiles (in particular, the add-a-new-PM dtml file) into a subdirectory of the product. I was never able to track down the exact cause, but changing how I loaded my .dtml files fixed the problem.
Good question.. I'll check. rename -- yup, fails on the same error. import/export -- hm. reminds me to add an import/export tab. Right now the 'export..' button can be used though. Yes, also the same error. Thanks for this clue! I don't know what to do now, though. My .dtml files don't reside in subdirectories. Though it's very well possible it's due to some of the other odd stuff I do. :) How'd you change the way you loaded your .dtml files? I suppose I should just release what I have next week to have people look at it. Regards, Martijn