Whilst I have plenty of computing experience, I am a total novice when it comes to Scribus, publishing packages in general, Python, Python scripts, etc so would appreciate some help. I wish to import XML into Scribus.
I have tried to create a Python script "FormatXML", taken from the page
https://wiki.scribus.net/canvas/FormatxmlI copied the complete code in the box headed Source, without any change, into a .txt file using notepad and changed the extension to py. I then tried to execute the script in Scribus but got the following error.
Traceback (most recent call last):
File "<string>", line 8, in <module>
File "C:\XML script\FormatXML.py", line 179, in <module>
main_wrapper()
File "C:\XML script\FormatXML.py", line 165, in main_wrapper
main()
File "C:\XML script\FormatXML.py", line 148, in main
xml_file = getFile("XML File", 'XML (*.xml)')
TypeError: getFile() takes exactly 4 arguments (2 given)
Unfortunately, this means nothing to me. I can only find two references to FormatXML, without the extension .py and cannot find any reference to py
I hope that someone is kind enough to put me out of my misery!
Many thanks
Rob Dixon