GithubHelp home page GithubHelp logo

Comments (18)

Xoslorg avatar Xoslorg commented on September 22, 2024

/opt/PINCE/./PINCE.py:1949: Warning: g_object_get_is_valid_property: object class 'GtkSettings' has no property named 'gtk-fallback-icon-theme'
self.buttonBox.addButton(button)
error:
Killed by signal 11.

from pince.

korcankaraokcu avatar korcankaraokcu commented on September 22, 2024

I cannot seem to reproduce this bug, what's your distro?

from pince.

Xoslorg avatar Xoslorg commented on September 22, 2024

Archlinux with gnome.

https://youtu.be/yyEl28C-Yxs

from pince.

korcankaraokcu avatar korcankaraokcu commented on September 22, 2024

I've done a clean installation of archlinux gnome and can confirm that this issue exists for the specified distro

I've fixed this issue by running export QT_QPA_PLATFORMTHEME=qt5ct on my end. Can you try running this before running pince and tell me if it works? I think you also need to install qt5ct before doing so

from pince.

Xoslorg avatar Xoslorg commented on September 22, 2024

Thanks, the problem is solved perfectly on my laptop, at home I will try with the desktop.

from pince.

korcankaraokcu avatar korcankaraokcu commented on September 22, 2024

Thanks for confirming, apparently this is a gnome related issue. There's a PR that upgrades the pyqt version to 6, if that doesn't fix the issue I'll try to include this in the installation script. Have a nice day

from pince.

korcankaraokcu avatar korcankaraokcu commented on September 22, 2024

Apparently this issue doesn't exist in pyqt6, that's a relief

from pince.

Xoslorg avatar Xoslorg commented on September 22, 2024

With last updates get same error.
/opt/PINCE/GUI/SettingsDialog.py:314: Warning: g_object_get_is_valid_property: object class 'GtkSettings' has no property named 'gtk-fallback-icon-theme'
self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok)
error:
Killed by signal 6.

from pince.

korcankaraokcu avatar korcankaraokcu commented on September 22, 2024

I've done another clean installation of archlinux gnome and unfortunately cannot reproduce the bug above, it's gone after pyqt6 upgrade for me. Maybe try the solution above with qt6ct?

from pince.

Xoslorg avatar Xoslorg commented on September 22, 2024

With clean installation
/opt/PINCE/GUI/SettingsDialog.py:314: Warning: g_object_get_is_valid_property: object class 'GtkSettings' has no property named 'gtk-fallback-icon-theme'
self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok)
error:
Killed by signal 11.

with clean installation and qt6ct
/opt/PINCE/GUI/SettingsDialog.py:314: Warning: g_object_get_is_valid_property: object class 'GtkSettings' has no property named 'gtk-fallback-icon-theme'
self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok)
free(): invalid pointer
error:
Killed by signal 6.

with clean installation and qt6ct & export QT_QPA_PLATFORMTHEME=qt6ct
/opt/PINCE/GUI/SettingsDialog.py:314: Warning: g_object_get_is_valid_property: object class 'GtkSettings' has no property named 'gtk-fallback-icon-theme'
self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok)
free(): invalid pointer
error:
Killed by signal 6.

from pince.

korcankaraokcu avatar korcankaraokcu commented on September 22, 2024

#116

Apparently Offpics has been able to fix it by installing qt5ct and launching it, maybe try that with qt6ct? You probably already installed it, telling that just in case if you haven't launched yet

from pince.

Xoslorg avatar Xoslorg commented on September 22, 2024

same result with qt5ct
/opt/PINCE/GUI/SettingsDialog.py:314: Warning: g_object_get_is_valid_property: object class 'GtkSettings' has no property named 'gtk-fallback-icon-theme'
self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok)
free(): invalid pointer
error:
Killed by signal 6.

from pince.

korcankaraokcu avatar korcankaraokcu commented on September 22, 2024

No I meant qt6ct and launching it

from pince.

Xoslorg avatar Xoslorg commented on September 22, 2024

Yes, first with qt6ct.

from pince.

korcankaraokcu avatar korcankaraokcu commented on September 22, 2024

Try inserting this to the beginning of pince.py

import gi

gi.require_version('Gtk', '3.0')

This apparently worked for someone else, hopefully it works for you too

from pince.

Xoslorg avatar Xoslorg commented on September 22, 2024

Good, I just tried it and now it works, thank you very much.

from pince.

korcankaraokcu avatar korcankaraokcu commented on September 22, 2024

This will be most likely added to pince soon, I'll notify you

from pince.

korcankaraokcu avatar korcankaraokcu commented on September 22, 2024

The patch is up, you can revert your local changes and update the project with git pull

from pince.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.