/usr/lib/rads/venv/lib/python3.13/site-packages/restic/__pycache__
NameSizeModeActions
base.cpython-313.pyc306980644editdlrm
data.cpython-313.pyc222580644editdlrm
exc.cpython-313.pyc79170644editdlrm
__init__.cpython-313.pyc8450644editdlrm
Edit: /usr/lib/rads/venv/lib/python3.13/site-packages/restic/__pycache__/exc.cpython-313.pyc (7917B)
jSrSSKrSSKrSSKrSSKrSSKJrJr SSKJ r J r \R"S5r "SS\ 5r"SS \5r"S S \5r"S S \5r"SS\5r"SS\5r"SS\5rg)zRestic Exception ClassesN)SignalsSIGPIPE)CalledProcessErrorCompletedProcessz6locked (?:exclusively )?by PID (\d+) on ([\w\.\-]+) bycp^\rSrSrSrSrS\\-4U4SjjrS\\-4Sjr\ S\ 4Sj5r S r S r U=r$) ResticError zhBase class for restic errors Args: proc (CalledProcessError | CompletedProcess): subprocess result resticprocc>[UR[5(a[URS5nO URn[TU]U5 X lUR Ulg)Nutf-8) isinstancestderrbytesstrsuper__init__ returncode)selfr r __class__s =/usr/lib/rads/venv/lib/python3.13/site-packages/restic/exc.pyrResticError.__init__sJ dkk5 ) )g.F[[F   //c^U[La[RU5$[UR[ 5(a%[ URS5R5mOURR5mST;d ST;dST;a[R[5$ST;a[R[5$ST;dST;a[R[5$ST;a[R[5$S n[U4S jU55(dTRS 5(aS T;a[R[5$URS :a6[!UR5[":Xa[R[5$ST;a[R[$5$[RU5$)Nr zdial tcpzTLS handshake timeoutz502 Bad Gatewayz-The access key ID you provided does not existz&Stat: The specified key does not existz#The specified bucket does not existz unable to create lock in backend)z repair indexz rebuild-indexzunable to load indexzreturned error, retrying afterz Load(# UH oT;v M g7f)N).0xrs r &ResticError.__new__..=s/JqF{JszFatal:zinvalid data returnedrz out of memory)r Exception__new__rrrrstripResticConnErrorResticAccessErrorResticInitErrorResticLockedErrorany startswithResticBadIndexErrorrabsr ResticOom)clsr index_errsrs @rr"ResticError.__new__st k !$$S) ) dkk5 ) )g.446F[[&&(F & &&0 F*$$_5 5 :f D$$%67 7 4 >4>$$_5 5 - 7$$%67 7  /J/ / /   h ' ',Cv,M$$%89 9 ??Q 3t#77#B$$_5 5 f $$$Y/ /  %%rreturnc,[U5R$)zPGet the name of the class of the restic exception Returns: str: class name )type__name__rs rnameResticError.nameIsDz"""rc0URS:aV[UR5n[U5RnU[ :XaSUR 3$SUSUR 3$SURSUR 3$![a SU3nNXf=f)Nrzsignal zTimeout: received SIGPIPE. z (killed with z) z (return code )rr+rr5 ValueErrorrr)rsignumsigs r__str__ResticError.__str__Rs ??Q )F )fo** 4T[[MBB"3%r$++7 7t/r$++??  )x( )sBBB)rr)r3 __module__ __qualname____firstlineno____doc__rrrr"propertyrr5r;__static_attributes__ __classcell__rs@rrr s] J*/2BB*(&-0@@(&T#c## @ @rrc\rSrSrSrSrSrg)r,az1Raised when restic breaks due to an OOM conditionr rNr3r=r>r?r@rBrrrr,r,as ;Jrr,c\rSrSrSrSrSrg)r*gz3Raised when restic raises an index corruption errorr rNrGrrrr*r*gs =Jrr*c\rSrSrSrSrSrg)r%mz:Raised when S3 access/secret keys are incorrect for resticr rNrGrrrr%r%m DJrr%c\rSrSrSrSrSrg)r&sz9Raised when a restic repo connects but is not initializedr rNrGrrrr&r&ss CJrr&c\rSrSrSrSrSrg)r$yz:Raised when a connection is refused or times out from cephr rNrGrrrr$r$yrLrr$cX^\rSrSrSrSrS\\-4U4SjjrS\4Sjr U4Sjr S r U=r $) r'zARaised when an operation on a repo fails due to a lock held on itr r c:>[TU]U5 [RUR5=n(a6[ UR S55UlUR S5Ulg[R"SUR5 SUlSUlg)Nz$failed to parse PID and host from %r) rrLOCK_REsearchrintgrouppidhostloggingwarning)rr matchrs rrResticLockedError.__init__sl NN4;;/ /5 /5;;q>*DH ADI OOBDKK PDHDIrr0cURcg[R"5UR:wag[R "URS5 g![ a gf=f)zcCheck if a locked repo can be unlocked Returns: bool: true if restic unlock can be run safely FrT)rZplatformnoder[oskillProcessLookupErrorr4s r unlock_okResticLockedError.unlock_oksV 88  ==?dii '  GGDHHa "  s!A A#"A#cz>UR(aSURSUR3$[TU] 5$)Nz!repo is in use and locked by PID z on )rZr[rr;)rrs rr;ResticLockedError.__str__s2 886txxjTYYKP Pw  r)r[rZ) r3r=r>r?r@rrrboolrfr;rBrCrDs@rr'r's4KJ/2BB4 !!rr')r@rcrerar\signalrr subprocessrrcompilerVr!rr,r*r%r&r$r'rrrros #; **N OQ@)Q@h  +   k k "! "!r