/pkg/src/ |
H A D | rad-invoke.py | 52 def error(text): function 53 """Create error message.""" 57 ips_logger.error(text) 83 return error(_("This script can only be invoked by RAD")) 90 error("This is a RAD only script.") 100 error(_("unknown option {0} in file: {1}" 103 return error(_("illegal global option -- {0} in file: {1}" 106 return error(_("invalid option argument: {0} in file: {1}" 109 return error(_("missing argument in file: {0}").format(
|
H A D | pkgdep.py | 62 def error(text, cmd=None): function 63 """Emit an error message prefixed by the command name """ 83 error message. Causes program to exit.""" 86 error(usage_error, cmd=cmd) 180 error(_("Could not parse manifest {manifest} because of the " 185 error(e) 278 error(_("Could not find image. Use the -R option or set " 295 error("{0}: '{1}'".format( 301 error(_("External package list files were provided but " 317 error( [all...] |
H A D | client.py | 132 logger.error("\n") 133 logger.error(str(e)) 134 logger.error(_("To continue, execute 'pkg update-format' as a " 139 def error(text, cmd=None): function 140 """Emit an error message prefixed by the command name """ 159 logger.error(ws + pkg_cmd + text_nows) 164 specific error message. Causes program to exit. """ 167 error(usage_error, cmd=cmd) 387 logger.error("") 398 logger.error( [all...] |
H A D | publish.py | 71 def error(text, cmd=None): function 72 """Emit an error message prefixed by the command name """ 95 error message. Causes program to exit.""" 98 error(usage_error, cmd=cmd) 184 error(e, cmd="create-repository") 190 error(e, cmd="create-repository") 303 error(_("invalid action for publication: {0}").format(action), 356 error(e, cmd="publish") 367 error(e, cmd="publish") 390 error( [all...] |
H A D | sign.py | 69 def error(text, cmd=None): function 70 """Emit an error message prefixed by the command name """ 90 error message. Causes program to exit.""" 93 error(usage_error, cmd=cmd) 181 error(_("{opt} takes argument of form " 371 error("\n".join([str(e) for e in errors])) 378 error(e) 388 misc.setlocale(locale.LC_ALL, "", error) 391 misc.set_fd_limits(printer=error) 403 error(mis [all...] |
H A D | pkgrepo.py | 94 def error(text, cmd=None): function 95 """Emit an error message prefixed by the command name """ 114 logger.error(ws + pkg_cmd + text_nows) 132 specific error message. Causes program to exit. 136 error(usage_error, cmd=cmd) 140 logger.error(_("Try `pkgrepo --help or -?' for more " 247 error(str(e), cmd=subcommand) 358 error(_("Invalid publisher prefix '{0}'").format(pfx), 388 error(_("specified publisher(s) already exist: {0}").format( 427 error( [all...] |
H A D | depot-config.py | 109 def error(text, cmd=None): function 110 """Emit an error message prefixed by the command name """ 129 logger.error(ws + pkg_cmd + text_nows) 133 specific error message. Causes program to exit. 137 error(usage_error, cmd=cmd) 596 error(err) 863 error(e) 881 error(e) 885 error(_("User provided server certificate " 890 error( [all...] |
H A D | sysrepo.py | 44 from six.moves.urllib.error import URLError 133 def error(text, cmd=None): function 134 """Emit an error message prefixed by the command name """ 153 logger.error(ws + pkg_cmd + text_nows) 157 specific error message. Causes program to exit. 161 error(usage_error, cmd=cmd) 345 error(_("Invalid config cache file at {0} " 351 error(_("Invalid config cache at {0} " 362 error(_("Invalid config cache at {0} " 369 error( [all...] |
/pkg/src/modules/ |
H A D | mediator.py | 32 """Returns a tuple of (valid, error) indicating whether the provided 34 and 'error' is None or a string containing the error.""" 43 """Returns a tuple of (valid, error) indicating whether the provided 45 a boolean and 'error' is None or a string containing the error.""" 47 error = "" 53 error = str(e) 55 if error: 57 "{error}") [all...] |
/pkg/src/util/publish/ |
H A D | pkgmogrify.py | 43 error message. Causes program to exit.""" 54 def error(text, exitcode=EXIT_OOPS): function 55 """Emit an error message prefixed by the command name """ 76 error(_("macros must be of form name=value")) 79 error(_("macros must be of form name=value")) 99 macros, printinfo, output, error_cb=error) 113 error(_("Cannot write extra data {0}").format(e)) 144 error(_("Cannot write output {0}").format(e)) 149 misc.setlocale(locale.LC_ALL, "", error) 152 misc.set_fd_limits(printer=error) [all...] |
H A D | update_file_layout.py | 45 def error(text, cmd=None): function 46 """Emit an error message prefixed by the command name """ 65 logger.error(ws + pkg_cmd + text_nows) 111 error("\n" + misc.out_of_memory()) 123 error(traceback_str)
|
H A D | pkglint.py | 52 def error(message=""): function 53 """Emit an error message prefixed by the command name. """ 57 logger.error(_("Error: {0}").format(message)) 102 parser.error( 136 parser.error( 145 error(_("Fatal error in manifest - exiting.")) 163 error(err) 167 error(err) 320 misc.setlocale(locale.LC_ALL, "", error) [all...] |
H A D | pkgdiff.py | 49 error message. Causes program to exit.""" 61 def error(text, exitcode=EXIT_PARTIAL): function 62 """Emit an error message prefixed by the command name """ 141 error(_("Action error in file {p}: {e}").format(**locals())) 143 error(e) 190 error(_("Manifests support different variants " 365 misc.setlocale(locale.LC_ALL, "", error) 368 misc.set_fd_limits(printer=error) 381 error(mis [all...] |
H A D | pkgfmt.py | 98 error message. Causes program to exit.""" 101 error(errmsg) 110 def error(text, exitcode=EXIT_OOPS): function 111 """Emit an error message prefixed by the command name """ 124 emsg(ws + "pkgfmt: error: " + text_nows) 596 error(_("manifest is not in pkgfmt form")) 642 error(_("{0} is not in pkgfmt form; run pkgfmt " 669 error(str(e), exitcode=EXIT_OOPS) 671 error(str(e), exitcode=EXIT_OOPS) 717 misc.setlocale(locale.LC_ALL, "", error) [all...] |
H A D | pkgsurf.py | 104 def error(text, cmd=None): function 105 """Emit an error message prefixed by the command name """ 124 """Remove temporary directories. Print error msg in case operation 130 error(_(""" 145 error message. Causes program to exit.""" 148 error(usage_error, cmd=cmd) 182 """To be called when a fatal error is encountered.""" 187 error(err) 544 error(_("Dependency chain depth of >{md:d} detected for" 798 misc.setlocale(locale.LC_ALL, "", error) [all...] |
/pkg/src/modules/actions/ |
H A D | link.py | 79 info). The error list will be empty if the action has been 131 error handling to provide additional diagonostics. 163 valid, error = med.valid_mediator(mediator) 165 errors.append(("mediator", error)) 174 valid, error = med.valid_mediator_version(med_version) 176 errors.append(("mediator-version", error)) 180 valid, error = med.valid_mediator_implementation( 184 error)) 188 valid, error = med.valid_mediator_priority(med_priority) 190 errors.append(("mediator-priority", error)) [all...] |
H A D | __init__.py | 131 "position: {pos:d}: {error}:\n {action}\n" 134 marker=marker, error=self.errorstr) 135 return _("Malformed action at position: {pos:d}: {error}:\n " 138 error=self.errorstr) 142 """Used to indicate that a file-related error occuring during action 147 self.error = args[0] 151 return str(self.error) 166 "{action}: {error}").format(fmri=self.fmri, 167 action=self.actionstr, error=self.errorstr) 168 return _("invalid action, '{action}': {error}") [all...] |
H A D | hardlink.py | 89 raise ActionExecutionError(self, error=e) 99 error=e, fmri=pkgplan.destination_fmri) 103 info). The error list will be empty if the action has been
|
/pkg/src/modules/client/ |
H A D | bootenv.py | 143 logger.error(_("pkg: A system error {e} was " 149 logger.error(_("pkg: '{cmd}' failed. \nwith " 219 logger.error(_("pkg: unable to create an auto " 499 logger.error(_("pkg: unable to activate " 515 logger.error(_("unable to unmount BE " 585 self.img.history.log_operation_error(error=e) 601 logger.error(_("The running system has not been " 613 logger.error(_("pkg: unable to " 620 self.img.history.log_operation_error(error [all...] |
H A D | history.py | 56 # Indicates that the operation failed due to a configuration error (such as an 68 # Indicates that a transport error caused the operation to fail. 346 # one. If the error hasn't been recorded by now, it 545 op.errors.extend(get_node_values("errors", child_name="error")) 667 error = d.createElement("error") 668 errors.appendChild(error) 669 error.appendChild( 768 """Intended to be used by the client during top-level error 769 handling to indicate that an unrecoverable error occurre [all...] |
/pkg/src/modules/flavor/ |
H A D | base.py | 81 def __init__(self, value, error): 83 self.error = error 89 "{err}").format(val=self.value, err=self.error) 96 def __init__(self, error): 97 self.error = error 102 "Invalid publishing dependency: {0}").format(self.error) 154 should be considered an error."""
|
/pkg/src/modules/lint/ |
H A D | pkglint_manifest.py | 119 * error if obsoleted packages contain anything other than 121 * error if pkg.description or pkg.summary are set. 134 engine.error(_("obsolete package {pkg} has " 149 # since we only emit the error once, after iterating 163 engine.error( 172 engine.error( 205 * error if renamed packages contain anything other than set, 235 engine.error(_("renamed package {0} contains actions " 242 # error, ultimately resulting in an INFO level message. 246 engine.error( [all...] |
H A D | pkglint_action.py | 383 engine.error(_("{type} action for {attr} " 457 for error, sub_id in errors: 458 engine.error(error, 472 engine.error(_("{attr_name} {name} is " 481 engine.error(_("{attr_name} {name} " 534 engine.error( 650 engine.error(_("path {path} uses different " 667 # this error would only confuse. A user 673 engine.error( [all...] |
/pkg/src/modules/server/ |
H A D | face.py | 77 def __handle_error(path, error): 79 # don't handle 500 errors in a desirable way. For any error but a 404, 80 # an error is logged. 81 if error != http_client.NOT_FOUND: 138 "server api: {error}".format(path=path, 139 error=str(e)))
|
/pkg/src/modules/client/transport/ |
H A D | mdetect.py | 109 except select.error as e: 157 except select.error as e:
|