Third Party Softwares don't work

Bug #254064 reported by Soulou
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Tweak
Fix Released
Undecided
Unassigned

Bug Description

Hello.

I use Ubuntu Hardy Heron 8.04, and since the last upgrade, to the version 0.3.5, i can't not more use the third party softwares menu. When I click on Unlock, the program freeze, and I'm oblige to kill it.

I try to run it with sudo, but no results, impossible to active this menu, so if you have an idea, fix it.

Revision history for this message
Ding Zhou (tualatrix) wrote :

Can you run Ubuntu Tweak under terminal, and give the output to me?

Revision history for this message
Soulou (neon9100) wrote :

$ ubuntu-tweak >> UbTweakLog

/usr/lib/python2.5/site-packages/apt/__init__.py:18: FutureWarning: apt API not stable yet
  warnings.warn("apt API not stable yet", FutureWarning)

---> When I killed UT which was frozen : /usr/bin/ubuntu-tweak: line 4: 15214 Processus arrêté ./ubuntu-tweak.py

(UbTweakLog :

Lecture des listes de paquets... 0%

Lecture des listes de paquets... 0%

Lecture des listes de paquets... 5%

Lecture des listes de paquets... Fait

Construction de l'arbre des dépendances... 0%

Construction de l'arbre des dépendances... 0%

Construction de l'arbre des dépendances... 50%

Construction de l'arbre des dépendances... 50%

Construction de l'arbre des dépendances... 100%

Construction de l'arbre des dépendances

Lecture des informations d'état... 0%
Lecture des informations d'état... 0%

Lecture des informations d'état... Fait
) --> So nothing important.

Revision history for this message
johnlon (jakewc2) wrote :

Hi, I am having exactly the same problem, I am also on Ubuntu 8.04 and cant get my TPS Sources to Authenticate. It just hangs and I have to force quit.

Revision history for this message
crjackson (crjackson) wrote :

I'm having the same problem on multiple computers.

Revision history for this message
Ding Zhou (tualatrix) wrote :

Can you use this feature with Ubuntu Tweak now?
Please try it: http://ubuntu-tweak.com/2008/10/09/ubuntu-tweak-040-released.html

Revision history for this message
crjackson (crjackson) wrote :

Very nice interface. I get the same exact problem with the new release though. No change at all. Force quit is the only way to get out of Ubuntu Tweak after attempting to use the feature.

Revision history for this message
Damien Wendlinger (d-wendlinger) wrote :

Hi,
Using v0.4.0, I experience the same problem.
When running ubuntu-tweak as normal user, the "unlock" button in the "3rd party apps" or
"package cleaner" windows is available, but when clicking, says (dlg box) : "unable to authenticate, an unattended
error occured" (well, got it in french, it's my own english-translation there !)
When running as root, this button keeps being available, but clicking on it, I have no reaction.
Terminal logs :
damien@vostro:~$ sudo ubuntu-tweak
[sudo] password for damien: #######
You must not launch Ubuntu Tweak as root, it is INSECURE
## Yes we all know :-)
/usr/lib/python2.5/site-packages/apt/__init__.py:18: FutureWarning: apt API not stable yet
  warnings.warn("apt API not stable yet", FutureWarning)
Lecture des listes de paquets: Done
Lecture des informations d'état: Done
Lecture des informations d'état: Done
Lecture des informations d'état: Done
## these 4 previous lines were for package management, when accessing the add/remove feature
## there we go ! when clicking "3rd party" OR "package cleaner" :
Unhandled exception in thread started by <bound method PolkitButton.obtain_authorization of <PolkitButton object at 0x9e6970c (common+PolicyKit+PolkitButton+PolkitButton at 0x9ef2128)>>
Traceback (most recent call last):
  File "/usr/share/ubuntu-tweak/common/PolicyKit/PolkitButton.py", line 52, in obtain_authorization
    policykit = dbus.SessionBus().get_object('org.freedesktop.PolicyKit.AuthenticationAgent', '/')
  File "/var/lib/python-support/python2.5/dbus/bus.py", line 244, in get_object
    follow_name_owner_changes=follow_name_owner_changes)
  File "/var/lib/python-support/python2.5/dbus/proxies.py", line 241, in __init__
    self._named_service = conn.activate_name_owner(bus_name)
  File "/var/lib/python-support/python2.5/dbus/bus.py", line 183, in activate_name_owner
    self.start_service_by_name(bus_name)
  File "/var/lib/python-support/python2.5/dbus/bus.py", line 281, in start_service_by_name
    'su', (bus_name, flags)))
  File "/var/lib/python-support/python2.5/dbus/connection.py", line 607, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.Spawn.ChildExited: Launch helper exited with unknown return code 1
## from this point, must force ubuntu-tweak to quit with a CTRL+C
## once I stopped the app, these lines appear :
Traceback (most recent call last):
  File "ubuntu-tweak.py", line 74, in <module>
    launcher.main()
  File "ubuntu-tweak.py", line 69, in main
    gtk.main()
KeyboardInterrupt

Hope helps !

Revision history for this message
crjackson (crjackson) wrote :

I tried from the terminal and get the following errors - both as root and as normal user it fails with:

charles@charles-main:~$ sudo -i
[sudo] password for charles:
root@charles-main:~# ubuntu-tweak
You must not launch Ubuntu Tweak as root, it is INSECURE
/usr/lib/python2.5/site-packages/apt/__init__.py:18: FutureWarning: apt API not stable yet
  warnings.warn("apt API not stable yet", FutureWarning)
Reading package lists: Done
Reading state information: Done
Reading state information: Done
Reading state information: Done
root@charles-main:~#

charles@charles-main:~$ ubuntu-tweak
/usr/lib/python2.5/site-packages/apt/__init__.py:18: FutureWarning: apt API not stable yet
  warnings.warn("apt API not stable yet", FutureWarning)
Reading package lists: Done
Reading state information: Done
Reading state information: Done
Reading state information: Done

Revision history for this message
crjackson (crjackson) wrote :

I can confirm this bug on several computers.

Changed in ubuntu-tweak:
status: New → Confirmed
Revision history for this message
Ding Zhou (tualatrix) wrote :

Hello! I've made some progress of the Third Party feature.

Please use this version and report the state to me. Thanks!

Revision history for this message
Damien Wendlinger (d-wendlinger) wrote : Re: [Bug 254064] Re: Third Party Softwares don't work

Hi !
Thanks for this new version ! unfortunately, it does not help unlocking the
third-party software feature...
Please find below the terminal report of the problem :
## I run it as normal user
damien@vostro:~$ ubuntu-tweak
/usr/lib/python2.5/site-packages/apt/__init__.py:18: FutureWarning: apt API
not stable yet
  warnings.warn("apt API not stable yet", FutureWarning)
## Accessing the "add/remove" feature
Lecture des listes de paquets: Done
Lecture des informations d'état: Done
Lecture des informations d'état: Done
Lecture des informations d'état: Done
## clicking on "unlock" (3rd-party software)
## I get an error msg, still saying it cannot authenticate me.
ubuntu-tweak.py:71: GtkWarning: gdk_window_set_geometry_hints: assertion
`GDK_IS_WINDOW (window)' failed
  gtk.main()
## when I click on the "valider"-button (well, probably "ok" in english
version), the window is resized (its height is reduced)
ubuntu-tweak.py:71: GtkWarning: gdk_window_resize: assertion `GDK_IS_WINDOW
(window)' failed
  gtk.main()
## that's what happens when I re-click on the "valider"-button
ubuntu-tweak.py:71: GtkWarning:
gdk_window_freeze_toplevel_updates_libgtk_only: assertion `window != NULL'
failed
  gtk.main()
ubuntu-tweak.py:71: GtkWarning:
gdk_window_thaw_toplevel_updates_libgtk_only: assertion
`private->update_and_descendants_freeze_count > 0' failed
  gtk.main()
## no answer from terminal when I CTRL+C. Must exit with terminal-system
menu (but ubuntu-tweak window has gone already).

Hope this can help you further ahead !

Kindest regards,
Damien

2008/10/18 TualatriX <email address hidden>

> Hello! I've made some progress of the Third Party feature.
>
> Please use this version and report the state to me. Thanks!
>
> ** Attachment added: "Test version of Ubuntu Tweak 0.4.1"
> http://launchpadlibrarian.net/18662064/ubuntu-tweak_0.4.1%7E0_all.deb
>
> --
> Third Party Softwares don't work
> https://bugs.launchpad.net/bugs/254064
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Revision history for this message
Ding Zhou (tualatrix) wrote :

Thanks of your report.
Now please try this one. Hope it will runable.

Revision history for this message
chrizzler (chrizzler) wrote :

Now it works! Thanx!

Chris

Revision history for this message
Damien Wendlinger (d-wendlinger) wrote :

Hi,
sorry... this new version keeps saying an unattended error occured when i
try to unlock the "3rd party sources" or "package cleaner"
features.
something new : when I run it from terminal, I have nothing in the terminal
anymore (here's what I get when running, accessing 3rd party sources,
and exit :
damien@vostro:~$ ubuntu-tweak
/usr/lib/python2.5/site-packages/apt/__init__.py:18: FutureWarning: apt API
not stable yet
  warnings.warn("apt API not stable yet", FutureWarning)
Lecture des listes de paquets: Done
Lecture des informations d'état: Done
Lecture des informations d'état: Done
Lecture des informations d'état: Done

When I get the error, the error-window gets off when I click on the
"valider"-button, but no other effect.

K.R,
Damien

2008/10/19 TualatriX <email address hidden>

> Thanks of your report.
> Now please try this one. Hope it will runable.
>
> ** Attachment added: "ubuntu-tweak_0.4.1~0_all.deb"
> http://launchpadlibrarian.net/18677117/ubuntu-tweak_0.4.1%7E0_all.deb
>
> --
> Third Party Softwares don't work
> https://bugs.launchpad.net/bugs/254064
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Revision history for this message
Ding Zhou (tualatrix) wrote :

@Damien Wendlinger
When you press the "Unlock"(In English) button, nothing happened. Is it?

And can you use the "System"->"Administrator"->"Services"? Some system tools use the Unlock button too. Do they work?

Revision history for this message
Damien Wendlinger (d-wendlinger) wrote :

Hi,
That's quite right : when I press the unlock button, I still have a message
saying that an unattended error occured (can't authenticate)
but, when I press "ok" on the error message (well : "valider"), then the
dialog box disappears, and ubuntu-tweak still responds (I can
change category, do other things, etc...).

For the "services" option, Yes I can use it without problem (I also checked
in other administration tools, and everything works fine)

if you need more to help, let me know !
Damien

2008/10/19 TualatriX <email address hidden>

> @Damien Wendlinger
> When you press the "Unlock"(In English) button, nothing happened. Is it?
>
> And can you use the "System"->"Administrator"->"Services"? Some system
> tools use the Unlock button too. Do they work?
>
> --
> Third Party Softwares don't work
> https://bugs.launchpad.net/bugs/254064
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Revision history for this message
Ding Zhou (tualatrix) wrote :

It's strange.

Please open your "System"->"Preferences"->"Authorizations", and see whether "com.ubuntu-tweak.Tweak" is here. Thank you!

Revision history for this message
Damien Wendlinger (d-wendlinger) wrote :

Well.... ubuntu-tweak is listed in the "Authorizations" feature, with my profile as "always granted".
I tried to remove it, and, when I access the 3rd party sources or package cleaner, it does ask me
for my password, and then it DOES work !
It seems that giving special authorizations to ubuntu-tweak is not the right way ;-)
I don't know if this (handling special authorizations) could be defined (or not) as a bug, but for my
own concern, please consider it as closed !
Thank you for your help & please let me know if you need further help from me.

Thank you again,
Damien

Ding Zhou (tualatrix)
Changed in ubuntu-tweak:
status: Confirmed → 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.