Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #7867 > unrolled thread
| Started by | Brian May <brian@linuxpenguins.xyz> |
|---|---|
| First post | 2015-11-21 23:40 +0100 |
| Last post | 2015-11-22 10:30 +0100 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.debian.maint.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: [Python-modules-team] python-docker issue? Brian May <brian@linuxpenguins.xyz> - 2015-11-21 23:40 +0100
Re: [Python-modules-team] python-docker issue? Richard Duivenvoorde <richard@duif.net> - 2015-11-22 10:30 +0100
| From | Brian May <brian@linuxpenguins.xyz> |
|---|---|
| Date | 2015-11-21 23:40 +0100 |
| Subject | Re: [Python-modules-team] python-docker issue? |
| Message-ID | <qxoZ4-3ci-15@gated-at.bofh.it> |
Hello,
Just for reference, you should perhaps send emails like this to
debian-python@lists.debian.org - the
python-modules-team@lists.alioth.debian.org is intended for
automatically generated emails. I have CCed
debian-python@lists.debian.org.
Richard Duivenvoorde <richard@duif.net> writes:
> Hi,
>
> not sure how to add an issue for packaging.
>
> but I'm directed via
>
> https://github.com/docker/compose/issues/2433#issuecomment-158448859
>
> to the Debian packaging team
>
> Please guide me to another issue tracker system if needed.
Please see the following page on reporting bugs in Debian:
https://www.debian.org/Bugs/Reporting
> In short:
>
> docker-compose
>
> Traceback (most recent call last):
> File "/usr/bin/docker-compose", line 9, in
> load_entry_point('docker-compose==1.5.1', 'console_scripts',
> 'docker-compose')()
> File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py",
> line 558, in load_entry_point
> return get_distribution(dist).load_entry_point(group, name)
> File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py",
> line 2682, in load_entry_point
> return ep.load()
> File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py",
> line 2355, in load
> return self.resolve()
> File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py",
> line 2361, in resolve
> module = __import__(self.module_name, fromlist=['__name__'], level=0)
> File "/usr/lib/python2.7/dist-packages/compose/cli/main.py", line 16, in
> from ..config import ConfigurationError
> File "/usr/lib/python2.7/dist-packages/compose/config/__init__.py",
> line 2, in
> from .config import ConfigurationError
> File "/usr/lib/python2.7/dist-packages/compose/config/config.py", line
> 14, in
> from .validation import validate_against_fields_schema
> File "/usr/lib/python2.7/dist-packages/compose/config/validation.py",
> line 7, in
> from docker.utils.ports import split_port
> ImportError: No module named ports
This works for me...
(sid-amd64)root@prune:/home/brian/tree/spud/spud# python
Python 2.7.10+ (default, Oct 10 2015, 09:11:24)
[GCC 5.2.1 20151028] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from docker.utils.ports import split_port
Are you sure you do have 1.5.0-1 of python-docker installed?
(sid-amd64)root@prune:/home/brian/tree/spud/spud# dpkg -l python-docker
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-=============================-===================-===================-===============================================================
ii python-docker 1.5.0-1 all Python wrapper to access docker.io's control socket
The "apt-cache show python-docker" shows what version of python-docker
is available, it doesn't say what version is installed.
docker-compose has a dependancy on "python-docker (>= 1.3.0)" so maybe
you have an old version of python-docker?
> Regards,
>
> Richard Duivenvoorde
--
Brian May <brian@linuxpenguins.xyz>
https://linuxpenguins.xyz/brian/
[toc] | [next] | [standalone]
| From | Richard Duivenvoorde <richard@duif.net> |
|---|---|
| Date | 2015-11-22 10:30 +0100 |
| Message-ID | <qxz85-1Ly-7@gated-at.bofh.it> |
| In reply to | #7867 |
Ah, thanks for your help Brian.
I fixed my problem thanks to your hints:
- removed docker, docker-dompose, python-docker, python-dockerpty
- updatedb;locate docker
- and found there was still a docker egg/package in
/usr/local/lib/python2.7/site-packages
- apparently I installed docker python stuff using pip some time ago...
- after removing that stuff and reinstalling all is working again.
Sorry for the noise. Me bad for using non-packaged modules :>(
Regards,
Richard Duivenvoorde
On 21-11-15 23:31, Brian May wrote:
> Hello,
>
> Just for reference, you should perhaps send emails like this to
> debian-python@lists.debian.org - the
> python-modules-team@lists.alioth.debian.org is intended for
> automatically generated emails. I have CCed
> debian-python@lists.debian.org.
>
>
> Richard Duivenvoorde <richard@duif.net> writes:
>
>> Hi,
>>
>> not sure how to add an issue for packaging.
>>
>> but I'm directed via
>>
>> https://github.com/docker/compose/issues/2433#issuecomment-158448859
>>
>> to the Debian packaging team
>>
>> Please guide me to another issue tracker system if needed.
>
> Please see the following page on reporting bugs in Debian:
> https://www.debian.org/Bugs/Reporting
>
>
>> In short:
>>
>> docker-compose
>>
>> Traceback (most recent call last):
>> File "/usr/bin/docker-compose", line 9, in
>> load_entry_point('docker-compose==1.5.1', 'console_scripts',
>> 'docker-compose')()
>> File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py",
>> line 558, in load_entry_point
>> return get_distribution(dist).load_entry_point(group, name)
>> File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py",
>> line 2682, in load_entry_point
>> return ep.load()
>> File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py",
>> line 2355, in load
>> return self.resolve()
>> File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py",
>> line 2361, in resolve
>> module = __import__(self.module_name, fromlist=['__name__'], level=0)
>> File "/usr/lib/python2.7/dist-packages/compose/cli/main.py", line 16, in
>> from ..config import ConfigurationError
>> File "/usr/lib/python2.7/dist-packages/compose/config/__init__.py",
>> line 2, in
>> from .config import ConfigurationError
>> File "/usr/lib/python2.7/dist-packages/compose/config/config.py", line
>> 14, in
>> from .validation import validate_against_fields_schema
>> File "/usr/lib/python2.7/dist-packages/compose/config/validation.py",
>> line 7, in
>> from docker.utils.ports import split_port
>> ImportError: No module named ports
>
> This works for me...
>
> (sid-amd64)root@prune:/home/brian/tree/spud/spud# python
> Python 2.7.10+ (default, Oct 10 2015, 09:11:24)
> [GCC 5.2.1 20151028] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
>>>> from docker.utils.ports import split_port
>
>
> Are you sure you do have 1.5.0-1 of python-docker installed?
>
> (sid-amd64)root@prune:/home/brian/tree/spud/spud# dpkg -l python-docker
> Desired=Unknown/Install/Remove/Purge/Hold
> | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
> |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
> ||/ Name Version Architecture Description
> +++-=============================-===================-===================-===============================================================
> ii python-docker 1.5.0-1 all Python wrapper to access docker.io's control socket
>
>
> The "apt-cache show python-docker" shows what version of python-docker
> is available, it doesn't say what version is installed.
>
> docker-compose has a dependancy on "python-docker (>= 1.3.0)" so maybe
> you have an old version of python-docker?
>
>
>> Regards,
>>
>> Richard Duivenvoorde
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.maint.python
csiph-web