ImportError: No module named module

Asked by Antonio Omiste on 2011-03-23

When i try to run the ofdma examples from file /View scenario i get an Import error:

<string>:72: SyntaxWarning: import * only allowed at module level
Traceback (most recent call last):
  File "/usr/local/lib/python2.6/dist-packages/openwns/wrowser/Windows.py", line 96, in on_actionView_Scenario_triggered
    p = scenario.plotterFactory.create(self.viewScenarioFilename)
  File "/usr/local/lib/python2.6/dist-packages/openwns/wrowser/scenario/plotterFactory.py", line 39, in create
    inspector = inspect.ConfigInspector(scenarioFilename)
  File "/usr/local/lib/python2.6/dist-packages/openwns/wrowser/scenario/inspect.py", line 54, in __init__
    exec(content,self.config)
  File "<string>", line 28, in <module>
  File "/home/adrytono/openwns-sdk/tests/system/ofdma-tests/nodecreators.py", line 28, in <module>
    import ofdmaphy.OFDMAPhy
  File "/home/adrytono/openwns-sdk/sandbox//dbg/lib/PyConfig/ofdmaphy/__init__.py", line 30, in <module>
    import OFDMAPhy
  File "/home/adrytono/openwns-sdk/sandbox//dbg/lib/PyConfig/ofdmaphy/OFDMAPhy.py", line 28, in <module>
    from openwns.module import module
ImportError: No module named module

Question information

Language:
English Edit question
Status:
Solved
For:
openWNS Wrowser Edit question
Assignee:
No assignee Edit question
Solved by:
Antonio Omiste
Solved:
2011-04-04
Last query:
2011-04-04
Last reply:
Antonio Omiste (cool1837) said : #1

I solved it. I dont know the cause of the error, but i re-installed by bazaar and it works