Skip to content

[bdedit BUG] Blocks do not load their icons in the diagram (virtual environment on Linux) #30

@fermarsan

Description

@fermarsan

Describe the bug
dbedit works but the block do not show their icons. The application neither shows its icon.

To Reproduce
Steps to reproduce the behavior:

  1. On Linux (I test it on Linux Mint 21 and LMDE 6)
  2. Create a Python virtual environment with venv
  3. Inside the virtual environment install bdsim with pip
  4. execute bdedit

**Expected behavior
bdedit to show the blocks' icons correctly

Screenshots

Operating environment (please complete the following information):

  • OS: [Linux Mint Debian Edition]
  • Version [LMDE 6]

**Your version of PyQT
PyQt5 5.15.11
PyQt5-Qt5 5.15.16
PyQt5_sip 12.17.0

Additional context
After a lot of tests and even changing the original code of bdedit, I realize the problem is that pip does not copy the bdsim\blocks\Icons and bdsim\bdedit\Icons folders to venv_path\lib\python3.xx\site-packages\bdsim when installing bdsim module, so bdedit does not find any of block icons.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions