[scribus] startup script problems

Albert Dengg albert at fsfe.org
Thu May 12 15:54:19 UTC 2011


hi,

i have a (small?) problem:
for a project of mine i'm trying to do some automatic processing with scribus,
and because i did not find a better way yet, i try to do the following:
* start scribus with a custom preferences file witch includes a startup script
* in the startup script, wait for the main window to apaer because some commands
	from the scribus package (for example newDocument do not seem to like
	beeing called before that)
* to the processing
* quit scribus from the script

while beeing a bit dirty because i have to start the gui even though nobody
will use it, this workflow should work, but for some reason i can't get
the code from the from samples/startup_hook.py to run with scribus 1.4.0 rc3
(debian unstable). i also tried to use PyQt4 instead of 3 since scribus 1.4 is 
qt4 based as i looks like.

from what i see from debugging, the eventhandler gets registred correctly,
but i never get the callback.

can anybody please point me in the right direction on how to wait for the
application startup to finish?

thx

yours,

albert

ps: i now python treading is not a good idea in scribus as documented,
but it seems the multiprocessing modules is not such a good idea either,
as i get lock ups and crashes...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.scribus.net/pipermail/scribus/attachments/20110512/4681f0e2/attachment.bin>


More information about the scribus mailing list