j@@" <4 @ 44!@ POST /wiki/TimRiker HTTP/1.1 Content-type: multipart/form-data; boundary=89692781418184 Content-length: 1832 Cache-Control: no-cache Pragma: no-cache User-Agent: Mozilla/4.0 (Linux 2.6.8-2-686) Java/1.5.0_04 Host: 10.52.31.37 Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 Connection: keep-alive Cookie: MOIN_ID=1120663414.02.19489 47A@ --89692781418184 Content-Disposition: form-data; name="filename" --89692781418184 Content-Disposition: form-data; name="noredirect" --89692781418184 Content-Disposition: form-data; name="filepath"; filename="/wiki/TimRiker?action=AttachFile&do=get&target=test.draw" Content-Type: text/plain CH.ifa.draw.standard.StandardDrawing "no_attributes" 1 CH.ifa.draw.figures.PolyLineFigure "no_attributes" 164 83 139 83 145 79 157 79 161 79 167 79 173 79 179 83 191 87 203 91 219 99 227 111 239 123 247 131 255 143 259 159 259 187 259 215 259 247 247 279 235 303 219 323 199 331 179 339 155 339 135 339 115 335 91 323 75 307 63 287 55 263 47 243 43 223 43 207 43 201 43 195 43 191 45 183 57 183 63 179 79 179 99 179 119 179 135 179 141 187 153 189 157 191 159 193 161 195 161 199 163 201 163 203 163 207 163 211 163 215 161 217 159 221 147 221 145 221 139 219 135 215 133 211 131 199 127 193 127 173 127 157 127 137 127 121 127 105 135 93 143 81 151 69 167 65 183 61 199 61 215 61 219 61 223 69 231 73 233 77 235 89 239 105 239 111 239 117 239 133 239 145 235 157 227 169 215 173 203 173 197 173 191 173 187 171 183 159 179 143 175 123 171 107 171 91 171 87 171 83 171 81 173 81 175 81 181 81 197 89 213 97 229 109 241 125 257 137 265 153 273 165 277 171 277 187 277 191 277 203 273 211 265 215 249 219 233 219 217 219 211 219 205 215 19 47B@ >3 207 181 191 177 179 169 175 167 171 167 167 167 165 167 161 167 161 169 157 181 157 197 157 213 161 229 169 241 177 249 185 257 197 261 213 261 219 261 235 253 247 241 255 221 263 205 263 185 263 169 263 163 255 151 243 143 231 135 215 131 209 131 207 131 203 131 199 131 195 133 193 137 193 143 193 149 193 151 193 153 193 155 195 155 NULL NULL 0 0 0 --89692781418184 Content-Disposition: form-data; name="filecomment" TWiki Draw draw file --89692781418184-- 47C@ HTTP/1.1 200 OK Date: Mon, 01 Aug 2005 23:14:13 GMT Server: Apache/2.0.54 (Debian GNU/Linux) Keep-Alive: timeout=15, max=100 Connection: Keep-Alive Transfer-Encoding: chunked Content-Type: text/html;charset=utf-8 1dda --> -->
 
 
IOError[Errno 21] Is a directory: 'data/pages/TimRiker/attachments/'
Please include this information in your bug reports!:
Python Python 2.3.5: /usr/bin/python
Linux fscsdmst02 2.6.8-2-686-smp #1 SMP Thu May 19 17:27:55 JST 2005 i686
MoinMoin Release 1.3.4 [Revision 1.3.4 release]
Mon Aug 1 17:14:13 2005

A problem occurred in a Python script. Here is the sequence of function calls leading up to the err or, in the order they occurred.

B7& r>
 /usr/lib/python2.3/site-packages/MoinMoin/request.py in run(self=<MoinMoin.request.RequestCGI instance>)
  811                 from MoinMoin.action.AttachFile import execute
  812                 # TODO: what if pagename is None?
  813                 execute(pagename, self)
  814                 raise MoinMoinNoFooter           
  815 
execute = <function execute>, pagename = u'TimRiker', self = <MoinMoin.request.RequestCGI instance>

 /usr/lib/python2.3/site-packages/MoinMoin/action/AttachFile.py in execute(pagename=u'TimRiker', request=<MoinMoin.request.RequestCGI instance>)
  392     elif request.form.has_key('filepath'):
  393         if request.user.may.write(pagename):
  394             save_drawing(pagename, request)
  395      &nbs 44%@ x%_p;      request.http_headers()
  396             request.write("OK")
global save_drawing = <function save_drawing>, pagename = u'TimRiker', request = <MoinMoin.request.RequestCGI instance>

 /usr/lib/python2.3/site-packages/MoinMoin/action/AttachFile.py in save_drawing(pagename=u'TimRiker', request=<MoinMoin.request.RequestCGI instance>)
  531         os.unlink(savepath)
  532     else:
  533         file = open(savepath x%_, 'wb')
  534         try:
  535             file.write(filecontent)
file undefined, open undefined, savepath = u'data/pages/TimRiker/attachments/'

IOError: [Errno 21] Is a directory: 'data/pages/TimRiker/attachments/'
      __doc__ = 'I/O operation failed.'
      __getitem__ = <bound method IOError.__getitem__ of <exceptions.IOError instance>>
      __init__ = <bound method IOError.__init__ of <exceptions.IOError instance>>
      __module__ = 'exceptions'
      __str__ = <bound method IOError.__str__ of <exceptions.IOError instance>>
    44&@ i7I@ x%_;   args = (21, 'Is a directory')
      errno =
      filename = 'data/pages/TimRiker/attachments/'
      strerror = 'Is a directory' --> -->
 
 
IOError[Errno 21] Is a directory: 'data/pages/TimRiker/attachments/'
Please include this information in your bug reports!:
Python Python 2.3.5: /usr/bin/python
Linux fscsdmst02 2.6.8-2-686-smp #1 SMP Thu May 19 17:27:55 JST 2005 i686
MoinMoin Release 1.3.4 [Revision 1.3.4 release]
Mon Aug 1 17:14:14 2005

A problem occurred in a Python script. Here is the sequence of function calls leading up to the erro r, in the order they occurred.

>
 /usr/lib/python2.3/site-packages/MoinMoin/request.py in run(self=<MoinMoin.request.RequestCGI instance>)
  811                 from MoinMoin.action.AttachFile import execute
  812                 # TODO: what if pagename is None?
  813                 execute(pagename, self)
  814                 raise MoinMoinNoFooter           
  815 
execute = <function execute>, pagename = u'TimRiker', self = <MoinMoin.request.RequestCGI instance>

 /usr/lib/python2.3/site-packages/MoinMoin/action/AttachFile.py in execute(pagename=u'TimRiker', request=<MoinMoin.request.RequestCGI instance>)
  392     elif request.form.has_key('filepath'):
  393         if request.user.may.write(pagename):
  394             save_drawing(pagename, request)
  395        ;      request.http_headers()
  396             request.write("OK")
global save_drawing = <function save_drawing>, pagename = u'TimRiker', request = <MoinMoin.request.RequestCGI instance>

 /usr/lib/python2.3/site-packages/MoinMoin/action/AttachFile.py in save_drawing(pagename=u'TimRiker', request=<MoinMoin.request.RequestCGI instance>)
  531         os.unlink(savepath)
  532     else:
  533         file = open(savepath,  'wb')
  534         try:
  535             file.write(filecontent)
file undefined, open undefined, savepath = u'data/pages/TimRiker/attachments/'

IOError: [Errno 21] Is a directory: 'data/pages/TimRiker/attachments/'
      __doc__ = 'I/O operation failed.'
      __getitem__ = <bound method IOError.__getitem__ of <exceptions.IOError instance>>
      __init__ = <bound method IOError.__init__ of <exceptions.IOError instance>>
      __module__ = 'exceptions'
      __str__ = <bound method IOError.__str__ of <exceptions.IOError instance>>
    44-@ j@J$ h7Q@    args = (21, 'Is a directory')
      errno =
      filename = 'data/pages/TimRiker/attachments/'
      strerror = 'Is a directory' --> -->
 
 
IOError[Errno 21] Is a directory: 'data/pages/TimRiker/attachments/'
Please include this information in your bug reports!:
Python Python 2.3.5: /usr/bin/python
Linux fscsdmst02 2.6.8-2-686-smp #1 SMP Thu May 19 17:27:55 JST 2005 i686
MoinMoin Release 1.3.4 [Revision 1.3.4 release]
Mon Aug 1 17:14:15 2005

A problem occurred in a Python script. Here is the sequence of function calls leading up to the erro x+!r, in the order they occurred.

x+!>
 /usr/lib/python2.3/site-packages/MoinMoin/request.py in run(self=<MoinMoin.request.RequestCGI instance>)
  811                 from MoinMoin.action.AttachFile import execute
  812                 # TODO: what if pagename is None?
  813                 execute(pagename, self)
  814                 raise MoinMoinNoFooter           
  815 
execute = <function execute>, pagename = u'TimRiker', self = <MoinMoin.request.RequestCGI instance>

 /usr/lib/python2.3/site-packages/MoinMoin/action/AttachFile.py in execute(pagename=u'TimRiker', request=<MoinMoin.request.RequestCGI instance>)
  392     elif request.form.has_key('filepath'):
  393         if request.user.may.write(pagename):
  394             save_drawing(pagename, request)
  395        444@ x,8;      request.http_headers()
  396             request.write("OK")
global save_drawing = <function save_drawing>, pagename = u'TimRiker', request = <MoinMoin.request.RequestCGI instance>

 /usr/lib/python2.3/site-packages/MoinMoin/action/AttachFile.py in save_drawing(pagename=u'TimRiker', request=<MoinMoin.request.RequestCGI instance>)
  531         os.unlink(savepath)
  532     else:
  533         file = open(savepath, x,8 'wb')
  534         try:
  535             file.write(filecontent)
file undefined, open undefined, savepath = u'data/pages/TimRiker/attachments/'

IOError: [Errno 21] Is a directory: 'data/pages/TimRiker/attachments/'
      __doc__ = 'I/O operation failed.'
      __getitem__ = <bound method IOError.__getitem__ of <exceptions.IOError instance>>
      __init__ = <bound method IOError.__init__ of <exceptions.IOError instance>>
      __module__ = 'exceptions'
      __str__ = <bound method IOError.__str__ of <exceptions.IOError instance>>
    445@ h7Z@ x,A   args = (21, 'Is a directory')
      errno =
      filename = 'data/pages/TimRiker/attachments/'
      strerror = 'Is a directory'

Attachments for "TimRiker"

Attached Files

To refer to attachments on a page, use attachment:filename, as x.(shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.

New Attachment

An upload will never overwrite an existing file. If there is a name conflict, you have to rename the file that you want to upload. Otherwise, if "Rename to" is left blank, the original filename will be used.

File to upload
t>Save as