[Haizea] Developer Docs...
J Arshad
ja at comp.leeds.ac.uk
Mon Jan 5 07:24:05 CST 2009
Thanks!
That worked fine but, just to let you know, the "per-experiment" option
returns the following error for me...:-)
Cheers,
Junaid
haizea-convert-data -t per-experiment -f csv /var/tmp/haizea/results.dat
all-best-effort
Traceback (most recent call last):
File "/home/csunix/ja/bin/haizea-convert-data", line 7, in <module>
c.run()
File "/home/csunix/ja/lib/python/haizea/cli/commands.py", line 294, in
run
print attrs + "," + `(stats.get_besteffort_end() -
stats.starttime).seconds`
AttributeError: 'AccountingData' object has no attribute
'get_besteffort_end'
On Mon, 5 Jan 2009, Borja Sotomayor wrote:
> Hi,
>
>> I have tried the "haizea-convert-data" command after dumping the two files
>> in my haizea source directory but I ran into the following error.
>
> aha, the "per lease" part of haizea-convert-data had not been updated.
> Off the top of my head, I think you can fix this by simply changing this
> line (in commands.py):
>
> print ",".join(attrs + [`lease_id`, `waitingtimes[lease_id].seconds`,
> `slowdowns[lease_id]`])
>
> for this one:
>
> print ",".join([attrs, `lease_id`, `waitingtimes[lease_id].seconds`,
> `slowdowns[lease_id]`])
>
>
> I'll take a closer look in the coming days and commit a fix to SVN.
>
> Cheers!
>
More information about the Haizea
mailing list