Hi Noel, Replies in line below:
On 22 June 2012 09:30, Noel Milton Vega <nmv...@computingarchitects.com> wrote: > (1) I was surprised that that base64 line worked at all (even in Python 2) > since I always thought use of "b" only worked for string literals > (not generated strings). Patch has been applied to trunk which now works for both Python 2 & 3. For more info see: https://issues.apache.org/jira/browse/LIBCLOUD-204 > (2) Not an issue for this specific thread, but even when I hard-coded > my auth string (just to get past the Python-3 related auth issue), sadly > another unrelated (xml parsing) issue arose almost immediately. > Just as a heads up, it was this: > > > Traceback (most recent call last): > File "/usr/lib64/python3.2/xml/etree/ElementTree.py", line 1668, in feed > self._parser.Parse(data, 0) > xml.parsers.expat.ExpatError: not well-formed (invalid token): line 1, column > 1 > > (So I never got my list_images() output.) > > (3) Similar to the last point, python-2 gets much further along, but also > eventually experiences an parse-related exception too (as it's > iterating through the list the of images too I believe). Again, as a > heads-up fyi: > > > File "/usr/lib/python2.7/site-packages/libcloud/common/base.py", line 76, > in __init__ > raise Exception(self.parse_error()) > Exception: <Element '{http://www.w3.org/1999/xhtml}html' at 0x118dd10> Hard to say what the issue could be for these two. Could you post the debugging output for these two (don't forget to remove the private contents such as base64 encoded auth): http://libcloud.apache.org/docs/debugging.html Note I've only used the vCloud module under Python 2.x at the moment and don't have access to Terremark. We did slightly change the VDC object model when vCloud v1.5 support has been introduced. If this is related to what you see it'd be good to fix it up, otherwise it's something else getting in the way. -- sengork