Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GNS3 2.2.49+ New projects with IOU work, previous GNS3 2.2.47 IOU projects fail to OPEN alleging image is missing #3647

Open
e-thibault opened this issue Oct 23, 2024 · 4 comments
Labels

Comments

@e-thibault
Copy link

This applies to GNS3 installation on ubuntu, the issue was found on ubuntu 24.04 and GNS3 2.2.49
but is still present in GNS3 2.2.50.

The issue in GNS3 2.2.49 and following has been reported first there :
https://gns3.com/community/featured/gns3-2-2-49-on-ubuntu-24-04-does-not-recognize-gns3-2-2-47-projects-working-on-ubuntu-22-04

No-body else than me replied.
Thinking GNS3 2.2.50 could may be have corrected it, I upgraded to GNS3 2.2.50
I hit the issue of users rights which I reported in gns3 comunity.

When the GNS3 2.2.50 user right issue got corrected, I upgraded to the new GNS3 2.2.50
the user right issue is corrected.
The previous issue with existing IOU projects with previous GNS3 2.2.47 .gns3 project files still exist so I create this issue.

Describe the bug

I can create a new project with my IOU device, I can start it I can console in it.
But when I OPEN (not even launch) a previous project with the same IOU device
I get the error :
the image is missing

To Reproduce

You need to have a previous .gns3 project file with an IOU device used in it,
a project file created in GNS3 2.2.47 or before.
You need to have created the same device, with the image.

You will see the new projects using the IOU image will work.
But at the time of OPENING a previous .gns3 project with an IOU device referenced (created in GNS3 2.2.47 or before)

Screenshots or videos

  1. screenshot of the error at the OPENING of a previous .gns3 project:

existing_project_IOU_error

N.B. this project works 100% fine on ubuntu 22.04 on GNS3 2.2.47

  1. screenshot proving the image is NOT missing

image_exists_though

  1. screenshot proving the image is running and 100% operational for NEW PROJECTS

new_project_works

@e-thibault e-thibault added the Bug label Oct 23, 2024
@e-thibault
Copy link
Author

e-thibault commented Oct 23, 2024

since it was the first time I launched GNS3 after reinstallation in 2.2.50 I opened it by typing 'gns3' in a terminal window,
so in the terminal window I got the logs of the error I add here below in case it could help:
thibault@NetAuto2404:~$ gns3 2024-10-23 15:00:06 INFO root:126 Log level: INFO 2024-10-23 15:00:06 INFO main:265 GNS3 GUI version 2.2.50 2024-10-23 15:00:06 INFO main:266 Copyright (c) 2007-2024 GNS3 Technologies Inc. 2024-10-23 15:00:06 INFO main:267 Application started with /usr/bin/gns3 2024-10-23 15:00:07 INFO controller:437 Listening for controller notifications on 'ws://localhost:3080/v2/notifications/ws' 2024-10-23 15:00:35 INFO project:647 Listening for project notifications on 'ws://localhost:3080/v2/projects/19cfbfc7-2271-4d15-a954-45f2ebfbe260/notifications/ws' 2024-10-23 15:01:50 CRITICAL topology.py:258 The image i86bi_linux-adventerprisek9-ms.154-1.T_A is missing 2024-10-23 15:09:25 INFO project:647 Listening for project notifications on 'ws://localhost:3080/v2/projects/ec6c934e-9666-49f4-98dc-7e1cb2d4ac33/notifications/ws' 2024-10-23 15:12:16 INFO project:647 Listening for project notifications on 'ws://localhost:3080/v2/projects/b4d6df98-09de-40da-85bb-544c14911b96/notifications/ws' thibault@NetAuto2404:~$

@stutzzzz
Copy link

Having same issue. Also crashes on cosmic using wayland not sure if its related.

@e-thibault
Copy link
Author

it seems there was not a GNS3 2.2.50 new version with corrections for cosmic (i.e 18.10) judging by Jeremy's message:
#3646 (comment)

@e-thibault
Copy link
Author

OK in the message above the error was issued by the module : topology.py line 258.

So I've edited the file to see if I could see something:
in topology.py the lines around line 258 are :

def _projectCreationErrorSlot(self, message):
    if self._project:
        self._project.project_creation_error_signal.disconnect(self._projectCreationErrorSlot)
        self.setProject(None)
        QtWidgets.QMessageBox.critical(self._main_window, "New project", message)

line 258 is: QtWidgets.QMessageBox.critical(self._main_window, "New project", message)

the last function called:
_projectCreationErrorSlot(self, message)
is the same as in GNS3 2.2.47 so it does not come from it.
_projectCreationErrorSlot(self, message)
function is not called in the module topology.py so it must be called from elsewhere

What is definitely not NORMAL is that we go through the function "_projectCreationErrorSlot(self, message)"
because it was NOT a project creation but on the contraryI was just opening an existing .gns3 project file !

How come we end up in this case ?
I don't know but it's 100% reproductible

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants