Thanks Ben, downgrading to swig 3.0.7 did it.
Isabelle
On Mar 24, 2016, at 8:09 PM, Ben Webb <ben@salilab.orgmailto:ben@salilab.org> wrote:
On 3/24/16 5:30 PM, Isabelle Phan wrote: I’ve rebuilt IMP from the git repo https://github.com/salilab/imp.githttp://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 -- ben@salilab.org https://salilab.org/~ben/ "It is a capital mistake to theorize before one has data." - Sir Arthur Conan Doyle _______________________________________________ IMP-users mailing list IMP-users@salilab.org https://salilab.org/mailman/listinfo/imp-users