Searched defs:error (Results 1 - 19 of 19) sorted by relevance

/pkg/src/util/publish/
H A Dupdate_file_layout.py45 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 Dpkgmogrify.py43 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 Dpkgdiff.py49 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 Dpkglint.py52 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 Dpkgfmt.py98 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 Dpkgmerge.py100 error message. Causes program to exit."""
145 def error(text, exitcode=EXIT_OOPS): function
146 """Emit an error message prefixed by the command name """
315 error(_("no publishers from source repositories match "
334 # an error.
453 error(message, exitcode=None)
970 misc.setlocale(locale.LC_ALL, "", error)
973 misc.set_fd_limits(printer=error)
977 warnings.simplefilter('error')
993 error(mis
[all...]
H A Dpkgsurf.py104 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/
H A Drad-invoke.py52 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 Dpkgdep.py62 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 Dpublish.py71 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 Dsign.py69 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 Ddepot-config.py109 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 Dsysrepo.py44 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...]
H A Dpull.py75 def error(text): function
76 """Emit an error message prefixed by the command name """
93 error message. Causes program to exit."""
96 error(usage_error)
162 case of an error.
201 # be cleaned up, but we're exiting with an error, then preserve
204 error(_("\n\nCached files were preserved in the "
220 """To be called when a fatal error is encountered."""
225 error(err)
586 # If any match failures remain, abort with an error
[all...]
H A Dpkgrepo.py94 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 Dclient.py132 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...]
/pkg/src/modules/lint/
H A Dlog.py153 def error(self, message, msgid=None, ignore_linted=False): member in class:LogFormatter
215 _("Logging error: {0}").format(
H A Dengine.py1020 def error(self, message, msgid=None, ignore_linted=False): member in class:LintEngine
1021 """Log an error message to all loggers."""
1023 log.error(message, msgid=msgid,
1046 self.error(err)
1219 self.error(err, msgid="pkglint001.6")
/pkg/src/zoneproxy/zoneproxyd/
H A Dzoneproxyd.c537 * Unexpected error. Adjust thread
610 int error; local
613 len = sizeof (error);
615 if (getsockopt(pair->pp_writefd, SOL_SOCKET, SO_ERROR, &error,
620 if (error) {
621 errno = error;
1212 (void) fprintf(stderr, "Internal error entering zone: %d\n", zid);
1433 /* Unexpected error */

Completed in 3648 milliseconds