Translating signals.sh
|
Traceback (most recent call last):
File "bin/osh", line 469, in <module>
main(sys.argv)
File "bin/osh", line 452, in main
sys.exit(OilMain(argv))
File "bin/osh", line 435, in OilMain
status = OshMain(main_argv, login_shell)
File "bin/osh", line 350, in OshMain
osh2oil.PrintAsOil(arena, node, opts.debug_spans)
File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 69, in PrintAsOil
fixer.DoCommand(node, None, at_top_level=True) # no local symbols yet
File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 473, in DoCommand
self.DoCommand(child, local_symbols)
File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 632, in DoCommand
self.DoCommand(child, new_local_symbols)
File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 695, in DoCommand
self.DoCommand(node.body, local_symbols)
File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 652, in DoCommand
self.DoCommand(child, local_symbols)
File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 609, in DoCommand
self.DoArithExpr(node.child, local_symbols)
File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 1196, in DoArithExpr
raise AssertionError(node.__class__.__name__)
AssertionError: UnaryAssign
|
Parsing files.sh
|
Traceback (most recent call last):
File "bin/osh", line 469, in <module>
main(sys.argv)
File "bin/osh", line 452, in main
sys.exit(OilMain(argv))
File "bin/osh", line 435, in OilMain
status = OshMain(main_argv, login_shell)
File "bin/osh", line 345, in OshMain
ui.PrintErrorStack(err, arena, sys.stderr)
File "/home/andy/git/oil/bin/../core/ui.py", line 143, in PrintErrorStack
PrettyPrintError(err, arena, f)
File "/home/andy/git/oil/bin/../core/ui.py", line 100, in PrettyPrintError
span_id = word.LeftMostSpanForWord(parse_error.word)
File "/home/andy/git/oil/bin/../core/word.py", line 218, in LeftMostSpanForWord
return LeftMostSpanForPart(w.parts[0])
File "/home/andy/git/oil/bin/../core/word.py", line 105, in LeftMostSpanForPart
return LeftMostSpanForWord(part.words[0]) # Hm this is a=(1 2 3)
IndexError: list index out of range
|
Translating files.sh
|
Traceback (most recent call last):
File "bin/osh", line 469, in <module>
main(sys.argv)
File "bin/osh", line 452, in main
sys.exit(OilMain(argv))
File "bin/osh", line 435, in OilMain
status = OshMain(main_argv, login_shell)
File "bin/osh", line 345, in OshMain
ui.PrintErrorStack(err, arena, sys.stderr)
File "/home/andy/git/oil/bin/../core/ui.py", line 143, in PrintErrorStack
PrettyPrintError(err, arena, f)
File "/home/andy/git/oil/bin/../core/ui.py", line 100, in PrettyPrintError
span_id = word.LeftMostSpanForWord(parse_error.word)
File "/home/andy/git/oil/bin/../core/word.py", line 218, in LeftMostSpanForWord
return LeftMostSpanForPart(w.parts[0])
File "/home/andy/git/oil/bin/../core/word.py", line 105, in LeftMostSpanForPart
return LeftMostSpanForWord(part.words[0]) # Hm this is a=(1 2 3)
IndexError: list index out of range
|
Translating args.sh
|
Traceback (most recent call last):
File "bin/osh", line 469, in <module>
main(sys.argv)
File "bin/osh", line 452, in main
sys.exit(OilMain(argv))
File "bin/osh", line 435, in OilMain
status = OshMain(main_argv, login_shell)
File "bin/osh", line 350, in OshMain
osh2oil.PrintAsOil(arena, node, opts.debug_spans)
File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 69, in PrintAsOil
fixer.DoCommand(node, None, at_top_level=True) # no local symbols yet
File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 473, in DoCommand
self.DoCommand(child, local_symbols)
File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 632, in DoCommand
self.DoCommand(child, new_local_symbols)
File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 726, in DoCommand
self.DoCommand(child, local_symbols)
File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 609, in DoCommand
self.DoArithExpr(node.child, local_symbols)
File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 1196, in DoArithExpr
raise AssertionError(node.__class__.__name__)
AssertionError: UnaryAssign
|
Parsing variables.sh
|
Line 0 of '<unknown>'
<no position info for token>
Got redirects in assignment: [(Redir
op_id: Redir_Great
fd: 2
arg_word: (CompoundWord parts:[(LiteralPart token:(token id:Lit_Chars val:/dev/null span_id:599))])
spids: [598]
)]
---
Line 0 of '<unknown>'
<no position info for token>
Error parsing AndOr in ParseCommandTerm
---
Line 0 of '<unknown>'
<no position info for token>
Error parsing commmand list in command sub
---
Line 104 of '/home/andy/src/bashdb-4.4-0.92/command/info_sub/variables.sh'
local _Dbg_var=`declare -p ${_Dbg_item} 2>/dev/null`
^
Error reading command word
---
Line 0 of '<unknown>'
<no position info for token>
Error parsing AndOr in ParseCommandTerm
---
Line 0 of '<unknown>'
<no position info for token>
Error parsing AndOr in ParseCommandTerm
---
Line 0 of '<unknown>'
<no position info for token>
Error parsing AndOr in ParseCommandTerm
---
Line 0 of '<unknown>'
<no position info for token>
ParseCase: error parsing case list
---
Line 0 of '<unknown>'
<no position info for token>
Error parsing AndOr in ParseCommandTerm
---
Line 0 of '<unknown>'
<no position info for token>
Error parsing AndOr in ParseCommandTerm
---
Line 0 of '<unknown>'
<no position info for token>
Error parsing AndOr in ParseCommandTerm
---
|
Translating variables.sh
|
Line 0 of '<unknown>'
<no position info for token>
Got redirects in assignment: [(Redir
op_id: Redir_Great
fd: 2
arg_word: (CompoundWord parts:[(LiteralPart token:(token id:Lit_Chars val:/dev/null span_id:599))])
spids: [598]
)]
---
Line 0 of '<unknown>'
<no position info for token>
Error parsing AndOr in ParseCommandTerm
---
Line 0 of '<unknown>'
<no position info for token>
Error parsing commmand list in command sub
---
Line 104 of '/home/andy/src/bashdb-4.4-0.92/command/info_sub/variables.sh'
local _Dbg_var=`declare -p ${_Dbg_item} 2>/dev/null`
^
Error reading command word
---
Line 0 of '<unknown>'
<no position info for token>
Error parsing AndOr in ParseCommandTerm
---
Line 0 of '<unknown>'
<no position info for token>
Error parsing AndOr in ParseCommandTerm
---
Line 0 of '<unknown>'
<no position info for token>
Error parsing AndOr in ParseCommandTerm
---
Line 0 of '<unknown>'
<no position info for token>
ParseCase: error parsing case list
---
Line 0 of '<unknown>'
<no position info for token>
Error parsing AndOr in ParseCommandTerm
---
Line 0 of '<unknown>'
<no position info for token>
Error parsing AndOr in ParseCommandTerm
---
Line 0 of '<unknown>'
<no position info for token>
Error parsing AndOr in ParseCommandTerm
---
|
Translating line.sh
|
Traceback (most recent call last):
File "bin/osh", line 469, in <module>
main(sys.argv)
File "bin/osh", line 452, in main
sys.exit(OilMain(argv))
File "bin/osh", line 435, in OilMain
status = OshMain(main_argv, login_shell)
File "bin/osh", line 350, in OshMain
osh2oil.PrintAsOil(arena, node, opts.debug_spans)
File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 69, in PrintAsOil
fixer.DoCommand(node, None, at_top_level=True) # no local symbols yet
File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 473, in DoCommand
self.DoCommand(child, local_symbols)
File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 632, in DoCommand
self.DoCommand(child, new_local_symbols)
File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 711, in DoCommand
self.DoCommand(sentence, local_symbols)
File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 570, in DoCommand
self.DoCommand(node.child, local_symbols)
File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 609, in DoCommand
self.DoArithExpr(node.child, local_symbols)
File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 1196, in DoArithExpr
raise AssertionError(node.__class__.__name__)
AssertionError: ArithUnary
|
Translating program.sh
|
Traceback (most recent call last):
File "bin/osh", line 469, in <module>
main(sys.argv)
File "bin/osh", line 452, in main
sys.exit(OilMain(argv))
File "bin/osh", line 435, in OilMain
status = OshMain(main_argv, login_shell)
File "bin/osh", line 350, in OshMain
osh2oil.PrintAsOil(arena, node, opts.debug_spans)
File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 69, in PrintAsOil
fixer.DoCommand(node, None, at_top_level=True) # no local symbols yet
File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 473, in DoCommand
self.DoCommand(child, local_symbols)
File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 632, in DoCommand
self.DoCommand(child, new_local_symbols)
File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 711, in DoCommand
self.DoCommand(sentence, local_symbols)
File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 570, in DoCommand
self.DoCommand(node.child, local_symbols)
File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 609, in DoCommand
self.DoArithExpr(node.child, local_symbols)
File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 1196, in DoArithExpr
raise AssertionError(node.__class__.__name__)
AssertionError: ArithVarRef
|