Description
The processors latex and DataLanguage (and maybe others) use
attach_dir=AttachFile.getAttachDir(pagename,create=1)
and it should be...
attach_dir=AttachFile.getAttachDir(request,pagename,create=1)
Steps to reproduce
If keep the first form the processor doesn't work.
TypeErrorgetAttachDir() takes at least 2 non-keyword arguments (1 given)
Example
Details
Please include this information in your bug reports!:
MoinMoin Version |
MoinMoin Release 1.3.2 [Revision 1.3.2 release] |
OS and Version |
Linux beowulf 2.4.21-15.ELsmp #1 SMP Thu Apr 22 00:18:24 EDT 2004 i686 |
Python Version |
Python Python 2.2.3: /usr/bin/python |
Server Setup |
Apache |
Server Details |
Redhat rpm httpd-2.0.46-40.ent |
Workaround
Change to
attach_dir=AttachFile.getAttachDir(request,pagename,create=1)
Discussion
Please report such bugs to the extension authors or on the extension pages.
Plan
- Priority:
- Assigned to:
- Status: