[scribus] How to debug my Scribus scripts ?

Gregory Pittman gpittman at iglou.com
Sat Feb 8 12:41:00 UTC 2014


There is a console of sorts in Scribus, but I don't use it.
A good starting point I think is to play with some small scripts to modify their behavior from what you find in the wiki.
When you're running a script in Scribus, 'print' goes nowhere.
What I typically do if I need such output while debugging is to create a messageBox showing what I need to see.

Don't hesitate to come to the list with questions if you get stuck.

Greg

On February 8, 2014 4:19:46 AM EST, Stephane Santon <m.scribus at santonum.eu> wrote:
>Hello,
>
>I'm a beginner in Scribus scripts, a good way to discover Python.
>(I programmed some various object languages before, so just have to 
>learn a new syntax).
>
>I try to customize this script to get automation in my album :
>http://wiki.scribus.net/canvas/Making_a_photobook_from_a_directory_of_images_using_a_script
>
>So, a beginner's question : How to debug my Scribus scripts ?
>- How to write into the console from my script ?
>- Where does 'print' command write ?
>
>Thanks
>
>
>-- 
>Stephane Santon
>Saintes, La Rochelle, Bordeaux, Cognac - France
>
>___
>Scribus Mailing List: scribus at lists.scribus.net
>Edit your options or unsubscribe:
>http://lists.scribus.net/mailman/listinfo/scribus
>See also:
>http://wiki.scribus.net
>http://forums.scribus.net

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scribus.net/pipermail/scribus/attachments/20140208/327ac7ab/attachment.html>


More information about the scribus mailing list