You are here

problems installing Rosetta on ubuntu11.10

10 posts / 0 new
Last post
problems installing Rosetta on ubuntu11.10
#1

dear friends, I am going to install rosetta3.4 in Ubuntu11.10,gcc4.6.1,python2.7.2.
I come across such errors:
scons: *** [build/src/release/linux/3.0/32/x86/gcc/4.6/libObjexxFCL.so] UnicodeDecodeError : 'ascii' codec can't decode byte 0xe4 in position 91: ordinal not in range(128).
could U help me?

Post Situation: 
Tue, 2012-05-29 23:42
cuiyoutian

This is a new one to me. I see you are compiling in 32 bits--is it supposed to be 32 or 64 on your system?

Wed, 2012-05-30 06:37
smlewis

32 bits.My first language is Chinese, does it have anything with the error?

Wed, 2012-05-30 06:57
cuiyoutian

Poking around the internet, my best guess is "maybe". It turns out to be a Python error, which means that SCons itself is crashing, not Rosetta compilation. Perhaps if your python installation is in Chinese that could cause a problem? Is this something you've seen for compiling other things?

There may be a cmake builder available (there is for developer trunk, so maybe there's one in 3.4) - do you want to try that instead?

Wed, 2012-05-30 07:27
smlewis

Thank u for helping me.
today I found there is something wrong when I use pymol
Traceback (innermost last):
File "/usr/lib/python2.7/dist-packages/Pmw/Pmw_1_3/lib/PmwBase.py", line 1747, in __call__
return apply(self.func, args)
File "/usr/lib/pymodules/python2.7/pmg_tk/skins/normal/__init__.py", line 607, in file_open
print "Error: unable to open file '%s'"%ofile
: 'ascii' codec can't encode characters in position 38-39: ordinal not in range(128).

maybe u tell me the truth.
I don't find the cmake way, could u tell me more?

Wed, 2012-05-30 17:56
cuiyoutian

If PyMOL is also broken, then something is wrong with your python installation (SCons is also written in python). Fixing whatever's wrong with python will fix both PyMOL and SCons/Rosetta. I know nothing about what's wrong with your python installation.

Unfortunately the cmake build information gets stripped from Rosetta before release. I've tarballed it for you and attached it; the .txt extension is a facade to make the forum accept the attachment, it's really a .tar.gz. Untar it in the rosetta_source directory and follow the directions in its readme; hopefully it will work. I haven't tested it.

Thu, 2012-05-31 06:48
smlewis

cuiyoutian,
From my experience, 11.10 is buggy. Very buggy and slow compared to older ubuntu versions. I have 12.04 running on most of my machines, and it is much better for the most part. Things you should be aware of if you decide to upgrade - older versions of python and gcc are not available in the repository. This caused problems with PyRosetta, so I needed to build from source, but Rosetta compiled fine. Just a thought.

Thu, 2012-05-31 08:43
jadolfbr

thank you for your replying. When I install Rosetta in Ubuntu12,and don't include path in Chinese, I install it successfully.

Sun, 2012-06-10 04:46
cuiyoutian

I found the same error: UnicodeDecodeError: 'ascii' codec can't decode byte 0xe3 in position 4007: ordinal not in range(128) scons: building terminated because of errors.

ubuntu 16.04 Rosetta 3.9

I have searched the internet, found that this error may correlate with the ubuntu language choice (English will be good, UTF-8) or change the language from ascii to UTF-8. Someone said that the Python error, However, I installed the Python 3.7 but problem remained.

This problem is still unresolved... I really appreciate someone to help me to solve this problem...

Tue, 2018-07-17 22:22
Sun Yulong

The Scons which comes with Rosetta expects Python2 -- if you try to run it with Python3, you're likely not going to get good results.

Wed, 2018-08-01 15:02
rmoretti