On 09/02/2010 06:48 PM, Brian Dunnette wrote:
> Hmm... from the log, it appears that it's failing when looking for a
> Python module named "winrandom"?
>
> Full log is attached, including two failed attempts to download
> branches...
>
> ** Attachment added: "groundcontrol.log"
> https://bugs.launchpad.net/groundcontrol/+bug/627172/+attachment/1538199/+files/groundcontrol.log
>
From the log, it looks like the issue is that the Crypto module is
importing winrandom, which is a Windows-only library. Normally, this
import would fail and the module would go onto an alternative.
I think hg tries to speed up its runtime by delaying Python imports
until the imported code is used. This breaks the behavior of some
modules, because they depend on imports of non-extant modules to fail
during import, not usage.
On 09/02/2010 06:48 PM, Brian Dunnette wrote: /bugs.launchpad .net/groundcont rol/+bug/ 627172/ +attachment/ 1538199/ +files/ groundcontrol. log
> Hmm... from the log, it appears that it's failing when looking for a
> Python module named "winrandom"?
>
> Full log is attached, including two failed attempts to download
> branches...
>
> ** Attachment added: "groundcontrol.log"
> https:/
>
From the log, it looks like the issue is that the Crypto module is
importing winrandom, which is a Windows-only library. Normally, this
import would fail and the module would go onto an alternative.
I think hg tries to speed up its runtime by delaying Python imports
until the imported code is used. This breaks the behavior of some
modules, because they depend on imports of non-extant modules to fail
during import, not usage.
-- ═══════ ═══════ ═══════ ═══════ ═══════ ═══════ ═══════ ═══════ ═══╕ luke.faraone. cc ╰Sugar Labs, Systems Admin╯│ ═══════ ═══════ ═══════ ═══════ ═══════ ═══════ ═══════ ═══════ ═══╛
╒══════
│Luke Faraone ╭Debian / Ubuntu Developer╮│
│http://
│PGP: 5189 2A7D 16D0 49BB 046B DC77 9732 5DD8 F9FD D506 │
╘══════