| Jon-Pierre Gentil 
    jgentil at sebistar.net Wed Oct 27 14:02:51 EDT 2004 
 -----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160
I get the following error when trying to use an instance of a callable
object instead of a function for the "functions" in Publisher.
Mod_python error: "PythonHandler mod_python.publisher"
Traceback (most recent call last):
  File "/usr/lib/python2.3/site-packages/mod_python/apache.py", line
299, in HandlerDispatch
    result = object(req)
  File "/usr/lib/python2.3/site-packages/mod_python/publisher.py",
line 136, in handler
    result = util.apply_fs_data(object, req.form, req=req)
  File "/usr/lib/python2.3/site-packages/mod_python/util.py", line
356, in apply_fs_data
    if not (fc.co_flags & 0x08):
UnboundLocalError: local variable 'fc' referenced before assignment
It appears taht apply_fs_data never expects for the object that is
passed to be a callable object instead of a function.
Any ideas on what to do?
Thanks!!!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
iEYEAREDAAYFAkF/4ssACgkQOrVFmaIbww6HhQCgkP1m7Nx0GK0e7IHezuuVV1Ah
sygAniQ5j89jnW7JkzvCikqovuGDDrZM
=a+ph
-----END PGP SIGNATURE-----
 |