This works fine:

In [9]: report['UnitySupportTest'] =
command_output(['/usr/lib/nux/unity_support_test', '-p'])

In [10]: report['UnitySupportTest']
Out[10]: '\x1b[0;38;48mNux: 
---------------------------\x1b[0;38;48m\n\x1b[0;38;48mNux: Device pci id 
detection ...\x1b[0;38;48m\n\x1b[0;38;48mNux: 
---------------------------\x1b[0;38;48m\n\x1b[1;32;48mNux: lspci: 01:00.0 VGA 
compatible controller [0300]: ATI Technologies Inc RV730 PRO [Radeon HD 4650] 
[1002:9498]\n\x1b[0;38;48m\n\x1b[1;32;48mNux: PCI [vendor:device]: 
[1002:9498]\x1b[0;38;48m\n\x1b[1;32;48mNux: Device Id: 
0x1002\x1b[0;38;48m\n\x1b[1;32;48mNux: Vendor Id: 
0x9498\x1b[0;38;48m\n\x1b[0;38;48mNux: 
------------------------\x1b[0;38;48m\n\x1b[0;38;48mNux: Graphics device info 
...\x1b[0;38;48m\n\x1b[0;38;48mNux: 
------------------------\x1b[0;38;48m\n\x1b[0;38;48mNux: 
------------------------\x1b[0;38;48m\n\x1b[0;38;48mNux: OpenGL version check 
...\x1b[0;38;48m\n\x1b[0;38;48mNux: 
------------------------\x1b[0;38;48m\n\x1b[1;32;48mNux: System OpenGL: 2.1 
[Minimum Required 1.4]\x1b[0;38;48m\n\x1b[0;38;48mNux: 
-------------------_------\x1b[0;38;48m\n\x1b[0;38;48mNux: OpenGL extension 
check ...\x1b[0;38;48m\n\x1b[0;38;48mNux: 
--------------------------\x1b[0;38;48m\n\x1b[1;32;48mNux: Frame Buffer Object 
support: YES\x1b[0;38;48m\n\x1b[1;32;48mNux: ARB Vertex Program: 
YES\x1b[0;38;48m\n\x1b[1;32;48mNux: ARB Fragment Program: 
YES\x1b[0;38;48m\n\x1b[1;32;48mNux: Non Power Of Two Textures: 
YES\x1b[0;38;48m\n\x1b[1;32;48mNux: Rectangle Texture: 
YES\x1b[0;38;48m\n\x1b[1;32;48mNux: Vertex Buffer Object: 
YES\x1b[0;38;48m\n\x1b[1;32;48mNux: Pixel Buffer Object: 
YES\x1b[0;38;48m\n\x1b[0;38;48mNux: 
---------------------------\x1b[0;38;48m\n\x1b[0;38;48mNux: Unity support 
assesment ...\x1b[0;38;48m\n\x1b[0;38;48mNux: 
---------------------------\x1b[0;38;48m\n\x1b[1;32;48mNux: The system can run 
Unity.\x1b[0;38;48m'

so it is probably something in the __setitem__ funciton of
problem_report.py of apport.  It'd also be good if unity_support_test
had a switch made it not use colors.

Looking at the output of unity_support_test perhaps only the last line
is relevant?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/710630

Title:
  fglrx apport hook AssertionError in __setitem__

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to