- This topic has 9 replies, 5 voices, and was last updated 5 years, 4 months ago by Anonymous.
May 30, 2012 at 6:42 am #1289Anonymous
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?
May 30, 2012 at 1:37 pm #7159Anonymous
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?
May 30, 2012 at 1:57 pm #7160Anonymous
32 bits.My first language is Chinese, does it have anything with the error?
May 30, 2012 at 2:27 pm #7161Anonymous
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?
May 31, 2012 at 3:43 pm #7165Anonymous
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.
July 18, 2018 at 5:22 am #14332Anonymous
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- 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…
August 1, 2018 at 10:02 pm #14352Anonymous
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.
May 31, 2012 at 12:56 am #7162Anonymous
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?
May 31, 2012 at 1:48 pm #7164Anonymous
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.
June 10, 2012 at 11:46 am #7218Anonymous
thank you for your replying. When I install Rosetta in Ubuntu12,and don’t include path in Chinese, I install it successfully.
- You must be logged in to reply to this topic.