pydm icon indicating copy to clipboard operation
pydm copied to clipboard

launch bare ui file with pydm with additional arguments

Open vespos opened this issue 2 years ago • 1 comments

Describe the bug Error when launching pydm with additional arguments with a simple ui file

Steps to Reproduce pydm --hide-nav-bar myscreen.ui

lead to the the error:

  File "/cds/group/pcds/pyps/conda/py39/envs/pcds-5.3.1/lib/python3.9/site-packages/PyQt5/uic/__init__.py", line 202, in loadUiType
    exec(code_string.getvalue(), ui_globals)
  File "<string>", line 63
    from pydm --hide-nav-bar.widgets.embedded_display import PyDMEmbeddedDisplay

Clearly it is just parsing the whole command to the import instead of only the pydm bit.

Possible Solution Ignore arguments when parsing?

vespos avatar Apr 08 '22 22:04 vespos

Unfortunately, we are unable to reproduce your error. What version of pydm are you running? pydm --version

anleslac avatar May 10 '22 23:05 anleslac

We are closing this issue, if it is still a concern please reopen the issue. Thank you

YektaY avatar Aug 15 '23 20:08 YektaY