[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Python and gzip
From: |
Ludovic Courtès |
Subject: |
Re: Python and gzip |
Date: |
Sat, 26 Jan 2013 00:12:54 +0100 |
User-agent: |
Gnus/5.130005 (Ma Gnus v0.5) Emacs/24.2 (gnu/linux) |
Andreas Enge <address@hidden> skribis:
> While trying to add a package to compression.scm, I just added the line
> #:use-module (gnu packages python)
[...]
> 2667: 9 [define-module* (gnu packages python) #:filename ...]
> 2642: 8 [resolve-imports ((# # #) (#) (#) (#) ...)]
> 2580: 7 [resolve-interface (gnu packages base) #:select ...]
> 2505: 6 [#<procedure 2698940 at ice-9/boot-9.scm:2493:4 (name #:optional
> autoload version #:key ensure)> # ...]
> 2772: 5 [try-module-autoload (gnu packages base) #f]
> 2111: 4 [save-module-excursion #<procedure 2e6b6c0 at
> ice-9/boot-9.scm:2773:17 ()>]
> 2783: 3 [#<procedure 2e6b6c0 at ice-9/boot-9.scm:2773:17 ()>]
> In unknown file:
> ?: 2 [primitive-load-path "gnu/packages/base" #f]
> In gnu/packages/base.scm:
> 1055: 1 [#<procedure 2ecc020 ()>]
> In ice-9/boot-9.scm:
> 106: 0 [#<procedure 2825b40 at ice-9/boot-9.scm:97:6 (thrown-k . args)>
> unbound-variable ...]
>
> ice-9/boot-9.scm:106:20: In procedure #<procedure 2825b40 at
> ice-9/boot-9.scm:97:6 (thrown-k . args)>:
> ice-9/boot-9.scm:106:20: In procedure module-lookup: Unbound variable: gzip
You’ve created a circular dependency between ‘python’ and ‘compression’.
The fix is to arrange so that there’s no circular dependency. The
easiest way to achieve that is to move the package in question to its
own module.
HTH,
Ludo’.
- Python and gzip, Andreas Enge, 2013/01/25
- Re: Python and gzip,
Ludovic Courtès <=