Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 943190 - net-misc/gns3-gui-2.2.50: GNS3 2.2.50 generates a random directory name in the project folder when using "Save project as..."
Summary: net-misc/gns3-gui-2.2.50: GNS3 2.2.50 generates a random directory name in th...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Michael Mair-Keimberger (mm1ke)
URL: https://github.com/GNS3/gns3-gui/issu...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-11-10 17:20 UTC by needle
Modified: 2024-11-13 11:51 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge.info,6.74 KB, text/plain)
2024-11-10 17:22 UTC, needle
Details
GNS3 2.2.51 console output (GNS3-2.2.51_example_run_output.txt,834 bytes, text/plain)
2024-11-13 10:30 UTC, needle
Details

Note You need to log in before you can comment on or make changes to this bug.
Description needle 2024-11-10 17:20:54 UTC
The current GNS3 version 2.2.50 creates random directory name when using the "Save project as..."
Comment 1 needle 2024-11-10 17:22:41 UTC
Created attachment 908403 [details]
emerge --info
Comment 2 needle 2024-11-10 17:23:44 UTC
Reported this bug directly to the GNS3 projects github website. For details please read https://github.com/GNS3/gns3-gui/issues/3660
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-11-10 17:25:31 UTC
To be clear, the bug is filed as an FYI/request to please not cleanup old until this gets fixed and to make the maintainer aware of the upstream bug.
Comment 4 Michael Mair-Keimberger (mm1ke) 2024-11-11 17:41:08 UTC
Thanks for the information.
I'll going to open an PR for the latest 2.2.51 soon, maybe this would already fix this issue (even though the release notes doesn't hint on such problem)
Comment 5 needle 2024-11-13 10:11:11 UTC
I have emerged the 2.2.51 version here in local overlay to recheck, and happens here as well. Added a update to the github tracking bug.
Comment 6 needle 2024-11-13 10:30:40 UTC
Created attachment 908634 [details]
GNS3 2.2.51 console output

Adding GNS3 2.2.51 console output.
Comment 7 needle 2024-11-13 11:49:26 UTC
Could narrow the issue down to that GNS3 version 2.2.51 when using the "Save project as..." button takes the GNS3 "project_id" variable for the new projects directory name instead of the GNS3 varialbe called "name".

These are the steps to reproduce this.

* Create completely fresh GNS3 project, directory name created correctly:

----

pwd
/home/needle/GNS3/projects/sandbox-00

head sandbox-00.gns3
{
    "auto_close": true,
    "auto_open": false,
    "auto_start": false,
    "drawing_grid_size": 25,
    "grid_size": 75,
    "name": "sandbox-00",
    "project_id": "c2718184-9091-45d9-80c6-12e945ceddf9",
    "revision": 9,
    "scene_height": 1000,

----

* Stop this current newly created project
* Use the GNS3 File->"Save project as..."
* Give some meaningful name for the project, in example "sanbox-01"
* Saved as project is created, but the directory is named like following:

----

pwd
/home/needle/GNS3/projects/1119c664-eec1-4ab5-9cf5-bcfe6afd2f00


{
    "auto_close": false,
    "auto_open": false,
    "auto_start": false,
    "drawing_grid_size": 25,
    "grid_size": 75,
    "name": "sandbox-01",
    "project_id": "1119c664-eec1-4ab5-9cf5-bcfe6afd2f00",
    "revision": 9,
    "scene_height": 1000,


---

Hoping GNS3 users can reproduce this issue described here.
Comment 8 needle 2024-11-13 11:51:48 UTC
Correcting typo in entry directly above. Forgot to add the command head.
----

pwd
/home/needle/GNS3/projects/1119c664-eec1-4ab5-9cf5-bcfe6afd2f00

 head sandbox-01.gns3
{
    "auto_close": false,
    "auto_open": false,
    "auto_start": false,
    "drawing_grid_size": 25,
    "grid_size": 75,
    "name": "sandbox-01",
    "project_id": "1119c664-eec1-4ab5-9cf5-bcfe6afd2f00",
    "revision": 9,
    "scene_height": 1000,


---