Hi Rodrigo,
If I remember correctly this was due to the interplay of specific versions of
swig, Python and a circular import in one of the gem5 modules.
It should be fixed in the latest trunk.
Andreas
From: Rodrigo Reynolds Ram�rez
<[email protected]<mailto:[email protected]>>
Reply-To: gem5 users mailing list
<[email protected]<mailto:[email protected]>>
Date: Tuesday, 28 January 2014 12:36
To: gem5-users <[email protected]<mailto:[email protected]>>
Subject: [gem5-users] Error executing gem5
Hello everyone,
I have a problem with gem5 I compiled it correctly but when I tried to execute
it I got these error messages:
./build/X86/gem5.opt configs/example/se.py --help
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/scratch/rodrigo/gem5/gem5-0a4b702628bd/src/python/importer.py", line
73, in load_module
exec code in mod.__dict__
File "/scratch/rodrigo/gem5/gem5-0a4b702628bd/src/python/m5/__init__.py",
line 35, in <module>
import internal
File "/scratch/rodrigo/gem5/gem5-0a4b702628bd/src/python/importer.py", line
73, in load_module
exec code in mod.__dict__
File
"/scratch/rodrigo/gem5/gem5-0a4b702628bd/src/python/m5/internal/__init__.py",
line 31, in <module>
import event
File "/scratch/rodrigo/gem5/gem5-0a4b702628bd/src/python/importer.py", line
73, in load_module
exec code in mod.__dict__
File
"/scratch/rodrigo/gem5/gem5-0a4b702628bd/build/X86/python/swig/event.py", line
109, in <module>
class Event(m5.internal.serialize.Serializable):
AttributeError: 'module' object has no attribute 'internal'
I have no change anything but suddenly the errors appeared, anything worked
well before yesterday.
My versions of compilers are:
Python 2.7.6
gcc (Debian 4.8.2-14) 4.8.2
g++ (Debian 4.8.2-14) 4.8.2
SCons v2.3.0
SWIG 2.0.11
gem5:
repo: 478d6f905e9102b1c6e7b9111fa4d51402cb65b3
node: 0a4b702628bd3a0c8723ecaf58cf2b7b80d45a77
branch: default
latesttag: stable_2012_06_28
latesttagdistance: 532
Thanks in advance
Rodrigo
-- IMPORTANT NOTICE: The contents of this email and any attachments are
confidential and may also be privileged. If you are not the intended recipient,
please notify the sender immediately and do not disclose the contents to any
other person, use it for any purpose, or store or copy the information in any
medium. Thank you.
ARM Limited, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, Registered
in England & Wales, Company No: 2557590
ARM Holdings plc, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ,
Registered in England & Wales, Company No: 2548782_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users