Skip to content

Improved error message for invalid PYQTGRAPH_QT_LIB#2077

Merged
j9ac9k merged 2 commits intopyqtgraph:masterfrom
max-radin:invalid-qt-binding-message
Nov 13, 2021
Merged

Improved error message for invalid PYQTGRAPH_QT_LIB#2077
j9ac9k merged 2 commits intopyqtgraph:masterfrom
max-radin:invalid-qt-binding-message

Conversation

@max-radin
Copy link
Copy Markdown
Contributor

@max-radin max-radin commented Nov 13, 2021

This PR adds a more informative error message if the module specified by PYQTGRAPH_QT_LIB cannot be found. (However there's a few edge cases where this solution could be misleading, for example if the Qt module was installed but was missing a submodule.)

@max-radin max-radin changed the title Improved error message for invalid PYQTGRAPH_QT_LIB; fixes #2068 Improved error message for invalid PYQTGRAPH_QT_LIB Nov 13, 2021
@j9ac9k
Copy link
Copy Markdown
Member

j9ac9k commented Nov 13, 2021

👋🏻 @max-radin

So we might be about to cause some merge conflicts on you, as we're just about to merge #2002 and #1915 which I believe change some of the lines you're proposing to change. We're going to merge those shortly so we'll see soon enough. Sorry for the inconvenience and thanks for the PR!

@j9ac9k
Copy link
Copy Markdown
Member

j9ac9k commented Nov 13, 2021

#2002 was just merged, merging #1915 in ~15-20 minutes hopefully; I'll let you know when we're done breaking everyone else's stuff

EDIT: huh, your PR seems to have escaped the merge conflict monster 👍🏻

@j9ac9k
Copy link
Copy Markdown
Member

j9ac9k commented Nov 13, 2021

Merging, thank you!

@j9ac9k j9ac9k merged commit 598a52f into pyqtgraph:master Nov 13, 2021
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

Successfully merging this pull request may close these issues.

Improve error message when environment variable PYQTGRAPH_QT_LIB is pointing to a non-installed binding

2 participants