VULN_CHECK_I913V6 ;j$ddlZejddZeedseje_ejZddlmZddlm Z ddl Z e jdde jddze _ dd l m ZGd deZGddeZ ddl mZGddeZGddeZGddeZGddeZGddeZGddeZGddeZGd d!eeZGd"d#eZGd$d%eeZGd&d'eZGd(d)eZ Gd*d+eeZ!Gd,d-eeZ"Gd.d/eeZ#Gd0d1eZ$Gd2d3eeZ%Gd4d5eZ&Gd6d7eZ'Gd8d9eZ(Gd:d;eZ)Gd<d=eZ*Gd>d?eZ+Gd@dAeZ,GdBdCeZ-GdDdEeZ.GdFdGeZ/y#e$r" dd lmZn#e$rGd d eZYnwxYwYswxYw#e$r ddlmZn #e$reZYnwxYwYwwxYw)HNzrhn-client-toolsT)fallbackugettext)ustr) up2dateLog) YumBaseError)ErrorceZdZdZdZdZy) PmBaseErrorc||_yNvalueselferrmsgs A/usr/lib/python3.12/site-packages/up2date_client/up2dateErrors.py__init__zPmBaseError.__init__*s # c\ttd|jj|fz)Nclass %s has no attribute '%s')AttributeError_ __class____name__rnames r __getattr__zPmBaseError.__getattr__,s($Q'G%HDNNLcLceiKj%jkkrcJ|dvr||jd<y||j|<y)N)rrr)__dict__rrrs r __setattr__zPmBaseError.__setattr__.s'..-2DMM'**/DMM$'rN)r __module__ __qualname__rrr"rrr r )s $ l 0rr c,eZdZdZdZdZdZdZdZy)r zbase class for errorsct|}tj||d|jz|z|_t j |_y)Nz rhn-plugin: )rr rpremsgrrinitLoglogrs rrzError.__init__8s@fT6*#dkk1F: %%'rcd|jj|j|jSr )r+log_merrs r__repr__zError.__repr__>s   #zzrc|dk(r |jSttdrtj||S||jvr|j|St t d|jj|fz)G Spacewalk backend still use errmsg, let have errmsg as alias to value rrr) rhasattrr rr rrrrrs rrzError.__getattr__Bsu 8 :: {M2"..tT::4==(==..(+K)LPTP^P^PgPgimOn)noorc|dk(r||jd<yttdrtj|||y||j|<y)r1rrr"N)r r2r r"r!s rr"zError.__setattr__PsB 8 %*DMM' "{M2''dE:&+ d#rN) rr#r$__doc__r)rr/rr"r%rrr r 5s F(  p ,rr c eZdZy)DebAndSuseRepoErrorNrr#r$r%rrr6r6[srr6) RepoErrorc eZdZy)RhnServerExceptionNr7r%rrr:r:grr:c eZdZdZedZy) PasswordErrorz@Raise when the server responds with that a password is incorrectz!Password error. The message was: Nrr#r$r4rr)r%rrr=r=jsJ 3 4Frr=c eZdZdZedZy)CommunicationErrorzDIndicates a problem doing xml-rpc http communication with the serverz2Error communicating with server. The message was: Nr>r%rrr@r@osN &'Frr@c eZdZdZedZy)FileNotFoundErrorzR Raise when a package or header that is requested returns a 404 error codezFile Not Found: Nr>r%rrrBrBts$%FrrBc eZdZdZedZy) DelayErrorzO Raise when the expected response from a xml-rpc call exceeds a timeoutz+Delay error from server. The message was: Nr>r%rrrDrD{s>?FrrDceZdZdZdZy) NoLogErrorcBt|}|j|z|_yr )rr)rrmsgs rrzNoLogError.__init__s3i[[3& rc|jSr rr.s rr/zNoLogError.__repr__ zzrN)rr#r$rr/r%rrrFrFs 'rrFc eZdZy) AbuseErrorNr7r%rrrMrMr;rrMc eZdZy)AuthenticationTicketErrorNr7r%rrrOrOr;rrOc eZdZy)AuthenticationErrorNr7r%rrrQrQr;rrQc eZdZdZedZy)ValidationErrorz1indicates an error during server input validationz!Error validating data at server: Nr>r%rrrSrSs; 3 4FrrSc eZdZy)InvalidRegistrationNumberErrorNr7r%rrrUrUr;rrUceZdZdZdZdZy)RegistrationDeniedErrorcLtj||jyr r:rchangeExplanationr.s rrz RegistrationDeniedError.__init__s##D$*@*@*BCrc|jSr rr.s rr/z RegistrationDeniedError.__repr__rKrctdS)Nz CloudLinux Network Classic is not supported. To register with CloudLinux Subscription Management please run: subscription-manager register --auto-attach Get more information at www.cloudlinux.com )rr.s rrZz)RegistrationDeniedError.changeExplanations  rNrr#r$rr/rZr%rrrWrWsD rrWceZdZdZy)NoBaseChannelErrorz/No valid base channel was found for this systemNrr#r$r4r%rrr_r_s9rr_c eZdZy)UnknownMethodExceptionNr7r%rrrbrbr;rrbc eZdZy)RhnUuidUniquenessErrorNr7r%rrrdrdr;rrdc eZdZdZedZy) NetworkErrorzD some generic network error occurred, e.g. connection reset by peer zNetwork error: Nr>r%rrrfrfsN  !Frrfc*eZdZdZej Zy)SSLCertificateVerifyFailedErrorc0tj|dy)Nz(The SSL certificate failed verification.)r8rr.s rrz(SSLCertificateVerifyFailedError.__init__s4!KLrN)rr#r$rr rr%rrrhrhsM##Krrhc eZdZy)SSLCertificateFileNotFoundNr7r%rrrkrkr;rrkceZdZdZy)$AuthenticationOrAccountCreationErrora%Class that can represent different things depending on context: While logging in with an existing user it represents a username or password being incorrect. While creating a new account, it represents the username already being taken or the user not being allowed to create an account. Optimally these different things would be different exceptions, but there are single fault codes the server can return to the client that can mean more than one of them so we have no way of knowing which is actually intended. Nr`r%rrrmrms   rrmc eZdZy)NotEntitlingErrorNr7r%rrroror;rroc eZdZy)UnableToCreateUserNr7r%rrrqrqs rrqc eZdZy)ActivationKeyUsageLimitErrorNr7r%rrrsrsr;rrsc eZdZy)LoginMinLengthErrorNr7r%rrrurur;rruc eZdZy)PasswordMinLengthErrorNr7r%rrrwrwr;rrwc eZdZy)PasswordMaxLengthErrorNr7r%rrryryr;rryceZdZdZdZdZy)InsuffMgmntEntsErrorcNtj||j|yr rYrHs rrzInsuffMgmntEntsError.__init__s##D$*@*@*EFrc|jSr rr.s rr/zInsuffMgmntEntsError.__repr__rKrcftd}d}|j|t|z}|d||zS)Na Your organization does not have enough Management entitlements to register this system to CloudLinux Network. Please notify your organization administrator of this error. You should be able to register this system after your organization frees existing or purchases additional entitlements. Additional entitlements may be purchased by your organization administrator by logging into CloudLinux Network and visiting A common cause of this error code is due to having mistakenly setup an Activation Key which is set as the universal default. If an activation key is set on the account as a universal default, you can disable this key and retry to avoid requiring a Management entitlement.z Explanation:)rrindexlen)rrInewExplntermlocs rrZz&InsuffMgmntEntsError.changeExplanations@ + ,jjT*4Cy8##rNr]r%rrr{r{sG$rr{ceZdZdZy)InvalidRedirectionErrorz7 Raise when redirect requests could'nt return a packageNr`r%rrrrsArr)0gettext translationtr2rrrhn.i18nrup2date_clientrsyspath yum.Errorsrr ImportErrordnf.exceptionsr Exceptionr6r8r:r=r@rBrDrFrMrOrQrSrUrWr_rbrdrfrhrkrmrorqrsrurwryr{rr%rrrsM.G*T:q*AJJJ% 88AB<#((2A, &06"$,K$,L%($  5&5 '+' &&@#@   ,>  * 5j"45 _  0 " %7  Z);  Z); "5"$i$     ?       :  *  Z  Z $-$. j m 0 07  0 0) 0 0 0v((, (' ((sl4GG1G. GG.G'$G.&G''G.-G.1H7G>=H>HHHHH