Created
May 19, 2018 18:07
-
-
Save Bystroushaak/2913687c0bcac672bba9ca58cb3d5d18 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[translation:info] 2.7.10 (5.1.2+dfsg-1~16.04, Jun 16 2016, 17:37:42) | |
[PyPy 5.1.2 with GCC 5.3.1 20160413] | |
[platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown' | |
[translation:info] Translating target as defined by src/tinySelf/target | |
[translation] translate.py configuration: | |
[translation] [translate] | |
targetspec = src/tinySelf/target | |
[translation] translation configuration: | |
[translation] [translation] | |
gc = incminimark | |
gctransformer = framework | |
list_comprehension_operations = True | |
withsmallfuncsets = 5 | |
[translation:info] Annotating&simplifying... | |
[2c] {translation-task | |
starting annotate | |
[translation:info] with policy: rpython.annotator.policy.AnnotatorPolicy | |
.............[60] translation-task} | |
[Timer] Timings: | |
[Timer] annotate --- 3.4 s | |
[Timer] ======================================== | |
[Timer] Total: --- 3.4 s | |
[translation:info] Error: | |
File "/home/bystrousak/Plocha/tests/pypy/rpython/translator/goal/translate.py", line 318, in main | |
drv.proceed(goals) | |
File "/home/bystrousak/Plocha/tests/pypy/rpython/translator/driver.py", line 554, in proceed | |
result = self._execute(goals, task_skip = self._maybe_skip()) | |
File "/home/bystrousak/Plocha/tests/pypy/rpython/translator/tool/taskengine.py", line 114, in _execute | |
res = self._do(goal, taskcallable, *args, **kwds) | |
File "/home/bystrousak/Plocha/tests/pypy/rpython/translator/driver.py", line 278, in _do | |
res = func() | |
File "/home/bystrousak/Plocha/tests/pypy/rpython/translator/driver.py", line 315, in task_annotate | |
s = annotator.build_types(self.entry_point, self.inputtypes) | |
File "/home/bystrousak/Plocha/tests/pypy/rpython/annotator/annrpython.py", line 92, in build_types | |
return self.build_graph_types(flowgraph, inputs_s, complete_now=complete_now) | |
File "/home/bystrousak/Plocha/tests/pypy/rpython/annotator/annrpython.py", line 140, in build_graph_types | |
self.complete() | |
File "/home/bystrousak/Plocha/tests/pypy/rpython/annotator/annrpython.py", line 229, in complete | |
self.complete_pending_blocks() | |
File "/home/bystrousak/Plocha/tests/pypy/rpython/annotator/annrpython.py", line 224, in complete_pending_blocks | |
self.processblock(graph, block) | |
File "/home/bystrousak/Plocha/tests/pypy/rpython/annotator/annrpython.py", line 398, in processblock | |
self.flowin(graph, block) | |
File "/home/bystrousak/Plocha/tests/pypy/rpython/annotator/annrpython.py", line 501, in flowin | |
self.consider_op(op) | |
File "/home/bystrousak/Plocha/tests/pypy/rpython/annotator/annrpython.py", line 653, in consider_op | |
resultcell = op.consider(self) | |
File "/home/bystrousak/Plocha/tests/pypy/rpython/flowspace/operation.py", line 104, in consider | |
return spec(annotator, *self.args) | |
File "/home/bystrousak/Plocha/tests/pypy/rpython/flowspace/operation.py", line 189, in specialized | |
return impl(*[annotator.annotation(x) for x in other_args]) | |
File "/home/bystrousak/Plocha/tests/pypy/rpython/annotator/unaryop.py", line 949, in simple_call | |
return self.analyser(self.s_self, *args) | |
File "/home/bystrousak/Plocha/tests/pypy/rpython/tool/descriptor.py", line 18, in __call__ | |
return self.im_func(firstarg, *args, **kwds) | |
File "/usr/lib/pypy/dist-packages/rply/lexergenerator.py", line 141, in method_matches | |
model.SomeInteger(nonneg=True), | |
File "/home/bystrousak/Plocha/tests/pypy/rpython/annotator/bookkeeper.py", line 572, in emulate_pbc_call | |
return self.pbc_call(pbc, args, emulated=emulated) | |
File "/home/bystrousak/Plocha/tests/pypy/rpython/annotator/bookkeeper.py", line 535, in pbc_call | |
results.append(desc.pycall(whence, args, s_previous_result, op)) | |
File "/home/bystrousak/Plocha/tests/pypy/rpython/annotator/description.py", line 284, in pycall | |
inputcells = self.parse_arguments(args) | |
File "/home/bystrousak/Plocha/tests/pypy/rpython/annotator/description.py", line 269, in parse_arguments | |
(self.name, e.getmsg())) | |
[translation:ERROR] AnnotatorError: | |
signature mismatch: __init__() takes exactly 5 arguments (6 given) | |
Occurred processing the following simple_call: | |
(AttributeError getting at the binding!) | |
match_0 = simple_call(v0, v1, v2) | |
In <FunctionGraph of (rply.lexer:34)LexerStream.next at 0x5177168>: | |
Happened at file /usr/lib/pypy/dist-packages/rply/lexer.py line 43 | |
==> match = rule.matches(self.s, self.idx) | |
if match: | |
Known variable annotations: | |
v0 = SomeBuiltinMethod(analyser=<rpython.tool.descriptor.InstanceMethod object at 0x0000000005d69830>, methodname='matches', s_self=SomeRule()) | |
v1 = SomeChar(const='1', no_nul=True) | |
v2 = SomeInteger(const=0, knowntype=int, nonneg=True, unsigned=False) | |
Processing block: | |
block@131[rule_0...] is a <class 'rpython.flowspace.flowcontext.SpamBlock'> | |
in (rply.lexer:34)LexerStream.next | |
containing the following operations: | |
v0 = getattr(rule_0, ('matches')) | |
v1 = getattr(self_0, ('s')) | |
v2 = getattr(self_0, ('idx')) | |
match_0 = simple_call(v0, v1, v2) | |
v3 = bool(match_0) | |
--end-- | |
[translation] start debugger... | |
> /home/bystrousak/Plocha/tests/pypy/rpython/annotator/description.py(269)parse_arguments() | |
-> (self.name, e.getmsg())) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment