Amara (XML) problem on Solaris

Doru-Catalin Togea doru-cat at
Wed Dec 14 12:13:04 CET 2005

On Wed, 14 Dec 2005, Alan Franzoni wrote:

> Also, are you sure the code is correct? I've taken a peek at the Amara's
> website, and the create_document() function seems to lie within the
> binderytools module. I think the line should look like:
> depending on the way you imported the module, but your previous code, if
> really working on Windows, makes me think you did something like:
> import amara.binderytools as amara
> or something like that?
> Please post some more code, if you can.

This is a simple test:

import amara

doc = amara.create_document()

print "OK"

On Windows XP Pro it runs like this:



On Solaris it runs like this:

bash-2.03$ python
Traceback (most recent call last):
   File "", line 3, in ?
     doc = amara.create_document()
AttributeError: 'module' object has no attribute 'create_document'



         <<<< ================================== >>>>
         <<     We are what we repeatedly do.      >>
         <<  Excellence, therefore, is not an act  >>
         <<             but a habit.               >>
         <<<< ================================== >>>>

More information about the Python-list mailing list