|
From: Daniele <d.t...@ic...> - 2003-10-10 08:41:16
|
Dear Mikel,
Mati wrote down (and posted on this very same list!) a patch to the OpenFlow Editor to make it work on windows. Quoting him:
Mati wrote:
> And the other thing - i suggest a small patch for OpenFlowEditor, so it
> works also on windows platform:
>
> plotter.py:
> 43,44c43,44
> < os.system('/usr/bin/dot -T%s -o %s %s' % (format, outfile, infile))
> < out = open(outfile, 'r')
> ---
>
> > os.system('dot -T%s -o %s %s' % (format, outfile, infile))
> > out = open(outfile, 'rb')
>
> Simple as that, dot tool should be in path anyway (in unix too) and without
> 'rb' windows messes up gifs probably because dos line endings :)
I did not apply this patch to the code yet, but I will include it in the next release.
Regards,
Daniele =)
On Friday 10 October 2003 10:19, Mikel Larreategi wrote:
> Hi!
>
> I tried to use OpenFlow Editor (last release downloaded from
> www.openflow.it) but I can't work with it.
>
> I've installed Graphviz in Windows, but I receive Zope Error when I
> try to See the workflow.
>
> In Linux, I install libpng but when I install graphviz RPM, it says
> to install libpng.so.2
>
> Can anyone help?
>
> Thanks
--
Daniele Tarini - Research & Development - Icube S.r.l.
Address: Via Ridolfi 15 - 56124 Pisa (PI), Italy
E-mail: d.t...@ic... Web: http://www.icube.it
Phone: (+39) 050 97 02 07 Fax: (+39) 050 31 36 588
|