Hi people, I'm adding the ability to send shelves by mail. During my addition I find a problem sending by mail: Wide character in subroutine entry This means the data encode_base64() received is too big. I was copying the script from sendbasket, so I tested with sendbasket and a large basket, the same happen. What is the good fix? Use another library that manage this problems? Still using this complicated library and find a solution, like pre-saving the iso2709 in a temporary file and encode as base64? Maybe someone have the solution to my problem? bests, -- Nahuel ANGELINETTI
It seams Joe already had this problem and should send a patch in july. http://lists.katipo.co.nz/public/koha/2008-July/015599.html Is it somewhere ? Le Fri, 9 Jan 2009 17:16:41 +0100, Nahuel ANGELINETTI <nahuel@biblibre.com> a écrit :
Hi people,
I'm adding the ability to send shelves by mail. During my addition I find a problem sending by mail: Wide character in subroutine entry
This means the data encode_base64() received is too big. I was copying the script from sendbasket, so I tested with sendbasket and a large basket, the same happen.
What is the good fix? Use another library that manage this problems? Still using this complicated library and find a solution, like pre-saving the iso2709 in a temporary file and encode as base64?
Maybe someone have the solution to my problem?
bests,
-- Nahuel ANGELINETTI _______________________________________________ Koha-devel mailing list Koha-devel@lists.koha.org http://lists.koha.org/mailman/listinfo/koha-devel
Nahuel ANGELINETTI <nahuel@biblibre.com> wrote:
I'm adding the ability to send shelves by mail. During my addition I find a problem sending by mail: Wide character in subroutine entry
This means the data encode_base64() received is too big.
I think it means that it's improperly encoded. Did the line encode_base64(encode("UTF-8", $iso2709)); in your patch fix it? Thanks, -- MJ Ray (slef) Webmaster for hire, statistician and online shop builder for a small worker cooperative http://www.ttllp.co.uk/ http://mjr.towers.org.uk/ (Notice http://mjr.towers.org.uk/email.html) tel:+44-844-4437-237
Hi, On Fri, Jan 16, 2009 at 9:08 AM, MJ Ray <mjr@phonecoop.coop> wrote:
Nahuel ANGELINETTI <nahuel@biblibre.com> wrote:
This means the data encode_base64() received is too big.
I think it means that it's improperly encoded. Did the line encode_base64(encode("UTF-8", $iso2709)); in your patch fix it?
It does; I tested it prior to pushing the patch. Regards, Galen -- Galen Charlton VP, Research & Development, LibLime galen.charlton@liblime.com p: 1-888-564-2457 x709 skype: gmcharlt
Le Fri, 16 Jan 2009 09:13:39 -0500, Galen Charlton <galen.charlton@liblime.com> a écrit :
Hi,
On Fri, Jan 16, 2009 at 9:08 AM, MJ Ray <mjr@phonecoop.coop> wrote:
Nahuel ANGELINETTI <nahuel@biblibre.com> wrote:
This means the data encode_base64() received is too big.
I think it means that it's improperly encoded. Did the line encode_base64(encode("UTF-8", $iso2709)); in your patch fix it?
It does; I tested it prior to pushing the patch.
Well, it does... BUT there is another problem sending mail with Mail::Sendmail, did you tryied to send a "big" overdues to vendors via /cgi-bin/koha/acqui/lateorders.pl. It throw the same error, but there it's inside of the Mail::Sendmail code. Should we have to recode it before? bests, -- Nahuel ANGELINETTI
Nahuel, You might be able to fix your problem with basic system adminstration, configuring sendmail to allow itself a larger memory footprint. -Joe On Fri, Jan 16, 2009 at 9:13 AM, Nahuel ANGELINETTI <nahuel@biblibre.com>wrote:
Le Fri, 16 Jan 2009 09:13:39 -0500, Galen Charlton <galen.charlton@liblime.com> a écrit :
Hi,
On Fri, Jan 16, 2009 at 9:08 AM, MJ Ray <mjr@phonecoop.coop> wrote:
Nahuel ANGELINETTI <nahuel@biblibre.com> wrote:
This means the data encode_base64() received is too big.
I think it means that it's improperly encoded. Did the line encode_base64(encode("UTF-8", $iso2709)); in your patch fix it?
It does; I tested it prior to pushing the patch.
Well, it does... BUT there is another problem sending mail with Mail::Sendmail, did you tryied to send a "big" overdues to vendors via /cgi-bin/koha/acqui/lateorders.pl. It throw the same error, but there it's inside of the Mail::Sendmail code. Should we have to recode it before?
bests,
-- Nahuel ANGELINETTI _______________________________________________ Koha-devel mailing list Koha-devel@lists.koha.org http://lists.koha.org/mailman/listinfo/koha-devel
participants (4)
-
Galen Charlton -
Joe Atzberger -
MJ Ray -
Nahuel ANGELINETTI