Log file Viewer
Help
|
Karma
| Search:
#pypa-dev logs for Monday the 23rd of May, 2016
(
Back to #pypa-dev overview
) (
Back to channel listing
) (
Animate logs
)
[
14:23:31
] <
atodorov
> hi everyone, I did make build (completed fine) then make initdb before I can execute the tests. I'm seeing errors of the type:
[
14:23:31
] <
atodorov
> ERROR: for redis b'Cannot start container 9e44c74954e32b53a60d1e2b0f5cd4df2aef185be508ca47f3e0e8c76eb7f79a: [8] System error: Unit docker-9e44c74954e32b53a60d1e2b0f5cd4df2aef185be508ca47f3e0e8c76eb7f79a.scope already exists.'
[
14:23:32
] <
atodorov
> same for rabbitmq and db. Has anyone seen this and do you have any ideas how to resolve ?
[
14:28:04
] <
dstufft
> atodorov: huh
[
14:28:11
] <
dstufft
> I've never seen that error before..
[
14:29:12
] <
dstufft
> atodorov: https://github.com/docker/docker/issues/7015 looks like maybe it's related?
[
14:29:52
] <
atodorov
> dstufft: yeah, I though about that as well but after deleting all containers it seems to have worked
[
14:29:58
] <
atodorov
> maybe I had something in the way
[
14:30:56
] <
atodorov
> now I hit an error about postgres not running which seems like a progress
[
14:31:42
] <
dstufft
> huh, you're running ``make serve`` and it didn't start PG?
[
14:32:29
] <
atodorov
> dstufft: I re-run the command again and it worked. maybe it needed a bit more time to initialize and open the TCP port
[
14:32:59
] <
atodorov
> tests are running now
[
20:48:43
] <
moo-_-
> if I install a package with pip install -e can I somehow dig up the original folder from pkg_resources metadata?
[
20:49:40
] <
sigmavirus24
> moo-_-: pkg_resources or pkginfo?
[
20:49:50
] <
moo-_-
> sigmavirus24: I am using pkg_resources at the moment
[
20:50:01
] <
moo-_-
> and trying to dynamically poke my way around
[
20:50:05
] <
moo-_-
> but I am completely clueless
[
20:50:48
] <
sigmavirus24
> moo-_-: I would see if `pip show` gives you that information for the installed package and then try to trace backwards from pip show's source to see how they do that
[
20:50:58
] <
moo-_-
> sigmavirus24: good call
[
20:51:00
] <
moo-_-
> sigmavirus24: thx
[
20:54:30
] <
sigmavirus24
> moo-_-: my guess is if that metadata is anywhere it's in the PKG-INFO file which pkginfo will parse for you
[
20:55:26
] <
moo-_-
> sigmavirus24: yeah looks like it is no go
[
20:55:28
] <
moo-_-
> thanks for the help
[
23:09:35
] <
lifeless
> moo-_-: if you can figure out the module name, you can import that and look at module.__file__