[arsenalsuite] pyassburner_1_3, job number in python

11 views
Skip to first unread message

Zsolt Czigléczki

unread,
Mar 2, 2011, 12:33:54 PM3/2/11
to arsena...@googlegroups.com
Hello All,

How do I compile assburner for python? pyassburner_1_3 target leaves
me with "libAssburner.a".

With jobType "Batch" cmd "somescript.py" passSlaveFramesAsParam "1", I
can see the frames as arguments in the "somescript.py". Is there an
easy way to get the job number somehow? Or maybe with using an other
JobType?

Thank you in advance,
Zsolt


__________ Information from ESET Mail Security, version of virus signature database 5920 (20110302) __________

The message was checked by ESET Mail Security.
http://www.eset.com


Barry Robison

unread,
Mar 3, 2011, 4:42:26 PM3/3/11
to arsena...@googlegroups.com, Zsolt Czigléczki
On Thu, Mar 3, 2011 at 4:33 AM, Zsolt Czigléczki <zsczig...@fotokem.hu> wrote:

How do I compile assburner for python? pyassburner_1_3 target leaves
me with "libAssburner.a".

With jobType "Batch" cmd "somescript.py" passSlaveFramesAsParam "1", I
can see the frames as arguments in the "somescript.py". Is there an
easy way to get the job number somehow? Or maybe with using an other
JobType?


 Hi Zsolt,

In the latest release I've added an environment variable

ARSENAL_JOBKEY

to all jobs that holds the job number. It looks like your not running the latest ( and really probably a bit dangerous to ). You can try patching

env << "ARSENAL_JOBKEY=" + QString::number(mJob.key());

into burner/src/jobburner.cpp, into the line before

mCmd->setEnvironment( env );



As for compiling, it should build it all with

python2.5 build.py clean release install sip:skip pyqt:skip burner pyburner



hth,
-baz

Reply all
Reply to author
Forward
0 new messages