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

Albert Astals Cid aacid at kde.org
Mon Apr 28 23:51:31 CEST 2008


A Dilluns 28 Abril 2008, Kleag va escriure:
> 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.

My bad, i thought you wante to remove everything :D

>
> > > 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.

I'm attaching the two .dot and their .out

Albert

>
> 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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: sdh.dot.zip
Type: application/x-zip
Size: 1296 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-extra-gear/attachments/20080428/371d2fd2/attachment-0004.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.dot.zip
Type: application/x-zip
Size: 339 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-extra-gear/attachments/20080428/371d2fd2/attachment-0005.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sdh.dot.out.zip
Type: application/x-zip
Size: 8820 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-extra-gear/attachments/20080428/371d2fd2/attachment-0006.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.dot.out.zip
Type: application/x-zip
Size: 1576 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-extra-gear/attachments/20080428/371d2fd2/attachment-0007.bin 


More information about the Kde-extra-gear mailing list