• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

portsmon.freebsd.org python error


New Member

Messages: 3


Mod_python error: "PythonHandler dispatchApacheRequest"

Traceback (most recent call last):

  File "/usr/local/lib/python2.7/site-packages/mod_python/apache.py", line 353, in HandlerDispatch

  File "/usr/local/lib/python2.7/site-packages/mod_python/apache.py", line 637, in import_module
   module = imp.load_module(mname, f, p, d)

  File "/home/linimon/src/dispatchApacheRequest.py", line 17, in <module>
   import postportoverview

  File "/home/linimon/src/postportoverview.py", line 23, in <module>
   import portsPRsReportsUtils

  File "/home/linimon/src/portsPRsReportsUtils.py", line 20, in <module>
   import prQueryUtils

  File "/home/linimon/src/prQueryUtils.py", line 14, in <module>
   import bugzillaQueryUtils    # XXX MCL HACK for refactoring

  File "/home/linimon/src/bugzillaQueryUtils.py", line 13, in <module>
   import bugzillaCommandExtended

  File "/home/linimon/src/bugzillaCommandExtended.py", line 20, in <module>
   import argparse

  File "/usr/local/lib/python2.7/argparse.py", line 86, in <module>
   import copy as _copy

  File "/usr/local/lib/python2.7/copy.py", line 52, in <module>
   import weakref

  File "/usr/local/lib/python2.7/weakref.py", line 14, in <module>
   from _weakref import (

ImportError: cannot import name _remove_dead_weakref