Hi there, I just tried to build the JVM version of the trunk with the following command (which may be altogether wrong):
python2.4 translate.py --text --batch --backend=jvm targetpypystandalone.py A while into the translation, I got the following error, which I'm dumping here in case it might be useful to someone: [jvm:graphs] Rendered 7600/7648 (approx. 99.37%) [Timer] Timings: [Timer] annotate - 384.4 s [Timer] rtype_ootype - 112.8 s [Timer] backendopt_ootype - 85.2 s [Timer] source_jvm - 111.1 s [Timer] ======================================== [Timer] Total: - 693.5 s [translation:ERROR] Error: [translation:ERROR] Traceback (most recent call last): [translation:ERROR] File "translate.py", line 273, in main [translation:ERROR] drv.proceed(goals) [translation:ERROR] File "/home/faassen/install/pypy-dist/pypy/translator/driver.py", line 772, in proceed [translation:ERROR] return self._execute(goals, task_skip = self._maybe_skip()) [translation:ERROR] File "/home/faassen/install/pypy-dist/pypy/translator/tool/taskengine.py", line 112, in _execute [translation:ERROR] res = self._do(goal, taskcallable, *args, **kwds) [translation:ERROR] File "/home/faassen/install/pypy-dist/pypy/translator/driver.py", line 281, in _do [translation:ERROR] res = func() [translation:ERROR] File "/home/faassen/install/pypy-dist/pypy/translator/driver.py", line 739, in task_source_jvm [translation:ERROR] self.jvmsource = self.gen.generate_source() [translation:ERROR] File "/home/faassen/install/pypy-dist/pypy/translator/jvm/genjvm.py", line 260, in generate_source [translation:ERROR] GenOO.generate_source(self) [translation:ERROR] File "/home/faassen/install/pypy-dist/pypy/translator/oosupport/genoo.py", line 68, in generate_source [translation:ERROR] self.db.gen_constants(self.ilasm) [translation:ERROR] File "/home/faassen/install/pypy-dist/pypy/translator/oosupport/database.py", line 35, in gen_constants [translation:ERROR] self.constant_generator.gen_constants(ilasm) [translation:ERROR] File "/home/faassen/install/pypy-dist/pypy/translator/jvm/constant.py", line 108, in gen_constants [translation:ERROR] super(JVMConstantGenerator, self).gen_constants(ilasm) [translation:ERROR] File "/home/faassen/install/pypy-dist/pypy/translator/oosupport/constant.py", line 245, in gen_constants [translation:ERROR] self._initialize_data(gen, all_constants) [translation:ERROR] File "/home/faassen/install/pypy-dist/pypy/translator/oosupport/constant.py", line 268, in _initialize_data [translation:ERROR] if not const.initialize_data(self, gen): [translation:ERROR] File "/home/faassen/install/pypy-dist/pypy/translator/oosupport/constant.py", line 542, in initialize_data [translation:ERROR] push_constant(self.db, FIELD_TYPE, value, gen) [translation:ERROR] File "/home/faassen/install/pypy-dist/pypy/translator/oosupport/constant.py", line 55, in push_constant [translation:ERROR] return constgen.push_primitive_constant(gen, TYPE, value) [translation:ERROR] File "/home/faassen/install/pypy-dist/pypy/translator/oosupport/constant.py", line 122, in push_primitive_constant [translation:ERROR] gen.push_primitive_constant(TYPE, value) [translation:ERROR] File "/home/faassen/install/pypy-dist/pypy/translator/jvm/generator.py", line 1103, in push_primitive_constant [translation:ERROR] self.load_string(str(value._str)) [translation:ERROR] UnicodeEncodeError: 'ascii' codec can't encode character u'\ufffd' in position 0: ordinal not in range(128) Might have something to do with the recent unicode work? Regards, Martijn _______________________________________________ [email protected] http://codespeak.net/mailman/listinfo/pypy-dev
