[Scribus] problems with scripts, and a fix

Peter Linnell scribusdocs
Sat May 31 06:05:13 CEST 2003


On Fri, 2003-05-30 at 21:59, Randolph Bentson wrote:
> I've been bumping into a problem running scripts with recent versions of
> Scribus.  When I attempt to run a script by "Script > Execute Script", I
> get an error "scribus: Objects/stringobject.c:111: PyString_FromString:
> Assertion `str != ((void *)0)' failed."  I worked around this by placing
> desired scripts in ~/.scribus/scripter.rc and using "Script > Recent Scripts".
> This holds for 0.9.8 and 0.9.10, with Qt 3.1.1.  I don't know what it does
> with Qt-3.2beta as I have only just downloaded that source.

No difference with qt 3.2 beta
> 
> I finally spent some time poking into the scripting code.  Since I don't
> have Qt documents at hand, I've been groping my way in the dark.  I was
> able to find comparable code elsewhere and have developed the following
> change which seems to fix the problem.

http://docs.trolltech.com Qt is really well documented and extensively
cross linked. 

Thanks for the patch. 

Regards,
Peter






More information about the scribus mailing list