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

Invalid Style Override 'custom.mplstyle' #188

Closed
jfrmhrz opened this issue Nov 23, 2022 · 4 comments
Closed

Invalid Style Override 'custom.mplstyle' #188

jfrmhrz opened this issue Nov 23, 2022 · 4 comments

Comments

@jfrmhrz
Copy link

jfrmhrz commented Nov 23, 2022

I am trying to override sumo-bandplot style by passing a custom mplstyle file using --style option like that:

sumo-bandplot --format png --dpi 900 --font Georgia --zero-line --height 5 --width 1.5 --ymax 6 --ymin -6 --prefix total --style custom.mplstyle

However, I am getting the following error into the terminal, and the style file i am passing is being igneord :

QApplication: invalid style override 'custom.mplstyle' passed, ignoring it.
Available styles: Windows, Fusion

I wonder whether it is a problem in my system or from sum-bandplot?
Thank you @ajjackson

@ajjackson
Copy link
Member

ajjackson commented Nov 23, 2022

Thanks for the report.

I've never seen a message like this before, what OS are you using and how was Sumo installed?

Are you getting a Python traceback that shows which lines cause the error, or does the error message seem to be coming from elsewhere?

@ajjackson
Copy link
Member

It looks like some kind of external framework has wrapped itself around sumo, intercepted the --style argument and is complaining that it isn't what it expected!

@JaafarMehrez
Copy link

JaafarMehrez commented Nov 23, 2022 via email

@ajjackson
Copy link
Member

Odd stuff! Glad you got things working, will close this for now.

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

3 participants