Page MenuHomekolab.org

ghane (Guido Hanebrink)
User

Projects

User does not belong to any projects.

User Details

User Since
Jan 24 2022, 2:40 PM (17 w, 5 d)

Recent Activity

Apr 24 2022

ghane requested review of D3508: [Python 3] imap4-utf-7 codec implementation to Python 3.
Apr 24 2022, 6:14 PM

Apr 22 2022

ghane added a comment to T6805: Port pykolab to Python 3.

external cyruslib.py not python3 compatible.

Apr 22 2022, 1:22 PM · Architecture & Design

Apr 16 2022

ghane requested review of D3481: [Python 3] some more function and module names changed.
Apr 16 2022, 5:47 PM

Apr 14 2022

ghane added a comment to D3469: [Python 3] bytes-like strings decoding for saslauthd.py.

streams ( Python 2 -> type { str } (bytes string) | Python 3 -> type { class bytes } ) uneven
encode() ( Python 2 -> type { str } (bytes string) | Python 3 -> type { class bytes } ) uneven
decode() ( Python 2 -> type { str } (text string) | Python 3 -> type { class string } ) even

Apr 14 2022, 12:25 AM

Mar 23 2022

ghane added a comment to D3469: [Python 3] bytes-like strings decoding for saslauthd.py.

this is for python 3 as there is more strict type operations between byte and text strings.
https://docs.python.org/3/howto/pyporting.html#text-versus-binary-data

Mar 23 2022, 7:34 PM
ghane updated the summary of D3469: [Python 3] bytes-like strings decoding for saslauthd.py.
Mar 23 2022, 6:54 PM
ghane requested review of D3469: [Python 3] bytes-like strings decoding for saslauthd.py.
Mar 23 2022, 6:54 PM

Mar 20 2022

ghane added a comment to D3448: [Python 3] <= between different type error .

Here is my debugging with python2.7 -3 ./saslauthd.py -d 9
and log. INFO before the trouble line:
logger.py

Mar 20 2022, 11:23 PM

Mar 15 2022

ghane added a comment to D3448: [Python 3] <= between different type error .

saslauthd.py -d 9
The root cause is that level is set from third party ldap and sqlalchemy logging, which are not of type (int).
pykolab/logger.py:271: DeprecationWarning: comparing unequal types not supported in 3.x

Mar 15 2022, 2:22 AM
ghane added a comment to D3442: [Python 3] fork code harmonizing.

with --fork

testsaslauthd -u user(@domain) -p password
0: NO "authentication failed"

  • Logging error ---

Traceback (most recent call last):

File "/usr/lib/python3.x/logging/__init__.py", line 1037, in emit
  stream.write(msg + self.terminator)

BrokenPipeError: [Errno 32] Broken pipe
Call stack:

File "./saslauthd.py", line 43, in <module>
  saslauthd.run()

...
Message: "Authentication for 'user(@domain)' succeeded"

Mar 15 2022, 1:37 AM
ghane added a comment to D3457: [Python 3]rfc822 module has been removed.

I'll just change line 22

Mar 15 2022, 12:47 AM
ghane updated the diff for D3457: [Python 3]rfc822 module has been removed.
Mar 15 2022, 12:47 AM

Mar 14 2022

ghane requested review of D3457: [Python 3]rfc822 module has been removed.
Mar 14 2022, 12:49 PM
ghane requested review of D3451: [Python 3] mixed string operation on saslsocket.
Mar 14 2022, 10:57 AM
ghane added a reviewer for D3448: [Python 3] <= between different type error : PyKolab Developers.
Mar 14 2022, 10:50 AM
ghane requested review of D3448: [Python 3] <= between different type error .
Mar 14 2022, 10:50 AM
ghane requested review of D3442: [Python 3] fork code harmonizing.
Mar 14 2022, 10:41 AM

Mar 13 2022

ghane requested review of D3436: [Python 3] changed get syntax in ConfigParser module.
Mar 13 2022, 7:23 PM
ghane added a reviewer for D3430: [Python 3] dropped module anydbm: PyKolab Developers.
Mar 13 2022, 7:12 PM
ghane requested review of D3430: [Python 3] dropped module anydbm.
Mar 13 2022, 7:12 PM
ghane requested review of D3427: [Python 3] relative imports fixes (dynamic imports).
Mar 13 2022, 6:57 PM

Mar 6 2022

ghane updated the diff for D3391: [Python 3] Implicit relative imports fixes.

removed line at pykolab/cli/__init__.py

Mar 6 2022, 2:05 PM

Feb 23 2022

ghane added a comment to T6805: Port pykolab to Python 3.

[Python 3]basestring to six string_types D3403

Feb 23 2022, 2:45 PM · Architecture & Design
ghane requested review of D3403: [Python 3]basestring to six string_types.
Feb 23 2022, 2:38 PM

Feb 21 2022

ghane added a comment to T6805: Port pykolab to Python 3.

some manuals of interest:
Cheat-Sheet: Writing Python 2-3 compatible code:
https://python-future.org/compatible_idioms.html

Feb 21 2022, 11:47 PM · Architecture & Design
ghane requested review of D3391: [Python 3] Implicit relative imports fixes.
Feb 21 2022, 11:45 PM

Feb 7 2022

ghane added a comment to T6805: Port pykolab to Python 3.

gettext.lgettext removed in 3.10 D3367

Feb 7 2022, 3:27 PM · Architecture & Design

Feb 6 2022

ghane added a comment to T6805: Port pykolab to Python 3.

some module names changed in python3 D3355

Feb 6 2022, 5:20 PM · Architecture & Design