[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [IMP-users] IMP broken after clean install



Thanks Ben, downgrading to swig 3.0.7 did it.

Isabelle


On Mar 24, 2016, at 8:09 PM, Ben Webb <<">mailto:>> wrote:

On 3/24/16 5:30 PM, Isabelle Phan wrote:
Iâve rebuilt IMP from the git repo
https://github.com/salilab/imp.git<http://github.com/salilab/imp.git>
after upgrading my Mac to El Capitan and now IMP throws an AttributeError:

$  ./setup_environment.sh python ../imp_tutorial/rnapolii/modeling/modeling.py
Traceback (most recent call last):
  File "../imp_tutorial/rnapolii/modeling/modeling.py", line 78, in <module>
    m = IMP.Model()
  File "/opt/imp_latest/imp-fast/lib/IMP/__init__.py", line 4935, in __init__
    self.this.append(this)
AttributeError: 'Model' object has no attribute âthis'

If you're using SWIG 3.0.8, then you're liking hitting this SWIG bug:
https://github.com/swig/swig/issues/583

The simplest solution would be to use SWIG 3.0.7 instead.

Ben
--
                      https://salilab.org/~ben/
"It is a capital mistake to theorize before one has data."
- Sir Arthur Conan Doyle
_______________________________________________
IMP-users mailing list

https://salilab.org/mailman/listinfo/imp-users