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

Kleag kleag at free.fr
Mon Apr 28 23:27:32 CEST 2008


On Monday 28 April 2008 23:18:58 Albert Astals Cid wrote:
> 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,
> > > >
> > > >
> > > > 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('\\',"");
Not exactly. I really want to remove only an antislash immediatly followed by 
a newline. With your new version, if a label contains an antislash, it will be 
removed.

>
> > 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?
The dot file you load in kgraphviewer to test if it works.

Because I still don't understand why it fails on Ubuntu.

Kleag
>
> Albert
>
> > Kleag
> >
> > > Albert
> > >
> > > > Thanks,
> > > >
> > > > Kleag
>
> _______________________________________________
> Kde-extra-gear mailing list
> Kde-extra-gear at kde.org
> https://mail.kde.org/mailman/listinfo/kde-extra-gear


-- 
KsirK - a turn-based strategy game for KDE
http://gna.org/projects/ksirk

KGraphViewer - a GraphViz dot graphs viewer
http://extragear.kde.org/apps/kgraphviewer



More information about the Kde-extra-gear mailing list