Hi,

This issue was resolved after I locally compiled Python 2.5.6. This means
the latest version of gem5 stable needs at least 2.5 Python.

We need to update the dependencies wiki page accordingly ?




On Wed, Oct 16, 2013 at 2:55 PM, Chetan Patil <[email protected]> wrote:

> 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,
>
>
>


-- 
Thank You and Warm Regards,

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

Reply via email to