PDA

View Full Version : [ubuntu] [SOLVED] Help a n00b please - PyXML



hayden92
July 8th, 2008, 06:49 AM
Hello all,

I wasn't sure whether this was the right place for my thread, but here goes...

I have been using the game xmoto for ages and it's really good fun. Recently I installed inkscape so that I could make my own levels. The install went fine and I have the xmoto option in 'Effects'.

The trouble is:
When I either try to convert objects to entities, set object properties, play the level in xmoto I get the following message:

"Inkscape has received additional data from the script executed. The script did not return an error, but this may indicate the results will not be as expected."
"The inkex.py module requires PyXML. Please download the latest version from <http://pyxml.sourceforge.net/>."

I tried to install PyXML, but I'm not sure where to put the source code really. I tried to compile it by using the commands they suggested on the site e.g: 'python setup.py build' to no avail. I get the message:

extensions/pyexpat.c:512: error: ‘xmlparseobject’ has no member named ‘buffer_used’
extensions/pyexpat.c: In function ‘my_StartElementHandler’:
extensions/pyexpat.c:524: error: ‘PyObject’ undeclared (first use in this function)
extensions/pyexpat.c:524: error: ‘container’ undeclared (first use in this function)
extensions/pyexpat.c:524: error: ‘rv’ undeclared (first use in this function)
extensions/pyexpat.c:524: warning: left-hand operand of comma expression has no effect
extensions/pyexpat.c:524: error: ‘args’ undeclared (first use in this function)
extensions/pyexpat.c:524: warning: left-hand operand of comma expression has no effect
extensions/pyexpat.c:532: error: ‘xmlparseobject’ has no member named ‘specified_attributes’
extensions/pyexpat.c:533: error: ‘xmlparseobject’ has no member named ‘itself’
extensions/pyexpat.c:541: error: ‘xmlparseobject’ has no member named ‘ordered_attributes’
extensions/pyexpat.c:542: warning: implicit declaration of function ‘PyList_New’
extensions/pyexpat.c:544: warning: implicit declaration of function ‘PyDict_New’
extensions/pyexpat.c:550: error: ‘n’ undeclared (first use in this function)
extensions/pyexpat.c:550: warning: implicit declaration of function ‘string_intern’
extensions/pyexpat.c:551: error: ‘v’ undeclared (first use in this function)
extensions/pyexpat.c:557: warning: implicit declaration of function ‘conv_string_to_utf8’
extensions/pyexpat.c:564: error: ‘xmlparseobject’ has no member named ‘ordered_attributes’
extensions/pyexpat.c:565: warning: implicit declaration of function ‘PyList_SET_ITEM’
extensions/pyexpat.c:568: warning: implicit declaration of function ‘PyDict_SetItem’
extensions/pyexpat.c:579: warning: implicit declaration of function ‘Py_BuildValue’
extensions/pyexpat.c:585: error: ‘xmlparseobject’ has no member named ‘in_callback’
extensions/pyexpat.c:587: error: ‘xmlparseobject’ has no member named ‘handlers’
extensions/pyexpat.c:588: error: ‘xmlparseobject’ has no member named ‘in_callback’
extensions/pyexpat.c: In function ‘my_EndElementHandler’:
extensions/pyexpat.c:636: error: ‘PyObject’ undeclared (first use in this function)
extensions/pyexpat.c:636: error: ‘args’ undeclared (first use in this function)
extensions/pyexpat.c:636: error: ‘rv’ undeclared (first use in this function)
extensions/pyexpat.c:636: error: ‘xmlparseobject’ has no member named ‘in_callback’
extensions/pyexpat.c:636: error: ‘xmlparseobject’ has no member named ‘handlers’
extensions/pyexpat.c:636: error: ‘xmlparseobject’ has no member named ‘in_callback’
extensions/pyexpat.c: In function ‘my_ProcessingInstructionHandler’:
extensions/pyexpat.c:640: error: ‘PyObject’ undeclared (first use in this function)
extensions/pyexpat.c:640: error: ‘args’ undeclared (first use in this function)
extensions/pyexpat.c:640: error: ‘rv’ undeclared (first use in this function)
extensions/pyexpat.c:640: error: ‘conv_string_to_utf8’ undeclared (first use in this function)
extensions/pyexpat.c:640: error: ‘xmlparseobject’ has no member named ‘in_callback’
extensions/pyexpat.c:640: error: ‘xmlparseobject’ has no member named ‘handlers’
extensions/pyexpat.c:640: error: ‘xmlparseobject’ has no member named ‘in_callback’
extensions/pyexpat.c: In function ‘my_UnparsedEntityDeclHandler’:
extensions/pyexpat.c:646: error: ‘PyObject’ undeclared (first use in this function)
extensions/pyexpat.c:646: error: ‘args’ undeclared (first use in this function)
extensions/pyexpat.c:646: error: ‘rv’ undeclared (first use in this function)
extensions/pyexpat.c:646: error: ‘xmlparseobject’ has no member named ‘in_callback’
extensions/pyexpat.c:646: error: ‘xmlparseobject’ has no member named ‘handlers’
extensions/pyexpat.c:646: error: ‘xmlparseobject’ has no member named ‘in_callback’
extensions/pyexpat.c: In function ‘my_EntityDeclHandler’:
extensions/pyexpat.c:659: error: ‘PyObject’ undeclared (first use in this function)
extensions/pyexpat.c:659: error: ‘args’ undeclared (first use in this function)
extensions/pyexpat.c:659: error: ‘rv’ undeclared (first use in this function)
extensions/pyexpat.c:659: error: ‘xmlparseobject’ has no member named ‘in_callback’
extensions/pyexpat.c:659: error: ‘xmlparseobject’ has no member named ‘handlers’
extensions/pyexpat.c:659: error: ‘xmlparseobject’ has no member named ‘in_callback’
extensions/pyexpat.c: In function ‘my_XmlDeclHandler’:
extensions/pyexpat.c:696: error: ‘PyObject’ undeclared (first use in this function)
extensions/pyexpat.c:696: error: ‘args’ undeclared (first use in this function)
extensions/pyexpat.c:696: error: ‘rv’ undeclared (first use in this function)
extensions/pyexpat.c:696: error: ‘conv_string_to_utf8’ undeclared (first use in this function)
extensions/pyexpat.c:696: error: ‘xmlparseobject’ has no member named ‘in_callback’
extensions/pyexpat.c:696: error: ‘xmlparseobject’ has no member named ‘handlers’
extensions/pyexpat.c:696: error: ‘xmlparseobject’ has no member named ‘in_callback’
extensions/pyexpat.c: At top level:
extensions/pyexpat.c:705: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
extensions/pyexpat.c: In function ‘my_ElementDeclHandler’:
extensions/pyexpat.c:737: error: ‘PyObject’ undeclared (first use in this function)
extensions/pyexpat.c:737: error: ‘args’ undeclared (first use in this function)
extensions/pyexpat.c:740: error: ‘rv’ undeclared (first use in this function)
extensions/pyexpat.c:741: error: ‘modelobj’ undeclared (first use in this function)
extensions/pyexpat.c:741: error: ‘nameobj’ undeclared (first use in this function)
extensions/pyexpat.c:741: warning: left-hand operand of comma expression has no effect
extensions/pyexpat.c:751: warning: implicit declaration of function ‘conv_content_model’
extensions/pyexpat.c:751: error: ‘conv_string_to_utf8’ undeclared (first use in this function)
extensions/pyexpat.c:769: error: ‘xmlparseobject’ has no member named ‘in_callback’
extensions/pyexpat.c:771: error: ‘xmlparseobject’ has no member named ‘handlers’
extensions/pyexpat.c:772: error: ‘xmlparseobject’ has no member named ‘in_callback’
extensions/pyexpat.c:780: warning: implicit declaration of function ‘Py_XDECREF’
extensions/pyexpat.c:781: error: ‘xmlparseobject’ has no member named ‘itself’
extensions/pyexpat.c: In function ‘my_AttlistDeclHandler’:
extensions/pyexpat.c:785: error: ‘PyObject’ undeclared (first use in this function)
extensions/pyexpat.c:785: error: ‘args’ undeclared (first use in this function)
extensions/pyexpat.c:785: error: ‘rv’ undeclared (first use in this function)
extensions/pyexpat.c:785: error: ‘conv_string_to_utf8’ undeclared (first use in this function)
extensions/pyexpat.c:785: error: ‘xmlparseobject’ has no member named ‘in_callback’
extensions/pyexpat.c:785: error: ‘xmlparseobject’ has no member named ‘handlers’
extensions/pyexpat.c:785: error: ‘xmlparseobject’ has no member named ‘in_callback’
extensions/pyexpat.c: In function ‘my_SkippedEntityHandler’:
extensions/pyexpat.c:798: error: ‘PyObject’ undeclared (first use in this function)
extensions/pyexpat.c:798: error: ‘args’ undeclared (first use in this function)
extensions/pyexpat.c:798: error: ‘rv’ undeclared (first use in this function)
extensions/pyexpat.c:798: error: ‘xmlparseobject’ has no member named ‘in_callback’
extensions/pyexpat.c:798: error: ‘xmlparseobject’ has no member named ‘handlers’
extensions/pyexpat.c:798: error: ‘xmlparseobject’ has no member named ‘in_callback’
extensions/pyexpat.c: In function ‘my_NotationDeclHandler’:
extensions/pyexpat.c:806: error: ‘PyObject’ undeclared (first use in this function)
extensions/pyexpat.c:806: error: ‘args’ undeclared (first use in this function)
extensions/pyexpat.c:806: error: ‘rv’ undeclared (first use in this function)
extensions/pyexpat.c:806: error: ‘xmlparseobject’ has no member named ‘in_callback’
extensions/pyexpat.c:806: error: ‘xmlparseobject’ has no member named ‘handlers’
extensions/pyexpat.c:806: error: ‘xmlparseobject’ has no member named ‘in_callback’
extensions/pyexpat.c: In function ‘my_StartNamespaceDeclHandler’:
extensions/pyexpat.c:816: error: ‘PyObject’ undeclared (first use in this function)
extensions/pyexpat.c:816: error: ‘args’ undeclared (first use in this function)
extensions/pyexpat.c:816: error: ‘rv’ undeclared (first use in this function)
extensions/pyexpat.c:816: error: ‘xmlparseobject’ has no member named ‘in_callback’
extensions/pyexpat.c:816: error: ‘xmlparseobject’ has no member named ‘handlers’
extensions/pyexpat.c:816: error: ‘xmlparseobject’ has no member named ‘in_callback’
extensions/pyexpat.c: In function ‘my_EndNamespaceDeclHandler’:
extensions/pyexpat.c:823: error: ‘PyObject’ undeclared (first use in this function)
extensions/pyexpat.c:823: error: ‘args’ undeclared (first use in this function)
extensions/pyexpat.c:823: error: ‘rv’ undeclared (first use in this function)
extensions/pyexpat.c:823: error: ‘xmlparseobject’ has no member named ‘in_callback’
extensions/pyexpat.c:823: error: ‘xmlparseobject’ has no member named ‘handlers’
extensions/pyexpat.c:823: error: ‘xmlparseobject’ has no member named ‘in_callback’
extensions/pyexpat.c: In function ‘my_CommentHandler’:
extensions/pyexpat.c:828: error: ‘PyObject’ undeclared (first use in this function)
extensions/pyexpat.c:828: error: ‘args’ undeclared (first use in this function)
extensions/pyexpat.c:828: error: ‘rv’ undeclared (first use in this function)
extensions/pyexpat.c:828: error: ‘conv_string_to_utf8’ undeclared (first use in this function)
extensions/pyexpat.c:828: error: ‘xmlparseobject’ has no member named ‘in_callback’
extensions/pyexpat.c:828: error: ‘xmlparseobject’ has no member named ‘handlers’
extensions/pyexpat.c:828: error: ‘xmlparseobject’ has no member named ‘in_callback’
extensions/pyexpat.c: In function ‘my_StartCdataSectionHandler’:
extensions/pyexpat.c:832: error: ‘PyObject’ undeclared (first use in this function)
extensions/pyexpat.c:832: error: ‘args’ undeclared (first use in this function)
extensions/pyexpat.c:832: error: ‘rv’ undeclared (first use in this function)
extensions/pyexpat.c:832: error: ‘xmlparseobject’ has no member named ‘in_callback’
extensions/pyexpat.c:832: error: ‘xmlparseobject’ has no member named ‘handlers’
extensions/pyexpat.c:832: error: ‘xmlparseobject’ has no member named ‘in_callback’
extensions/pyexpat.c: In function ‘my_EndCdataSectionHandler’:
extensions/pyexpat.c:836: error: ‘PyObject’ undeclared (first use in this function)
extensions/pyexpat.c:836: error: ‘args’ undeclared (first use in this function)
extensions/pyexpat.c:836: error: ‘rv’ undeclared (first use in this function)
extensions/pyexpat.c:836: error: ‘xmlparseobject’ has no member named ‘in_callback’
extensions/pyexpat.c:836: error: ‘xmlparseobject’ has no member named ‘handlers’
extensions/pyexpat.c:836: error: ‘xmlparseobject’ has no member named ‘in_callback’
extensions/pyexpat.c: In function ‘my_DefaultHandler’:
extensions/pyexpat.c:841: error: ‘PyObject’ undeclared (first use in this function)
extensions/pyexpat.c:841: error: ‘args’ undeclared (first use in this function)
extensions/pyexpat.c:841: error: ‘rv’ undeclared (first use in this function)
extensions/pyexpat.c:841: error: ‘xmlparseobject’ has no member named ‘in_callback’
extensions/pyexpat.c:841: error: ‘xmlparseobject’ has no member named ‘handlers’
extensions/pyexpat.c:841: error: ‘xmlparseobject’ has no member named ‘in_callback’
extensions/pyexpat.c: In function ‘my_DefaultHandlerExpandHandler’:
extensions/pyexpat.c:845: error: ‘PyObject’ undeclared (first use in this function)
extensions/pyexpat.c:845: error: ‘args’ undeclared (first use in this function)
extensions/pyexpat.c:845: error: ‘rv’ undeclared (first use in this function)
extensions/pyexpat.c:845: error: ‘xmlparseobject’ has no member named ‘in_callback’
extensions/pyexpat.c:845: error: ‘xmlparseobject’ has no member named ‘handlers’
extensions/pyexpat.c:845: error: ‘xmlparseobject’ has no member named ‘in_callback’
extensions/pyexpat.c: In function ‘my_NotStandaloneHandler’:
extensions/pyexpat.c:862: error: ‘PyObject’ undeclared (first use in this function)
extensions/pyexpat.c:862: error: ‘args’ undeclared (first use in this function)
extensions/pyexpat.c:862: error: ‘rv’ undeclared (first use in this function)
extensions/pyexpat.c:862: error: ‘xmlparseobject’ has no member named ‘in_callback’
extensions/pyexpat.c:862: error: ‘xmlparseobject’ has no member named ‘handlers’
extensions/pyexpat.c:862: error: ‘xmlparseobject’ has no member named ‘in_callback’
extensions/pyexpat.c:862: warning: implicit declaration of function ‘PyInt_AsLong’
extensions/pyexpat.c: In function ‘my_ExternalEntityRefHandler’:
extensions/pyexpat.c:866: error: ‘PyObject’ undeclared (first use in this function)
extensions/pyexpat.c:866: error: ‘args’ undeclared (first use in this function)
extensions/pyexpat.c:866: error: ‘rv’ undeclared (first use in this function)
extensions/pyexpat.c:866: error: ‘conv_string_to_utf8’ undeclared (first use in this function)
extensions/pyexpat.c:866: error: ‘xmlparseobject’ has no member named ‘in_callback’
extensions/pyexpat.c:866: error: ‘xmlparseobject’ has no member named ‘handlers’
extensions/pyexpat.c:866: error: ‘xmlparseobject’ has no member named ‘in_callback’
extensions/pyexpat.c: In function ‘my_StartDoctypeDeclHandler’:
extensions/pyexpat.c:881: error: ‘PyObject’ undeclared (first use in this function)
extensions/pyexpat.c:881: error: ‘args’ undeclared (first use in this function)
extensions/pyexpat.c:881: error: ‘rv’ undeclared (first use in this function)
extensions/pyexpat.c:881: error: ‘xmlparseobject’ has no member named ‘in_callback’
extensions/pyexpat.c:881: error: ‘xmlparseobject’ has no member named ‘handlers’
extensions/pyexpat.c:881: error: ‘xmlparseobject’ has no member named ‘in_callback’
extensions/pyexpat.c: In function ‘my_EndDoctypeDeclHandler’:
extensions/pyexpat.c:889: error: ‘PyObject’ undeclared (first use in this function)
extensions/pyexpat.c:889: error: ‘args’ undeclared (first use in this function)
extensions/pyexpat.c:889: error: ‘rv’ undeclared (first use in this function)
extensions/pyexpat.c:889: error: ‘xmlparseobject’ has no member named ‘in_callback’
extensions/pyexpat.c:889: error: ‘xmlparseobject’ has no member named ‘handlers’
extensions/pyexpat.c:889: error: ‘xmlparseobject’ has no member named ‘in_callback’
extensions/pyexpat.c: At top level:
extensions/pyexpat.c:893: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
extensions/pyexpat.c:912: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
extensions/pyexpat.c:930: error: expected declaration specifiers or ‘...’ before ‘PyObject’
extensions/pyexpat.c: In function ‘readinst’:
extensions/pyexpat.c:932: error: ‘PyObject’ undeclared (first use in this function)
extensions/pyexpat.c:932: error: ‘arg’ undeclared (first use in this function)
extensions/pyexpat.c:933: error: ‘bytes’ undeclared (first use in this function)
extensions/pyexpat.c:934: error: ‘str’ undeclared (first use in this function)
extensions/pyexpat.c:937: warning: implicit declaration of function ‘PyInt_FromLong’
extensions/pyexpat.c:948: warning: implicit declaration of function ‘PyObject_CallObject’
extensions/pyexpat.c:948: error: ‘meth’ undeclared (first use in this function)
extensions/pyexpat.c:956: warning: implicit declaration of function ‘PyString_Check’
extensions/pyexpat.c:957: warning: implicit declaration of function ‘PyErr_Format’
extensions/pyexpat.c:957: error: ‘PyExc_TypeError’ undeclared (first use in this function)
extensions/pyexpat.c:962: warning: implicit declaration of function ‘PyString_GET_SIZE’
extensions/pyexpat.c:964: error: ‘PyExc_ValueError’ undeclared (first use in this function)
extensions/pyexpat.c:970: warning: incompatible implicit declaration of built-in function ‘memcpy’
extensions/pyexpat.c:970: warning: implicit declaration of function ‘PyString_AsString’
extensions/pyexpat.c:970: warning: passing argument 2 of ‘memcpy’ makes pointer from integer without a cast
extensions/pyexpat.c: At top level:
extensions/pyexpat.c:981: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
extensions/pyexpat.c:1044: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
extensions/pyexpat.c:1062: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
extensions/pyexpat.c:1077: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
extensions/pyexpat.c:1108: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
extensions/pyexpat.c:1203: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
extensions/pyexpat.c:1223: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
extensions/pyexpat.c:1242: error: array type has incomplete element type
extensions/pyexpat.c:1243: error: ‘PyCFunction’ undeclared here (not in a function)
extensions/pyexpat.c:1243: error: expected ‘}’ before ‘xmlparse_Parse’
extensions/pyexpat.c:1245: error: expected ‘}’ before ‘xmlparse_ParseFile’
extensions/pyexpat.c:1247: error: expected ‘}’ before ‘xmlparse_SetBase’
extensions/pyexpat.c:1249: error: expected ‘}’ before ‘xmlparse_GetBase’
extensions/pyexpat.c:1251: error: expected ‘}’ before ‘xmlparse_ExternalEntityParserCreate’
extensions/pyexpat.c:1253: error: expected ‘}’ before ‘xmlparse_SetParamEntityParsing’
extensions/pyexpat.c:1255: error: expected ‘}’ before ‘xmlparse_GetInputContext’
extensions/pyexpat.c:1258: error: expected ‘}’ before ‘xmlparse_UseForeignDTD’
extensions/pyexpat.c:1320: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
extensions/pyexpat.c: In function ‘xmlparse_dealloc’:
extensions/pyexpat.c:1395: warning: implicit declaration of function ‘PyObject_GC_Fini’
extensions/pyexpat.c:1397: error: ‘xmlparseobject’ has no member named ‘itself’
extensions/pyexpat.c:1398: error: ‘xmlparseobject’ has no member named ‘itself’
extensions/pyexpat.c:1399: error: ‘xmlparseobject’ has no member named ‘itself’
extensions/pyexpat.c:1401: error: ‘xmlparseobject’ has no member named ‘handlers’
extensions/pyexpat.c:1402: error: ‘PyObject’ undeclared (first use in this function)
extensions/pyexpat.c:1402: error: ‘temp’ undeclared (first use in this function)
extensions/pyexpat.c:1404: error: ‘xmlparseobject’ has no member named ‘handlers’
extensions/pyexpat.c:1405: error: ‘xmlparseobject’ has no member named ‘handlers’
extensions/pyexpat.c:1408: error: ‘xmlparseobject’ has no member named ‘handlers’
extensions/pyexpat.c:1409: error: ‘xmlparseobject’ has no member named ‘handlers’
extensions/pyexpat.c:1411: error: ‘xmlparseobject’ has no member named ‘buffer’
extensions/pyexpat.c:1412: error: ‘xmlparseobject’ has no member named ‘buffer’
extensions/pyexpat.c:1413: error: ‘xmlparseobject’ has no member named ‘buffer’
extensions/pyexpat.c:1415: error: ‘xmlparseobject’ has no member named ‘intern’
extensions/pyexpat.c:1418: warning: implicit declaration of function ‘PyObject_Del’
extensions/pyexpat.c: In function ‘handlername2int’:
extensions/pyexpat.c:1430: warning: implicit declaration of function ‘strcmp’
extensions/pyexpat.c: At top level:
extensions/pyexpat.c:1437: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
extensions/pyexpat.c:1445: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
extensions/pyexpat.c:1549: error: expected declaration specifiers or ‘...’ before ‘PyObject’
extensions/pyexpat.c: In function ‘sethandler’:
extensions/pyexpat.c:1554: error: ‘PyObject’ undeclared (first use in this function)
extensions/pyexpat.c:1554: error: ‘temp’ undeclared (first use in this function)
extensions/pyexpat.c:1554: error: ‘xmlparseobject’ has no member named ‘handlers’
extensions/pyexpat.c:1556: error: ‘v’ undeclared (first use in this function)
extensions/pyexpat.c:1556: error: ‘Py_None’ undeclared (first use in this function)
extensions/pyexpat.c:1559: warning: implicit declaration of function ‘Py_INCREF’
extensions/pyexpat.c:1562: error: ‘xmlparseobject’ has no member named ‘handlers’
extensions/pyexpat.c:1564: error: ‘xmlparseobject’ has no member named ‘itself’
extensions/pyexpat.c: At top level:
extensions/pyexpat.c:1571: error: expected declaration specifiers or ‘...’ before ‘PyObject’
extensions/pyexpat.c: In function ‘xmlparse_setattr’:
extensions/pyexpat.c:1574: error: ‘v’ undeclared (first use in this function)
extensions/pyexpat.c:1575: warning: implicit declaration of function ‘PyErr_SetString’
extensions/pyexpat.c:1575: error: ‘PyExc_RuntimeError’ undeclared (first use in this function)
extensions/pyexpat.c:1579: warning: implicit declaration of function ‘PyObject_IsTrue’
extensions/pyexpat.c:1580: error: ‘xmlparseobject’ has no member named ‘buffer’
extensions/pyexpat.c:1581: error: ‘xmlparseobject’ has no member named ‘buffer’
extensions/pyexpat.c:1581: error: ‘xmlparseobject’ has no member named ‘buffer_size’
extensions/pyexpat.c:1582: error: ‘xmlparseobject’ has no member named ‘buffer’
extensions/pyexpat.c:1583: warning: implicit declaration of function ‘PyErr_NoMemory’
extensions/pyexpat.c:1586: error: ‘xmlparseobject’ has no member named ‘buffer_used’
extensions/pyexpat.c:1589: error: ‘xmlparseobject’ has no member named ‘buffer’
extensions/pyexpat.c:1592: error: ‘xmlparseobject’ has no member named ‘buffer’
extensions/pyexpat.c:1593: error: ‘xmlparseobject’ has no member named ‘buffer’
extensions/pyexpat.c:1599: error: ‘xmlparseobject’ has no member named ‘ns_prefixes’
extensions/pyexpat.c:1601: error: ‘xmlparseobject’ has no member named ‘ns_prefixes’
extensions/pyexpat.c:1602: error: ‘xmlparseobject’ has no member named ‘itself’
extensions/pyexpat.c:1602: error: ‘xmlparseobject’ has no member named ‘ns_prefixes’
extensions/pyexpat.c:1607: error: ‘xmlparseobject’ has no member named ‘ordered_attributes’
extensions/pyexpat.c:1609: error: ‘xmlparseobject’ has no member named ‘ordered_attributes’
extensions/pyexpat.c:1615: error: ‘PyExc_ValueError’ undeclared (first use in this function)
extensions/pyexpat.c:1623: error: ‘xmlparseobject’ has no member named ‘returns_unicode’
extensions/pyexpat.c:1628: error: ‘xmlparseobject’ has no member named ‘specified_attributes’
extensions/pyexpat.c:1630: error: ‘xmlparseobject’ has no member named ‘specified_attributes’
extensions/pyexpat.c:1642: error: too many arguments to function ‘sethandler’
extensions/pyexpat.c:1645: error: ‘PyExc_AttributeError’ undeclared (first use in this function)
extensions/pyexpat.c: At top level:
extensions/pyexpat.c:1676: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Xmlparsetype’
extensions/pyexpat.c:1719: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
extensions/pyexpat.c:1766: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
extensions/pyexpat.c:1778: error: array type has incomplete element type
extensions/pyexpat.c:1779: error: expected ‘}’ before ‘pyexpat_ParserCreate’
extensions/pyexpat.c:1781: error: expected ‘}’ before ‘pyexpat_ErrorString’
extensions/pyexpat.c:1797: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
extensions/pyexpat.c: In function ‘initpyexpat’:
extensions/pyexpat.c:1835: error: ‘PyObject’ undeclared (first use in this function)
extensions/pyexpat.c:1835: error: ‘m’ undeclared (first use in this function)
extensions/pyexpat.c:1835: error: ‘d’ undeclared (first use in this function)
extensions/pyexpat.c:1835: warning: left-hand operand of comma expression has no effect
extensions/pyexpat.c:1836: error: ‘errmod_name’ undeclared (first use in this function)
extensions/pyexpat.c:1836: warning: implicit declaration of function ‘PyString_FromString’
extensions/pyexpat.c:1837: error: ‘errors_module’ undeclared (first use in this function)
extensions/pyexpat.c:1838: error: ‘modelmod_name’ undeclared (first use in this function)
extensions/pyexpat.c:1839: error: ‘model_module’ undeclared (first use in this function)
extensions/pyexpat.c:1840: error: ‘sys_modules’ undeclared (first use in this function)
extensions/pyexpat.c:1848: error: ‘Xmlparsetype’ undeclared (first use in this function)
extensions/pyexpat.c:1848: error: ‘PyType_Type’ undeclared (first use in this function)
extensions/pyexpat.c:1851: warning: implicit declaration of function ‘Py_InitModule3’
extensions/pyexpat.c:1855: error: ‘ErrorObject’ undeclared (first use in this function)
extensions/pyexpat.c:1856: warning: implicit declaration of function ‘PyErr_NewException’
extensions/pyexpat.c:1862: warning: implicit declaration of function ‘PyModule_AddObject’
extensions/pyexpat.c:1866: error: expected expression before ‘)’ token
extensions/pyexpat.c:1868: warning: implicit declaration of function ‘get_version_string’
extensions/pyexpat.c:1869: warning: implicit declaration of function ‘PyModule_AddStringConstant’
extensions/pyexpat.c:1889: warning: implicit declaration of function ‘PySys_GetObject’
extensions/pyexpat.c:1890: warning: implicit declaration of function ‘PyModule_GetDict’
extensions/pyexpat.c:1891: warning: implicit declaration of function ‘PyDict_GetItem’
extensions/pyexpat.c:1893: warning: implicit declaration of function ‘PyModule_New’
extensions/pyexpat.c:1918: error: ‘list’ undeclared (first use in this function)
extensions/pyexpat.c:1921: warning: implicit declaration of function ‘PyErr_Clear’
extensions/pyexpat.c:1926: error: ‘item’ undeclared (first use in this function)
extensions/pyexpat.c:1933: warning: implicit declaration of function ‘PyList_Append’
extensions/pyexpat.c:1996: warning: implicit declaration of function ‘PyModule_AddIntConstant’
extensions/pyexpat.c: In function ‘clear_handlers’:
extensions/pyexpat.c:2023: error: ‘PyObject’ undeclared (first use in this function)
extensions/pyexpat.c:2023: error: ‘temp’ undeclared (first use in this function)
extensions/pyexpat.c:2027: error: ‘xmlparseobject’ has no member named ‘handlers’
extensions/pyexpat.c:2029: error: ‘xmlparseobject’ has no member named ‘handlers’
extensions/pyexpat.c:2030: error: ‘xmlparseobject’ has no member named ‘handlers’
extensions/pyexpat.c:2032: error: ‘xmlparseobject’ has no member named ‘itself’
error: command 'gcc' failed with exit status 1
hayden@hayden-desktop:~/inksmoto-0.4.1$

I don't know whether that helps.
Please, help me out if you can.

(I also included a screenshot, if that helps)

DezSP
July 8th, 2008, 01:41 PM
PyXML is in the repository:

sudo apt-get install python-xml

hayden92
July 9th, 2008, 01:16 AM
Thanks for the reply, but I installed python-xml when I installed inkscape. When I tried that command again it says, 'python-xml is already the latest version'

Any way to re-install?

EDIT: Tried that using synaptic, it didn't help. Any other suggestions

DezSP
July 9th, 2008, 09:54 AM
Try installing python-lxml and python-numpy. Some sort of bug (https://bugs.launchpad.net/inkscape/+bug/168744), apparently...

hayden92
July 10th, 2008, 03:08 AM
Thank you so much! That did the trick.
Xmoto, here I come!