Modify ↓
Opened 20 years ago
Closed 16 years ago
#101 closed defect (fixed)
Access denied when trying to build on windows
| Reported by: | Johannes Rudolph <johannes_rudolph@…> | Owned by: | osimons |
|---|---|---|---|
| Priority: | major | Milestone: | 0.6 |
| Component: | Build slave | Version: | 0.5.1 |
| Keywords: | Cc: | ||
| Operating System: | Windows |
Description
Hi,
I tried to get bitten-slave to work using Windows XP, it's building but afterwards there are errors:
C:\Python24\Scripts>bitten-slave --debug -v vs2064252.netfabrik.de -d z:\temp\bitten
[INFO ] Registering with build master as gambistics
[INFO ] Registration successful
[ERROR ] [Errno 13] Permission denied: 'z:\\temp\\bitten\\Windows_r58.tar.bz2'
Traceback (most recent call last):
File "C:\Python24\lib\asyncore.py", line 69, in read
obj.handle_read_event()
File "C:\Python24\lib\asyncore.py", line 391, in handle_read_event
self.handle_read()
File "C:\Python24\lib\asynchat.py", line 137, in handle_read
self.found_terminator()
File "build\bdist.win32\egg\bitten\util\beep.py", line 278, in found_terminator
File "build\bdist.win32\egg\bitten\util\beep.py", line 311, in _handle_frame
File "build\bdist.win32\egg\bitten\util\beep.py", line 465, in handle_data_frame
File "build\bdist.win32\egg\bitten\slave.py", line 126, in handle_msg
IOError: [Errno 13] Permission denied: 'z:\\temp\\bitten\\Windows_r58.tar.bz2'
So I added
os.chmod(archive_path, S_IWRITE)
in front of line 126 of slave.py. (Cause the file was read-only) After doing that there was the same error on the finally clause that deleted the file. So I added it there again. Now I'm getting errors like:
[INFO ] Build completed successfully
[ERROR ] [Errno 2] No such file or directory: 'z:\\temp\\bitten\\Windows_r59.tar.bz2'
Traceback (most recent call last):
File "C:\Python24\lib\asyncore.py", line 69, in read
obj.handle_read_event()
File "C:\Python24\lib\asyncore.py", line 391, in handle_read_event
self.handle_read()
File "C:\Python24\lib\asynchat.py", line 137, in handle_read
self.found_terminator()
File "build\bdist.win32\egg\bitten\util\beep.py", line 278, in found_terminator
File "build\bdist.win32\egg\bitten\util\beep.py", line 311, in _handle_frame
File "build\bdist.win32\egg\bitten\util\beep.py", line 465, in handle_data_frame
File "build\bdist.win32\egg\bitten\slave.py", line 127, in handle_msg
OSError: [Errno 2] No such file or directory: 'z:\\temp\\bitten\\Windows_r59.tar.bz2'
I get no logs back to the master. Is that what it is supposed to do? (on Windows?)
Attachments (0)
Change History (3)
comment:1 Changed 20 years ago by Johannes Rudolph <johannes_rudolph@…>
comment:2 Changed 16 years ago by osimons
- Milestone set to 0.6
- Owner changed from cmlenz to osimons
comment:3 Changed 16 years ago by osimons
- Resolution set to fixed
- Status changed from new to closed
...and closing.
Note: See
TracTickets for help on using
tickets.

Ok, it seems the problem was that I had old files in my temp directory. (From Builds gone wrong). I think this should be handled more gracefully. And the problem with missing logs remains...