"unity --reset" crashed with NameError in reset_unity_compiz_profile(): global name 'GError' is not defined

Bug #953690 reported by Norman Haikal
44
This bug affects 8 people
Affects Status Importance Assigned to Milestone
Unity
Fix Committed
Low
Unassigned
unity (Ubuntu)
Fix Committed
Low
Unassigned

Bug Description

i have done my dist-upgrade and reboot, but suddenly my unity breaks, i do the unity --reset but no luck, then i use gnome shell and re install unity via synaptic. and then i reboot and use unity as my current DE and got this bug report

ProblemType: Crash
DistroRelease: Ubuntu 12.04
Package: unity 5.6.0-0ubuntu1
Uname: Linux 3.3.0-030300rc7-generic x86_64
.tmp.unity.support.test.0:

ApportVersion: 1.94.1-0ubuntu2
Architecture: amd64
CompizPlugins: [core,composite,opengl,compiztoolbox,decor,vpswitch,snap,mousepoll,resize,place,move,wall,grid,regex,imgpng,session,gnomecompat,animation,fade,unitymtgrabhandles,workarounds,scale,expo,ezoom,unityshell]
CompositorRunning: compiz
CurrentDmesg:
 [ 48.481433] vboxdrv: fAsync=0 offMin=0x3d2 offMax=0xe8b
 [ 48.481582] vboxdrv: TSC mode is 'synchronous', kernel timer mode is 'normal'.
 [ 48.481586] vboxdrv: Successfully loaded version 4.1.8_Ubuntu (interface 0x00190000).
 [ 48.845885] vboxpci: IOMMU not found (not registered)
 [ 115.445979] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
Date: Tue Mar 13 11:51:46 2012
DistUpgraded: Log time: 2012-03-13 00:17:26.080708
DistroCodename: precise
DistroVariant: ubuntu
DkmsStatus:
 virtualbox, 4.1.8, 3.2.0-18-generic, x86_64: installed
 virtualbox, 4.1.8, 3.3.0-030300rc6-generic, x86_64: installed
 virtualbox, 4.1.8, 3.3.0-030300rc7-generic, x86_64: installed
ExecutablePath: /usr/bin/unity
GraphicsCard:
 Advanced Micro Devices [AMD] nee ATI Wrestler [Radeon HD 6310] [1002:9802] (prog-if 00 [VGA controller])
   Subsystem: ASUSTeK Computer Inc. Device [1043:103c]
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120226)
InterpreterPath: /usr/bin/python2.7
MachineType: ASUSTeK Computer Inc. K43U
ProcCmdline: /usr/bin/python /usr/bin/unity --reset
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.3.0-030300rc7-generic root=UUID=b99af871-ed7b-4378-ab0a-7591b226ffb0 ro quiet splash vt.handoff=7
PythonArgs: ['/usr/bin/unity', '--reset']
SourcePackage: unity
Title: unity crashed with NameError in reset_unity_compiz_profile(): global name 'GError' is not defined
UpgradeStatus: Upgraded to precise on 2012-03-12 (0 days ago)
UserGroups: adm audio cdrom dialout dip fax floppy fuse lpadmin netdev plugdev sambashare scanner sudo tape vboxusers video
dmi.bios.date: 11/08/2011
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 217
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: K43U
dmi.board.vendor: ASUSTeK Computer Inc.
dmi.board.version: 1.0
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: ASUSTeK Computer Inc.
dmi.chassis.version: 1.0
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr217:bd11/08/2011:svnASUSTeKComputerInc.:pnK43U:pvr1.0:rvnASUSTeKComputerInc.:rnK43U:rvr1.0:cvnASUSTeKComputerInc.:ct10:cvr1.0:
dmi.product.name: K43U
dmi.product.version: 1.0
dmi.sys.vendor: ASUSTeK Computer Inc.
version.compiz: compiz 1:0.9.7.0+bzr3035-0ubuntu1
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.30-1ubuntu1
version.libgl1-mesa-dri: libgl1-mesa-dri 8.0.1-0ubuntu2
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 8.0.1-0ubuntu2
version.xserver-xorg-core: xserver-xorg-core 2:1.11.4-0ubuntu6
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.6.99.901+git20120126-0ubuntu2
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.14.99~git20111219.aacbd629-0ubuntu2
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.17.0-1ubuntu4
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20111201+b5534a1-1build2

Revision history for this message
Norman Haikal (normanh38) wrote :
tags: removed: need-duplicate-check
visibility: private → public
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in unity (Ubuntu):
status: New → Confirmed
Revision history for this message
Peter De Maeyer (peter-de-maeyer) wrote :

Really weird... I get all these dialog boxes on an otherwise black screen asking me questions, but since the screen is black I can't type any answers... Until suddenly Chrome opens against a pitch black screen, and opens this page for me...

Some people suggest doing "unity --reset", but my question is _where_ to get a terminal from? I tried it from tty1 (CTRL-ALT-F1), but that didn't work. How the hell do I open a terminal?

Revision history for this message
stevoo (stevoo82) wrote :

unity --reset will do the trick for that session.
Hit Ctrl+alt+f1
login and do the unity --reset and then hit ctrl+alt+f7
The problem is that when you restart youll need to do the unity --reset again.

I am working on somethings to see if i can get a perm fix on that, but devs will need to investigate why this is happening/

Revision history for this message
leoliu (leoliu100) wrote :

After install ubuntu12.04,everything looks okay and run smoothly.When connet on the internet,some update news will comes out.
And we don't know which updated files are the useful for client,but after update and close the compter,and then turn on the compter again,always something happened.This is one bug above,the task bar and left bar vanished and input the command:
# unity --reset

(process:3533): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
Traceback (most recent call last):
  File "/usr/bin/unity", line 222, in <module>
    reset_unity_compiz_profile ()
  File "/usr/bin/unity", line 84, in reset_unity_compiz_profile
    except (GError, AttributeError), e:
NameError: global name 'GError' is not defined

summary: - unity crashed with NameError in reset_unity_compiz_profile(): global
- name 'GError' is not defined
+ "unity --reset" crashed with NameError in reset_unity_compiz_profile():
+ global name 'GError' is not defined
Changed in unity:
status: New → Confirmed
Revision history for this message
Sebastien Bacher (seb128) wrote :
Changed in unity:
importance: Undecided → Low
Changed in unity (Ubuntu):
importance: Undecided → Low
status: Confirmed → Fix Committed
Changed in unity:
status: Confirmed → Fix Committed
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug 778470, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Feel free to continue to report any other bugs you may find.

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.