Hola a tod@s, soy nuevo por aquí asi q aprovecho para saludaros tb.
Tengo un problema con python, y es q no me encuentra los modulos .py q debe ejecutar.
utilizo python 2.6.7, mod_python y pywork.
es una aplicacion sencilla de prueba.
la cuestion es q cuando lanzo el action me muestra el error siguiente (A ver si a algun@ se os ocurre alguna idea de pq puede producirse):
Unable to process action
Unhandled exception in '/pruebas/web/hello.action'
Trace is
Traceback (most recent call last):
File "/usr/local/lib/python2.6/site-packages/pywork/controller.py", line 184, in processRequest
if self.gconf.reload: util.reloadConfiguration(self.gconf, self.gview, self.gaction, req)
File "/usr/local/lib/python2.6/site-packages/pywork/util.py", line 59, in reloadConfiguration
actionconf.loadFromFile( "pywork-map.xml", conf, viewconf.availableViews )
File "/usr/local/lib/python2.6/site-packages/pywork/action.py", line 248, in loadFromFile
a.parseFile( path )
File "/usr/local/lib/python2.6/site-packages/pywork/action.py", line 221, in parseFile
self.__parser.ParseFile( f )
File "/usr/local/lib/python2.6/site-packages/pywork/action.py", line 125, in start_element
self.__loadAction(attrs)
File "/usr/local/lib/python2.6/site-packages/pywork/action.py", line 165, in __loadAction
ad.loadClass()
File "/usr/local/lib/python2.6/site-packages/pywork/descriptor.py", line 15, in loadClass
self.classObject = util.resolveobject( self.moduleName, self.className )
File "/usr/local/lib/python2.6/site-packages/pywork/util.py", line 38, in resolveobject
return getattr( import_module( moduleName ), name )
File "/usr/local/lib/python2.6/site-packages/mod_python/importer.py", line 304, in import_module
return __import__(module_name, {}, {}, ['*'])
ImportError: No module named web.prueba
Agradezco vuestra ayuda de antemano.
Saludos!