Attachments for "New Starter Procedure" - Harms Consulting Wiki

Search:

- lj
- Settings

- Attachments for "New Starter Procedure"

- RecentChanges
- levyj
- Human Resources
- How to Appl...rnity Leave
- New Starter Procedure

- RecentChanges
- FindPage
- HelpContents
- Information Technology
- New Starter Procedure

Attachment 'New Starter Checklist v07 April 2009.odt' (remote name 'New Starter Checklist v07 April 2009.odt') with 31507 bytes saved.
Clear message

- Edit (Text)
- Edit (GUI)
- Comments
- Info
- Subscribe
- Add Link
- Attachments

## New Attachment

File to upload
Rename to
Overwrite existing attachment of same name

## Attached Files

--> -->

# BadZipfile

Bad magic number for central directory

If you want to report a bug, please save this page and attach it to your bug report.

- Show debugging information
- Report bug
- Visit MoinMoin wiki

## Traceback

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

1. /usr/lib/python2.4/site-packages/MoinMoin/request/__init__.py in run (self=<MoinMoin.request.request_wsgi.Request object>)

   1. 1309 self.page.send_page()
   2. 1310 else:
   3. 1311 handler(self.page.page_name, self)
   4. 1312
   5. 1313 # every action that didn't use to raise MoinMoinFinish must call this now:
   - handler = <function execute>
   - self = <MoinMoin.request.request_wsgi.Request object>
   - self.page = <MoinMoin.Page.Page object>
   - self.page.page_name = u'New Starter Procedure'

2. /usr/lib/python2.4/site-packages/MoinMoin/action/AttachFile.py in execute (pagename=u'New Starter Procedure', request=<MoinMoin.request.request_wsgi.Request object>)

   1. 511 handler = globals().get('_do_%s' % do[0])
   2. 512 if handler:
   3. 513 msg = handler(pagename, request)
   4. 514 else:
   5. 515 msg = _('Unsupported AttachFile sub-action: %s') % (wikiutil.escape(do[0]), )
   - msg undefined
   - handler = <function _do_upload>
   - pagename = u'New Starter Procedure'
   - request = <MoinMoin.request.request_wsgi.Request object>

3. /usr/lib/python2.4/site-packages/MoinMoin/action/AttachFile.py in _do_upload (pagename=u'New Starter Procedure', request=<MoinMoin.request.request_wsgi.Request object>)

   1. 599
   2. 600 # return attachment list
   3. 601 upload_form(pagename, request, msg)
   4. 602
   5. 603
   - global upload_form = <function upload_form>
   - pagename = u'New Starter Procedure'
   - request = <MoinMoin.request.request_wsgi.Request object>
   - msg = u"Attachment 'New Starter Checklist v07 April 2009...list v07 April 2009.odt') with 31507 bytes saved."

4. /usr/lib/python2.4/site-packages/MoinMoin/action/AttachFile.py in upload_form (pagename=u'New Starter Procedure', request=<MoinMoin.request.request_wsgi.Request object>, msg=u"Attachment 'New Starter Checklist v07 April 2009...list v07 April 2009.odt') with 31507 bytes saved.")

   1. 531 request.theme.send_title(_('Attachments for "%(pagename)s"') % {'pagename': pagename}, pagename=pagename)
   2. 532 request.write('<div id="content">\n') # start content div
   3. 533 send_uploadform(pagename, request)
   4. 534 request.write('</div>\n') # end content div
   5. 535 request.theme.send_footer(pagename)
   - global send_uploadform = <function send_uploadform>
   - pagename = u'New Starter Procedure'
   - request = <MoinMoin.request.request_wsgi.Request object>

5. /usr/lib/python2.4/site-packages/MoinMoin/action/AttachFile.py in send_uploadform (pagename=u'New Starter Procedure', request=<MoinMoin.request.request_wsgi.Request object>)

   1. 491
   2. 492 request.write('<h2>' + _("Attached Files") + '</h2>')
   3. 493 request.write(_get_filelist(request, pagename))
   4. 494
   5. 495 if not writeable:
   - request = <MoinMoin.request.request_wsgi.Request object>
   - request.write = <bound method Request.write of <MoinMoin.request.request_wsgi.Request object>>
   - global _get_filelist = <function _get_filelist>
   - pagename = u'New Starter Procedure'

6. /usr/lib/python2.4/site-packages/MoinMoin/action/AttachFile.py in _get_filelist (request=<MoinMoin.request.request_wsgi.Request object>, pagename=u'New Starter Procedure')

   1. 384
   2. 385 def _get_filelist(request, pagename):
   3. 386 return _build_filelist(request, pagename, 1, 0)
   4. 387
   5. 388
   - global _build_filelist = <function _build_filelist>
   - request = <MoinMoin.request.request_wsgi.Request object>
   - pagename = u'New Starter Procedure'

7. /usr/lib/python2.4/site-packages/MoinMoin/action/AttachFile.py in _build_filelist (request=<MoinMoin.request.request_wsgi.Request object>, pagename=u'New Starter Procedure', showheader=1, readonly=0, mime_type='*')

   1. 335 is_zipfile = zipfile.is_zipfile(fullpath)
   2. 336 if is_zipfile:
   3. 337 is_package = packages.ZipPackage(request, fullpath).isPackage()
   4. 338 if is_package and request.user.isSuperUser():
   5. 339 links.append(fmt.url(1, getAttachUrl(pagename, file, request, do='install')) +
   - is_package undefined
   - global packages = <module 'MoinMoin.packages' from '/usr/lib/python2.4/site-packages/MoinMoin/packages.pyc'>
   - packages.ZipPackage = <class MoinMoin.packages.ZipPackage>
   - request = <MoinMoin.request.request_wsgi.Request object>
   - fullpath = '/srv/var/moin/hcwiki/data/pages/New(20)Starter(2...achments/New Starter Checklist v07 April 2009.odt'
   - ).isPackage undefined

8. /usr/lib/python2.4/site-packages/MoinMoin/packages.py in __init__ (self=<MoinMoin.packages.ZipPackage instance>, request=<MoinMoin.request.request_wsgi.Request object>, filename='/srv/var/moin/hcwiki/data/pages/New(20)Starter(2...achments/New Starter Checklist v07 April 2009.odt')

   1. 484 self._isZipfile = zipfile.is_zipfile(filename)
   2. 485 if self._isZipfile:
   3. 486 self.zipfile = zipfile.ZipFile(filename)
   4. 487 # self.zipfile.getinfo(name)
   5. 488
   - self = <MoinMoin.packages.ZipPackage instance>
   - self.zipfile undefined
   - global zipfile = <module 'zipfile' from '/usr/lib/python2.4/zipfile.pyc'>
   - zipfile.ZipFile = <class zipfile.ZipFile>
   - filename = '/srv/var/moin/hcwiki/data/pages/New(20)Starter(2...achments/New Starter Checklist v07 April 2009.odt'

9. /srv/www/zipfile.py in __init__ (self=<zipfile.ZipFile instance>, file='/srv/var/moin/hcwiki/data/pages/New(20)Starter(2...achments/New Starter Checklist v07 April 2009.odt', mode='r', compression=0)

   1. 208
   2. 209 if key == 'r':
   3. 210 self._GetContents()
   4. 211 elif key == 'w':
   5. 212 pass
   - self = <zipfile.ZipFile instance>
   - self._GetContents = <bound method ZipFile._GetContents of <zipfile.ZipFile instance>>

10. /srv/www/zipfile.py in _GetContents (self=<zipfile.ZipFile instance>)

    1. 228 is bad."""
    2. 229 try:
    3. 230 self._RealGetContents()
    4. 231 except BadZipfile:
    5. 232 if not self._filePassed:
    - self = <zipfile.ZipFile instance>
    - self._RealGetContents = <bound method ZipFile._RealGetContents of <zipfile.ZipFile instance>>

11. /srv/www/zipfile.py in _RealGetContents (self=<zipfile.ZipFile instance>)

    1. 260 total = total + 46
    2. 261 if centdir[0:4] != stringCentralDir:
    3. 262 raise BadZipfile, "Bad magic number for central directory"
    4. 263 centdir = struct.unpack(structCentralDir, centdir)
    5. 264 if self.debug > 2:
    - global BadZipfile = <class zipfile.BadZipfile>

### BadZipfile

Bad magic number for central directory

- args = ('Bad magic number for central directory',)

## System Details

- Date: Wed, 22 Apr 2009 03:49:38 +0000
- Platform: Linux service 2.6.18-6-amd64 #1 SMP Thu Dec 25 21:08:54 UTC 2008 x86_64
- Python: Python 2.4.4 (/usr/bin/python)
- MoinMoin: Release 1.8.2 (release)