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

Error opening .sca/.vci/.vec files #1101

Open
SeineEloquenz opened this issue Feb 12, 2024 · 5 comments
Open

Error opening .sca/.vci/.vec files #1101

SeineEloquenz opened this issue Feb 12, 2024 · 5 comments
Assignees
Milestone

Comments

@SeineEloquenz
Copy link

Hi!
I am using omnetpp-6.0.2+inet-4.5.2 in an opp_env installation installed via pip under NixOS.

When I want to view simulation results in the IDE, once I click on a .sca/.vci/.vec file in the Project Explorer, i get the following error dialog instead of the Results Viewer:
image

Thanks!

@rhornig rhornig transferred this issue from omnetpp/opp_env Feb 13, 2024
@rhornig
Copy link
Contributor

rhornig commented Feb 13, 2024

could you provide the .log file from the workspace's .metadata directory?

The message is strange as it wants to open an external editor. Normally it should open the IDE's build-in editor. Try right clicking the file and select the internal editor with the Open with menu item.

@rhornig rhornig self-assigned this Feb 13, 2024
@SeineEloquenz
Copy link
Author

Hi, I've attached the log file to this comment.
Trying to open the file via the "open with" menu yields the same error.

log.txt

@rhornig
Copy link
Contributor

rhornig commented Feb 14, 2024

Hmmm. All the failures in the log indicate that the IDE cannot start the python3 executable. Can you start python3 manually before starting the IDE to see whether it starts?

I have never tried opp_env under NixOS. Maybe this is some interference between the OS packages and the Nix Developer shell opp_env internally starts.

Also, could you try to use the -i flag when starting the shell (that will start the shell in isolated mode minimizing the interference).

Maybe this is indeed an opp_env issue and not something specific with OMNeT++ (so I may have to move back this issue :)

@SeineEloquenz
Copy link
Author

I can start python without problems in the omnetpp shell.
It prints python 3.10.11.
I don't have python in in my OS packages or path.
When running the omnetpp shell with the -i flag, the same error still occurs, but I can run python itself fine.

@rhornig rhornig added this to the 6.1 milestone Feb 17, 2024
@rhornig
Copy link
Contributor

rhornig commented Feb 17, 2024

I need to set up a VM to try to reproduce this.

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

No branches or pull requests

2 participants