[Kde-extra-gear] Help debugging kgraphviewer on Ubuntu

Albert Astals Cid aacid at kde.org
Mon Apr 28 23:18:58 CEST 2008


A Dilluns 28 Abril 2008, Kleag va escriure:
> On Monday 28 April 2008 21:34:12 Albert Astals Cid wrote:
> > A Dilluns 28 Abril 2008, Kleag va escriure:
> > > Hello everybody,
> > >
> > > I'd like to call for your help debugging kgraphviewer. In fact,  a
> > > user, Ashok Varikuti, in copy, cannot use it on Ubuntu. See
> > > http://bugs.kde.org/show_bug.cgi?id=160737
> > >
> > > He uses Ubuntu kde4 binary packages.
> > >
> > > I tried to reproduce this bug on my Mandriva with his graphviz version
> > > and the same kgraphviewer version (the one packaged with extragear in
> > > kde4.0) but for me it works without any problem...
> > >
> > > So is there anybody using Ubuntu that could try to reproduce the
> > > problem ? That would help me a lot.
> >
> > I could reproduce the problem, the attached patch solved it for me.
>
> Thank you. But this his necessary to handle the cases where "dot -Txdot"
> produces long lines that are cut by a '\' and continuing on the next one.

Then you want 

-  result.replace("\\\n","");
+  result.replace('\n',"");
+  result.replace('\\',"");

>
> You can try with the graphviz example graph sdh.dot, at
> /usr/share/graphviz/graphs/directed/sdh.dot on Mandriva. It should fail
> with your patch.

It does, but works with the new one.

>
> Could you send me the output of "dot -Txdot" on your dot file ?

Which is "my" dot file?

Albert

>
> Kleag
>
> > Albert
> >
> > > Thanks,
> > >
> > > Kleag




More information about the Kde-extra-gear mailing list