[Moin-user] EOFerror

Rick Vanderveer rick.vanderveer at gmail.com
Thu Dec 20 22:23:10 EST 2007


Well, I solved my own problem.

I've been attempting to clone my wiki installation onto a virtual machine so
that I can test 1.6rc2. In this process, I was copying the files from my
backup server.  On a whim, I decided to copy the files directly from the
main server.  Voila!  It worked perfectly!

The problem is that I had a filter on my backup script to ignore 'cache'
directories (why should I back up a cache folder?!).  As I just discovered--
very bad idea. (it was a real "oh crap!" moment). Apparently, the lack of
this contents of these folders (the sub-folders, perhaps?) was enough to
break everything.

I'm very veeeerrry glad to have discovered this while setting up a test
server, and not finding out while recovering from a system crash!

I corrected the Windows Moin Backup page, I hope this change gets propagated
to the other translations quickly!
http://master.moinmo.in/HelpOnInstalling/Win32MoinEasyBackup

-Rick




On Dec 20, 2007 5:00 PM, Rick Vanderveer <rick.vanderveer at gmail.com> wrote:

> All,
> I'm attempting to duplicate my wiki farm onto a VMware virtual machine (VM
> is Windows).  It seems as soon as I copy over all my data and config files
> (I have to tweak a few settings so that it's unique on the network, of
> course), every time I attempt to hit the wiki, I get a big fat EOFerror.
> Any thoughts on what could be causing this???
>
> HEEELLLPPP!  :-)
>
> Below is the error:
> ------------------
>
> --> -->  EOFError
>
> If you want to report a bug, please save this page and attach it to your
> bug report.
>
>    - Show debugging information
>    - Report bug <http://moinmoin.wikiwikiweb.de/MoinMoinBugs>
>    - Visit MoinMoin wiki <http://moinmoin.wikiwikiweb.de/FrontPage>
>
>  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.
>
>    c:\python25\Lib\site-packages\MoinMoin\request.py in *run* (self=<
>    MoinMoin.request.RequestCGI object at 0x006E7330>)
>    1. 1140 # Use localized FrontPage if pagename is empty
>       2. 1141 if not pagename:
>       3. 1142 self.page = wikiutil.getFrontPage (self)
>       4. 1143 else:
>       5. 1144 self.page = Page(self, pagename)
>       - *self* = <MoinMoin.request.RequestCGI object at 0x006E7330>
>       - self.*page* = None
>       - *global* *wikiutil* = <module 'MoinMoin.wikiutil' from
>       'C:\python25\lib\site-packages\MoinMoin\wikiutil.pyc'>
>       - wikiutil.*getFrontPage* = <function getFrontPage at
>       0x00781370>
>    2.
>
>    C:\Python25\lib\site-packages\MoinMoin\wikiutil.py in *getFrontPage*(request=<
>    MoinMoin.request.RequestCGI object at 0x006E7330>)
>    1. 684 @return localized page_front_page, if there is a translation
>       2. 685 """
>       3. 686 return getSysPage(request, request.cfg.page_front_page)
>       4. 687
>       5. 688
>       - *global* *getSysPage* = <function getSysPage at 0x00781330>
>       - *request* = <MoinMoin.request.RequestCGI object at
>       0x006E7330>
>       - request.*cfg* = <topic.Config instance at 0x0081AC60>
>       - request.cfg.*page_front_page* = u'FrontPage'
>    3.
>
>    C:\Python25\lib\site-packages\MoinMoin\wikiutil.py in *getSysPage*(request=<
>    MoinMoin.request.RequestCGI object at 0x006E7330>,
>    pagename=u'FrontPage')
>    1. 653 """
>       2. 654 from MoinMoin.Page import Page
>       3. 655 i18n_name = request.getText(pagename, formatted=False)
>       4. 656 pageobj = None
>       5. 657 if i18n_name != pagename:
>       - i18n_name *undefined*
>       - *request* = <MoinMoin.request.RequestCGI object at
>       0x006E7330>
>       - request.*getText* = <function <lambda> at 0x008333B0>
>       - *pagename* = u'FrontPage'
>       - formatted *undefined*
>       - *builtin* *False* = False
>    4.
>
>    c:\python25\Lib\site-packages\MoinMoin\request.py in **(text=u'FrontPage', i18n=<module '
>    MoinMoin.i18n' from
>    'C:\python25\lib\site-packages\MoinMoin\i18n\__init__.pyc'>, request=<
>    MoinMoin.request.RequestCGI object at 0x006E7330>, lang='en',
>    **kv={'formatted': False})
>    1. 208 # but generated content like search results should use the
>       user language.
>       2. 209 self.content_lang = self.cfg.language_default
>       3. 210 self.getText = lambda text, i18n=self.i18n,
>       request=self, lang=self.lang, **kv: i18n.getText(text,
>       request, lang,
>       kv.get('formatted', True))
>       4. 211
>       5. 212 self.opened_logs = 0
>       - self *undefined*
>       - *text* = u'FrontPage'
>       - *i18n* = <module 'MoinMoin.i18n' from
>       'C:\python25\lib\site-packages\MoinMoin\i18n\__init__.pyc'>
>       - *request* = <MoinMoin.request.RequestCGI object at
>       0x006E7330>
>       - *lang* = 'en'
>       - *kv* = {'formatted': False}
>       - i18n.*getText* = <function getText at 0x008335B0>
>       - kv.*get* = <built-in method get of dict object at
>       0x00823ED0>
>       - *builtin* *True* = True
>    5.
>
>    C:\python25\lib\site-packages\MoinMoin\i18n\__init__.py in *getText*(str=u'FrontPage', request=<
>    MoinMoin.request.RequestCGI object at 0x006E7330>, lang='en',
>    formatted=False)
>    1. 255 global _text_cache
>       2. 256 if not lang in _text_cache:
>       3. 257 (texts, unformatted) = loadLanguage(request, lang)
>       4. 258 # XXX add error handling
>       5. 259 _text_cache[lang] = texts
>       - texts *undefined*
>       - unformatted *undefined*
>       - *global* *loadLanguage* = <function loadLanguage at
>       0x00833470>
>       - *request* = <MoinMoin.request.RequestCGI object at
>       0x006E7330>
>       - *lang* = 'en'
>    6.
>
>    C:\python25\lib\site-packages\MoinMoin\i18n\__init__.py in *
>    loadLanguage* (request=<MoinMoin.request.RequestCGI object at
>    0x006E7330>, lang='en')
>    1. 126 if not needsupdate:
>       2. 127 try:
>       3. 128 (uc_texts, uc_unformatted) = pickle.loads(cache.content
>       ())
>       4. 129 except (IOError, ValueError, pickle.UnpicklingError): #
>       bad pickle data, no pickle
>       5. 130 if debug: request.log("i18n: pickle %s load failed" %
>       lang)
>       - uc_texts *undefined*
>       - uc_unformatted *undefined*
>       - *global* *pickle* = <module 'cPickle' (built-in)>
>       - pickle.*loads* = <built-in function loads>
>       - *cache* = <MoinMoin.caching.CacheEntry instance at
>       0x008381C0>
>       - cache.*content* = <bound method CacheEntry.content of <
>       MoinMoin.caching.CacheEntry instance at 0x008381C0>>
>
> EOFError
>
>    - args = ()
>    - message = ''
>
>  System Details
>
>    - Date: Thu, 20 Dec 2007 22:59:10 +0000
>    - Platform: win32 (nt)
>    - Python: Python 2.5.1 (C:\python25\python.exe)
>    - MoinMoin: Release 1.5.7 (release)
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/moin-user/attachments/20071220/98c98558/attachment.html>


More information about the Moin-user mailing list