[Moin-user] Server failure

Kai Jaeger kai at aplteam.com
Wed Oct 22 10:33:45 EDT 2014


For the record: it WAS a cache issue.

What I did not realize is that I had to call the cleancache thingy in
a particular way to get it over the hurdle. On my machine with Python
2.7:

{Path_To_Python27}\Scripts\moin.bat --wiki-url=http://aplwiki.com
--config-dir={Path_To_Config_Folder} maint cleancache

and everything worked.

On Mon, Oct 20, 2014 at 12:51 PM, Kai Jaeger <kai at aplteam.com> wrote:
> Michael, thanks.
>
> Yes, I did, although only AFTER I sent the email to the Moin group.
> Did not help because the call to cleancache failed itself:
>
> cleancache.py
> 2014-10-20 09:27:49,914 INFO MoinMoin.log:151 using logging
> configuration read from built-in fallback in MoinMoin.log module
> 2014-10-20 09:27:49,914 INFO MoinMoin.log:157 Running MoinMoin 1.9.7
> release code from C:\Python27\lib\site-packages\MoinMoin
> Traceback (most recent call last):
>   File "C:\Python27\Lib\site-packages\MoinMoin\script\maint\cleancache.py", line
>  10, in <module>
>     from MoinMoin import caching, i18n, user
>   File "C:\Python27\lib\site-packages\MoinMoin\caching.py", line 19, in <module>
>
>     from MoinMoin.util import filesys, lock, pickle, PICKLE_PROTOCOL
>   File "C:\Python27\lib\site-packages\MoinMoin\util\filesys.py", line 33, in <mo
> dule>
>     from werkzeug.posixemulation import *
> ImportError: No module named werkzeug.posixemulation
>
>
>
>
>
> On Mon, Oct 20, 2014 at 8:52 AM, Michael Decker <m.decker at fz-juelich.de> wrote:
>> Looks like a cache issue to me. Did you clean the cache (moin maint
>> cleancache ...) after moving the data?
>>
>> Michael
>>
>> On 10/19/2014 10:11 PM, Kai Jaeger wrote:
>>> I had to moved all my wikis to a new server. The only difference
>>> between the two is that the old onbe run Python 2.6 while the new one
>>> runs Pythin 2.7
>>>
>>> However, I keep getting this:
>>>
>>> [Sun Oct 19 19:47:40 2014] [error] 2014-10-19 19:47:40,374 ERROR
>>> MoinMoin.wsgiapp:293 An exception has occurred
>>> [http://sandbox.aplwiki.com/MoinMoin].
>>> [Sun Oct 19 19:47:40 2014] [error] Traceback (most recent call last):
>>> [Sun Oct 19 19:47:40 2014] [error]   File
>>> "C:\\Python27\\lib\\site-packages\\MoinMoin\\wsgiapp.py", line 282, in
>>> __call__
>>> [Sun Oct 19 19:47:40 2014] [error]     response = run(context)
>>> [Sun Oct 19 19:47:40 2014] [error]   File
>>> "C:\\Python27\\lib\\site-packages\\MoinMoin\\wsgiapp.py", line 88, in
>>> run
>>> [Sun Oct 19 19:47:40 2014] [error]     response = dispatch(request,
>>> context, action_name)
>>> [Sun Oct 19 19:47:40 2014] [error]   File
>>> "C:\\Python27\\lib\\site-packages\\MoinMoin\\wsgiapp.py", line 136, in
>>> dispatch
>>> [Sun Oct 19 19:47:40 2014] [error]     response =
>>> handle_action(context, pagename, action_name)
>>> [Sun Oct 19 19:47:40 2014] [error]   File
>>> "C:\\Python27\\lib\\site-packages\\MoinMoin\\wsgiapp.py", line 195, in
>>> handle_action
>>> [Sun Oct 19 19:47:40 2014] [error]     handler(context.page.page_name, context)
>>> [Sun Oct 19 19:47:40 2014] [error]   File
>>> "C:\\Python27\\lib\\site-packages\\MoinMoin\\action\\__init__.py",
>>> line 268, in do_show
>>> [Sun Oct 19 19:47:40 2014] [error]     content_only=content_only,
>>> [Sun Oct 19 19:47:40 2014] [error]   File
>>> "C:\\Python27\\lib\\site-packages\\MoinMoin\\Page.py", line 1215, in
>>> send_page
>>> [Sun Oct 19 19:47:40 2014] [error]     start_line=pi['lines'])
>>> [Sun Oct 19 19:47:40 2014] [error]   File
>>> "C:\\Python27\\lib\\site-packages\\MoinMoin\\Page.py", line 1309, in
>>> send_page_content
>>> [Sun Oct 19 19:47:40 2014] [error]     self.execute(request, parser, code)
>>> [Sun Oct 19 19:47:40 2014] [error]   File
>>> "C:\\Python27\\lib\\site-packages\\MoinMoin\\Page.py", line 1340, in
>>> execute
>>> [Sun Oct 19 19:47:40 2014] [error]     exec code
>>> [Sun Oct 19 19:47:40 2014] [error]   File "moinmoin", line 2, in <module>
>>> [Sun Oct 19 19:47:40 2014] [error] TypeError: 'dict' object is not callable
>>> [Sun Oct 19 19:47:40 2014] [error] [client 117.169.1.80] mod_wsgi
>>> (pid=3184): Exception occurred processing WSGI script
>>> 'D:/Wikis/config/moin.wsgi'., referer: http://sandbox.aplwiki.com/
>>> [Sun Oct 19 19:47:40 2014] [error] [client 117.169.1.80] Traceback
>>> (most recent call last):, referer: http://sandbox.aplwiki.com/
>>> [Sun Oct 19 19:47:40 2014] [error] [client 117.169.1.80]   File
>>> "C:\\Python27\\lib\\site-packages\\MoinMoin\\support\\werkzeug\\wsgi.py",
>>> line 411, in __call__, referer: http://sandbox.aplwiki.com/
>>> [Sun Oct 19 19:47:40 2014] [error] [client 117.169.1.80]     return
>>> self.app(environ, start_response), referer:
>>> http://sandbox.aplwiki.com/
>>> [Sun Oct 19 19:47:40 2014] [error] [client 117.169.1.80]   File
>>> "C:\\Python27\\lib\\site-packages\\MoinMoin\\wsgiapp.py", line 282, in
>>> __call__, referer: http://sandbox.aplwiki.com/
>>> [Sun Oct 19 19:47:40 2014] [error] [client 117.169.1.80]     response
>>> = run(context), referer: http://sandbox.aplwiki.com/
>>> [Sun Oct 19 19:47:40 2014] [error] [client 117.169.1.80]   File
>>> "C:\\Python27\\lib\\site-packages\\MoinMoin\\wsgiapp.py", line 88, in
>>> run, referer: http://sandbox.aplwiki.com/
>>> [Sun Oct 19 19:47:40 2014] [error] [client 117.169.1.80]     response
>>> = dispatch(request, context, action_name), referer:
>>> http://sandbox.aplwiki.com/
>>> [Sun Oct 19 19:47:40 2014] [error] [client 117.169.1.80]   File
>>> "C:\\Python27\\lib\\site-packages\\MoinMoin\\wsgiapp.py", line 136, in
>>> dispatch, referer: http://sandbox.aplwiki.com/
>>> [Sun Oct 19 19:47:40 2014] [error] [client 117.169.1.80]     response
>>> = handle_action(context, pagename, action_name), referer:
>>> http://sandbox.aplwiki.com/
>>> [Sun Oct 19 19:47:40 2014] [error] [client 117.169.1.80]   File
>>> "C:\\Python27\\lib\\site-packages\\MoinMoin\\wsgiapp.py", line 195, in
>>> handle_action, referer: http://sandbox.aplwiki.com/
>>> [Sun Oct 19 19:47:40 2014] [error] [client 117.169.1.80]
>>> handler(context.page.page_name, context), referer:
>>> http://sandbox.aplwiki.com/
>>> [Sun Oct 19 19:47:40 2014] [error] [client 117.169.1.80]   File
>>> "C:\\Python27\\lib\\site-packages\\MoinMoin\\action\\__init__.py",
>>> line 268, in do_show, referer: http://sandbox.aplwiki.com/
>>> [Sun Oct 19 19:47:40 2014] [error] [client 117.169.1.80]
>>> content_only=content_only,, referer: http://sandbox.aplwiki.com/
>>> [Sun Oct 19 19:47:40 2014] [error] [client 117.169.1.80]   File
>>> "C:\\Python27\\lib\\site-packages\\MoinMoin\\Page.py", line 1215, in
>>> send_page, referer: http://sandbox.aplwiki.com/
>>> [Sun Oct 19 19:47:40 2014] [error] [client 117.169.1.80]
>>> start_line=pi['lines']), referer: http://sandbox.aplwiki.com/
>>> [Sun Oct 19 19:47:40 2014] [error] [client 117.169.1.80]   File
>>> "C:\\Python27\\lib\\site-packages\\MoinMoin\\Page.py", line 1309, in
>>> send_page_content, referer: http://sandbox.aplwiki.com/
>>> [Sun Oct 19 19:47:40 2014] [error] [client 117.169.1.80]
>>> self.execute(request, parser, code), referer:
>>> http://sandbox.aplwiki.com/
>>> [Sun Oct 19 19:47:40 2014] [error] [client 117.169.1.80]   File
>>> "C:\\Python27\\lib\\site-packages\\MoinMoin\\Page.py", line 1340, in
>>> execute, referer: http://sandbox.aplwiki.com/
>>> [Sun Oct 19 19:47:40 2014] [error] [client 117.169.1.80]     exec
>>> code, referer: http://sandbox.aplwiki.com/
>>> [Sun Oct 19 19:47:40 2014] [error] [client 117.169.1.80]   File
>>> "moinmoin", line 2, in <module>, referer: http://sandbox.aplwiki.com/
>>> [Sun Oct 19 19:47:40 2014] [error] [client 117.169.1.80] TypeError:
>>> 'dict' object is not callable, referer: http://sandbox.aplwiki.com/
>>>
>>> Any hint is appreciated.
>>>
>>> Thanks
>>> Kai
>>>
>>> ------------------------------------------------------------------------------
>>> Comprehensive Server Monitoring with Site24x7.
>>> Monitor 10 servers for $9/Month.
>>> Get alerted through email, SMS, voice calls or mobile push notifications.
>>> Take corrective actions from your mobile device.
>>> http://p.sf.net/sfu/Zoho
>>> _______________________________________________
>>> Moin-user mailing list
>>> Moin-user at lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/moin-user
>>>
>>
>>
>> --
>> Michael Decker
>> Forschungszentrum Jülich
>> Institut für Energie- und Klimaforschung - Troposphäre (IEK-8)
>>
>> Tel.: +49 2461 61-3867
>> E-Mail: m.decker at fz-juelich.de
>>
>> -------------------------------------------------------------------------------------
>> -------------------------------------------------------------------------------------
>> Forschungszentrum Juelich GmbH
>> 52425 Juelich
>> Sitz der Gesellschaft: Juelich
>> Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
>> Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher
>> Geschaeftsfuehrung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender),
>> Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
>> Prof. Dr. Sebastian M. Schmidt
>> -------------------------------------------------------------------------------------
>> -------------------------------------------------------------------------------------
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Comprehensive Server Monitoring with Site24x7.
>> Monitor 10 servers for $9/Month.
>> Get alerted through email, SMS, voice calls or mobile push notifications.
>> Take corrective actions from your mobile device.
>> http://p.sf.net/sfu/Zoho
>> _______________________________________________
>> Moin-user mailing list
>> Moin-user at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/moin-user
>>




More information about the Moin-user mailing list