Hi all Looks like I'm the one with all the complaints :) Thanks for investigating the Windows issues! I'm trying to compile pypy-c on a Linux/x86 machine, and running into all sorts of errors. Following the instructions in the getting- started document, I installed ctypes, pygame and graphviz. After that I run the translator tool and get the following errors. Any ideas what I might be missing? Thanks Raj bash-2.05b$ /local/python/bin/python translate.py --run --text targetpypystandalone.py [translation:info] Translating target as defined by targetpypystandalone [translation] PyPy config object: [translation] [objspace] [translation] compiler = ast [translation] nofaking = True [translation] [usemodules] [translation] errno = True [translation] posix = True [translation] time = True --- beginning of app_example.py --- 42 --- end of app_example.py --- [translation] translate.py configuration: [translation] [translate] [translation] [goal_options] [translation] run = True [translation] targetspec = targetpypystandalone [translation] text = True [translation] translation configuration: [translation] [translation] [translation:info] Annotating&simplifying... [translation:info] with policy: pypy.translator.goal.ann_override.PyPyAnnotatorPolicy ++++++++++++++***********************%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%% ######################################################################## #####%%%%%%%%%*********** ++++++++++++********************%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%##%%% ######################################################################## ####%%%%%%%%%%%%%%******** ++++++++++*******************%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%% ######################################################################## ###########%%%%%%%%%%%%%%%%%****** ++++++++******************%%%#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%% ######################################################################## ###########%%%%%%%#%%%%%%%%%%*** ++++++*****************%%%%%####%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%#% ################################################################### [translation:ERROR] Error: [translation:ERROR] Traceback (most recent call last): [translation:ERROR] File "translate.py", line 287, in main [translation:ERROR] drv.proceed(goals) [translation:ERROR] File "/local/rajb/pypy-1.0.0/pypy/translator/ driver.py", line 709, in proceed [translation:ERROR] return self._execute(goals, task_skip = self._maybe_skip()) [translation:ERROR] File "/local/rajb/pypy-1.0.0/pypy/translator/ tool/taskengine.py", line 112, in _execute [translation:ERROR] res = self._do(goal, taskcallable, *args, **kwds) [translation:ERROR] File "/local/rajb/pypy-1.0.0/pypy/translator/ driver.py", line 260, in _do [translation:ERROR] res = func() [translation:ERROR] File "/local/rajb/pypy-1.0.0/pypy/translator/ driver.py", line 279, in task_annotate [translation:ERROR] s = annotator.build_types(self.entry_point, self.inputtypes) [translation:ERROR] File "/local/rajb/pypy-1.0.0/pypy/annotation/ annrpython.py", line 101, in build_types [translation:ERROR] return self.build_graph_types(flowgraph, inputcells, complete_now=complete_now) [translation:ERROR] File "/local/rajb/pypy-1.0.0/pypy/annotation/ annrpython.py", line 192, in build_graph_types [translation:ERROR] self.complete() [translation:ERROR] File "/local/rajb/pypy-1.0.0/pypy/annotation/ annrpython.py", line 248, in complete [translation:ERROR] self.processblock(graph, block) [translation:ERROR] File "/local/rajb/pypy-1.0.0/pypy/annotation/ annrpython.py", line 477, in processblock [translation:ERROR] self.flowin(graph, block) [translation:ERROR] File "/local/rajb/pypy-1.0.0/pypy/annotation/ annrpython.py", line 537, in flowin [translation:ERROR] self.consider_op(block.operations[i]) [translation:ERROR] File "/local/rajb/pypy-1.0.0/pypy/annotation/ annrpython.py", line 739, in consider_op [translation:ERROR] raise_nicer_exception(op, str(graph)) [translation:ERROR] File "/local/rajb/pypy-1.0.0/pypy/annotation/ annrpython.py", line 736, in consider_op [translation:ERROR] resultcell = consider_meth(*argcells) [translation:ERROR] File "<string>", line 3, in consider_op_simple_call [translation:ERROR] File "/local/rajb/pypy-1.0.0/pypy/annotation/ unaryop.py", line 166, in simple_call [translation:ERROR] return obj.call(getbookkeeper().build_args ("simple_call", args_s)) [translation:ERROR] File "/local/rajb/pypy-1.0.0/pypy/annotation/ unaryop.py", line 597, in call [translation:ERROR] return bookkeeper.pbc_call(pbc, args) [translation:ERROR] File "/local/rajb/pypy-1.0.0/pypy/annotation/ bookkeeper.py", line 641, in pbc_call [translation:ERROR] results.append(desc.pycall(schedule, args, s_previous_result)) [translation:ERROR] File "/local/rajb/pypy-1.0.0/pypy/annotation/ description.py", line 266, in pycall [translation:ERROR] result = self.specialize(inputcells) [translation:ERROR] File "/local/rajb/pypy-1.0.0/pypy/annotation/ description.py", line 262, in specialize [translation:ERROR] return self.specializer(self, inputcells) [translation:ERROR] File "/local/rajb/pypy-1.0.0/pypy/annotation/ specialize.py", line 64, in default_specialize [translation:ERROR] return funcdesc.cachedgraph(key, alt_name=alt_name) [translation:ERROR] File "/local/rajb/pypy-1.0.0/pypy/annotation/ description.py", line 227, in cachedgraph [translation:ERROR] graph = self.buildgraph(alt_name, builder) [translation:ERROR] File "/local/rajb/pypy-1.0.0/pypy/annotation/ description.py", line 194, in buildgraph [translation:ERROR] graph = translator.buildflowgraph(self.pyobj) [translation:ERROR] File "/local/rajb/pypy-1.0.0/pypy/translator/ translator.py", line 77, in buildflowgraph [translation:ERROR] graph = space.build_flow(func) [translation:ERROR] File "/local/rajb/pypy-1.0.0/pypy/objspace/ flow/objspace.py", line 261, in build_flow [translation:ERROR] ec.build_flow() [translation:ERROR] File "/local/rajb/pypy-1.0.0/pypy/objspace/ flow/flowcontext.py", line 302, in build_flow [translation:ERROR] self.mergeblock(e.block, e.currentstate) [translation:ERROR] File "/local/rajb/pypy-1.0.0/pypy/objspace/ flow/flowcontext.py", line 348, in mergeblock [translation:ERROR] finished = newstate == block.framestate [translation:ERROR] File "/local/rajb/pypy-1.0.0/pypy/objspace/ flow/framestate.py", line 76, in __eq__ [translation:ERROR] assert len(self.mergeable) == len (other.mergeable) [translation:ERROR] AssertionError': [translation:ERROR] .. v4 = simple_call(v0, space_0, v1, v2, v3) [translation:ERROR] .. '(?:2) BuiltinActivation_UwS_ObjSpace_W_Root_W_Root_W_Root._run_UWS_ObjSpace_W_ Root_W_Root_W_Root' [translation:ERROR] Processing block: [translation:ERROR] block@3 is a <class 'pypy.objspace.flow.flowcontext.SpamBlock'> [translation:ERROR] in (?:2) BuiltinActivation_UwS_ObjSpace_W_Root_W_Root_W_Root._run_UWS_ObjSpace_W_ Root_W_Root_W_Root [translation:ERROR] containing the following operations: [translation:ERROR] v0 = getattr(self_0, ('behavior')) [translation:ERROR] v1 = getitem(scope_w_0, (0)) [translation:ERROR] v2 = getitem(scope_w_0, (1)) [translation:ERROR] v3 = getitem(scope_w_0, (2)) [translation:ERROR] v4 = simple_call(v0, space_0, v1, v2, v3) [translation:ERROR] --end-- [translation] start debugger...
/local/rajb/pypy-1.0.0/pypy/objspace/flow/framestate.py(76)__eq__() -> assert len(self.mergeable) == len(other.mergeable) (Pdb+)