Hi,

I get following error after executing :

build/ARM/gem5.opt configs/example/fs.py --disk-image=/home/cap900/
simulator/images/ARM_Full_System_Files/disks/arm-ubuntu-natty-headless.img

Traceback (most recent call last):
  File "<string>", line 1, in ?
  File "/home/cap900/simulator/gem5-stable/src/python/importer.py", line
80, in load_module
    exec code in mod.__dict__
  File "/home/cap900/simulator/gem5-stable/src/python/m5/__init__.py", line
35, in ?
    import internal
  File "/home/cap900/simulator/gem5-stable/src/python/importer.py", line
80, in load_module
    exec code in mod.__dict__
  File
"/home/cap900/simulator/gem5-stable/src/python/m5/internal/__init__.py",
line 29, in ?
    import core
  File "/home/cap900/simulator/gem5-stable/src/python/importer.py", line
77, in load_module
    mod.__package__ = fullname.rpartition('.')[0]
AttributeError: 'str' object has no attribute
'rpartition'stable/src/python/importer.py", line 77, in load_module
    mod.__package__ = fullname.rpartition('.')[0]
AttributeError: 'str' object has no attribute 'rpartition'

I got to know that, this may be due to : mod.__package__ =
fullname.rpartition('.')[0] , which calls rpartition of a string object and
this method was introduced in 2.5 and I'm on 2.4.3 ?

I'm on :
Python version : 2.4.3
Swig version : 2.0.4
GCC version : 4.6.3
gem5 stable version

Please let me know where things are going wrong.

-- 
Thank You and Warm Regards,

Chetan Patil,
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to