[Zope] ZOQL Method 0.3.0 released

Stephan Richter srichter@cbu.edu
Tue, 09 Oct 2001 11:20:17 -0500

>ImportError: No module named Parser
>Looking at the folder called Parser there is no module called Parser, but
>there is one called kjParser.py?
>What am I doing wrong?!

Yes, there is a module called Parser. A folder/directory in Python can act 
as Module. The files in it become sub-modules.

The line is called in ZOQLMethod/__init__.py and is not necessary. Just 
delete it, since it is for debugging purposes only. The other solution 
would be to rewrite the line to do this:

from Products.ZOQLMethod.Parser import Operators, oqlgen, oqlsem, oqlgram

Mmh, maybe I should do that in anyway to save myself some troubles.

But the error is still really weird. Do you have anything special installed?


Stephan Richter
CBU - Physics and Chemistry Student
Web2k - Web Design/Development & Technical Project Management