467,143 Members | 1,230 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,143 developers. It's quick & easy.

AttributeError: cannot find method in module?

I have tried and tried, but cannot figure out the source of the
following error:

AttributeError: 'module' object has no attribute 'menyHMTL'
__doc__ = 'Attribute not found.'
__getitem__ = <bound method AttributeError.__getitem__ of
<exceptions.AttributeError instance at 0x8187984>>
__init__ = <bound method AttributeError.__init__ of
<exceptions.AttributeError instance at 0x8187984>>
__module__ = 'exceptions'
__str__ = <bound method AttributeError.__str__ of
<exceptions.AttributeError instance at 0x8187984>>
args = ("'module' object has no attribute 'menyHMTL'",)

Some more information:
'menyHTML' is a function in a module named 'menymodul' which imports
all fine. There is no other file named menymodul, and no variable
named menymodul - so the naming should not be disturbed.

Importing menymodul and using the function works fine from another
module, just not from this one.

What is it that I am not getting here?
How can this be solved?

Erlend
Jul 18 '05 #1
  • viewed: 1722
Share:

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

8 posts views Thread by baustin75@gmail.com | last post: by
3 posts views Thread by David T. Ashley | last post: by
2 posts views Thread by Thomas Guettler | last post: by
3 posts views Thread by Juha S. | last post: by
4 posts views Thread by Nikhil | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.