From James.Kanuch at perficient.com Fri Jun 26 20:04:06 2015 From: James.Kanuch at perficient.com (James Kanuch) Date: Fri, 26 Jun 2015 18:04:06 +0000 Subject: [XML-sig] Error returned in installing PyXML-0.8.4 In-Reply-To: References: Message-ID: Hi, hoping if you can help me with this?. I?m trying to instal PyXML-0.8.4, and when I execute the install python setup.py install command, as it is performing the install it is returning what appear to be 2 syntax errors: byte-compiling /usr/lib64/python2.7/site-packages/_xmlplus/xpath/ParsedAbbreviatedAbsoluteLocationPath.py to ParsedAbbreviatedAbsoluteLocationPath.pyc File "/usr/lib64/python2.7/site-packages/_xmlplus/xpath/ParsedAbbreviatedAbsoluteLocationPath.py", line 27 as = ParsedAxisSpecifier.ParsedAxisSpecifier('descendant-or-self') ^ SyntaxError: invalid syntax byte-compiling /usr/lib64/python2.7/site-packages/_xmlplus/xpath/ParsedAbbreviatedRelativeLocationPath.py to ParsedAbbreviatedRelativeLocationPath.pyc File "/usr/lib64/python2.7/site-packages/_xmlplus/xpath/ParsedAbbreviatedRelativeLocationPath.py", line 31 as = ParsedAxisSpecifier.ParsedAxisSpecifier('descendant-or-self') ^ SyntaxError: invalid syntax The identifying ?^? symbols seem to have migrated as I was copy-pasting these into my email; in the received error statement they are aligned with the closing ?)? on the ?as=ParsedAxis?.? line. Thanks for any help you can provide! Thanks, Jay Jay Kanuch, Senior Solutions Architect o: 248-464-1288 m: 248-464-1288 | NASDAQ: PRFT | Perficient.com [cid:C5956956-C9AB-496A-94F3-218439CB8619] [cid:D69B69B2-3A0B-4959-AD00-43CAD7D3C753] [cid:0189E042-018B-4622-8CBA-9E2C6E10F22D] [cid:40E2952F-F5C9-4473-9B5A-197E6ED92A45] [cid:4FF5E978-BB46-4ECF-B4BF-AA50DE9FC42F] [cid:1CD3D749-8E6B-468C-9351-6CE1D98CA4C2] -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 7DFBD825-A909-45EA-B286-0DA3CADE27F9.png Type: image/png Size: 11039 bytes Desc: 7DFBD825-A909-45EA-B286-0DA3CADE27F9.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: A0EE7BB5-C0C7-4ADE-B1E3-176D0A2D0A1B.png Type: image/png Size: 1770 bytes Desc: A0EE7BB5-C0C7-4ADE-B1E3-176D0A2D0A1B.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 03129411-06AD-4E2C-8493-147D2AE9A2C1.png Type: image/png Size: 1840 bytes Desc: 03129411-06AD-4E2C-8493-147D2AE9A2C1.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 9E90380C-0F6F-499C-A0BD-C9C6A7230C24.png Type: image/png Size: 1895 bytes Desc: 9E90380C-0F6F-499C-A0BD-C9C6A7230C24.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: F3164116-0E3B-491D-9F90-14E1F8EBB225.png Type: image/png Size: 1759 bytes Desc: F3164116-0E3B-491D-9F90-14E1F8EBB225.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: DF56563F-877A-4F13-A245-F8C0C2B55CC2.png Type: image/png Size: 1893 bytes Desc: DF56563F-877A-4F13-A245-F8C0C2B55CC2.png URL: From arcriley at gmail.com Fri Jun 26 20:11:43 2015 From: arcriley at gmail.com (Arc Riley) Date: Fri, 26 Jun 2015 11:11:43 -0700 Subject: [XML-sig] Error returned in installing PyXML-0.8.4 In-Reply-To: References: Message-ID: Hey Jay PyXML is bitrotten and obsolete. You'll find the functionality it previously provided is now included in the Python standard library; https://docs.python.org/library/xml.html There are also more robust XML packages available to install; https://pypi.python.org/pypi/lxml https://pypi.python.org/pypi/NodeTree lxml is more mature, nodetree (my own) is faster but still a bit young. On Fri, Jun 26, 2015 at 11:04 AM, James Kanuch wrote: > Hi, hoping if you can help me with this?. I?m trying to instal > PyXML-0.8.4, and when I execute the install python setup.py install > command, as it is performing the install it is returning what appear to be > 2 syntax errors: > > byte-compiling > /usr/lib64/python2.7/site-packages/_xmlplus/xpath/ParsedAbbreviatedAbsoluteLocationPath.py > to ParsedAbbreviatedAbsoluteLocationPath.pyc > File > "/usr/lib64/python2.7/site-packages/_xmlplus/xpath/ParsedAbbreviatedAbsoluteLocationPath.py", > line 27 > as = ParsedAxisSpecifier.ParsedAxisSpecifier('descendant-or-self') > ^ > SyntaxError: invalid syntax > > byte-compiling > /usr/lib64/python2.7/site-packages/_xmlplus/xpath/ParsedAbbreviatedRelativeLocationPath.py > to ParsedAbbreviatedRelativeLocationPath.pyc > File > "/usr/lib64/python2.7/site-packages/_xmlplus/xpath/ParsedAbbreviatedRelativeLocationPath.py", > line 31 > as = ParsedAxisSpecifier.ParsedAxisSpecifier('descendant-or-self') > ^ > SyntaxError: invalid syntax > > The identifying ?^? symbols seem to have migrated as I was > copy-pasting these into my email; in the received error statement they are > aligned with the closing ?)? on the ?as=ParsedAxis?.? line. > > > Thanks for any help you can provide! > > Thanks, > Jay > > *Jay Kanuch*, Senior Solutions Architect > o: 248-464-1288 m: 248-464-1288 | NASDAQ: PRFT |* Perficient.com > * > > > > > > > > > > > > _______________________________________________ > xml-sig mailing list > xml-sig at python.org > https://mail.python.org/mailman/listinfo/xml-sig > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: F3164116-0E3B-491D-9F90-14E1F8EBB225.png Type: image/png Size: 1759 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 9E90380C-0F6F-499C-A0BD-C9C6A7230C24.png Type: image/png Size: 1895 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: A0EE7BB5-C0C7-4ADE-B1E3-176D0A2D0A1B.png Type: image/png Size: 1770 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: DF56563F-877A-4F13-A245-F8C0C2B55CC2.png Type: image/png Size: 1893 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 03129411-06AD-4E2C-8493-147D2AE9A2C1.png Type: image/png Size: 1840 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 7DFBD825-A909-45EA-B286-0DA3CADE27F9.png Type: image/png Size: 11039 bytes Desc: not available URL: From James.Kanuch at perficient.com Fri Jun 26 20:14:34 2015 From: James.Kanuch at perficient.com (James Kanuch) Date: Fri, 26 Jun 2015 18:14:34 +0000 Subject: [XML-sig] Error returned in installing PyXML-0.8.4 In-Reply-To: References: Message-ID: Well, that is interesting. I?m following installation instructions from IBM for a software package with it?s latest release being June 3, 2015, and they are calling specifically for it?. I?ll see about the other packages you list and check with them to see if they can work. Thanks a bunch for the quick response! Jay Kanuch, Senior Solutions Architect o: 248-464-1288 m: 248-464-1288 | NASDAQ: PRFT | Perficient.com From: Arc Riley Date: Friday, June 26, 2015 at 2:11 PM To: Python XML Special Interest Group, Jay Kanuch Subject: Re: [XML-sig] Error returned in installing PyXML-0.8.4 Hey Jay PyXML is bitrotten and obsolete. You'll find the functionality it previously provided is now included in the Python standard library; https://docs.python.org/library/xml.html There are also more robust XML packages available to install; https://pypi.python.org/pypi/lxml https://pypi.python.org/pypi/NodeTree lxml is more mature, nodetree (my own) is faster but still a bit young. On Fri, Jun 26, 2015 at 11:04 AM, James Kanuch > wrote: Hi, hoping if you can help me with this?. I?m trying to instal PyXML-0.8.4, and when I execute the install python setup.py install command, as it is performing the install it is returning what appear to be 2 syntax errors: byte-compiling /usr/lib64/python2.7/site-packages/_xmlplus/xpath/ParsedAbbreviatedAbsoluteLocationPath.py to ParsedAbbreviatedAbsoluteLocationPath.pyc File "/usr/lib64/python2.7/site-packages/_xmlplus/xpath/ParsedAbbreviatedAbsoluteLocationPath.py", line 27 as = ParsedAxisSpecifier.ParsedAxisSpecifier('descendant-or-self') ^ SyntaxError: invalid syntax byte-compiling /usr/lib64/python2.7/site-packages/_xmlplus/xpath/ParsedAbbreviatedRelativeLocationPath.py to ParsedAbbreviatedRelativeLocationPath.pyc File "/usr/lib64/python2.7/site-packages/_xmlplus/xpath/ParsedAbbreviatedRelativeLocationPath.py", line 31 as = ParsedAxisSpecifier.ParsedAxisSpecifier('descendant-or-self') ^ SyntaxError: invalid syntax The identifying ?^? symbols seem to have migrated as I was copy-pasting these into my email; in the received error statement they are aligned with the closing ?)? on the ?as=ParsedAxis?.? line. Thanks for any help you can provide! Thanks, Jay Jay Kanuch, Senior Solutions Architect o: 248-464-1288 m: 248-464-1288 | NASDAQ: PRFT | Perficient.com [cid:C5956956-C9AB-496A-94F3-218439CB8619] [cid:D69B69B2-3A0B-4959-AD00-43CAD7D3C753] [cid:0189E042-018B-4622-8CBA-9E2C6E10F22D] [cid:40E2952F-F5C9-4473-9B5A-197E6ED92A45] [cid:4FF5E978-BB46-4ECF-B4BF-AA50DE9FC42F] [cid:1CD3D749-8E6B-468C-9351-6CE1D98CA4C2] _______________________________________________ xml-sig mailing list xml-sig at python.org https://mail.python.org/mailman/listinfo/xml-sig -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: F3164116-0E3B-491D-9F90-14E1F8EBB225.png Type: image/png Size: 1759 bytes Desc: F3164116-0E3B-491D-9F90-14E1F8EBB225.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 9E90380C-0F6F-499C-A0BD-C9C6A7230C24.png Type: image/png Size: 1895 bytes Desc: 9E90380C-0F6F-499C-A0BD-C9C6A7230C24.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: A0EE7BB5-C0C7-4ADE-B1E3-176D0A2D0A1B.png Type: image/png Size: 1770 bytes Desc: A0EE7BB5-C0C7-4ADE-B1E3-176D0A2D0A1B.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: DF56563F-877A-4F13-A245-F8C0C2B55CC2.png Type: image/png Size: 1893 bytes Desc: DF56563F-877A-4F13-A245-F8C0C2B55CC2.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 03129411-06AD-4E2C-8493-147D2AE9A2C1.png Type: image/png Size: 1840 bytes Desc: 03129411-06AD-4E2C-8493-147D2AE9A2C1.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 7DFBD825-A909-45EA-B286-0DA3CADE27F9.png Type: image/png Size: 11039 bytes Desc: 7DFBD825-A909-45EA-B286-0DA3CADE27F9.png URL: From arcriley at gmail.com Fri Jun 26 20:38:14 2015 From: arcriley at gmail.com (Arc Riley) Date: Fri, 26 Jun 2015 11:38:14 -0700 Subject: [XML-sig] Error returned in installing PyXML-0.8.4 In-Reply-To: References: Message-ID: You might want to check the Python version the package from IBM was designed for. PyXML has been largely obsolete since around Python 2.1 (circa 2001). The last PyXML release was in 2004, and the project page very specifically advertises it as unmaintained, out of date, do not use. Specifically, the "as" keyword has been reserved since Python 2.5 (roughly 10 years ago), which is only one of many things which could cause such an old package to no longer function. There is a slim chance the package from IBM is designed to run on Python 1.5.4 - this should have been clearly stated, and would be shocking to say the least if IBM released it this year. Otherwise, confusing why they would even mention PyXML - its dead code. https://www.youtube.com/watch?v=8ZSBYAYcRNs -------------- next part -------------- An HTML attachment was scrubbed... URL: From James.Kanuch at perficient.com Fri Jun 26 20:51:47 2015 From: James.Kanuch at perficient.com (James Kanuch) Date: Fri, 26 Jun 2015 18:51:47 +0000 Subject: [XML-sig] Error returned in installing PyXML-0.8.4 In-Reply-To: References: Message-ID: Interesting. They specified Python 2.7.1 or later, which is Nov 2010. I installed 2.7.10. Thanks! Jay Kanuch, Senior Solutions Architect o: 248-464-1288 m: 248-464-1288 | NASDAQ: PRFT | Perficient.com From: Arc Riley Date: Friday, June 26, 2015 at 2:38 PM To: Jay Kanuch Cc: Python XML Special Interest Group Subject: Re: [XML-sig] Error returned in installing PyXML-0.8.4 You might want to check the Python version the package from IBM was designed for. PyXML has been largely obsolete since around Python 2.1 (circa 2001). The last PyXML release was in 2004, and the project page very specifically advertises it as unmaintained, out of date, do not use. Specifically, the "as" keyword has been reserved since Python 2.5 (roughly 10 years ago), which is only one of many things which could cause such an old package to no longer function. There is a slim chance the package from IBM is designed to run on Python 1.5.4 - this should have been clearly stated, and would be shocking to say the least if IBM released it this year. Otherwise, confusing why they would even mention PyXML - its dead code. https://www.youtube.com/watch?v=8ZSBYAYcRNs -------------- next part -------------- An HTML attachment was scrubbed... URL: From stefan_ml at behnel.de Sat Jun 27 07:31:26 2015 From: stefan_ml at behnel.de (Stefan Behnel) Date: Sat, 27 Jun 2015 07:31:26 +0200 Subject: [XML-sig] Error returned in installing PyXML-0.8.4 In-Reply-To: References: Message-ID: <558E352E.5020005@behnel.de> James Kanuch schrieb am 26.06.2015 um 20:14: > Well, that is interesting. I?m following installation instructions from > IBM for a software package with it?s latest release being June 3, 2015, > and they are calling specifically for it?. For "PyXML 0.8.4" ? Or just for some "pyxml" package? Check the imports in their Python code for what it actually uses. Maybe they just mixed it up and really meant "lxml" instead, or something from Python's standard library "xml.*" package, or whatever. Or maybe the documentation just wasn't updated during the last 38 releases or so. I'd just try to run their code and see what ImportError it raises. Stefan