Cannot access Windows share

Asked by ed on 2011-09-11

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

I also tried installing Midnight Commander, that didn't work either, any suggestions?

Thanks,

Ed

Question information

Language:
English Edit question
Status:
Needs information
For:
pyneighborhood Edit question
Assignee:
No assignee Edit question
Last query:
2011-09-11
Last reply:
2011-09-18

Looks like a bug, thanks for reporting. I've created a bug report at https://bugs.launchpad.net/pyneighborhood/+bug/846882.

Betz Stefan (encbladexp) said : #2

I need the output of "nmblookup -A ipofyourserver", please subscribe to the bugreport!

Can you help with this problem?

Provide an answer of your own, or ask ed for more information if necessary.

To post a message you must log in.