Searched refs:errors (Results 1 - 25 of 41) sorted by relevance

12

/pkg/src/modules/actions/
H A Dlink.py78 """Returns a tuple of lists of the form (errors, warnings,
85 lstat, errors, warnings, info, abort = \
89 assert errors
90 return errors, warnings, info
95 errors.append(_("Target: '{found}' should be "
98 return errors, warnings, info
136 errors = generic.Action._validate(self, fmri=fmri,
145 if errors:
147 self, errors, fmri=fmri)
157 errors
[all...]
H A Ddepend.py128 errors = []
130 errors.append(
133 return errors
138 errors.append(_("Package in parent is from a "
141 return errors
150 errors.append(_("Parent image has a newer "
153 errors.append(_("Parent image has an older "
156 return errors
160 errors = []
162 return errors
[all...]
H A Dhardlink.py102 """Returns a tuple of lists of the form (errors, warnings,
110 lstat, errors, warnings, info, abort = \
113 assert errors
114 return errors, warnings, info
122 errors.append(_("Target '{0}' does not exist").format(
126 if errors:
127 return errors, warnings, info
131 errors.append(_("Broken: Path and Target ({0}) "
135 errors.append(_("Unexpected Error: {0}").format(e))
137 return errors, warning
[all...]
H A Dlegacy.py138 """Returns a tuple of lists of the form (errors, warnings,
142 errors = []
152 errors.append(
155 return errors, warnings, info
158 errors.append(_("Missing file "
161 return errors, warnings, info
H A Dfile.py343 """Returns a tuple of lists of the form (errors, warnings,
356 lstat, errors, warnings, info, abort = \
363 assert errors
365 return errors, warnings, info
379 errors.append(_("Timestamp: {found} should be "
391 errors.append(_("Size: {found:d} bytes should be "
397 return errors, warnings, info
400 return errors, warnings, info
448 errors.append(
477 errors
[all...]
H A Duser.py222 """Returns a tuple of lists of the form (errors, warnings,
226 errors = []
233 return errors, warnings, info
241 errors.append(_("Skipping: Permission denied"))
243 errors.append(_("Unexpected Error: {0}").format(e))
244 return errors, warnings, info
246 errors.append(_("{group} is an unknown or invalid group").format(
248 return errors, warnings, info
303 errors.extend(
310 return errors, warning
[all...]
H A Dgeneric.py779 """Returns a tuple of lists of the form (errors, warnings,
789 errors = []
820 errors.append(("mode", _("mode is required; "
824 errors.append(("mode", _("mode may only be "
827 errors.append(("mode", _("'{0}' is not a valid "
834 errors.append(("owner", _("owner may only be specified "
840 errors.append(("group", _("group may only be specified "
843 return errors
943 errors = []
972 errors
[all...]
H A Dattribute.py168 errors = []
174 errors.append((name, str(e)))
175 if errors:
177 self, errors, fmri=fmri)
H A Dgroup.py152 """Returns a tuple of lists of the form (errors, warnings,
156 errors = []
162 return errors, warnings, info
191 errors = [
198 return errors, warnings, info
H A Ddirectory.py211 """Returns a tuple of lists of the form (errors, warnings,
215 lstat, errors, warnings, info, abort = \
217 return errors, warnings, info
286 errors = generic.Action._validate(self, fmri=fmri,
288 errors.extend(self._validate_fsobj_common())
289 if errors:
291 errors, fmri=fmri)
H A Ddriver.py663 errors = []
675 errors.append(e)
692 errors.append(e)
708 errors.append(e)
722 errors.append(e)
750 errors.append(e)
761 errors.append(e)
800 errors.append(e)
817 return act, errors
822 """Returns a tuple of lists of the form (errors, warning
[all...]
H A Dlicense.py132 """Returns a tuple of lists of the form (errors, warnings,
136 errors = []
151 errors.append(_("License file {0} does "
153 return errors, warnings, info
157 errors.append(_("Hash: '{found}' should be "
160 return errors, warnings, info
H A D__init__.py90 """Base exception class for Action errors."""
203 def __init__(self, act, errors, fmri=None):
206 'errors' is a list of tuples of the form (name, error) where
216 self.errors = errors
220 act_errors = "\n ".join(err for name, err in self.errors)
/pkg/src/modules/client/
H A Dclient_api.py119 "errors": {"type": "array",
302 "errors": {"type": "array",
447 environment, collect the values. Some transport errors are
469 errors = []
475 # For version errors, include the pattern so
477 errors.append("Illegal FMRI '{0}': {1}".format(pat,
482 errors.append(err)
483 if errors:
484 _error_json("\n".join(str(e) for e in errors),
486 return len(errors)
[all...]
H A Dhistory.py82 # Cross-reference table for errors and results. Entries should be ordered
126 h.errors = [copy.copy(e) for e in self.errors]
130 if name not in ("result", "errors", "be", "be_uuid",
163 self.new_be_uuid, self.snapshot, self.release_notes, self.errors)
177 errors = None variable
208 self.errors = []
545 op.errors.extend(get_node_values("errors", child_name="error"))
663 errors
[all...]
H A Dapi_errors.py196 """Base exception class for plan preparation errors."""
204 def __init__(self, errors):
205 """'errors' should be a list of exceptions or strings
206 indicating what packages had errors and why."""
209 self.errors = errors
214 "{0}").format("\n".join(str(e) for e in self.errors))
218 """Used to indicate that license-related errors occurred during
233 to license-related errors for a package."""
235 def __init__(self, errors)
243 def errors(self): member in class:PkgLicenseErrors
262 def errors(self): member in class:PlanLicenseErrors
[all...]
H A Dpkgplan.py531 errors = []
536 errors.append(apx.LicenseAcceptanceError(
539 if errors:
540 raise apx.PkgLicenseErrors(errors)
H A Dprogress.py596 def _repo_ver_output_error(self, errors): pass
604 def _repo_fix_output_error(self, errors): pass
607 def _repo_fix_output_info(self, errors): pass
849 def repo_verify_yield_error(self, pkgfmri, errors): pass
871 def repo_fix_yield_error(self, pkgfmri, errors): pass
1310 # errors, depot misconfigurations, etc. So disable goal check.
1330 def repo_verify_yield_error(self, pkgfmri, errors):
1331 self._repo_ver_output_error(errors)
1347 def repo_fix_yield_error(self, pkgfmri, errors):
1348 self._repo_fix_output_error(errors)
[all...]
/pkg/src/modules/client/transport/
H A Drepo.py235 def _annotate_exceptions(errors, mapping=None):
236 """Walk a list of transport errors, examine the
240 for e in errors:
261 return errors
354 # multiple errors possible (e.g. license and entitlement not ok)
563 errors, success = self._engine.check_status(urllist,
566 errors = self._annotate_exceptions(errors)
568 e.failures = errors
575 errors
[all...]
/pkg/src/
H A Dsign.py225 errors = []
263 errors.append(e)
337 errors.append(e)
369 errors.append(e)
370 if errors:
371 error("\n".join([str(e) for e in errors]))
397 # possible further broken pipe (EPIPE) errors.
H A Ddepot-config.py546 errors = []
568 errors.append(str(err))
569 if errors:
571 "{0}").format("\n".join(errors)))
636 errors = []
639 errors.append(_("prefix {0} cannot be used more than "
644 errors.append(_("repo_root {0} cannot be used more "
649 errors.append(_("writable_root {0} cannot be used more "
653 if errors:
654 raise DepotException("\n".join(errors))
[all...]
H A Dpublish.py123 self.errors = set()
147 self.errors.add(
154 self.errors.add(
379 e = err.errors[0]
443 # errors when reusing manifests with different content.
532 e = err.errors[0]
662 if visitor.errors:
666 error("Abandoning transaction due to errors.")
826 for err in visitor.errors:
851 # Make all warnings be errors
[all...]
/pkg/src/util/qual-simulator/
H A Ddepot.py37 # against a random float [0, 1). A larger number means errors occur more
92 defines how often errors occur. The error_type is
179 errors = 0
215 return (errors, size, time)
/pkg/src/modules/lint/
H A Dpkglint_action.py454 conflict_actions, errors = self._prune_overlays(
457 for error, sub_id in errors:
748 overlay-related errors encountered, in the the format:
760 # When printing errors, we emit all FMRIs that are taking part
794 errors = set()
801 errors.add(
842 errors.add(
856 errors.add(
895 errors.add(
915 errors
[all...]
/pkg/src/util/publish/
H A Dpkgmerge.py318 errors = set()
321 # iterate over all publishers in our source repositories. If errors
382 errors.add(
409 errors.add(
423 # publication errors, we move on to the next publisher.
431 errors.add(str(e))
446 errors.add(_("the following publishers were not found in "
449 # If we have encountered errors for some publishers, print them now
452 for message in errors:
454 if errors
[all...]

Completed in 221 milliseconds

12