summaryrefslogtreecommitdiff
path: root/fs/errors.py
Commit message (Collapse)AuthorAgeFilesLines
* py2.6 fixeswillmcgugan@gmail.com2014-02-261-1/+1
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@885 67cdc799-7952-0410-af00-57a81ceafa0f
* Test fixeswillmcgugan@gmail.com2014-02-261-0/+4
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@884 67cdc799-7952-0410-af00-57a81ceafa0f
* Allow unicode conversion for errors containing non-ascii strings. willmcgugan@gmail.com2013-09-101-1/+7
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@877 67cdc799-7952-0410-af00-57a81ceafa0f
* Implemented generic validatepath method and optimized normpathwillmcgugan@gmail.com2012-12-011-1/+8
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@837 67cdc799-7952-0410-af00-57a81ceafa0f
* InvalidCharsInPathErrorwillmcgugan@gmail.com2012-11-241-6/+6
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@830 67cdc799-7952-0410-af00-57a81ceafa0f
* Fixes for backslashes on Linux issue, see Issue #139willmcgugan@gmail.com2012-11-241-2/+7
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@829 67cdc799-7952-0410-af00-57a81ceafa0f
* Forgot to add BackReferenceError to __all__ list. This caused problems in ↵btimby2012-08-231-0/+1
| | | | | | expose/sftp.py (BackReferenceError not defined). git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@812 67cdc799-7952-0410-af00-57a81ceafa0f
* Don't derive BackReferenceError from FSError. See comments on r773.btimby2012-04-201-2/+1
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@779 67cdc799-7952-0410-af00-57a81ceafa0f
* Use explicit exception to detect invalid path (BackReferenceError), see ↵btimby2012-04-201-0/+5
| | | | | | comments on r773 git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@775 67cdc799-7952-0410-af00-57a81ceafa0f
* Changed DeleteRootError to RemoveRootError for consistencywillmcgugan2012-01-111-3/+3
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@737 67cdc799-7952-0410-af00-57a81ceafa0f
* Fixed copydir/movedir, added DeleteRootErrorwillmcgugan2012-01-111-0/+5
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@736 67cdc799-7952-0410-af00-57a81ceafa0f
* spelling fixesrfkelly02011-03-081-2/+2
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@662 67cdc799-7952-0410-af00-57a81ceafa0f
* convert_os_errors: handle ECONNRESET => RemoteConnectionErrorrfkelly02011-01-281-0/+2
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@620 67cdc799-7952-0410-af00-57a81ceafa0f
* fix pickability of NoMetaErrorrfkelly02010-12-281-2/+5
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@583 67cdc799-7952-0410-af00-57a81ceafa0f
* some doc additions and cleanupsrfkelly02010-12-271-1/+1
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@582 67cdc799-7952-0410-af00-57a81ceafa0f
* Added FS command line scriptswillmcgugan2010-12-051-0/+4
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@537 67cdc799-7952-0410-af00-57a81ceafa0f
* Added getmeta and hasmeta methodswillmcgugan2010-11-071-0/+9
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@526 67cdc799-7952-0410-af00-57a81ceafa0f
* fs.error: actually fix bug with missing ENONETrfkelly02010-10-171-1/+1
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@495 67cdc799-7952-0410-af00-57a81ceafa0f
* ENONET missing on win32; use ENETDOWN instead (closed issue #38)rfkelly02010-10-151-1/+3
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@486 67cdc799-7952-0410-af00-57a81ceafa0f
* Fix various DAVFS issues from issue #40rfkelly02010-10-121-0/+2
| | | | | | | | | | | * don't close the socket when handing off to RemoteFileBuffer * remove redundant check for "w" mode in the 404 case * properly close the socket in the isdir() case * add readline() method to RemoteFileBuffer git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@485 67cdc799-7952-0410-af00-57a81ceafa0f
* Added getpathurl methodwillmcgugan2010-10-121-2/+11
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@484 67cdc799-7952-0410-af00-57a81ceafa0f
* convert_os_errors: report path in StorageSpaceError and PermissionDeniedErrorrfkelly02010-09-261-6/+6
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@435 67cdc799-7952-0410-af00-57a81ceafa0f
* convert ENAMETOOLONG into a PathErrorrfkelly02010-09-221-0/+2
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@431 67cdc799-7952-0410-af00-57a81ceafa0f
* rename "functools" to "local_functools".rfkelly02010-09-071-1/+1
| | | | | | | | | It can't have the same name as the module it's trying to emulate. Python's local-imports-first rule means it would shadow the stdlib functools module and we would always get the fallback version. git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@421 67cdc799-7952-0410-af00-57a81ceafa0f
* fix some corner cases in osfs/watch_win32.pyrfkelly02010-09-061-0/+2
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@419 67cdc799-7952-0410-af00-57a81ceafa0f
* added conversion logic for ParentDirectoryMissing => ESRCH on win32rfkelly02010-08-041-0/+5
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@393 67cdc799-7952-0410-af00-57a81ceafa0f
* Added better zip exceptions, and added __all__ to core classeswillmcgugan2010-07-101-5/+28
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@378 67cdc799-7952-0410-af00-57a81ceafa0f
* Fixed a few issues that had accumulated in Google Code, bumped the version ↵willmcgugan2010-06-201-6/+1
| | | | | | up to 0.3.0 git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@372 67cdc799-7952-0410-af00-57a81ceafa0f
* convert EPERM => PermissionDeniedErrorrfkelly02010-06-181-0/+2
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@360 67cdc799-7952-0410-af00-57a81ceafa0f
* Documentation, fixes, A ReadOnlyFS wrapper and a plain old FTP FS classwillmcgugan2010-01-011-6/+6
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@309 67cdc799-7952-0410-af00-57a81ceafa0f
* convert_os_erorrs: ESRCH --> ResourceNotFoundErrorrfkelly02009-12-301-0/+2
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@308 67cdc799-7952-0410-af00-57a81ceafa0f
* added OperationTimeoutErrorrfkelly02009-12-021-0/+4
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@295 67cdc799-7952-0410-af00-57a81ceafa0f
* add FSClosedErrorrfkelly02009-12-021-0/+4
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@294 67cdc799-7952-0410-af00-57a81ceafa0f
* support for ResourceLockedError on Windowsrfkelly02009-11-231-0/+8
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@279 67cdc799-7952-0410-af00-57a81ceafa0f
* better handling of unicode paths in errorsrfkelly02009-11-211-1/+6
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@277 67cdc799-7952-0410-af00-57a81ceafa0f
* better error printing if they contain unicode pathsrfkelly02009-11-211-3/+3
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@275 67cdc799-7952-0410-af00-57a81ceafa0f
* correclty spell EACCESrfkelly02009-11-161-2/+2
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@267 67cdc799-7952-0410-af00-57a81ceafa0f
* make convert_os_errors handle EACCESS -> PermissionDeniedErrorrfkelly02009-10-271-0/+2
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@263 67cdc799-7952-0410-af00-57a81ceafa0f
* make error classes pickleable, and add appropriate testsrfkelly02009-09-181-3/+6
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@252 67cdc799-7952-0410-af00-57a81ceafa0f
* report correct line numbers in various error decoratorsrfkelly02009-09-031-12/+13
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@243 67cdc799-7952-0410-af00-57a81ceafa0f
* catch and report ENOSPC errors in convert_os_errorsrfkelly02009-08-051-0/+2
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@235 67cdc799-7952-0410-af00-57a81ceafa0f
* more robustness (particularly cross-thread) for SimulateXAttr wrapperrfkelly02009-07-171-0/+2
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@220 67cdc799-7952-0410-af00-57a81ceafa0f
* got latest unittests passing on Windowsrfkelly02009-07-131-0/+4
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@214 67cdc799-7952-0410-af00-57a81ceafa0f
* make convert_os_errors() decorate rewrite the resource path if self as an ↵rfkelly02009-06-171-9/+16
| | | | | | attribute "root_path" git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@193 67cdc799-7952-0410-af00-57a81ceafa0f
* some error-handling simplificationsrfkelly02009-06-151-21/+77
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/branches/rfk-ideas@170 67cdc799-7952-0410-af00-57a81ceafa0f
* some new error classes, for the futurerfkelly02009-06-121-6/+18
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/branches/rfk-ideas@166 67cdc799-7952-0410-af00-57a81ceafa0f
* add new error class "RemoteConnectionError"rfkelly02009-06-101-0/+6
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/branches/rfk-ideas@164 67cdc799-7952-0410-af00-57a81ceafa0f
* got unittests passing on windowsrfkelly02009-05-071-1/+2
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/branches/rfk-ideas@143 67cdc799-7952-0410-af00-57a81ceafa0f
* added "wrappers" sub-package, and a SimulateXAttrs wrapperrfkelly02009-05-061-1/+1
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/branches/rfk-ideas@139 67cdc799-7952-0410-af00-57a81ceafa0f
* updated test suite now passingrfkelly02009-05-061-1/+1
| | | | git-svn-id: http://pyfilesystem.googlecode.com/svn/branches/rfk-ideas@138 67cdc799-7952-0410-af00-57a81ceafa0f