[Scribus] Scripter API

Joachim Neu joachim_neu
Tue Dec 25 11:51:22 CET 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Good morning everybody!

Henning Schr??der schrieb:
> Hi!
> 
> On Dec 24, 2007 11:18 PM, Joachim Neu <joachim_neu at web.de> wrote:
>>> Joachmin, have you seen http://wiki.scribus.net/index.php/ScripterNG ?
>>> There was some discussion about the API as well.
>> Yes, I saw it and read almost everything (except "Comparison with
>> Kross", I'll read it if I have time left).
> Actually you cannot design an API without knowing about what is
> possible with the different approaches.
> For example with ScripterNG and Kross (as far as I know) you cannot
> have exceptions. So error handling means
> to rely on functions which return False or None/null.
> Exceptions could be added with an additional wrapper on the Python
> level or perhaps they could be emulated with
> special signals/slots.
> On the other hand binding generators like Swig, Boost and Pyrex do not
> support Qt-signals, -slots and -properties.
Hm. Okay. So I think I'll search some information about this.
> 
> 
>> I tried to integrate your ScripterNG to my SVN-trunk-checkout but it
>> didn't work. I got lots of errors with missing python-.so-files on
>> startup of the plugin, so I gave up after about an hour. Maybe you have
>> some time to help me in the future.
> Yes building is a pain currently :( I still have to learn more about cmake.
> The problem is that the build rules in sciribuspyqt create conflicts
> so I had to compile this directory separately.
> The problem finding files could temporarily be solved by putting the
> .so files in a directory which is $LD_LIBRARY_PATH
> and $PYTHONPATH....
I tried all this but it didn't work. Lets hope someone can help you and
maybe add scripterng to the current svn trunk.
> 
> I really hope to fix this during the following free days. Feedback
> would be welcome.
> 
> 
> Henning
> _______________________________________________
> Scribus mailing list
> Scribus at nashi.altmuehlnet.de
> http://nashi.altmuehlnet.de/mailman/listinfo/scribus
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHcOCq7awBpSuN1JIRAlwJAJ9Pn5TLUXzpAEWP7A+MGVEPjCetKQCgkCg5
gku2SfKKJZPv6KV+C8lzDSc=
=9aF5
-----END PGP SIGNATURE-----
-------------- n?chster Teil --------------
Ein Dateianhang mit Bin???rdaten wurde abgetrennt...
Dateiname   : joachim_neu.vcf
Dateityp    : text/x-vcard
Dateigr??????e  : 216 bytes
Beschreibung: nicht verf???gbar
URL         : http://nashi.altmuehlnet.de/pipermail/scribus/attachments/20071225/7e1ea5fa/attachment.vcf 



More information about the scribus mailing list