Ticket #223 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

Importing modules fails for WaveDev/ALF in Ubuntu

Reported by: jawil06 Owned by: shereef
Priority: major Milestone:
Component: OWD Version: trunk
Keywords: Cc:

Description

When attempting to run WaveDev? or ALF under Ubuntu, several WaveDev? modules fail to load. The source of the problem seems to be when an import call is run as:

from WaveDev.wavedev.xxx import xxx
OR
from WaveDev.wavedev import xxx as xxx

xxx being the name of the specific module in question.

The former being from several OWD files the latter being from ALF.py.

Removing the leading "WaveDev?.wavedev." from the OWD files seems to fix the problem and allow OWD to run, although I don't know what kind of implications this has.

I cannot figure out how to get ALF to run.

Change History

Changed 5 years ago by jawil06

Here's the files and lines I had to edit to get OWD working: WaveDev?/wavedev/XML_gen/component_gen.py line 27 WaveDev?/wavedev/generate/templates/custom_ports/genStructure.py line 24 WaveDev?/wavedev/XML_gen/application_gen.py line 28,29 WaveDev?/wavedev/generate/genNode.py line 22

My python version is 2.5.2

Changed 5 years ago by jawil06

  • version set to trunk

Changed 5 years ago by mcarrick

  • owner changed from cdietric to shereef
  • priority changed from minor to major

Changed 5 years ago by mcarrick

  • status changed from new to closed
  • resolution set to fixed

Updated how uuidgen is imported and called within a few different files, see revision r8012.

Changed 5 years ago by balister

make that r8112 :)

Changed 5 years ago by jawil06

The fix worked for OWD. ALF is being addressed separately.

Changed 5 years ago by anonymous

  • milestone 0.7.0 deleted

Milestone 0.7.0 deleted

Note: See TracTickets for help on using tickets.