We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This only happens when running in a native window. I have an ag-grid on a page, and when loading the page I get this error in the console output:
js: TypeError: Failed to resolve module specifier "ag-grid-community". Relative references must start with either "/", "./", or "../".
This halts further set up of the page (anything constructed after the error does not appear).
I'm also seeing
Registered new object after initialization, existing clients won't be notified!
which seems to be a Qt WebEngine error, not sure if related to this.
Can be reproduced with this code (I just copy pasted what I am doing, you can probably repro without the extra classes and settings):
from nicegui import ui ui.aggrid( { 'columnDefs': [ { 'field': 'value', 'type': 'numericColumn', 'width': 100, }, {'field': 'stat'}, ], 'defaultColDef': { 'flex': 1, 'enableCellChangeFlash': True, }, 'rowData': [], 'headerHeight': 0, } ).classes('min-w-fit') ui.run(native=True, show=False)
The text was updated successfully, but these errors were encountered:
nicegui==2.5.0 PyQt5==5.15.11 PyQt5-Qt5==5.15.15 PyQt5_sip==12.15.0 PyQtWebEngine==5.15.7 PyQtWebEngine-Qt5==5.15.15 QtPy==2.4.1
Sorry, something went wrong.
Strange. I can't reproduce the problem on macOS. What OS are you using? Can anyone else reproduce the error?
Ubuntu 24.04, under KDE using the QT view (not Gnome).
No branches or pull requests
Description
This only happens when running in a native window. I have an ag-grid on a page, and when loading the page I get this error in the console output:
This halts further set up of the page (anything constructed after the error does not appear).
I'm also seeing
which seems to be a Qt WebEngine error, not sure if related to this.
Can be reproduced with this code (I just copy pasted what I am doing, you can probably repro without the extra classes and settings):
The text was updated successfully, but these errors were encountered: