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

Default Plugins Import Error #565

Open
MatthewLabrada opened this issue May 8, 2024 · 1 comment
Open

Default Plugins Import Error #565

MatthewLabrada opened this issue May 8, 2024 · 1 comment
Assignees

Comments

@MatthewLabrada
Copy link

MatthewLabrada commented May 8, 2024

When attempting to run plugins such as the dataflow analysis or netlist simulator plugins, I get the following error:

ImportError: cannot import name 'dataflow' from 'hal_plugins' (/home/user/hal/build/lib/hal_plugins/__init__.py)

At:
(2):

I am currently running HAL through WSL2 if that makes any difference. When building I made sure to include the flag '-DBUILD_ALL_PLUGINS=1' and even attempted to build each plugin manually.

Steps to reproduce the behavior:

  1. Go to Help
  2. Click on Plugins Manager
  3. Enable given plugins
  4. Back to netlist
  5. Attempt to run plugin

I expect normally for the plugins to run without error and provide some sort of output or save a file in a given directory.

OS: Windows 11; WSL (Ubuntu 22.04)
Python v3.10.12

@joern274 joern274 self-assigned this May 21, 2024
@joern274
Copy link
Contributor

Hi @MatthewLabrada , thank for your report. Can you please provide the following additional information :

  1. Can you verify that the 'dataflow' - plugin has been build and that the shared library is residing in the directory $HAL_BASE_PATH/lib/hal_plugins ?
  2. When you enable the plugin (your step 3), are there any warnings or errors in the log ?
  3. What exactly are you doing at your step 5? If it is a Python script you are running, can you please show the codelines?
  4. Is it possible to open a netlist in GUI, enter Plugin Manager again and execute the GUI-extension for 'dataflow'-plugin ?

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