From: Eugene K. <ek...@sl...> - 2003-06-13 19:14:11
|
Haejoong Lee wrote: > > > That will be definitely helpful. Please give us more information. When I run TableTrans.py, I go to the menu and select : File | Open Annotation File | Open Annotation File in XML In the file chooser dialog I choose : demo1.xml I then get a popup window that says : Error: 1 AttributeError Exception in Tk callback Function: <bound method agTableTrans.bindOpenAnnotationFileInXML of <agtk.agTableTrans.agTableTrans instance at 0x2a2930>> (type: <type 'instance method'>) Args: () Traceback (innermost last): File "/usr/local/python-2.2.2/lib/site-python/Pmw/Pmw_1_1/lib/PmwBase.py", line 1735, in __call__ return apply(self.func, args) File "./agtk/agTableTrans.py", line 776, in bindOpenAnnotationFileInXML self.loadAnnotationFileInXML(file.name) File "./agtk/agTableTrans.py", line 889, in loadAnnotationFileInXML except ag.AGWError, err: AttributeError: 'module' object has no attribute 'AGWError' Also, in the console from which I started TableTrans.py I get this message : agf:Colons are not allowed in this name when namespaces are enabled I'm using xercesc2_2, and I configured aglib with the following configure line : ./configure --disable-python-pkgdir --disable-ag_tcl --enable-ag_python --prefix=/home/ekoontz/install-solaris --enable-aif --with-xercesc_include=/usr/local/include/xercesc (I set --disable-python-pkgdir so that the python libraries would be installed in my --prefix rather than in /usr/local/lib/python. I have the following environment variables set : LD_LIBRARY_PATH=/home/ekoontz/install-solaris/lib:/usr/local/lib PYTHONPATH=/home/ekoontz/install-solaris/lib/ag_wrapper/python My /home/ekoontz/install-solaris/lib directory looks like : /home/ekoontz/install-solaris/lib/libag.so.1.0.0 /home/ekoontz/install-solaris/lib/libag.so.1 /home/ekoontz/install-solaris/lib/libag.so /home/ekoontz/install-solaris/lib/libag.la /home/ekoontz/install-solaris/lib/libag.a /home/ekoontz/install-solaris/lib/ag_wrapper /home/ekoontz/install-solaris/lib/ag_wrapper/python /home/ekoontz/install-solaris/lib/ag_wrapper/python/ag.so.1.0.0 /home/ekoontz/install-solaris/lib/ag_wrapper/python/ag.so.1 /home/ekoontz/install-solaris/lib/ag_wrapper/python/ag.so /home/ekoontz/install-solaris/lib/ag_wrapper/python/ag.la /home/ekoontz/install-solaris/lib/ag_wrapper/python/ag.a I am also trying to figure out what's going on with aglib-1.1/demo/AIF_test . When I run that I get : agf:Colons are not allowed in this name when namespaces are enabled Abort (core dumped) If I can find the reason why this is crashing, I'll post that as well. |