#144 enhancement request to export all connections

Fabio Rossi

Right now it's possible to export all the connections in a group, it'd be good to export in a single operation all the available connections in all the groups. I'd suggest a right menubutton option on the AVAILABLE CONNECTIONS item in the tree (there is currently a related options but it looks disabled).


  • David Torrejón Vaquerizas

    • priority: 5 --> 1
  • David Torrejón Vaquerizas


    First of all, sorry for the late answer.

    Now, there are two ways of doing such a thing (exporting ALL connections):

    1- Open "Preferences", an in the bottom part of the window, you'll find a "Export Config..." button, which will export both connections (all) and custom config

    2- You may also select *all* the connections, *EXCEPT* the "AVAILABLE CONNECTIONS" item. Then the export config will not appear a grayed out! ;)

    Please, let me know if that solved your problems.
    - David.

  • Fabio Rossi

    Fabio Rossi - 2013-03-01

    I have upgraded to testing your suggestions:

    1) in that way you save also the config, I would like just the connections
    2) this seems to work but there are some problems. In the saved file it seems the groups/connections are saved twice. When I reimport the generated datafile .yml only one connections is reimported.

    Moreover the selection procedure is not so intuitive, you have to keep pressed the SHIFT button and then right click with the mouse (otherwiise the selection is lost). It'd be better, if possible, to select multiple connections with the SHIFT and then right click with the mouse without the need to keep pressed the SHIFT button.

  • David Torrejón Vaquerizas


    Stay tuned for next PAC release! :)


  • Fabio Rossi

    Fabio Rossi - 2013-03-07

    I get this error at startup after having installed PAC

    Type of arg 1 to keys must be hash or array (not hash element) at /opt/pac/lib/PACMain.pm line 2229, near "} ) "
    Type of arg 1 to keys must be hash or array (not hash element) at /opt/pac/lib/PACMain.pm line 2231, near "} ) "
    Compilation failed in require at /opt/pac/pac line 35.
    BEGIN failed--compilation aborted at /opt/pac/pac line 35.

  • David Torrejón Vaquerizas


    Wow... weird...
    Please, change lines #2229 and #2231 in file '/opt/pac/lib/PACMain.pm' with:

    for my $i ( 1 .. 65535 ) { $$self{_GUI}{treeConnections} -> get_selection -> select_path( Gtk2::TreePath -> new_from_string( "$i" ) ); }

    and let me know if that solved your problems, please!

    - David.

  • Fabio Rossi

    Fabio Rossi - 2013-03-09

    tested with latest release and now works correctly. Thanks!

  • David Torrejón Vaquerizas

    Nice! :)

  • David Torrejón Vaquerizas

    • status: open --> closed

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks