Package: python-moinmoin
Version: 1.9.3-3
Severity: normal

Hello,

today I got python 2.7 when updating my system and that broke my
private wiki:

        $ cat bin/braindump 
        #! /usr/bin/env python

        import sys

        sys.argv = 'moin --config-dir /home/ukleinek/var/braindump server 
standalone'.split()

        from MoinMoin.script.moin import run
        run()

        $ bin/braindump 
        2011-10-07 20:26:00,878 WARNING MoinMoin.log:139 using logging 
configuration read from built-in fallback in MoinMoin.log module!
        2011-10-07 20:26:00,997 INFO werkzeug:116  * Running on 
http://localhost:8080/
        2011-10-07 20:26:04,396 INFO MoinMoin.config.multiconfig:127 using wiki 
config: /home/ukleinek/var/braindump/wikiconfig.py
        2011-10-07 20:26:06,031 INFO MoinMoin.web.serving:41 127.0.0.1 "GET / 
HTTP/1.1" 404 -
        2011-10-07 20:26:17,603 ERROR MoinMoin.wsgiapp:293 An exception has 
occurred [http://localhost:8080/DebianKernel].
        Traceback (most recent call last):
          File "/usr/lib/python2.7/dist-packages/MoinMoin/wsgiapp.py", line 
282, in __call__
            response = run(context)
          File "/usr/lib/python2.7/dist-packages/MoinMoin/wsgiapp.py", line 88, 
in run
            response = dispatch(request, context, action_name)
          File "/usr/lib/python2.7/dist-packages/MoinMoin/wsgiapp.py", line 
136, in dispatch
            response = handle_action(context, pagename, action_name)
          File "/usr/lib/python2.7/dist-packages/MoinMoin/wsgiapp.py", line 
195, in handle_action
            handler(context.page.page_name, context)
          File "/usr/lib/python2.7/dist-packages/MoinMoin/action/__init__.py", 
line 268, in do_show
            content_only=content_only,
          File "/usr/lib/python2.7/dist-packages/MoinMoin/Page.py", line 1198, 
in send_page
            start_line=pi['lines'])
          File "/usr/lib/python2.7/dist-packages/MoinMoin/Page.py", line 1292, 
in send_page_content
            self.execute(request, parser, code)
          File "/usr/lib/python2.7/dist-packages/MoinMoin/Page.py", line 1323, 
in execute
            exec code
          File "DebianKernel", line 2, in <module>
        TypeError: 'dict' object is not callable
        2011-10-07 20:26:17,801 INFO MoinMoin.web.serving:41 127.0.0.1 "GET 
/DebianKernel HTTP/1.1" 500 -
        2011-10-07 20:26:17,820 ERROR werkzeug:116 Error on request:
        Traceback (most recent call last):
          File "/usr/share/pyshared/werkzeug/serving.py", line 153, in run_wsgi
            execute(app)
          File "/usr/share/pyshared/werkzeug/serving.py", line 140, in execute
            application_iter = app(environ, start_response)
          File "/usr/share/pyshared/werkzeug/wsgi.py", line 406, in __call__
            return self.app(environ, start_response)
          File "/usr/share/pyshared/MoinMoin/wsgiapp.py", line 282, in __call__
            response = run(context)
          File "/usr/share/pyshared/MoinMoin/wsgiapp.py", line 88, in run
            response = dispatch(request, context, action_name)
          File "/usr/share/pyshared/MoinMoin/wsgiapp.py", line 136, in dispatch
            response = handle_action(context, pagename, action_name)
          File "/usr/share/pyshared/MoinMoin/wsgiapp.py", line 195, in 
handle_action
            handler(context.page.page_name, context)
          File "/usr/share/pyshared/MoinMoin/action/__init__.py", line 268, in 
do_show
            content_only=content_only,
          File "/usr/share/pyshared/MoinMoin/Page.py", line 1198, in send_page
            start_line=pi['lines'])
          File "/usr/share/pyshared/MoinMoin/Page.py", line 1292, in 
send_page_content
            self.execute(request, parser, code)
          File "/usr/share/pyshared/MoinMoin/Page.py", line 1323, in execute
            exec code
          File "DebianKernel", line 2, in <module>
            
        TypeError: 'dict' object is not callable

When I call my script above like so:

        $ python2.6 bin/braindump 

it still works fine.

Best regards
Uwe

-- System Information:
Debian Release: 6.0.3
  APT prefers stable-updates
  APT policy: (900, 'stable-updates'), (900, 'proposed-updates'), (900, 
'stable'), (800, 'testing-proposed-updates'), (800, 'testing'), (700, 
'unstable'), (600, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-moinmoin depends on:
ii  python                  2.7.2-7          interactive high-level object-orie
ii  python-parsedatetime    0.8.7-3          Python module to parse human-reada
ii  python-pygments         1.3.1+dfsg-1     syntax highlighting package writte
ii  python-recaptcha        1.0.5-1+squeeze1 client library for reCAPTCHA and M
ii  python-werkzeug         0.6.2-1          collection of utilities for WSGI a
ii  python2.6               2.6.7-3          An interactive high-level object-o
ii  python2.7               2.7.2-5          An interactive high-level object-o

Versions of packages python-moinmoin recommends:
ii  apache2-mpm-worker [ht 2.2.16-6+squeeze4 Apache HTTP Server - high speed th
ii  exim4-daemon-light [ma 4.72-6+squeeze2   lightweight Exim MTA (v4) daemon
ii  fckeditor              1:2.6.6-1         rich text format javascript web ed
ii  python-xapian          1.2.7-1           Xapian search engine interface for
ii  python-xappy           0.5-4             easy-to-use interface to the Xapia

Versions of packages python-moinmoin suggests:
pn  antiword                      <none>     (no description available)
pn  catdoc                        <none>     (no description available)
pn  cifs-utils                    <none>     (no description available)
pn  docbook-dsssl                 <none>     (no description available)
pn  miscfiles | wordlist          <none>     (no description available)
ii  poppler-utils [xpdf-utils]    0.12.4-1.2 PDF utilitites (based on libpopple
pn  python-4suite-xml             <none>     (no description available)
ii  python-docutils               0.7-2      utilities for the documentation of
pn  python-flup                   <none>     (no description available)
pn  python-gdchart                <none>     (no description available)
pn  python-ldap                   <none>     (no description available)
pn  python-mysqldb                <none>     (no description available)
pn  python-openid                 <none>     (no description available)
pn  python-pyxmpp                 <none>     (no description available)
pn  python-tz                     <none>     (no description available)
pn  python-xml                    <none>     (no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to