[tryton-debian] tryton-proteus not reachable
Mathias Behrle
mathiasb at m9s.biz
Wed Jan 10 21:36:51 UTC 2018
* Catonano: " Re: [tryton-debian] tryton-proteus not reachable" (Wed, 10 Jan
2018 20:07:30 +0100):
Hello Catonano,
> One more thing:
>
> with python 3 Proteus gets found, but some other bit is missing
>
> $ python3
> Python 3.6.3 (default, Oct 3 2017, 21:16:13)
> [GCC 7.2.0] on linux
> Type "help", "copyright", "credits" or "license" for more information.
> >>> from proteus import *
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> File "/home/admin/tributi/proteus-4.6.0/proteus/__init__.py", line 20, in
> <module>
> import proteus.config
> File "/home/admin/tributi/proteus-4.6.0/proteus/config.py", line 8, in
> <module>
> import xmlrpclib
> ModuleNotFoundError: No module named 'xmlrpclib'
You can see from the log that you are calling proteus from a non-system
installation in /home/admin/tributi/proteus-4.6.0/proteus. To use the proteus
library installed with Debian you need to clean up that installation.
Cheers,
Mathias
> 2018-01-10 19:56 GMT+01:00 Catonano <catonano at gmail.com>:
>
> > I forgot: I'm on a Debian 9 x86_64 Snatch machine
> >
> > It' s a virtual machine by Amazon
> >
> > 2018-01-10 19:48 GMT+01:00 Catonano <catonano at gmail.com>:
> >
> >> Hello,
> >>
> >> I' m trying to debug some tryton based project of mine, with
> >> tryton-proteus
> >>
> >> Here' s what happens
> >>
> >> $ python
> >> Python 2.7.14 (default, Sep 17 2017, 18:50:44)
> >> [GCC 7.2.0] on linux2
> >> Type "help", "copyright", "credits" or "license" for more information.
> >> >>> from proteus import config, Model
> >> Traceback (most recent call last):
> >> File "<stdin>", line 1, in <module>
> >> ImportError: No module named proteus
> >> >>>
> >>
> >> there' s no virtualenv involved here.
> >> Both tryton-server and tryton-proteus are installed with apt-get
> >>
> >> You can see a discussion of this issue in the Tryton forum, here
> >> https://groups.google.com/forum/#!topic/tryton/O1RQ3FwzfCc
> >>
> >> Thanks in advance
> >>
> >
> >
> _______________________________________________
> tryton-debian mailing list
> tryton-debian at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/tryton-debian
--
Mathias Behrle ✧ Debian Developer
PGP/GnuPG key availabable from any keyserver, ID: 0xD6D09BE48405BBF6
AC29 7E5C 46B9 D0B6 1C71 7681 D6D0 9BE4 8405 BBF6
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 867 bytes
Desc: Digitale Signatur von OpenPGP
URL: <http://lists.alioth.debian.org/pipermail/tryton-debian/attachments/20180110/25ba58b4/attachment.sig>
More information about the tryton-debian
mailing list