[Kolab-devel] Fw: K9 Mail and not able to download Attachments
hede
kolab983 at der-he.de
Tue Mar 24 07:35:02 CET 2020
Hi all,
anyone working on / responsible for guam? I've fixed a bug, it's working much better now. Still it's not heavily tested.
Btw., anyone administering the kolab.org infrastructure? I tried to file a task at git.kolab.org, but it's not working:
########
Unhandled Exception ("Exception")
Failed to poll mysqli connection!
########
The following text I'd like to open a task/bug report with:
########
"Guam crashes - for example while downloading attachments with K9 Mail
- pykolab 0.8.18-0~kolab1
- erlang-eimap 0.4.0-1.1
- guam 0.9.5-2
(Kolab 16 for Debian 10)
For me guam **was** constantly crashing:
> ... [error] <0.17491.1>@eimap:joined:487 gen_fsm <0.17491.1> in state passthrough terminated with reason: bad argument in call to erlang:bit_size( ...
The reason is: //zlib:inflate()// can return a nested iolist which is not handled by the recursive //joined()// implementation within guam and erlang-eimap.
But there's a erlang function for converting an iolist to a binary string: [error] <0.17491.1>@eimap:joined:487 gen_fsm <0.17491.1> in state passthrough terminated with reason: bad argument in call to erlang:bit_size(). I'm not experienced with erlang, but I simply replaced the //joined()// by //iolist_to_binary()// and it seems to work fine. **At least the crashes are gone and I cannot see any negatives so far. **"
########
regards
hede
Weitergeleitete Nachricht:
Datum: Sat, 21 Mar 2020 23:48:10 +0100
Von: hede <kolab983 at der-he.de>
An: users at lists.kolab.org
Betreff: K9 Mail and not able to download Attachments
Hi all,
for anyone using guam and k9-mail on android: is anybody elsehit by the problem not to be able to download attachments via k9-mail on android? I'm watching this problem since some weeks, or months!?
Monday is my first official day on vacation, today I did my first patch to guam for this holidays. And now I can download attachments again. :-)
Please test my patched erlang-eimap and guam builds, especially if you're using K9 and guam and you are effected by the same problem.
see:
http://obs.kolabsys.com/repositories/home:/hede:/branches:/Kolab:/16/Debian_10.0/amd64/
(it's currently mostly untested - i finished work some minutes ago; I will test this for some days and then submit a request upstream)
regards
hede
_______________________________________________
users mailing list
users at lists.kolab.org
https://lists.kolab.org/mailman/listinfo/users
-------------- next part --------------
A non-text attachment was scrubbed...
Name: guam_use_iolist_to_binary.patch
Type: text/x-patch
Size: 1349 bytes
Desc: not available
URL: <http://lists.kolab.org/pipermail/devel/attachments/20200324/7a37ad20/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: erlang-eimap_use_iolist_to_binary.patch
Type: text/x-patch
Size: 1234 bytes
Desc: not available
URL: <http://lists.kolab.org/pipermail/devel/attachments/20200324/7a37ad20/attachment-0001.bin>
More information about the devel
mailing list