You are here

XML export

Jasper,

Just dowloaded the 5.7 and tried to export a model in XML

Did not work here is the report

 

 

invalid command name "::http::geturl"
invalid command name "::http::geturl"
    while executing
"::http::geturl $url -type $content_type -binary true  -headers $headers -query $body"
    (procedure "TradeXML" line 50)
    invoked from within
"TradeXML $win 1"
    (procedure "DoLocalCmd" line 22)
    invoked from within
"DoLocalCmd $window $item"
    (procedure "MenuSelect" line 4)
    invoked from within
"MenuSelect .mswindow00001.canvas local export_xml"
    (menu invoke)
 

Reporter: 
rboumans
Created: 
Tue, 05/10/2010 - 22:44
Updated: 
Wed, 22/06/2011 - 22:46

Comments

Hi. There was a problem with internet access in the Windows version, due to a change in the toolchain on which Simile was built. I have now uploaded a patched release in which this is fixed (p3). Please uninstall Simile, repeat the download process and reinstall it. XML export should then be functional.

 

A little update on my experimentation on how to translatate Simile files into XML.

Just downloaded the latest version and tried it (as you suggested).
This produced the following error message:

"The Webflow service failed to convert this file between an XML model description and a set of Prolog-format model declarations. Please try using the service via your browser to see a full error diagnosis."

So I went to the webflow page at

http://webflow.simileweb.com/

Saved a model in prolog (export to .pl) and tried the pl_to_xml option.

This produced the following error:

Exception at /processes/pl_to_xml/

Failed to parse prolog for file: /home/www-data/tmp/8716_XMLtest.pl

*** parse error at character 1748 (line 15, column 191) in /home/www-data/tmp/8716_XMLtest.pl

Request Method: POST
Request URL: http://webflow.simileweb.com/processes/pl_to_xml/
Django Version: 1.2 beta 1 SVN-12600
Exception Type: Exception
Exception Value:

Failed to parse prolog for file: /home/www-data/tmp/8716_XMLtest.pl

*** parse error at character 1748 (line 15, column 191) in /home/www-data/tmp/8716_XMLtest.pl

Exception Location: /home/robert/pythonpath/webflow_tools/xsugar.py in pl_to_xml, line 25
Python Executable: /usr/bin/python
Python Version: 2.6.4
Python Path: ['/usr/lib/python2.6', '/usr/lib/python2.6/plat-linux2', '/usr/lib/python2.6/lib-tk', '/usr/lib/python2.6/lib-old', '/usr/lib/python2.6/lib-dynload', '/usr/lib/python2.6/dist-packages', '/usr/lib/python2.6/dist-packages/PIL', '/usr/lib/pymodules/python2.6', '/usr/lib/pymodules/python2.6/gtk-2.0', '/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode', '/usr/local/lib/python2.6/dist-packages', '/home/robert/pythonpath', '/home/robert/subversion/django-trunk/django']
Server time: Tue, 26 Oct 2010 14:59:49 +0000

Not sure what this all means.  Any insight on how I am to proceed?

Roel