Hie

El dv., 10 d’ag. 2018, 09:25, Risto Paasila <ri...@longpoint.org.au> va
escriure:

> Thank you for looking into this, and please excuse me for not
> responding earlier. This is the error I got, which is related to LDAP
> as you say:
>
> C:\Users\risto>docker run --link tryton-postgres:postgres -it
> tryton/tryton trytond-admin -d tryton --all
> Traceback (most recent call last):
>   File "/usr/local/bin/trytond-admin", line 21, in <module>
>     admin.run(options)
>   File "/usr/local/lib/python3.5/dist-packages/trytond/admin.py", line
> 54, in run
>     installdeps=options.installdeps)
>   File "/usr/local/lib/python3.5/dist-packages/trytond/pool.py", line
> 149, in init
>     self.start()
>   File "/usr/local/lib/python3.5/dist-packages/trytond/pool.py", line
> 102, in start
>     register_classes()
>   File
> "/usr/local/lib/python3.5/dist-packages/trytond/modules/__init__.py",
> line 378, in register_classes
>     mod_file, pathname, description)
>   File "/usr/lib/python3.5/imp.py", line 244, in load_module
>     return load_package(name, filename)
>   File "/usr/lib/python3.5/imp.py", line 216, in load_package
>     return _load(spec)
>   File "<frozen importlib._bootstrap>", line 693, in _load
>   File "<frozen importlib._bootstrap>", line 673, in _load_unlocked
>   File "<frozen importlib._bootstrap_external>", line 673, in exec_module
>   File "<frozen importlib._bootstrap>", line 222, in
> _call_with_frames_removed
>   File
> "/usr/local/lib/python3.5/dist-packages/trytond/modules/ldap_authentication/__init__.py",
> line 5, in <module>
>     from .res import *
>   File
> "/usr/local/lib/python3.5/dist-packages/trytond/modules/ldap_authentication/res.py",
> line 6, in <module>
>     import ldap3
>   File "/usr/local/lib/python3.5/dist-packages/ldap3/__init__.py",
> line 138, in <module>
>     from .core.connection import Connection
>   File "/usr/local/lib/python3.5/dist-packages/ldap3/core/connection.py",
> line 37, in <module>
>     from ..extend import ExtendedOperationsRoot
>   File "/usr/local/lib/python3.5/dist-packages/ldap3/extend/__init__.py",
> line 45, in <module>
>     from .standard.whoAmI import WhoAmI
>   File
> "/usr/local/lib/python3.5/dist-packages/ldap3/extend/standard/whoAmI.py",
> line 27, in <module>
>     from pyasn1.type.univ import NoValue
> ImportError: cannot import name 'NoValue'
>

Last ldap3 require upgrade pyasn1

https://bitbucket.org/nantic/tryton-config/commits/0db3eb0d56a103e1935fc0e7729d1caa7f04e437


> On 9 August 2018 at 19:32, Mathias Behrle <mbeh...@m9s.biz> wrote:
> > * 'Cédric Krier' via tryton: " Re: [tryton] Trying out Tryton via
> Docker" (Thu,
> >   9 Aug 2018 09:19:56 +0200):
> >
> >> On 2018-08-08 10:38, Sergi Almacellas Abellana wrote:
> >> > El 08/08/18 a les 05:56, RisP ha escrit:
> >> > > Hi,
> >> > >
> >> > > I would like to try out Tryton, and decided to use Docker.
> >> > >
> >> > > The instructions seem to be ok, but the latest version didn't work.
> >> >
> >> > What does not work?
> >>
> >> If you have activated the ldap_authentication module, you may have this
> >> problem https://bugs.tryton.org/issue7611
> >
> > There seems to be a problem with the image. I guess that it installs
> > the PyPi package which it shouldnt't.
> >
> > S. my answer at
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=905757#10
> >
> > --
> >
> >     Mathias Behrle
> >     MBSolutions
> >     Gilgenmatten 10 A
> >     D-79114 Freiburg
> >
> >     Tel: +49(761)471023
> >     Fax: +49(761)4770816
> >     http://www.m9s.biz
> >     UStIdNr: DE 142009020
> >     PGP/GnuPG key availabable from any keyserver, ID: 0xD6D09BE48405BBF6
> >     AC29 7E5C 46B9 D0B6 1C71  7681 D6D0 9BE4 8405 BBF6
> >
> > --
> > You received this message because you are subscribed to a topic in the
> Google Groups "tryton" group.
> > To view this discussion on the web visit
> https://groups.google.com/d/msgid/tryton/20180809113228.008455c2%40monsterix.mbehrle.de
> .
>
> --
> You received this message because you are subscribed to the Google Groups
> "tryton" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tryton/CADK5Bxj-hFZih8SZFtX21EoBc_HQG%2BV4f6p-dR7555KuKpbvjg%40mail.gmail.com
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"tryton" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tryton/CAN2HbXXR%2BYU6Xz_iiJiQvkcT74Wo1J3porkqgoeX%2B3W%3D_Tf7%2BQ%40mail.gmail.com.

Reply via email to