[Python-modules-team] Bug#824566: python-pyparsing: targetcli 'saveconfig' command does not work
Kouichi ONO
kou1.ono at gmail.com
Tue May 17 15:31:56 UTC 2016
Package: python-pyparsing
Version: 2.1.1+dfsg1-1
Severity: serious
Dear Maintainer,
'saveconfig' command of targetcli (in targetcli package) does not work with
python-pyparsing_2.1.1+dfsg1-1_all.deb package.
downgrade to python-pyparsing_2.0.3+dfsg1-1_all.deb fixes problem.
# targetcli / saveconfig
Save configuration? [Y/n]:
Performing backup of startup configuration: /var/target/backup-2016-05-18_00:16:59.lio
Saving new startup configuration
Traceback (most recent call last):
File "/usr/bin/targetcli", line 89, in <module>
main()
File "/usr/bin/targetcli", line 78, in main
shell.run_cmdline(" ".join(sys.argv[1:]))
File "/usr/lib/python2.7/dist-packages/configshell/shell.py", line 934, in run_cmdline
self._execute_command(path, command, pparams, kparams)
File "/usr/lib/python2.7/dist-packages/configshell/shell.py", line 909, in _execute_command
result = target.execute_command(command, pparams, kparams)
File "/usr/lib/python2.7/dist-packages/targetcli/ui_node.py", line 104, in execute_command
pparams, kparams)
File "/usr/lib/python2.7/dist-packages/configshell/node.py", line 1416, in execute_command
result = method(*pparams, **kparams)
File "/usr/lib/python2.7/dist-packages/targetcli/ui_node.py", line 123, in ui_command_saveconfig
CliConfig.save_running_config()
File "/usr/lib/python2.7/dist-packages/targetcli/cli_config.py", line 64, in save_running_config
config = Config()
File "/usr/lib/python2.7/dist-packages/rtslib/config.py", line 133, in __init__
self._load_policy()
File "/usr/lib/python2.7/dist-packages/rtslib/config.py", line 144, in _load_policy
parse_tree = self._policy_parser.parse_file(filepath)
File "/usr/lib/python2.7/dist-packages/rtslib/config_parser.py", line 144, in parse_file
return self._parser.parseFile(filepath, parseAll=True).asList()
File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 1555, in parseFile
return self.parseString(file_contents, parseAll)
File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 1162, in parseString
loc, tokens = self._parse( instring, 0 )
File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 1028, in _parseNoCache
loc,tokens = self.parseImpl( instring, preloc, doActions )
File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 2888, in parseImpl
return super(ZeroOrMore, self).parseImpl(instring, loc, doActions)
File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 2841, in parseImpl
loc, tokens = self_expr_parse( instring, loc, doActions, callPreParse=False )
File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 1028, in _parseNoCache
loc,tokens = self.parseImpl( instring, preloc, doActions )
File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 2719, in parseImpl
return self.expr._parse( instring, loc, doActions, callPreParse=False )
File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 1028, in _parseNoCache
loc,tokens = self.parseImpl( instring, preloc, doActions )
File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 2719, in parseImpl
return self.expr._parse( instring, loc, doActions, callPreParse=False )
File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 1028, in _parseNoCache
loc,tokens = self.parseImpl( instring, preloc, doActions )
File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 2462, in parseImpl
loc, exprtokens = e._parse( instring, loc, doActions )
File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 1028, in _parseNoCache
loc,tokens = self.parseImpl( instring, preloc, doActions )
File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 2576, in parseImpl
ret = e._parse( instring, loc, doActions )
File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 1028, in _parseNoCache
loc,tokens = self.parseImpl( instring, preloc, doActions )
File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 2462, in parseImpl
loc, exprtokens = e._parse( instring, loc, doActions )
File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 1028, in _parseNoCache
loc,tokens = self.parseImpl( instring, preloc, doActions )
File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 2924, in parseImpl
loc, tokens = self.expr._parse( instring, loc, doActions, callPreParse=False )
File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 1028, in _parseNoCache
loc,tokens = self.parseImpl( instring, preloc, doActions )
File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 2576, in parseImpl
ret = e._parse( instring, loc, doActions )
File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 1028, in _parseNoCache
loc,tokens = self.parseImpl( instring, preloc, doActions )
File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 2719, in parseImpl
return self.expr._parse( instring, loc, doActions, callPreParse=False )
File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 1028, in _parseNoCache
loc,tokens = self.parseImpl( instring, preloc, doActions )
File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 2462, in parseImpl
loc, exprtokens = e._parse( instring, loc, doActions )
File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 1028, in _parseNoCache
loc,tokens = self.parseImpl( instring, preloc, doActions )
File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 2841, in parseImpl
loc, tokens = self_expr_parse( instring, loc, doActions, callPreParse=False )
File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 1028, in _parseNoCache
loc,tokens = self.parseImpl( instring, preloc, doActions )
File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 2719, in parseImpl
return self.expr._parse( instring, loc, doActions, callPreParse=False )
File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 1028, in _parseNoCache
loc,tokens = self.parseImpl( instring, preloc, doActions )
File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 2719, in parseImpl
return self.expr._parse( instring, loc, doActions, callPreParse=False )
File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 1028, in _parseNoCache
loc,tokens = self.parseImpl( instring, preloc, doActions )
File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 2462, in parseImpl
loc, exprtokens = e._parse( instring, loc, doActions )
File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 1028, in _parseNoCache
loc,tokens = self.parseImpl( instring, preloc, doActions )
File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 2576, in parseImpl
ret = e._parse( instring, loc, doActions )
File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 1028, in _parseNoCache
loc,tokens = self.parseImpl( instring, preloc, doActions )
File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 2462, in parseImpl
loc, exprtokens = e._parse( instring, loc, doActions )
File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 1028, in _parseNoCache
loc,tokens = self.parseImpl( instring, preloc, doActions )
File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 2924, in parseImpl
loc, tokens = self.expr._parse( instring, loc, doActions, callPreParse=False )
File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 1028, in _parseNoCache
loc,tokens = self.parseImpl( instring, preloc, doActions )
File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 2576, in parseImpl
ret = e._parse( instring, loc, doActions )
File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 1028, in _parseNoCache
loc,tokens = self.parseImpl( instring, preloc, doActions )
File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 2719, in parseImpl
return self.expr._parse( instring, loc, doActions, callPreParse=False )
File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 1028, in _parseNoCache
loc,tokens = self.parseImpl( instring, preloc, doActions )
File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 2462, in parseImpl
loc, exprtokens = e._parse( instring, loc, doActions )
File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 1028, in _parseNoCache
loc,tokens = self.parseImpl( instring, preloc, doActions )
File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 2841, in parseImpl
loc, tokens = self_expr_parse( instring, loc, doActions, callPreParse=False )
File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 1028, in _parseNoCache
loc,tokens = self.parseImpl( instring, preloc, doActions )
File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 2719, in parseImpl
return self.expr._parse( instring, loc, doActions, callPreParse=False )
File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 1028, in _parseNoCache
loc,tokens = self.parseImpl( instring, preloc, doActions )
File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 2719, in parseImpl
return self.expr._parse( instring, loc, doActions, callPreParse=False )
File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 1028, in _parseNoCache
loc,tokens = self.parseImpl( instring, preloc, doActions )
File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 2462, in parseImpl
loc, exprtokens = e._parse( instring, loc, doActions )
File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 1028, in _parseNoCache
loc,tokens = self.parseImpl( instring, preloc, doActions )
File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 2576, in parseImpl
ret = e._parse( instring, loc, doActions )
File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 1028, in _parseNoCache
loc,tokens = self.parseImpl( instring, preloc, doActions )
File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 2462, in parseImpl
loc, exprtokens = e._parse( instring, loc, doActions )
File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 1028, in _parseNoCache
loc,tokens = self.parseImpl( instring, preloc, doActions )
File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 2924, in parseImpl
loc, tokens = self.expr._parse( instring, loc, doActions, callPreParse=False )
File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 1028, in _parseNoCache
loc,tokens = self.parseImpl( instring, preloc, doActions )
File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 2576, in parseImpl
ret = e._parse( instring, loc, doActions )
File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 1028, in _parseNoCache
loc,tokens = self.parseImpl( instring, preloc, doActions )
File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 2719, in parseImpl
return self.expr._parse( instring, loc, doActions, callPreParse=False )
File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 1028, in _parseNoCache
loc,tokens = self.parseImpl( instring, preloc, doActions )
File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 2462, in parseImpl
loc, exprtokens = e._parse( instring, loc, doActions )
File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 1028, in _parseNoCache
loc,tokens = self.parseImpl( instring, preloc, doActions )
File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 2841, in parseImpl
loc, tokens = self_expr_parse( instring, loc, doActions, callPreParse=False )
File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 1028, in _parseNoCache
loc,tokens = self.parseImpl( instring, preloc, doActions )
File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 2719, in parseImpl
return self.expr._parse( instring, loc, doActions, callPreParse=False )
File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 1028, in _parseNoCache
loc,tokens = self.parseImpl( instring, preloc, doActions )
File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 2719, in parseImpl
return self.expr._parse( instring, loc, doActions, callPreParse=False )
File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 1028, in _parseNoCache
loc,tokens = self.parseImpl( instring, preloc, doActions )
File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 2462, in parseImpl
loc, exprtokens = e._parse( instring, loc, doActions )
File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 1028, in _parseNoCache
loc,tokens = self.parseImpl( instring, preloc, doActions )
File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 2576, in parseImpl
ret = e._parse( instring, loc, doActions )
File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 1028, in _parseNoCache
loc,tokens = self.parseImpl( instring, preloc, doActions )
File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 2462, in parseImpl
loc, exprtokens = e._parse( instring, loc, doActions )
File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 1028, in _parseNoCache
loc,tokens = self.parseImpl( instring, preloc, doActions )
File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 2924, in parseImpl
loc, tokens = self.expr._parse( instring, loc, doActions, callPreParse=False )
File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 1028, in _parseNoCache
loc,tokens = self.parseImpl( instring, preloc, doActions )
File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 2576, in parseImpl
ret = e._parse( instring, loc, doActions )
File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 1028, in _parseNoCache
loc,tokens = self.parseImpl( instring, preloc, doActions )
File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 2719, in parseImpl
return self.expr._parse( instring, loc, doActions, callPreParse=False )
File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 1028, in _parseNoCache
loc,tokens = self.parseImpl( instring, preloc, doActions )
File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 2462, in parseImpl
loc, exprtokens = e._parse( instring, loc, doActions )
File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 1028, in _parseNoCache
loc,tokens = self.parseImpl( instring, preloc, doActions )
File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 2841, in parseImpl
loc, tokens = self_expr_parse( instring, loc, doActions, callPreParse=False )
File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 1028, in _parseNoCache
loc,tokens = self.parseImpl( instring, preloc, doActions )
File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 2719, in parseImpl
return self.expr._parse( instring, loc, doActions, callPreParse=False )
File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 1028, in _parseNoCache
loc,tokens = self.parseImpl( instring, preloc, doActions )
File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 2719, in parseImpl
return self.expr._parse( instring, loc, doActions, callPreParse=False )
File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 1028, in _parseNoCache
loc,tokens = self.parseImpl( instring, preloc, doActions )
File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 2462, in parseImpl
loc, exprtokens = e._parse( instring, loc, doActions )
File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 1028, in _parseNoCache
loc,tokens = self.parseImpl( instring, preloc, doActions )
File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 2576, in parseImpl
ret = e._parse( instring, loc, doActions )
File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 1054, in _parseNoCache
tokens = fn( instring, tokensStart, retTokens )
File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 792, in wrapper
ret = func(*args[limit[0]:]) #~@$^*)+_(&%#!=-`~;:"[]{}
File "/usr/lib/python2.7/dist-packages/rtslib/config_parser.py", line 228, in _parse_action_attr
ref_path = " ".join(ref_path.asList())
AttributeError: 'list' object has no attribute 'asList'
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.6.0-dirty (SMP w/12 CPU cores; PREEMPT)
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages python-pyparsing depends on:
pn python:any <none>
python-pyparsing recommends no packages.
Versions of packages python-pyparsing suggests:
pn python-pyparsing-doc <none>
-- debconf-show failed
More information about the Python-modules-team
mailing list