OSError: [Errno 13] Permission denied: u'C:\\ubuntu\\install\ubuntu-9.10-desktop-i386.iso'

Bug #521489 reported by Jure Sah
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Wubi
Incomplete
Undecided
Unassigned

Bug Description

When trying to install Wubi, I get the message indicated in the summary.

1. I uninstalled the old version of Wubi, confirmed C:\ubuntu has been deleted
2. I ran the installer.
3. It was downloading (takes several hours on my computer, so I left it running unattended)
4. When I return, the ISO has not finished downloading (according to the filesize) and I note the error.
5. Tried again, same error.

Attached is the log.

Revision history for this message
Jure Sah (dustwolfy) wrote :
Revision history for this message
Jure Sah (dustwolfy) wrote :

Downloaded the ISO manually and put it into place, reran Wubi and now it works.

Revision history for this message
Agostino Russo (ago) wrote :

Can you please try with a newer version?
http://people.canonical.com/~evand/wubi/karmic/

Revision history for this message
Jure Sah (dustwolfy) wrote :

Problem already worked around and I don't have the machine here anymore, sorry.

Agostino Russo (ago)
Changed in wubi:
status: New → Incomplete
Revision history for this message
John M. Rasor (jmrasor-donboscowest) wrote :

I was breaking my head on this, but found a workaround.

Problem: try to install Ubuntu Karmic inside Windows 7 using wubi.exe, as supplied on Live CD 32-bit.

Result: about half-way through, installation aborts with message that permission is denied, error 13, see the log. And I got the same sort of log as did DustWolf.

Workaround: in Win 7,
1. Download a full, fresh copy of the Ubuntu Karmic ISO. Put that in a temporary directory.
2. Copy the contents of the Ubuntu Karmic Live CD (the one burned from the ISO) into there. So, now you have the ISO used to make the CD, and the contents of the CD, all in that one directory.
3. Right-click on the ISO. Tell Windows 7 to unblock that file, in spite of it being from another computer (I don't have the exact English names, 'cuz I'm working in Spanish Window and Ubuntu).

Notes:
I did not have this problem with Xubuntu Karmic. That installed inside Win 7 right off the Live CD. No need for the ISO; no need to unblock anything in Windows.
All these attempts were done as an Administrator.

Revision history for this message
John M. Rasor (jmrasor-donboscowest) wrote :

Forgot something:

Workaround, step 4:
4. Run wubi.exe from the temporary directory as an Administrator.

Revision history for this message
Richard Perrin (rcp-sentientmeat) wrote :
Download full text (4.0 KiB)

I encountered this with an attempted install of 10.04 LTS from XP SP3.

Some items of note:
- This failed very soon into the download attempt
- I'm hanging off a connection that blocks all bittorrent traffic
- C:\\ubuntu\\install\\ubuntu-10.04-desktop-amd64.iso is a zero-byte file at the time of the error

It appears that after btdownloader fails, we don't catch the error and fallback to a basic http get, instead we log: "DEBUG TaskList: ### Finished download".

Here's the tail of the log:
[...]
05-02 11:21 DEBUG TaskList: ### Finished get_metalink
05-02 11:21 DEBUG TaskList: New task download
05-02 11:21 DEBUG TaskList: ### Running download...
05-02 11:21 DEBUG btdownloader: downloading http://releases.ubuntu.com/10.04/ubuntu-10.04-desktop-amd64.iso.torrent > C:\ubuntu\install\ubuntu-10.04-desktop-amd64.iso
05-02 11:21 ERROR TaskList: Traceback (most recent call last):
  File "\lib\bittorrent\RawServer.py", line 229, in listen_forever
  File "\lib\wubi\backends\common\btdownloader.py", line 70, in error_callback
DownloadError: Traceback (most recent call last):
  File "\lib\bittorrent\RawServer.py", line 221, in listen_forever
  File "\lib\bittorrent\Rerequester.py", line 96, in fail
  File "\lib\wubi\backends\common\btdownloader.py", line 70, in error_callback
DownloadError: Problem connecting to tracker - <urlopen error (10060, 'Operation timed out')>

Traceback (most recent call last):
  File "\lib\wubi\backends\common\tasklist.py", line 197, in __call__
  File "\lib\wubi\backends\common\btdownloader.py", line 79, in download
  File "\lib\bittorrent\download.py", line 303, in download
  File "\lib\bittorrent\RawServer.py", line 256, in listen_forever
  File "\lib\wubi\backends\common\btdownloader.py", line 70, in error_callback
DownloadError: Traceback (most recent call last):
  File "\lib\bittorrent\RawServer.py", line 229, in listen_forever
  File "\lib\wubi\backends\common\btdownloader.py", line 70, in error_callback
DownloadError: Traceback (most recent call last):
  File "\lib\bittorrent\RawServer.py", line 221, in listen_forever
  File "\lib\bittorrent\Rerequester.py", line 96, in fail
  File "\lib\wubi\backends\common\btdownloader.py", line 70, in error_callback
DownloadError: Problem connecting to tracker - <urlopen error (10060, 'Operation timed out')>

05-02 11:21 ERROR TaskList: Non fatal error Traceback (most recent call last):
  File "\lib\bittorrent\RawServer.py", line 229, in listen_forever
  File "\lib\wubi\backends\common\btdownloader.py", line 70, in error_callback
DownloadError: Traceback (most recent call last):
  File "\lib\bittorrent\RawServer.py", line 221, in listen_forever
  File "\lib\bittorrent\Rerequester.py", line 96, in fail
  File "\lib\wubi\backends\common\btdownloader.py", line 70, in error_callback
DownloadError: Problem connecting to tracker - <urlopen error (10060, 'Operation timed out')>

 in task download
05-02 11:21 DEBUG TaskList: ### Finished download
05-02 11:21 ERROR TaskList: [Errno 13] Permission denied: u'C:\\ubuntu\\install\\ubuntu-10.04-desktop-amd64.iso'
Traceback (most recent call last):
  File "\lib\wubi\backends\common\tasklist.py", line 197, in __call__
  File "\lib\wubi\back...

Read more...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.