pyneighborhood team mailing list archive
-
pyneighborhood team
-
Mailing list archive
-
Message #00275
[Bug 846882] Re: Exception in thread: TypeError: 'NoneType' object is not subscriptable
Sorry about the delay, old Xubuntu PC died, set up new PC with Xubuntu 11.04
1. Testparm results:
ed@whitebox:~/Desktop$ testparm /etc/samba/smb.conf
Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
Processing section "[homes]"
Processing section "[netlogon]"
Processing section "[profiles]"
Processing section "[printers]"
Processing section "[pdf-documents]"
Processing section "[pdf-printer]"
Loaded services file OK.
WARNING: You have some share names that are longer than 12 characters.
These may not be accessible to some older clients.
(Eg. Windows9x, WindowsMe, and smbclient prior to Samba 3.0.)
Server role: ROLE_DOMAIN_PDC
2. Same error:
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/pyneighborhood/addwindow.py", line 113, in response_handler
query_workgroup(ip, True)
File "/usr/lib/pymodules/python2.7/pyneighborhood/nmblookup.py", line 114, in query_workgroup
return (workgroup, cursor.fetchone()[0])
TypeError: 'NoneType' object is not subscriptable
Press enter to see a dump of your service definitions
--
You received this bug notification because you are a member of
pyNeighborhood, which is a bug assignee.
https://bugs.launchpad.net/bugs/846882
Title:
Exception in thread: TypeError: 'NoneType' object is not
subscriptable
Status in pyNeighborhood:
Incomplete
Bug description:
Reported in
https://answers.launchpad.net/pyneighborhood/+question/170801:
I am using Ubuntu 11.04, I can browse Windows shares using Gigolo and copy files from my fileserver running Server 2008.
Installed 0.5.1 using Synaptic ( the repository is still not updated), and could not browse Windows share ( file manager is Thunar)
Updated to 0.5.4, still cannot browse shares, the error is consistent after rebooting.
When I enter the URL, IP and share name, I get a generic error: TypeError: 'NoneType' object is not subscriptable
ed@whitebox:~/Desktop$ pyNeighborhood
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner
self.run()
File "/usr/lib/pymodules/python2.7/pyneighborhood/browsing.py", line 56, in run
workgroup, workgroupid = query_workgroup(master)
File "/usr/lib/pymodules/python2.7/pyneighborhood/nmblookup.py", line 114, in query_workgroup
return (workgroup, cursor.fetchone()[0])
TypeError: 'NoneType' object is not subscriptable
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/pyneighborhood/addwindow.py", line 113, in response_handler
query_workgroup(ip, True)
File "/usr/lib/pymodules/python2.7/pyneighborhood/nmblookup.py", line 114, in query_workgroup
return (workgroup, cursor.fetchone()[0])
TypeError: 'NoneType' object is not subscriptable
To manage notifications about this bug go to:
https://bugs.launchpad.net/pyneighborhood/+bug/846882/+subscriptions
References