SouL«Got unexpected exception while uploading file (see error log for more information)»
SouLWhere can I find that log, please?
SouLUhmm
botRSS: Feeds for Gajim Plugins
• Ticket #135 (Please include support for BMP images) created
https://trac-plugins.gajim.org/ticket/135
SouL.local/share/gajim/logs.db ok..
SouLHow can I open it, please?
lovetoxSouL
lovetoxare you on windows?
lovetoxor Linux
SouLNo!!
SouLYes :)
lovetoxjust google
lovetoxbrowse sqlite ubuntu
lovetoxor something like that :d
SouLah sqlite
SouLok
lovetoxbut why do you need that
lovetoxto get history?
SouLlovetox, «Got unexpected exception while uploading file (see error log for more information)»
SouLHttpUpload
lovetoxthe log is not in the db
SouLIs the only thing I found with the name log in it
lovetoxif you want to log something you have to start gajim
lovetoxwit -l gajim.plugin_system.httpupload
lovetoxfor example
lovetox-l gajim.plugin_system.httpupload=DEBUG
lovetoxthen there is a file written to your harddsik with log data
lovetoxor you start from terminal, then its there i believe
SouLThank you very much, lovetox :)
de-factolikes gajim
de-factowhen i am trying to use "/me does something" i just see a sequence of boxes displayed instead of characters for the message. (e.g. the above). this also happens when someone else uses /me i guess. highlighting and copying the "boxes" works and its the correct text. is this some sort of font problem in gajim?
lovetoxis tired
lovetoxde-facto: hm for me it works as expected
lovetoxnormally that hints to gajim not able to display the symbol
lovetoxcause its some unicode symbol thats out of range of the compiled python version
SouLDoes one need someone te get an account on conversations.im, lovetox?
tmolitorSouL: you could also use this external upload component to test if it is your httpupload component on the server ide that is causing the error: https://github.com/tmolitor-stud-tu/http_upload_component
tmolitorI'm using this component in production since about 2 months...
lovetoxno inband registration SouL
lovetoxjust out of gajim you can do it
Link Mauve“20:40:47 lovetox> ask your server admin whats the allowed maximum filesize”, you already get that in the disco#info.
Link MauveOh, he left.
tmolitorLink Mauve, only if the server supports the second version of the xep...the original xep didn't announce the filesize in the disco info...
Link MauveAh.
tmolitorbut nearly every implementation should support the new version by now...
Link MauveGreat. :)
tmolitorLink Mauve: (the external component written by daniel does, as does the prosody module and my implementation)
tmolitor:)
Link MauveI deployed the Prosody one on JabberFR, so that makes ~800 users able to use it.
SouLIs there any limit? I mean, technically, is possible to share 5GiB?
Link MauveYes, if you have a perfect connection that will never drop.
Link MauveBecause HTTP has no builtin error correction (aside from TCP), as you may already have found on websites that require you to upload a file.
SouLHow would you monitor the process of the upload? SSLError: ('The read operation timed out',) is what I get for files under 10MiB :(
tmolitorLink Mauve, SouL: but not with the prosody module...this module has a serious memory leak making files greater 10MiB nearly impossible to send (at this filesize the ram usage is already at abous 3-4GiB)
tmolitorthat's the reason I wrote my own upload component with memory usage independent from upload size...
SouLIs what I'm using tmolitor, I see..
SouLI wonder if I will be skilled enough to install your component then, tmolitor :)
Link Mauvetmolitor, err, really? oO
tmolitorSouL, the memory leak could be the reason for your ssl error as using swap slows down prosody...
tmolitoryes...sadly...
Link Mauvetmolitor, do you have a bug report about that?
SouLOhh
Link MauveSouL, first check if Prosody is already in the swap.
tmolitorLink Mauve, I don't know exactly...it was 3 or 4 months ago when I discovered that...but I remember that it is known to other people, too...I think...
tmolitorLink Mauve, yes, there is: https://prosody.im/issues/issue/603
Link MauveInteresting.
tmolitoron my server files larger than ~14MiB killed the prosody process because it tried to use more than 3GiB of memory on a 32 bit system...
Link MauveOw.
tmolitorSouL, you could easyly test if that is the cause for you: install atop on your server, start it, press m for memory usage and try to upload a large file...
tmolitoryou can use top as well, but I personally like atop more...
Link MauveHuh, it seems not a single user tried it since I enabled it a few weeks ago. :/
tmolitorLink Mauve, really? that's strange...
Link MauveIn the meantime I’ve had eight different people using mod_cloud_notify.
Link Mauvetmolitor, I guess my users aren’t really interested in sharing pictures, or are already doing it in some other way.
tmolitorare you certain that it works as intended? since every conversations user would use it automatically...and mod_cloud_notify users almost certainly are conversations users...
Link MauveJingle is really superior, so I can understand.
Link MauveHmm, I tried it manually, by getting a slot from my XML console and then uploading with curl, it worked just fine.
tmolitorwell, jingle doesn't play well with multiple resources and history/message carbons...
tmolitorokay...but still it seems strange to me...
tmolitoryou should try to upload a large file (30MiB or such) to check if you have the memory leak, too....
SouLIt reached 70%, tmolitor
SouL1GiB
SouLof course it didn't get uploaded
tmolitorSouL, how big was your file you tried to upload?
SouL1GiB, tmolitor
tmolitorSouL, okay, and what memory usage did you see on the server?
SouLtmolitor, up to 70%
tmolitorSouL, I'm talking about ram usage of the prosody process during the upload...