-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Am 01.10.2011 15:11, schrieb JRED via RT:
Show quoted text> Am Sa 01. Okt 2011, 08:05:06, dirk.heinrichs@altum.de schrieb:
>
>> There seem to be multiple calls to unknown methods in Mail::GPG
>> 1.0.7:
>
> You are misreading the error messages here. The methods are not
> unknown, but Mail::GPG tries to call methods on undefinied values.
> This may depend on the data you fed into it, so the package is
> surely not completely broken (how would "make test" work in that
> case?)
>
>> 1) Can't call method "head" without a package or object reference
>> at /usr/local/share/perl/5.12.4/Mail/GPG.pm line 134.
>>
>> 2) Can't call method "dup" without a package or object reference
>> at /usr/local/share/perl/5.12.4/Mail/GPG.pm line 514.
>
> Both calls refer to $entity (an object of MIME::Entity).
Ah, OK. My fault, overlooked that in the docs.
Show quoted text> It looks for me that some higher level methods (called by your
> code) get an undefined $entity object.
Yes, because I didn't build() one *shame*.
Show quoted text>> Because of this, the package doesn't work at all, so I've set
>> severity to "Critical".
>
> In future be more careful with blaming a module and check your own
> code first ;)
Mea culpa :)
Show quoted text> I noted on my todo list that Mail::GPG should check for valid
> parameters and throw proper error messages.
OK.
Bye...
Dirk
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla -
http://enigmail.mozdev.org/
iD8DBQFOh1FV8NVtnsLkZ7sRAu9hAKCiX1wCCXyrrtuDJNtDSU4hVJ5LDgCfSWAB
MxxZzBznbpUISrozmOlkVj0=
=dULr
-----END PGP SIGNATURE-----