wx.lib.softwareupdate: Access denied when trying to download update

Hello wxPython-users,

as mentioned in the subject the update module gets an ‘ioerror 13: access denied’ and hangs retrying. I’m able to open the update-url in a browser and get the update file. So why isn’t the update module able to download the file?

Torsten

Are you trying from behind a firewall - that is the usual cause of
this message?

···

On 28/04/13 19:16, Torsten wrote:

Hello wxPython-users,

    as mentioned in the subject the update module gets an

‘ioerror 13: access denied’ and hangs retrying. I’m able to open
the update-url in a browser and get the update file. So why
isn’t the update module able to download the file?

Torsten

  You received this message because you are subscribed to the Google

Groups “wxPython-users” group.

  To unsubscribe from this group and stop receiving emails from it,

send an email to .
For more options, visit .


Steve Gadget Barnes

wxpython-users+unsubscribe@googlegroups.com
https://groups.google.com/groups/opt_out

No, i’m not behind a firewall. The update module is able to download the changelog, but not the update file. Both are on the same site/folder.

···

Am Montag, 29. April 2013 06:45:43 UTC+2 schrieb Gadget Steve:

On 28/04/13 19:16, Torsten wrote:

Hello wxPython-users,

    as mentioned in the subject the update module gets an

‘ioerror 13: access denied’ and hangs retrying. I’m able to open
the update-url in a browser and get the update file. So why
isn’t the update module able to download the file?

Torsten

  You received this message because you are subscribed to the Google

Groups “wxPython-users” group.

  To unsubscribe from this group and stop receiving emails from it,

send an email to wxpython-user...@googlegroups.com.

  For more options, visit [https://groups.google.com/groups/opt_out](https://groups.google.com/groups/opt_out).
Are you trying from behind a firewall - that is the usual cause of

this message?


Steve Gadget Barnes

Argh, damn, :frowning: the access wasn’t denied to the download file, the app didn’t have write access to the local folder. Because the dialog was titled ‘downloading’ i thought the access to the update file on the web was denied.

Torsten

Torsten wrote:

Hello wxPython-users,

as mentioned in the subject the update module gets an 'ioerror 13:
access denied' and hangs retrying. I'm able to open the update-url in a
browser and get the update file. So why isn't the update module able to
download the file?

[ I see that you already figured this out, but since I already wrote this reply you get to read it anyway. :wink: ]

It may be that it is having a permissions problem on the receiving side, as in being unable to write to the location where it is trying to download to. Since it needs to write to a subfolder in the application's install location then the user needs to have write permission there, (not only for the download but also for installing the new version of the application.) I think Esky is supposed to automatically use the system's elevate permissions dialog if needed, but perhaps there is something in wx.lib.softwareupdate that is blocking that somehow.

···

--
Robin Dunn
Software Craftsman