All pastes #941660 Raw Edit

Untitled

public text v1 · immutable
·published 2008-03-13 21:22 UTC
rendered paste body
CherryPy 500 error (None)
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/cherrypy/_cphttptools.py", line 121, in _run
    self.main()
  File "/usr/lib/python2.4/site-packages/cherrypy/_cphttptools.py", line 264, in main
    body = page_handler(*virtual_path, **self.params)
  File "<string>", line 3, in default
  File "/usr/lib/python2.4/site-packages/turbogears/controllers.py", line 200, in validate
    return errorhandling.run_with_errors(errors, func, *args, **kw)
  File "/usr/lib/python2.4/site-packages/turbogears/errorhandling.py", line 110, in run_with_errors
    return func(self, *args, **kw)
  File "<string>", line 3, in default
  File "/usr/lib/python2.4/site-packages/turbogears/controllers.py", line 361, in expose
    output = database.run_with_transaction(
  File "<string>", line 5, in run_with_transaction
  File "/usr/lib/python2.4/site-packages/turbogears/database.py", line 405, in sa_rwt
    retval = func(*args, **kw)
  File "<string>", line 5, in _expose
  File "/usr/lib/python2.4/site-packages/turbogears/controllers.py", line 378, in <lambda>
    mapping, fragment, args, kw)))
  File "/usr/lib/python2.4/site-packages/turbogears/controllers.py", line 405, in _execute_func
    output = errorhandling.try_call(func, *args, **kw)
  File "/usr/lib/python2.4/site-packages/turbogears/errorhandling.py", line 72, in try_call
    return func(self, *args, **kw)
  File "/srv/tg/transifex/transifex/module.py", line 723, in default
    return self.preview(name=name, branch=branch, *args, **kw)
  File "<string>", line 3, in preview
  File "/usr/lib/python2.4/site-packages/turbogears/controllers.py", line 157, in validate
    return func(*args, **kw)
  File "<string>", line 3, in preview
  File "/usr/lib/python2.4/site-packages/turbogears/identity/conditions.py", line 242, in require
    return fn(self, *args, **kwargs)
  File "<string>", line 3, in preview
  File "/usr/lib/python2.4/site-packages/turbogears/controllers.py", line 357, in expose
    output = func._expose(func, accept, func._allow_json,
  File "<string>", line 5, in _expose
  File "/usr/lib/python2.4/site-packages/turbogears/controllers.py", line 378, in <lambda>
    mapping, fragment, args, kw)))
  File "/usr/lib/python2.4/site-packages/turbogears/controllers.py", line 405, in _execute_func
    output = errorhandling.try_call(func, *args, **kw)
  File "/usr/lib/python2.4/site-packages/turbogears/errorhandling.py", line 72, in try_call
    return func(self, *args, **kw)
  File "/srv/tg/transifex/transifex/module.py", line 373, in preview
    msgfmt_check(local_file.file)
  File "/srv/tg/transifex/transifex/util.py", line 97, in msgfmt_check
    if run_command({'args': ["msgfmt", "-c", "-"],
  File "/srv/tg/transifex/transifex/util.py", line 139, in run_command
    ret = subprocess.call(command, **command_dict)
  File "/usr/lib64/python2.4/subprocess.py", line 412, in call
    return Popen(*args, **kwargs).wait()
  File "/usr/lib64/python2.4/subprocess.py", line 533, in __init__
    (p2cread, p2cwrite,
  File "/usr/lib64/python2.4/subprocess.py", line 830, in _get_handles
    p2cread = stdin.fileno()
AttributeError: StringIO instance has no attribute 'fileno'