Opened 14 years ago

Last modified 14 years ago

#22 new task

[installation DSX] AttributeError: Config instance has no attribute 'doConfigure'

Reported by: Wael Eleuchi <eleuchi.wael@…> Owned by: Nicolas Pouillon
Priority: major Milestone:
Component: dsx Version:
Keywords: Cc:

Description

Lors de l'exécution de $HOME/dsx/examples/hello/hello.py pour tester DSX, j'ai rencontré l'erreur suivant:

Traceback (most recent call last):
  File "/home/wael/dsx/examples/hello/hello.py", line 14, in <module>
    from dsx import *
  File "/home/wael/dsx/lib/python/dsx/__init__.py", line 25, in <module>
    os.path.dirname(__file__), '../../task_library')))
  File "/home/wael/dsx/lib/python/dsx/descs.py", line 16, in import_tasks
    find_parse.find_parse(path, "*.task", r)
  File "/home/wael/dsx/lib/python/dsx/util/find_parse.py", line 25, in find_parse
    execfile(path, globs, locs)
  File "/home/wael/dsx/lib/task_library/idct/idct.task", line 3, in <module>
    from soclib.hwtask import HwTask, MwmrCoproc, SyntheticTask
  File "/home/wael/dsx/lib/python/soclib/__init__.py", line 2, in <module>
    import prepare_soclib as pc
  File "/home/wael/dsx/lib/python/soclib/prepare_soclib.py", line 9, in <module>
    soclib_cc.config.change_config(config['soclib_type'])
  File "/home/wael/Soclib/Soclib/utils/lib/python/soclib_cc/config/__init__.py", line 110, in change_config
    newconf.doConfigure(_cur_soclib, _configs._desc_paths)
AttributeError: Config instance has no attribute 'doConfigure'

j'ai vérifié dsx.conf et les variables d'environnement SOCLIB, SYSTEMC, SYSTEMCASS et DSX_DIR

Change History (1)

comment:1 Changed 14 years ago by Nicolas Pouillon

Il semblerait que votre installation de soclib soit incomplete ou erronnée. Cette erreur est générée par le système de configuration de soclib.

Que vous fournit la commande:

soclib-cc -l

Si vous avez défini un soclib_type dans dsx.conf, que vous donne:

soclib-cc -l -t le_type
Note: See TracTickets for help on using tickets.