Python Error
Brought to you by:
peter_silva
I am trying to run the Linux dashboard and when I type: sudo ./droboview on the command line I get the following error:
Traceback (most recent call last):
File "/usr/sbin/drobom", line 451, in <module>
tb = DroboGUI(d)
File "/usr/lib/pymodules/python2.6/DroboGUI.py", line 777, in __init__
self.__initOptionsTab()
File "/usr/lib/pymodules/python2.6/DroboGUI.py", line 657, in __initOptionsTab
self.Options.DDRCheckBox.setChecked( self.options['DualDiskRedundancy'] )
TypeError: 'NoneType' object is unsubscriptable
What package do I not have installed. I am running drobo-utils-0.6.2.2
Thanks!
-Heather
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
Do you have code Access.
The error happens because the options object is not set.
self.Options.DDRCheckBox.setChecked( self.options['DualDiskRedundancy'] )
Thats the only place the code is trying to use a subscript.
Thanks ...
That error is really odd. It is like it skipped over the device detection and went straight to firing up a GUI. try doing "drobom info" I would like to see the output of that command line option.
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
I am having getting the same error as Heather
DroboElite
OS: Ubuntu server 64bit 10.04
drobo-utils-0.6.2.2
drobom info - produces the following
---------------------------------------------------------
Drobo Name: DroboElite Devices: /dev/sdb
Time: Wed Jul 14 20:21:45 2010
---------------------------------------------------------
Configuration maxima: slots: 8, luns: 0, lunsize: 36028814 TB
Capacity (in GB): used: 0, free: 13648, total: 13648
protocol version: 0.11
SCSI emulation information:
Vendor: Drobo Model: DroboElite Revision: 1.00
/dev/sdb: bus=scsi6 channel=0 id=0 lun=0 (vendor=Drobo , version=30527)
query slotinfo result: number of slots: 8
slot GB Model Status
0 2000 WDC WD20EARS-00MVWB0 green
1 2000 WDC WD20EARS-00MVWB0 green
2 2000 WDC WD20EARS-00MVWB0 green
3 2000 WDC WD20EARS-00MVWB0 green
4 2000 WDC WD20EARS-00MVWB0 green
5 2000 WDC WD20EARS-00MVWB0 green
6 2000 WDC WD20EARS-00MVWB0 green
7 2000 WDC WD20EARS-00MVWB0 green
Firmware: 1.0.3
Revision: 3.19 ( 29625 ) built: May 27 2010,11:35:43
Features: NO_AUTO_REBOOT,NO_FAT32_FORMAT,USED_CAPACITY_FROM_HOST,DISKPACKSTATUS,ENCRYPT_NOHEADER,CMD_STATUS_QUERIABLE,VARIABLE_LUN_SIZE_1_16,PARTITION_LUN_GPT_MBR,FAT32_FORMAT_VOLNAME,SUPPORTS_NEW_LUNINFO2,feature x0800,LUN_MANAGEMENT,feature x2000 ,SUPPORTS_OPTIONS2,SUPPORTS_SHUTDOWN,leftovers (0x60000)
/dev/sdb - DroboElite 00% full - ([], 0)
query options result:
Traceback (most recent call last):
File "/usr/sbin/drobom", line 394, in <module>
info(d,valid_print)
File "/usr/sbin/drobom", line 217, in info
eval( "print" + c + "(d)" )
File "<string>", line 1, in <module>
File "/usr/sbin/drobom", line 190, in printoptions
for i in options.keys():
AttributeError: 'NoneType' object has no attribute 'keys'
Thanks