Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#19823 closed defect (fixed)

pwd not available on Windows

Reported by: trodun Owned by: atagar
Priority: Medium Milestone:
Component: Archived/Stem Version:
Severity: Normal Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:


The commit below breaks Windows support, the pwd module is only available on Unix.

ImportError: No module named 'pwd'
  File "", line 141, in run_process
  File "", line 39, in start_app
    from app.main import run_app
  File "E:\dev\prs\test\app\", line 86, in <module>
    from import net
  File "E:\dev\prs\test\app\", line 13, in <module>
    from stem.control import Controller as StemCtrl
  File "e:\dev\prs\stem\stem\", line 261, in <module>
    import stem.descriptor.microdescriptor
  File "e:\dev\prs\stem\stem\descriptor\", line 51, in <module>
    import stem.util.system
  File "e:\dev\prs\stem\stem\util\", line 62, in <module>
    import stem.util.proc
  File "e:\dev\prs\stem\stem\util\", line 53, in <module>
    import pwd

Child Tickets

Change History (3)

comment:1 Changed 4 years ago by atagar

Great catch, thanks! I'll try to get a fix out for this in the next day or so.

comment:2 Changed 4 years ago by atagar

Resolution: fixed
Status: newclosed

Fix pushed, thanks for the catch!

comment:3 Changed 4 years ago by trodun

It works well, thanks a lot for the fix!

Note: See TracTickets for help on using tickets.