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 · 18 comments

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

@stutzzzz
Copy link

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)

Sorry I meant System76 Cosmic that is 22.04 using wayland

@stutzzzz
Copy link

Installed the recent update still unable to locate images that were installed

@grossmj
Copy link
Member

grossmj commented Oct 27, 2024

I cannot reproduce the error, even though I created an IOU project with v2.2.47 and opened it with v2.2.50.

Please can you provide the output of ls -la /home/thibault/GNS3/images/IOU/?

Also, do you have the same issue if you create a project with IOU nodes under v2.2.50?

Thanks.

@e-thibault
Copy link
Author

e-thibault commented Oct 27, 2024 via email

@grossmj
Copy link
Member

grossmj commented Nov 4, 2024

@e-thibault I would like to release v2.2.51 soon. Any news about this?

@e-thibault
Copy link
Author

e-thibault commented Nov 4, 2024 via email

@e-thibault
Copy link
Author

e-thibault commented Nov 19, 2024 via email

@grossmj
Copy link
Member

grossmj commented Nov 27, 2024

Please can you send me your project?

@e-thibault
Copy link
Author

e-thibault commented Nov 27, 2024 via email

@e-thibault
Copy link
Author

e-thibault commented Nov 27, 2024 via email

@grossmj
Copy link
Member

grossmj commented Nov 28, 2024

Hello, here is the whole directory of the project from my ubuntu 24.04 project

I don't see it, have you shared a link or an attachment? thanks 👍

Aussi, pas de probleme avec le francais.

@e-thibault
Copy link
Author

e-thibault commented Nov 28, 2024 via email

@grossmj
Copy link
Member

grossmj commented Dec 3, 2024

v2.2.52 has been released. Please can you try with this version? Thanks.

@e-thibault
Copy link
Author

e-thibault commented Dec 3, 2024 via email

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

No branches or pull requests

3 participants