http://bugzilla.novell.com/show_bug.cgi?id=498407 Summary: [yast2-core] 'y2base stdio scr' terminates on parse error Classification: openSUSE Product: openSUSE 11.1 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Minor Priority: P5 - None Component: YaST2 AssignedTo: mvidner@novell.com ReportedBy: mvidner@novell.com QAContact: jsrain@novell.com CC: locilka@novell.com Found By: --- If one forgets to type the backtick, the communication is ended. It would be better if it returned nil and continued, as is the case with other kinds of errors. BEFORE: (the logs are abridged) $ /usr/lib/YaST2/bin/y2base -l - stdio scr <<'EOF'
`RRRead(.parses_but_bad_funcname) Read(.no_backtick) `Dir(.) EOF ([]) ((nil)) 2009-04-27 13:12:03 <3> trikolka(29607) [Parser] <stdin>:2 Undeclared identifier 'Read' 2009-04-27 13:12:03 <2> trikolka(29607) [liby2] Y2StdioComponent.cc(doActualWork):113 Communication ended prior to result () message 2009-04-27 13:12:03 <1> trikolka(29607) [liby2] genericfrontend.cc(main):791 Finished YaST2 component 'y2base' 2009-04-27 13:12:03 <1> trikolka(29607) [liby2] genericfrontend.cc(main):796 Exiting with client return value 'nil'
AFTER: $ pfx ~/pfx/lib/YaST2/bin/y2base -l - stdio scr <<'EOF'
`RRRead(.parses_but_bad_funcname) Read(.no_backtick) `Dir(.) EOF ([]) ((nil)) 2009-04-27 13:11:05 <3> trikolka(29605) [Parser] <stdin>:2 Undeclared identifier 'Read' ((nil)) 2009-04-27 13:11:05 <2> trikolka(29605) [Interpreter] :3 Scripting agent sweeping (["FvwmCommand", "anas", "anyxml", "autoyast2", "background", "barexml", "boot", "bootloader", "bug42297", "content", "content_file", "crack", "cron", "curl", "dbus", "dev", "dummy", "etc", "foobar", "init", "invout", "isdn", "kickstart", "kiwi", "modinfo", "modprobe_blacklist", "modules", "multipath", "mv", "net", "network", "nis", "passwd", "phone-services", "ping", "probe", "proc", "process", "product", "providers", "resolver", "root", "routes", "run", "slp", "sysconfig", "target", "tftp", "tmpnamed", "udev_persistent", "uid", "var", "x_version", "xauth", "xml", "xmlrepos", "yast2", "zypp_repos"]) ((nil)) 2009-04-27 13:11:05 <2> trikolka(29605) [liby2] Y2StdioComponent.cc(doActualWork):120 Communication ended prior to result () message 2009-04-27 13:11:05 <1> trikolka(29605) [liby2] genericfrontend.cc(main):799 Finished YaST2 component 'y2base' 2009-04-27 13:11:05 <1> trikolka(29605) [liby2] genericfrontend.cc(main):804 Exiting with client return value 'nil'
-- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.