If nobody uses either of them I will not spend any time on it.If nobody uses Dia, then I will drop it and concentrate on Inkscape only, as Dia seems to have fewer features, fewer releases, fewer users and therefore may be a waste of effort.

Does anybody have any suggestions for improving the exported diagrams?

I tried the Create Dia Network Diagram option at the bottom of the full list of systems audited (71 systems in my case.) The browser allows me to save the file to disk, all of its 3 KB. (??) Dia opens this file, but the file has nothing in it. So it seems the export is not really working. Are there any known bugs in the Dia export?

You do need to set the correct paths in include_inkscake_config.php and include_dia_config.php to point to a copy of the images. This is one of the things I was thinking of improving.

Hello A_Hull, had postponed trying that until now because I've been doing some other things. I think I might need some more help because that didn't work for me.

First I modified the include_dia_config.php file on the OA server with the following line:

$dia_image_folder='\\home\\[myusernamehere]\\openaudit\\images\\';

I'm running Ubuntu on my workstation. Created the folder openaudit/images under my ~ folder in my workstation, then I copied all of the images in /var/www/openaudit/images of the OA server into that folder, as indicated by the include_dia_config.php file. That was supposed to be it, at least from what the php file says.

Then I tried creating the Dia diagram from the All systems audited report page (tried with both Chrome and Firefox), and I saved the dia file onto my local openaudit/images folder. I still get exactly the same result: the report shows almost 100 systems, but I'm getting an empty diagram.

In case it might help, the dia file I download from the browser(s) is just 2172 bytes long, and cat-ing it yields the following:

You're looking in the wrong place. It looks like you've got a valid DIA file that has no entries. So rather than looking at the display side you should look at the generation side and figure out why it's not filling the DIA file with systems.

To start try this:Get a view with a couple systems in it. Obviously the view should have "Create DIA Network Diagram From List" at the bottom of the page.View Page source.Find the first instance of "form_export_dia"Just after this is a hidden sql form input field with a MySQL select statement.Copy this SQL and reverse the URL encodingTry this SQL statement against your database and see if it returns anything.If it does return something we need to look elsewhere. If not, then why not?

By the way passing the SQL in like this is a huge security problem and is a reminder that OpenAudit is not a secure system and should be treated as such.

You're looking in the wrong place. It looks like you've got a valid DIA file that has no entries. So rather than looking at the display side you should look at the generation side and figure out why it's not filling the DIA file with systems.

Thanks much jpa! I really knew there had to be a diagram generation problem, but I was showing the problem just as I confronted it as an end user (because I really still am just an OpenAudit end user; don't know enough OA yet.) Will look into your suggestions and will post any findings afterwards.

Who is online

Users browsing this forum: No registered users and 1 guest

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot post attachments in this forum