Amara (XML) problem on Solaris
uche.ogbuji at gmail.com
uche.ogbuji at gmail.com
Mon Jan 2 01:23:46 EST 2006
Doru-Catalin Togea wrote:
> import amara
>
> doc = amara.create_document()
> doc.xml_append(doc.xml_create_element(u"units"))
>
> print "OK"
>
> On Windows XP Pro it runs like this:
>
> C:\owera\test\xaps2-test>python amara-test1.py
> OK
>
> C:\owera\test\xaps2-test>
>
> On Solaris it runs like this:
>
> bash-2.03$ python amara-test1.py
> Traceback (most recent call last):
> File "amara-test1.py", line 3, in ?
> doc = amara.create_document()
> AttributeError: 'module' object has no attribute 'create_document'
> bash-2.03$
This came up when I was on vacation and incommunicado. What version of
Amara are you using on both platforms? How did you install them?
Thanks.
--
Uche Ogbuji Fourthought, Inc.
http://uche.ogbuji.net http://fourthought.com
http://copia.ogbuji.net http://4Suite.org
Articles: http://uche.ogbuji.net/tech/publications/
More information about the Python-list
mailing list