Bug 160737 - kgraphviewer shows a blank screen
Summary: kgraphviewer shows a blank screen
Status: RESOLVED WORKSFORME
Alias: None
Product: kgraphviewer
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Gaël de Chalendar (aka Kleag)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-12 10:20 UTC by ashok varikuti
Modified: 2008-05-09 14:28 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
debug trace (4.07 KB, application/octet-stream)
2008-04-17 00:40 UTC, ashok varikuti
Details
dot example (402 bytes, text/plain)
2008-04-17 00:41 UTC, ashok varikuti
Details
trace of kgraph error (4.07 KB, text/plain)
2008-04-17 01:57 UTC, ashok varikuti
Details
debug trace in unbuntu hardy. (12.83 KB, text/plain)
2008-04-26 18:22 UTC, ashok varikuti
Details
patch solving the bug (already commited) (490 bytes, patch)
2008-05-09 14:20 UTC, Gaël de Chalendar (aka Kleag)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ashok varikuti 2008-04-12 10:20:40 UTC
Version:            (using KDE 4.0.1)
Installed from:    Ubuntu Packages
OS:                Linux

Binary package hint: kgraphviewer-kde4

When I tried to run a cluster example from graphviz.org website, kgraph comes up with a blank screen. Doesn't show any errors whatsoever. I recently updated ubuntu gutsy gibbon to hardy heron 8.04 using update manager.
Comment 1 Gaël de Chalendar (aka Kleag) 2008-04-13 13:21:00 UTC
Could you attach the file causing the problem or give the URL to it, please ?
Comment 2 ashok varikuti 2008-04-13 13:50:57 UTC
The file can be found at http://www.graphviz.org/Gallery/directed/cluster.html.
Actually I tried to load different types of dot files, but it always came up with a blank screen. Thank you.
Comment 3 Gaël de Chalendar (aka Kleag) 2008-04-16 14:08:27 UTC
Could you give the versions of kgraphviewer and of dot, please ?
Could you also give me the names of the kgraphviewer and GraphViz packages that are installed ?

Thanks
Comment 4 Gaël de Chalendar (aka Kleag) 2008-04-16 14:11:56 UTC
Sorry,but could you also detail how you create/download the dot files and how you load them ? It's to be sure that you don't try to load the SVG file or another unsupported format. In this case, it would silently failed, except for the console indicating
kgraphviewer(2302): parsing failed

Comment 5 ashok varikuti 2008-04-16 14:33:26 UTC
1) Graphviz version 2.16 (Fri Feb  8 12:52:03 UTC 2008),
 KgraphViewer version 2.0 (using KDE 4.0.3)
( I am not sure wht do u mean my names of kgraph and graphviz)

2) I just downloaded the example from the website and copied into a plain text with dot extension. Dot was able to interpret it and convert into a PNG file. 
Comment 6 Gaël de Chalendar (aka Kleag) 2008-04-16 22:05:33 UTC
I compiled graphviz 2.16 and kgraphviewer from trunk still works for me. So, it seems it's not a graphviz related problem.

I wanted to know the exact name of the binary packages (like kgraphviewer-kde4.deb for example) in order to be able to try it or ask someone else to try it.

Could you send me one (or attach) of the dot files you created ? The way you do it seems OK but I'd like to be sure.

You could also try to load one of the file given with graphviz. On Mandriva, it's for example /usr/share/graphviz/graphs/directed/clust.dot

Finally, could you run kgraphviewer in a terminal and send me the full debug output (to be sure it is active, you can choose "Select all" in kdebugdialog)?

Thanks for your help 
Comment 7 ashok varikuti 2008-04-17 00:40:36 UTC
Created attachment 24367 [details]
debug trace
Comment 8 ashok varikuti 2008-04-17 00:41:13 UTC
Created attachment 24368 [details]
dot example
Comment 9 ashok varikuti 2008-04-17 01:55:17 UTC
I installed Kgraphviewer right from the svn repository (svn co http://svn.gna.org/svn/kgraphviewer/trunk kgraphviewer). The dot file and the debug output files are attached.Also I updated the graphviz version to 2.18, but the problem still persists.
Comment 10 ashok varikuti 2008-04-17 01:57:26 UTC
Created attachment 24369 [details]
trace of kgraph error
Comment 11 ashok varikuti 2008-04-26 06:19:08 UTC
I installed latest version of ubuntu (hardy heron), but kgraphviewer still display a plain blank screen. The package is included as part of the ubuntu OS. I feel inclusion of certain non-working packages without sufficient testing certainly doesn't attract much users for ubuntu. Kleag, can you please apply a patch and upload it as one of the ubuntu updates. As a ubuntu user and a fan of open source community, I express my deep concern.
Comment 12 ashok varikuti 2008-04-26 18:22:10 UTC
Created attachment 24516 [details]
debug trace in unbuntu hardy.
Comment 13 Gaël de Chalendar (aka Kleag) 2008-05-05 22:03:25 UTC
I confirmed the bug by using a Ubuntu Live CD. I'll try to correct it during my holidays, starting on thursday. I'll install an Ubuntu somewhere.

I suppose it is a library problem. I'll check if there was problems with QGV in the Qt version used.
Comment 14 ashok varikuti 2008-05-05 23:05:12 UTC
Gaël de Chalendar (aka Kleag) wrote:
[bugs.kde.org quoted mail]
Thank you ver much kleag.  It's not really urgent for me. You can do it 
at your own time. Actually I came across your package in graphviz 
resources section and was attracted by some unique features in 
kgraphviewer, which I really want to try out. Your decision to make it 
as an open source package is very much appreciated.
Comment 15 Gaël de Chalendar (aka Kleag) 2008-05-09 14:20:37 UTC
Created attachment 24678 [details]
patch solving the bug (already commited)

This patch (already commited) solves the bug on Ubuntu 8.04 Hardy. It was due
to a behavior change in boost/spirit between versions 1.33 and 1.34
Comment 16 Gaël de Chalendar (aka Kleag) 2008-05-09 14:22:38 UTC
Commit at 805847 solves the problem. See previous attached patch.
Comment 17 ashok varikuti 2008-05-09 14:26:32 UTC
Thank you very much kleag..
Comment 18 Gaël de Chalendar (aka Kleag) 2008-05-09 14:28:48 UTC
Selon ashok varikuti <asoka250@gmail.com>:

[bugs.kde.org quoted mail]
You're welcome. I'm now trying to have Ubuntu update their package.

Best regards,

Kleag
>