Ticket #102 (enhancement)

Opened 2 years ago

Last modified 2 years ago

examples that import powermate fail on MinGW

Status: closed (fixed)

Reported by: dward Assigned to: eb
Priority: normal Milestone: release-3.0.3
Component: gr-wxgui Version: 3.0svn
Keywords: mingw windows Cc: don2387ward@sprynet.com

Examples that import powermate fail on MinGW with

ImportError: No module named fcntl

because fcntl is only available on Unix-like systems.

Can powermate.py be modified to allow these examples to run (without powermate functions) on non-Unix systems?

The examples affected are hfx2.py in apps/hf_explorer and usrp_nbfm_rcv.py, usrp_tv_rcv.py, usrp_wfm_rcv.py, usrp_wfm_rcv_pll.py, and usrp_wxapt_rcv.py in usrp.

Change History

12/20/06 12:54:25: Modified by eb

  • cc set to don2387ward@sprynet.com.

r4163 contains a trial fix. Don, can you please try this fix on MinGW?

12/20/06 12:54:36: Modified by eb

  • status changed from new to assigned.

12/20/06 16:11:46: Modified by dward

Fix solves the problem on MinGW. Thanks!

12/28/06 07:28:18: Modified by eb

  • status changed from assigned to closed.
  • resolution set to fixed.

Fixed in r4163

02/07/07 13:15:05: Modified by jcorgan

  • milestone changed from to-be-decided to release-3.0.3.