glib.GError: Type mismatch: Expected `string' got `int' for key /system/proxy/secure_port

Bug #650928 reported by Anthony Batchelor
28
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Guake
Fix Released
Unknown
guake (Fedora)
Fix Released
Medium
guake (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: guake

When a proxy is set up in Gnomes Network Proxy app, guake fails to start with the following error...

$ guake
Traceback (most recent call last):
  File "/usr/lib/guake/guake.py", line 1353, in <module>
    if not main():
  File "/usr/lib/guake/guake.py", line 1296, in main
    instance = Guake()
  File "/usr/lib/guake/guake.py", line 620, in __init__
    self.add_tab()
  File "/usr/lib/guake/guake.py", line 1137, in add_tab
    final_params = self.get_fork_params(default_params)
  File "/usr/lib/guake/guake.py", line 1086, in get_fork_params
    self.update_proxy_vars()
  File "/usr/lib/guake/guake.py", line 1102, in update_proxy_vars
    ssl_port = self.client.get_string('/system/proxy/secure_port')
glib.GError: Type mismatch: Expected `string' got `int' for key /system/proxy/secure_port

Description: Ubuntu maverick (development branch)
Release: 10.10

I expected Guake to open, instead it crashed.

Related branches

Revision history for this message
In , Jean-Marc (jean-marc-redhat-bugs) wrote :

abrt version: 1.1.13
architecture: i686
cmdline: guake -OO /usr/lib/guake/guake.py
component: guake
executable: /usr/lib/guake/guake.py
kernel: 2.6.33.6-147.2.4.fc13.i686.PAE
package: guake-0.4.2-1.fc13
release: Fedora release 13 (Goddard)
time: 1282546830
uid: 500

backtrace
-----
guake.py:1102:update_proxy_vars:GError: Incohrence de type: Attente de string, int obtenu pour la cl /system/proxy/secure_port

Traceback (most recent call last):
  File "/usr/lib/guake/guake.py", line 1353, in <module>
    if not main():
  File "/usr/lib/guake/guake.py", line 1296, in main
    instance = Guake()
  File "/usr/lib/guake/guake.py", line 620, in __init__
    self.add_tab()
  File "/usr/lib/guake/guake.py", line 1137, in add_tab
    final_params = self.get_fork_params(default_params)
  File "/usr/lib/guake/guake.py", line 1086, in get_fork_params
    self.update_proxy_vars()
  File "/usr/lib/guake/guake.py", line 1102, in update_proxy_vars
    ssl_port = self.client.get_string('/system/proxy/secure_port')
GError: Incohrence de type: Attente de string, int obtenu pour la cl /system/proxy/secure_port

Local variables in innermost frame:
self: Guake(path="/usr/share/guake/guake.glade")
host: 'localhost'
proxy: '/system/http_proxy/'
port: 8080
ssl_host: ''

How to reproduce
-----
1. start fedora
2. click on 'alt F2' to run the command box
3. guake 'enter'
4 bug

Revision history for this message
In , Jean-Marc (jean-marc-redhat-bugs) wrote :

Created an attachment (id=440301)
File: backtrace

Revision history for this message
In , Pierre-YvesChibon (pierre-yveschibon-redhat-bugs) wrote :

How often can you reproduce it ?

Revision history for this message
In , Jean-Marc (jean-marc-redhat-bugs) wrote :

 Any time as you want .
 I cant load guake anymore at this time.

 I can do test if you want

Revision history for this message
In , Pierre-YvesChibon (pierre-yveschibon-redhat-bugs) wrote :

It seems that you are using a proxy, somewhere is defined
port: 8080
could you try to put there port: '8080' ?

Revision history for this message
In , Pierre-YvesChibon (pierre-yveschibon-redhat-bugs) wrote :

hm actually I think that would be bad.

I think I found the bug, I attached the patch here

Revision history for this message
In , Pierre-YvesChibon (pierre-yveschibon-redhat-bugs) wrote :

Created attachment 440308
Retrieve the proxy port as int

Revision history for this message
In , Jean-Marc (jean-marc-redhat-bugs) wrote :

 i did :

* gnome-network-property
* select 'no proxy'

 works perfectly now.
 I can make other tests if you want to

Tx

Revision history for this message
In , Pierre-YvesChibon (pierre-yveschibon-redhat-bugs) wrote :

Actually, if you could come back to the previous situation and test the patch that would confirmed its effect.

Thanks

Revision history for this message
In , Fedora (fedora-redhat-bugs) wrote :

guake-0.4.2-2.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/guake-0.4.2-2.fc13

Revision history for this message
In , Fedora (fedora-redhat-bugs) wrote :

guake-0.4.2-2.fc14 has been submitted as an update for Fedora 14.
http://admin.fedoraproject.org/updates/guake-0.4.2-2.fc14

Revision history for this message
In , Fedora (fedora-redhat-bugs) wrote :

guake-0.4.2-2.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/guake-0.4.2-2.fc12

Revision history for this message
In , Pierre-YvesChibon (pierre-yveschibon-redhat-bugs) wrote :

*** Bug 626772 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Fedora (fedora-redhat-bugs) wrote :

guake-0.4.2-2.fc12 has been pushed to the Fedora 12 testing repository. If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with
 su -c 'yum --enablerepo=updates-testing update guake'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/guake-0.4.2-2.fc12

Revision history for this message
In , Pat (pat-redhat-bugs) wrote :

Package: guake-0.4.2-1.fc12
Architecture: i686
OS Release: Fedora release 12 (Constantine)

How to reproduce
-----
It happens as soon as Guake opens and ever since a recent update came through (~2010.08.20)

Revision history for this message
In , Pierre-YvesChibon (pierre-yveschibon-redhat-bugs) wrote :

Thanks to test the version in Bodhi and give it karma if you want to see it pushed in stable

Revision history for this message
In , Fedora (fedora-redhat-bugs) wrote :

guake-0.4.2-2.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report.

Revision history for this message
In , Fedora (fedora-redhat-bugs) wrote :

guake-0.4.2-2.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report.

Revision history for this message
In , Fedora (fedora-redhat-bugs) wrote :

guake-0.4.2-2.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.

tags: added: regression-potential
Changed in guake:
status: Unknown → Confirmed
Revision history for this message
Anthony Batchelor (toeknee) wrote :

Turns out there is a fix released upstream: http://labs.alfaiati.net/guake/ticket/246 with a one line patch.

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Thanks for your report. I can't reproduce the error in Maverick. Is it still an issue with the final version of Maverick ?

Changed in guake (Ubuntu):
status: New → Incomplete
tags: added: maverick
removed: regression-potential
Revision history for this message
Anthony Batchelor (toeknee) wrote :

It seems to be working now

Revision history for this message
Felix Zweig (f.zweig) wrote :

Actually, it stopped working for me a few days ago.

Changed in guake (Ubuntu):
status: Incomplete → Confirmed
tags: added: apport-collected
Revision history for this message
Felix Zweig (f.zweig) wrote : apport information

Architecture: amd64
DistroRelease: Ubuntu 10.10
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
Package: guake 0.4.2-2ubuntu1
PackageArchitecture: amd64
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.utf8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.35-22.35-generic 2.6.35.4
Tags: maverick
Uname: Linux 2.6.35-22-generic x86_64
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Revision history for this message
Felix Zweig (f.zweig) wrote : Dependencies.txt

apport information

Revision history for this message
Felix Zweig (f.zweig) wrote :

changed from duplicate

Changed in guake:
status: Confirmed → Unknown
Revision history for this message
Felix Zweig (f.zweig) wrote :

I tried to include the patch, see lp:~f.zweig/ubuntu/maverick/guake/guake-fix-650928 for the fix.

Changed in guake:
status: Unknown → New
Revision history for this message
AndyOsi (andres-osinski) wrote :

Happens to me as well.

Changed in guake:
status: New → Fix Released
Revision history for this message
Andreas Moog (ampelbein) wrote :

This is fixed in natty.

Changed in guake (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
cheatex@gmail.com (cheatexmail) wrote :

I have same problem in Ubuntu 10.10, guake package version: 0.4.2-2ubuntu1.

Will it be fixed for 10.10?

Revision history for this message
Andreas Moog (ampelbein) wrote : Re: [Bug 650928] Re: glib.GError: Type mismatch: Expected `string' got `int' for key /system/proxy/secure_port

If you need a fix on Maverick, you can try my ppa at

https://launchpad.net/~amoog/+archive/backports

Changed in guake (Fedora):
importance: Unknown → Medium
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.