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

Does not start after upgrade to 3.7.0 with pip3 due to faulty schema #1718

Closed
sphh opened this issue Feb 11, 2020 · 6 comments · Fixed by #1893
Closed

Does not start after upgrade to 3.7.0 with pip3 due to faulty schema #1718

sphh opened this issue Feb 11, 2020 · 6 comments · Fixed by #1893

Comments

@sphh
Copy link

sphh commented Feb 11, 2020

After upgrading from 3.6.3 to 3.7.0 Guake does not start anymore.

I intalled Guake 3.6.3 with
sudo pip3 install guake
and consequently updated it with
sudo pip3 install --upgrade guake

Expected behavior

Guake 3.7.0 should start.

Actual behavior

I get the following output, when I start guake from the terminal:

Guake not running, starting it
Loading Gnome schema from: /usr/local/lib/python3.6/dist-packages/guake/data
Language previously loaded from: /usr/local/lib/python3.6/dist-packages/guake/po
Guake Terminal 3.7.0
VTE 0.52.2
Gtk 3.22.30
created fresh notebook for workspace 0
Spawning new terminal at /home/sph
current workspace is 0
can't bind show-focus key

(guake:23924): GLib-GIO-ERROR **: 23:19:04.112: Settings schema 'guake.general' does not contain a key named 'display-tab-names'
Trace/breakpoint trap (core dumped)

I use Linux Mint 19.3 and Python3.6.


$ guake --support

Guake Version: 3.7.0

Vte Version: 0.52.2

Vte Runtime Version: 0.52.2


GTK+ Version: 3.22.30

GDK Backend: GdkX11.X11Display


Desktop Session: cinnamon


Display: :0

RGBA visual: True

Composited: True

  • Monitor: 0 - eDP1
    • Geometry: 2736 x 1824 at 0, 1080
    • Size: 260 x 170 mm²
    • Primary: True
    • Refresh rate: 59.96 Hz
    • Subpixel layout: unknown
  • Monitor: 1 - HDMI2
    • Geometry: 1920 x 1080 at 816, 0
    • Size: 480 x 270 mm²
    • Primary: False
    • Refresh rate: 60.00 Hz
    • Subpixel layout: unknown
@sphh sphh changed the title Does not start after upgrade to 3.7.0 with pip3 Does not start after upgrade to 3.7.0 with pip3 due to faulty schema Feb 12, 2020
@sphh
Copy link
Author

sphh commented Feb 12, 2020

Well, I downloaded the new org.guake.gschema.xml schema, saved it in an empty directory, cd'ed into this directory and compiled it with glib-compile-schemas, resulting in a file named gschemas.compiled. Then I could move the compiled schema into /usr/local/lib/python3.6/dist-packages/guake/data (use you own Python version!) replacing the existing schema and change ownership with sudo chown root.staff gschemas.compiled. Now Guake starts.

Would be great, if the PyPi package will get an updated compiled schema …

@MijikHna
Copy link

Thankt @sphh. That worked for me too. Using debian 10.3. But actually I had already gschemas.compiled in guake/data. I had to replace existing gschemas.compiled

@sphh
Copy link
Author

sphh commented Feb 28, 2020

@kirillsafin, you are right: There exists a schema which has to be replaced. I updated my post #1718 (comment).

@sphh
Copy link
Author

sphh commented Mar 25, 2020

I believe #1621 is related.

@Davidy22
Copy link
Collaborator

Did some testing, figured out that if there is an existing schema, guake will not generate a new one. Only attempts to generate if there is no schema, patch coming to attempt a fix.

@Davidy22
Copy link
Collaborator

I've opened a pull request with a potential fix. From the pull request's branch, you can run make wheel to create a wheel file in a /dist directory, then pip install the wheel. If this resolves/doesn't resolve the problem, confirmation in the open pull request or here would be appreciated.

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