Python Windows error code

Source: Internet
Author: User
Tags signal handler

When using Python to delete files, always reported this error, check the ERROR5 error is denied access

When using Python to delete files, the error has been reported, check the ERROR5 error is to deny access. So is the deletion permission insufficient? With the administrator, the same error. Only later found that the original file is a read-only property. This causes the operation to be impossible.

It's good to remove the read-only attribute.

Statos.  Stat. S_iwrite)

Attach the Windows Error error code:

0 operation completed successfully.1 functional error.2 The system cannot find the file specified.3 The system could not find the path specified.4 The system cannot open the file.5 Access Denied.6 Handle is invalid.7 The storage control block is damaged.8 There is not enough storage space to process this command.9 The storage control block address is invalid.10 environment error.11 An attempt was made to load a malformed program.12 Invalid access code.13 data is invalid.14 There is not enough memory to complete this operation.15 The system cannot find the specified drive.16 The directory cannot be deleted.17 The system cannot move files to a different drive.18 no more files.19 Media is protected by write.20 The system cannot find the specified device.21 The device is not ready.22 The device does not recognize this command.23 Data error (cyclic redundancy check).24 the program issued the command, but the command length is incorrect.25 The drive cannot find the location of a specific area or track on the disk.26 Unable to access the specified disk or diskette.27 The drive could not find the requested sector.28 printer is missing paper.29 The system cannot write to the specified device.30 the system cannot read from the specified device.31 devices attached to the system are not functioning.32 The process cannot access the file because another program is using the file.33 The process cannot access the file because another program has locked part of the file.36 There are too many open files to share.38 reach end of file.39 disk is full.50 network requests are not supported.51 The remote computer is not available.52 There is already a duplicate name on the network.53 The network path could not be found.54 Network busy.55 The specified network resource or device is no longer available.56 The network BIOS command limit has been reached.57 Network adapter hardware error.58 The specified server cannot run the requested operation.59 An unexpected network error occurred.60 The remote adapter is not compatible.The 61 printer queue is full.62 cannot get the space on the server to save the file to be printed.63 Delete the file waiting to be printed.64 The specified network name is no longer available.65 Deny network access.66 network Resource type error.67 The network name could not be found.68 The name limit of the local computer card is exceeded.69 exceeded network BIOS session limit.70 The remote server is paused or is in the process of being started.71 You are currently unable to connect to this remote computer because you have reached the limit of the number of connections to the computer.72 The specified printer or disk device has been paused.80 file exists.82 the directory or file could not be created.83int24 failed.84 cannot get the storage space to handle this request.85 The local device name is already in use.86 The specified network password is incorrect.87 parameter error.88 A write error occurred on the network.89 The system cannot start another process at this time.100 cannot create another system semaphore.101 Another process has an exclusive semaphore.102 The semaphore is set and cannot be turned off.103 The semaphore cannot be set again.104 cannot request an exclusive semaphore at interrupt time.105 the previous ownership of this semaphore has ended.107 The program stops because the replacement floppy disk is not plugged in.108 The disk is in use or locked by another process.109 Pipe has ended.110 The system cannot open the specified device or file.111 file name is too long.112 disk space is low.113 the identity of the internal file can no longer be obtained.114 The target internal file is not identified correctly.117 The application made an IOCTL call error.118 Verify that the switching parameter value of the write is incorrect.119 The requested command is not supported by the system.120 This feature is only supported by this system.121 Semaphore Time-out time has arrived.122 The data area passed to the system call is too small.123 The file name, directory name, or volume label method is incorrect.124 system call level error.125 disk does not have a volume label.126 The specified module could not be found.127 The specified program could not be found.128 There are no waiting child processes.130 file handle to an open disk partition that attempted to use an operation instead of raw disk I/O.131 try to move the file pointer to the beginning of the file.132 Cannot set the file pointer on the specified device or file.133 a drive that contains a previously joined drive cannot use the join or SUBST command.134 An attempt was made to use the join or SUBST command on a drive that has been merged.135 An attempt was made to use the join or SUBST command on a drive that has been merged.136 The system attempted to unblock a join of an unincorporated drive.137 the system tried to remove the subst of the non-replacement drive.138 The system attempted to merge drives into a directory on a merged drive.139 The system attempted to replace the drive with a directory on a replacement drive.140 the system attempted to merge the drives into a directory on the alternate drive.141 The system tries to replace the drive as a directory on the merged drive.142 The system cannot run join or subst at this time.143 The system cannot merge drives into or replace directories on the same drive.The 144 directory is not a subdirectory under the root directory.145 directory is not empty.146 The specified path is already in use in the override.147 Insufficient resources to process this command.148 The specified path cannot be used at this time.149 attempts to merge or replace a drive with a drive on a drive where the directory is the target of the previous override.150 system trace information is not specified in the Config.sys file or is not allowed for tracing.151 the number of semaphore events specified for dosmuxsemwait is incorrect.152DosMuxSemWait is not operational. Too many semaphores have been set.153DosMuxSemWait list error.154 the volume label entered exceeds the length limit of the target file system155 cannot create another thread.156 The receive process has rejected this signal.Paragraph 157 has been discarded and cannot be locked.The 158 segment has been unlocked.159 The address of the thread identity is incorrect.160 parameter string error passed to DOSEXECPGM.161 the specified path is not valid.162 signal is paused.164 cannot create more threads in the system.167 cannot lock the file area.170 the requested resource is in use.173 the request to provide a cancellation zone for locking is not obvious.174 The file system does not support the minimum unit change of the lock type.180 The system detects the wrong segment number.183 The file cannot be created when the file already exists.186 passed the flag error.187 The specified system semaphore name could not be found.196 the operating system cannot run this application.197 The current configuration of the operating system cannot run this application.199 the operating system cannot run this application.200 code snippet must not be greater than or equal to64K.203 The operating system could not find the environment option that was entered.205 the process in the command subtree does not have a signal handler.206 file name or extension is too long.207 sectionThe 2-ring stack is already occupied.208 file name wildcard not entered correctly* or?, or specify too many file name wildcard characters.209 the signal being sent is wrong.210 cannot set the signal handler.212 segments are locked and cannot be reassigned.214 There are too many dynamic link modules attached to the program or dynamic link module.215 cannot nest calls to LoadModule.230 The pipe status is invalid.231 All pipeline instances are in use.232 The pipeline is shutting down.233 There is no process on the other end of the pipe.234 more data available.240 Cancel the session.254 the specified extended property name is not valid.255 extended attributes are inconsistent.258 the pending operation is obsolete.259 no data available.266 cannot use the copy feature.267 directory name is invalid. 275 extended properties do not apply in buffers. 276 the extended Properties file installed on the file system is corrupted. 277 extended attribute table file is full. 278 the specified extended property handle is invalid. 282 the mounted file system does not support extended properties. 288 attempted to release a multi-user terminal run program that is not owned by the caller. 298 too many requests to the semaphore. 299 only complete part of the Readprocessmemoty or WriteProcessMemory request. 300 operation Lock request was denied. 301 system received an invalid operation lock acknowledgement. 487 attempted to access an invalid address. 534 arithmetic result exceeds 535 the other end of the pipeline has a process. 536 wait for the process to open on the other end of the pipe. 994 denied access to extended properties. 995 I/O operations have been discarded due to thread exits or application requests. 996 overlapped I/O events are not in the signal state. 997 overlapped I/O operation is in progress.  998 memory allocation access is not valid. 999 error running in-page operation.  

Python Windows error code

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.