[win32] Cannot access home network on parallels

Bug #314028 reported by Sudesh
0
Affects Status Importance Assigned to Milestone
Moovida
Fix Released
High
Fernando Casanova

Bug Description

On mac parallels, on windows and vista ,cannot access home network through Elisa. I can goto network places -> windows network , and can see all computers in my domain and also copy shared folders. But when tried to access through Elisa->Home network can't enter home network. Attaching log files and screenshot.

Steps to reproduce.

1.Start Mac parallels
2.Start winxp/vista snapshot
3.Start Elisa
4.Goto home network , i.e Music->Home network or Video->Home network

Expected Result : Able to enter home network, see the computers in domain.

Current Result : Cannot enter Home network.

Tags: fix-verified

Related branches

Revision history for this message
Sudesh (sudeshc-deactivatedaccount) wrote :
Revision history for this message
Olivier Tilloy (osomon) wrote :

By "on windows and vista" do you mean "on XP and vista"?
Please avoid attaching zip files, it just makes it a pain to quickly read the log files.
For further investigation, here is the relevant bit of the log file:

Traceback (most recent call last):

  File "C:\Program Files\Elisa\elisa-plugins\elisa\plugins\poblesec\history.py", line 78, in append_controller

  File "C:\Program Files\Elisa\elisa-plugins\elisa\plugins\pigment\pigment_frontend.py", line 166, in create_controller

  File "C:\Program Files\Elisa\deps\lib\site-packages\twisted\internet\defer.py", line 191, in addCallback

  File "C:\Program Files\Elisa\deps\lib\site-packages\twisted\internet\defer.py", line 182, in addCallbacks

--- <exception caught here> ---

  File "C:\Program Files\Elisa\deps\lib\site-packages\twisted\internet\defer.py", line 317, in _runCallbacks

  File "C:\Program Files\Elisa\elisa-plugins\elisa\plugins\pigment\pigment_frontend.py", line 224, in _set_frontend

  File "C:\Program Files\Elisa\elisa-plugins\elisa\plugins\poblesec\network.py", line 79, in set_frontend

  File "C:\Program Files\Elisa\elisa-plugins\elisa\plugins\poblesec\network.py", line 88, in list_network_shares

  File "c:\program files\elisa\elisa-core\elisa\core\resource_manager.py", line 176, in get

  File "c:\program files\elisa\elisa-core\elisa\core\resource_manager.py", line 145, in _proxy

  File "C:\Program Files\Elisa\elisa-plugins\elisa\plugins\filtered_shares\filtered_shares_resource.py", line 73, in get

  File "c:\program files\elisa\elisa-core\elisa\core\resource_manager.py", line 176, in get

  File "c:\program files\elisa\elisa-core\elisa\core\resource_manager.py", line 145, in _proxy

  File "C:\Program Files\Elisa\elisa-plugins\elisa\plugins\smbwin32\smbwin32_resource.py", line 96, in get

exceptions.TypeError: cannot concatenate 'str' and 'NoneType' objects

WARN MainThread default Jan 05 11:00:21 Entering controller with path /poblesec/music/network failed. Full failure log at c:\docume~1\sudeshc\locals~1\temp\elisa_4sxfzm.txt (elisa\plugins\poblesec\history.py:73)

description: updated
Changed in elisa:
importance: Undecided → Medium
milestone: none → 0.5.x
Revision history for this message
Sudesh (sudeshc-deactivatedaccount) wrote :

Yes .I meant XP and vista snapshots on mac parallels.

Revision history for this message
Olivier Tilloy (osomon) wrote :

@Sudesh: can you still observe this issue with the latest Moovida?

Changed in elisa:
milestone: 0.5.x → none
Revision history for this message
Sudesh (sudeshc-deactivatedaccount) wrote :

Yes still cannot enter 'other computers' on xp ,vista VM images with similar stack trace as before.
Can enter 'other computers' on physical machines for large networks also , no problems there.

Stack trace while entering 'other computers' on Moovida(for windows VM) :

 WARN MainThread filtered_shares_resource Oct 08 18:08:19 coherence://media_servers not found. (elisa\plugins\filtered_shares\filtered_shares_resource.py:79)
Traceback (most recent call last):
  File "C:\Program Files\Moovida\deps\lib\site-packages\twisted\internet\defer.py", line 191, in addCallback

  File "C:\Program Files\Moovida\deps\lib\site-packages\twisted\internet\defer.py", line 182, in addCallbacks

  File "C:\Program Files\Moovida\deps\lib\site-packages\twisted\internet\defer.py", line 317, in _runCallbacks

  File "c:\program files\moovida\elisa-plugins\elisa\plugins\pigment\pigment_frontend.py", line 227, in _set_frontend

--- <exception caught here> ---
  File "C:\Program Files\Moovida\deps\lib\site-packages\twisted\internet\defer.py", line 107, in maybeDeferred

  File "C:\src\1.0.7\elisa-plugins\elisa\plugins\poblesec\network.py", line 78, in set_frontend

  File "C:\src\1.0.7\elisa-plugins\elisa\plugins\poblesec\network.py", line 84, in list_network_shares

  File "C:\src\1.0.7\elisa-core\elisa\core\resource_manager.py", line 176, in get

  File "C:\src\1.0.7\elisa-core\elisa\core\resource_manager.py", line 145, in _proxy

  File "c:\program files\moovida\elisa-plugins\elisa\plugins\filtered_shares\filtered_shares_resource.py", line 77, in get

  File "C:\src\1.0.7\elisa-core\elisa\core\resource_manager.py", line 176, in get

  File "C:\src\1.0.7\elisa-core\elisa\core\resource_manager.py", line 145, in _proxy

  File "c:\program files\moovida\elisa-plugins\elisa\plugins\smbwin32\smbwin32_resource.py", line 96, in get

exceptions.TypeError: cannot concatenate 'str' and 'NoneType' objects

Revision history for this message
Olivier Tilloy (osomon) wrote :

Could you please set the ELISA_DEBUG environment variable to "smb*:5" (without the surrounding double quotes) and run Moovida, reproduce the bug, exit and attach the resulting log file?

Revision history for this message
Sudesh (sudeshc-deactivatedaccount) wrote :

Please find attached log file for the issue.

Revision history for this message
Olivier Tilloy (osomon) wrote :

I can reliably reproduce on windows XP running in Parallels.
Bumping the importance to high, not so much for symptoms of the bug itself, but because it potentially keeps us from detecting other bugs related to the local network when testing in Parallels (where most of the testing happens today).

Changed in elisa:
importance: Medium → High
status: New → Confirmed
Revision history for this message
Olivier Tilloy (osomon) wrote :

I did a bit of investigation, and the culprit appears to be the Z:\ network drive ('Home' on .psf).

The exception is raised in elisa-plugins/elisa/plugins/smbwin32/smbwin32_resource.py at line 95:

    MediaUri("smb://" + server)

because server is None (which should of course not happen).

Putting a breakpoint at this place reveals that the value of self._shares is:

    {None: [MediaUri(u'file:////.psf/Home')]}

Anyone who will tackle this issue will have to go up the stack to understand why we end up with a None key in the dictionary of shares.

Changed in elisa:
assignee: nobody → Guillaume Emont (guijemont)
Changed in elisa:
milestone: none → bug-fixing-day
Changed in elisa:
assignee: Guillaume Emont (guijemont) → Fernando Casanova (fcasanova)
status: Confirmed → In Progress
Changed in elisa:
status: In Progress → Fix Committed
Olivier Tilloy (osomon)
Changed in moovida:
milestone: bug-fixing-day → 1.0.9
Revision history for this message
laura burbaite (lburbaite) wrote :
tags: added: fix-verified
Revision history for this message
laura burbaite (lburbaite) wrote :
Olivier Tilloy (osomon)
Changed in moovida:
status: Fix Committed → Fix Released
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.