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

is there are way to mute qt.qml.compiler msgs? #20

Closed
doomedraven opened this issue Sep 25, 2024 · 7 comments · Fixed by #22
Closed

is there are way to mute qt.qml.compiler msgs? #20

doomedraven opened this issue Sep 25, 2024 · 7 comments · Fixed by #22
Assignees
Milestone

Comments

@doomedraven
Copy link

doomedraven commented Sep 25, 2024

Hello, first of all thank you for bindings, we use it in CAPE sandbox. I was trying to find solution by myself but i don't see how to fix it. any idea?

i see logs like those per each file and that spams a lot output

thanks in advance

qt.core.qobject.connect: QObject::connect: No such signal global_script::_removeResultSignal(QString)
qt.core.qobject.connect: QObject::connect: No such signal global_script::_removeResultSignal(QString)
qt.qml.compiler: file:///home/cape/.cache/pypoetry/virtualenvs/capev2-t2x27zRb-py3.10/lib/python3.10/site-packages/die/db/db/Binary/archive.AR.1.sg:46:37 Variable "nOffset" is used before its declaration at 51:13.
qt.qml.compiler: file:///home/cape/.cache/pypoetry/virtualenvs/capev2-t2x27zRb-py3.10/lib/python3.10/site-packages/die/db/db/Binary/image.TGA.1.sg:18:54 Variable "col" is used before its declaration at 36:9.
qt.qml.compiler: file:///home/cape/.cache/pypoetry/virtualenvs/capev2-t2x27zRb-py3.10/lib/python3.10/site-packages/die/db/db/Binary/image.TIFF.1.sg:16:50 Variable "nOffset" is used before its declaration at 82:17.
qt.qml.compiler: file:///home/cape/.cache/pypoetry/virtualenvs/capev2-t2x27zRb-py3.10/lib/python3.10/site-packages/die/db/db/Binary/image.TIFF.1.sg:16:63 Variable "bEndian" is used before its declaration at 70:21.
qt.qml.compiler: file:///home/cape/.cache/pypoetry/virtualenvs/capev2-t2x27zRb-py3.10/lib/python3.10/site-packages/die/db/db/Binary/image.TIFF.1.sg:17:60 Variable "nCount" is used before its declaration at 89:21.
qt.qml.compiler: file:///home/cape/.cache/pypoetry/virtualenvs/capev2-t2x27zRb-py3.10/lib/python3.10/site-packages/die/db/db/Binary/image.TIFF.1.sg:21:21 Variable "nCount" is used before its declaration at 89:21.
qt.qml.compiler: file:///home/cape/.cache/pypoetry/virtualenvs/capev2-t2x27zRb-py3.10/lib/python3.10/site-packages/die/db/db/Binary/image.TIFF.1.sg:22:53 Variable "nOffset" is used before its declaration at 82:17.
qt.qml.compiler: file:///home/cape/.cache/pypoetry/virtualenvs/capev2-t2x27zRb-py3.10/lib/python3.10/site-packages/die/db/db/Binary/image.TIFF.1.sg:22:66 Variable "bEndian" is used before its declaration at 70:21.
qt.qml.compiler: file:///home/cape/.cache/pypoetry/virtualenvs/capev2-t2x27zRb-py3.10/lib/python3.10/site-packages/die/db/db/Binary/image.TIFF.1.sg:25:54 Variable "nOffset" is used before its declaration at 82:17.
qt.qml.compiler: file:///home/cape/.cache/pypoetry/virtualenvs/capev2-t2x27zRb-py3.10/lib/python3.10/site-packages/die/db/db/Binary/image.TIFF.1.sg:25:67 Variable "bEndian" is used before its declaration at 70:21.
qt.qml.compiler: file:///home/cape/.cache/pypoetry/virtualenvs/capev2-t2x27zRb-py3.10/lib/python3.10/site-packages/die/db/db/Binary/image.TIFF.1.sg:26:28 Variable "nCount" is used before its declaration at 89:21.
qt.qml.compiler: file:///home/cape/.cache/pypoetry/virtualenvs/capev2-t2x27zRb-py3.10/lib/python3.10/site-packages/die/db/db/Binary/image.TIFF.1.sg:27:70 Variable "bEndian" is used before its declaration at 70:21.
qt.qml.compiler: file:///home/cape/.cache/pypoetry/virtualenvs/capev2-t2x27zRb-py3.10/lib/python3.10/site-packages/die/db/db/Binary/image.TIFF.1.sg:34:21 Variable "nCount" is used before its declaration at 89:21.
qt.qml.compiler: file:///home/cape/.cache/pypoetry/virtualenvs/capev2-t2x27zRb-py3.10/lib/python3.10/site-packages/die/db/db/Binary/image.TIFF.1.sg:35:53 Variable "nOffset" is used before its declaration at 82:17.
qt.qml.compiler: file:///home/cape/.cache/pypoetry/virtualenvs/capev2-t2x27zRb-py3.10/lib/python3.10/site-packages/die/db/db/Binary/image.TIFF.1.sg:35:66 Variable "bEndian" is used before its declaration at 70:21.
qt.qml.compiler: file:///home/cape/.cache/pypoetry/virtualenvs/capev2-t2x27zRb-py3.10/lib/python3.10/site-packages/die/db/db/Binary/image.TIFF.1.sg:38:54 Variable "nOffset" is used before its declaration at 82:17.
qt.qml.compiler: file:///home/cape/.cache/pypoetry/virtualenvs/capev2-t2x27zRb-py3.10/lib/python3.10/site-packages/die/db/db/Binary/image.TIFF.1.sg:38:67 Variable "bEndian" is used before its declaration at 70:21.
qt.qml.compiler: file:///home/cape/.cache/pypoetry/virtualenvs/capev2-t2x27zRb-py3.10/lib/python3.10/site-packages/die/db/db/Binary/image.TIFF.1.sg:39:28 Variable "nCount" is used before its declaration at 89:21.
qt.qml.compiler: file:///home/cape/.cache/pypoetry/virtualenvs/capev2-t2x27zRb-py3.10/lib/python3.10/site-packages/die/db/db/Binary/image.TIFF.1.sg:40:70 Variable "bEndian" is used before its declaration at 70:21.
qt.qml.compiler: file:///home/cape/.cache/pypoetry/virtualenvs/capev2-t2x27zRb-py3.10/lib/python3.10/site-packages/die/db/db/Binary/audio.1.sg:4725:16 Variable "lastsmpofs" is used before its declaration at 4851:13.
qt.qml.compiler: file:///home/cape/.cache/pypoetry/virtualenvs/capev2-t2x27zRb-py3.10/lib/python3.10/site-packages/die/db/db/Binary/audio.1.sg:4828:54 Variable "u" is used before its declaration at 4958:29.
qt.qml.compiler: file:///home/cape/.cache/pypoetry/virtualenvs/capev2-t2x27zRb-py3.10/lib/python3.10/site-packages/die/db/db/Binary/audio.1.sg:4830:46 Variable "u" is used before its declaration at 4958:29.
qt.qml.compiler: file:///home/cape/.cache/pypoetry/virtualenvs/capev2-t2x27zRb-py3.10/lib/python3.10/site-packages/die/db/db/Binary/audio.1.sg:4830:60 Variable "u" is used before its declaration at 4958:29.

installed from pip and used as result_json = die.scan_file(file_path, die.ScanFlags.RESULT_AS_JSON, str(die.database_path / "db"))

@calladoum-elastic
Copy link
Collaborator

Hi @doomedraven !

Sorry for the long delay in replying. Those messages are indeed pretty annoying. As far as I could tell since they are Qt specific, I have been looking for a way to silence them through a build option and haven't found anything so far, but I will have another look and keep this issue updated.

Thanks

@doomedraven
Copy link
Author

doomedraven commented Oct 25, 2024 via email

@horsicq
Copy link

horsicq commented Dec 20, 2024

@doomedraven
Copy link
Author

doomedraven commented Dec 20, 2024

nice, thanks @horsicq for headups, i guess i need to wait for new release or build lib from source right?

@horsicq
Copy link

horsicq commented Dec 20, 2024

nice, thanks @horsicq for headups, i guess i need to wait for new release or build lib from source right?

Yes! Sure you could to build from the sources. But I think it is better to wait the new release of "DetectItEasy-Python".

@calladoum-elastic
Copy link
Collaborator

My apologies, I completely missed the latest replies in this thread.

Yes! Sure you could to build from the sources. But I think it is better to wait the new release of "DetectItEasy-Python".

Thanks @horsicq for your work (as always), I will start updating the Python package today.

@calladoum-elastic calladoum-elastic self-assigned this Jan 2, 2025
@calladoum-elastic calladoum-elastic added this to the 0.2 milestone Jan 2, 2025
calladoum-elastic added a commit that referenced this issue Jan 2, 2025
# Description

Update die library to the latest to date :
horsicq/die_library@2b4d6e9

This fixes #20
@doomedraven
Copy link
Author

thank you all

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 a pull request may close this issue.

3 participants