[pypy-dev] pypy rsocket problem

Andrew Evans andrew.rustytub at gmail.com
Sun Feb 5 06:27:50 CET 2012


Sorry for all the messages I attached a log of what happens when I try to
compile this

*cheers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pypy-dev/attachments/20120204/322ddb25/attachment-0001.html>
-------------- next part --------------
[translation:ERROR] Error:
[translation:ERROR]  Traceback (most recent call last):
[translation:ERROR]    File "C:\pypy\pypy\translator\goal\translate.py", line 30
9, in main
[translation:ERROR]     drv.proceed(goals)
[translation:ERROR]    File "C:\pypy\pypy\translator\driver.py", line 809, in pr
oceed
[translation:ERROR]     return self._execute(goals, task_skip = self._maybe_skip
())
[translation:ERROR]    File "C:\pypy\pypy\translator\tool\taskengine.py", line 1
16, in _execute
[translation:ERROR]     res = self._do(goal, taskcallable, *args, **kwds)
[translation:ERROR]    File "C:\pypy\pypy\translator\driver.py", line 286, in _d
o
[translation:ERROR]     res = func()
[translation:ERROR]    File "C:\pypy\pypy\translator\driver.py", line 323, in ta
sk_annotate
[translation:ERROR]     s = annotator.build_types(self.entry_point, self.inputty
pes)
[translation:ERROR]    File "C:\pypy\pypy\annotation\annrpython.py", line 103, i
n build_types
[translation:ERROR]     return self.build_graph_types(flowgraph, inputcells, com
plete_now=complete_now)
[translation:ERROR]    File "C:\pypy\pypy\annotation\annrpython.py", line 194, i
n build_graph_types
[translation:ERROR]     self.complete()
[translation:ERROR]    File "C:\pypy\pypy\annotation\annrpython.py", line 250, i
n complete
[translation:ERROR]     self.processblock(graph, block)
[translation:ERROR]    File "C:\pypy\pypy\annotation\annrpython.py", line 448, i
n processblock
[translation:ERROR]     self.flowin(graph, block)
[translation:ERROR]    File "C:\pypy\pypy\annotation\annrpython.py", line 508, i
n flowin
[translation:ERROR]     self.consider_op(block.operations[i])
[translation:ERROR]    File "C:\pypy\pypy\annotation\annrpython.py", line 710, i
n consider_op
[translation:ERROR]     raise_nicer_exception(op, str(graph))
[translation:ERROR]    File "C:\pypy\pypy\annotation\annrpython.py", line 707, i
n consider_op
[translation:ERROR]     resultcell = consider_meth(*argcells)
[translation:ERROR]    File "<642-codegen C:\pypy\pypy\annotation\annrpython.py:
745>", line 3, in consider_op_simple_call
[translation:ERROR]     return arg.simple_call(*args)
[translation:ERROR]    File "C:\pypy\pypy\annotation\unaryop.py", line 175, in s
imple_call
[translation:ERROR]     return obj.call(getbookkeeper().build_args("simple_call"
, args_s))
[translation:ERROR]    File "C:\pypy\pypy\annotation\unaryop.py", line 702, in c
all
[translation:ERROR]     return bookkeeper.pbc_call(pbc, args)
[translation:ERROR]    File "C:\pypy\pypy\annotation\bookkeeper.py", line 667, i
n pbc_call
[translation:ERROR]     results.append(desc.pycall(schedule, args, s_previous_re
sult, op))
[translation:ERROR]    File "C:\pypy\pypy\annotation\description.py", line 289,
in pycall
[translation:ERROR]     result = self.specialize(inputcells, op)
[translation:ERROR]    File "C:\pypy\pypy\annotation\description.py", line 281,
in specialize
[translation:ERROR]     enforceargs(self, inputcells) # can modify inputcells in
-place
[translation:ERROR]    File "C:\pypy\pypy\annotation\signature.py", line 129, in
 __call__
[translation:ERROR]     s_input = unionof(s_input, s_arg)
[translation:ERROR]    File "C:\pypy\pypy\annotation\model.py", line 695, in uni
onof
[translation:ERROR]     s1 = pair(s1, s2).union()
[translation:ERROR]    File "C:\pypy\pypy\annotation\binaryop.py", line 903, in
union
[translation:ERROR]     assert False, ("mixing pointer type %r with something el
se %r" % (p.ll_ptrtype, obj))
[translation:ERROR]  AssertionError': mixing pointer type <* Array of Char > wit
h something else SomeString(can_be_None=False)
[translation:ERROR]     .. v0 = simple_call((function get_nonmovingbuffer), data
_0)
[translation:ERROR]     .. '(pypy.rlib.rsocket:997)RSocket.send'
[translation:ERROR] Processing block:
[translation:ERROR]  block at 9 is a <class 'pypy.objspace.flow.flowcontext.SpamBlo
ck'>
[translation:ERROR]  in (pypy.rlib.rsocket:997)RSocket.send
[translation:ERROR]  containing the following operations:
[translation:ERROR]        v0 = simple_call((function get_nonmovingbuffer), data
_0)
[translation:ERROR]        v1 = getattr(self_0, ('send_raw'))
[translation:ERROR]        v2 = len(data_0)
[translation:ERROR]        v3 = simple_call(v1, v0, v2, flags_0)
[translation:ERROR]  --end--
[translation] start debugger...
> c:\pypy\pypy\annotation\binaryop.py(903)union()
-> assert False, ("mixing pointer type %r with something else %r" % (p.ll_ptrtyp
e, obj))


More information about the pypy-dev mailing list