[Zope] testing module
jiri stepan
zope@etnetera.cz
Mon, 28 Jun 1999 11:25:02 +0200
hi all
I'm developing simple Zope product, as is in ProductAPITutorial
described.
I can't test my product using Zope Debuger (ZPublisher.Test), because
the Test module generates an Import Error exception.
I have $PYTHONPATH set on <zope_dir>/lib/python . Is it corect ?
I'm including traceback:
>Traceback (innermost last):
File "/install/Zope-1.10.2-linux2-x86/lib/python/ZPublisher/Test.py",
line 402, in ?
if __name__ == "__main__": main()
File "/install/Zope-1.10.2-linux2-x86/lib/python/ZPublisher/Test.py",
line 211, in main
publish(module,path_info,u=u,p=profile,d=debug,t=timeit,e=env,s=silent)
File "/install/Zope-1.10.2-linux2-x86/lib/python/ZPublisher/Test.py",
line 399, in publish
publish_module(file, environ=env, stdout=stdout)
File
"/install/Zope-1.10.2-linux2-x86/lib/python/ZPublisher/Publish.py", line
877, in publish_module
response = publisher.publish(module_name,after_list,
File
"/install/Zope-1.10.2-linux2-x86/lib/python/ZPublisher/Publish.py", line
325, in publish
(bobo_before, bobo_after, request_params,
File
"/install/Zope-1.10.2-linux2-x86/lib/python/ZPublisher/Publish.py", line
616, in get_module_info
module=__import__(module_name, globals(), globals(), ('__doc__',))
ImportError: (<class exceptions.ImportError at 80b3658>, 'No module
named py')
Thaks for every answer
Jiri Stepan
(zope@etnetera.cz)