[SOLVED] Unable to Save .sla file using Python Script

Previous topic - Next topic

abi

Hi,

I needed a little help as we are new to Scribus environment - we have written a scripts using Python where we have created custom menu items like New, Open, Save etc and then each menu item has a different function - New will read an XML and navigate different paths in a hierarchy and so on.

Using "New" menu- I want to create a new .sla file and store in a custom folder. I am able to create a new folder but unable to save the .sla file

Let me know what code or information you need to help me with the above issues

Will appreciate help for resolving this

Thank you

a.l.e

Hi abi

Can you post the relevant lines of code?

I wonder a bit, how this kind of issue can arise...

A wrong path somewhere?

abi

Hi,

The issue got resolved - actually we had to save the file name as todays date and the format was giving an error, but its done now. Thanks for getting back

Regards