Hi Ilya,
Apparently, something is different in the environment between stand-alone
invocation of the Perl script (from the shell) and when it's invoked by
Nautilus.
I have no idea how to patch it, but is there some debug mechanism inside the
package that will provide more information why the 'new()' method fails?
Thanks,
Amir
On Tue, Jul 22, 2008 at 2:31 AM, Ilya Zakharevich via RT <
bug-MP3-Tag@rt.cpan.org> wrote:
Show quoted text> <URL:
http://rt.cpan.org/Ticket/Display.html?id=37829 >
>
> On Mon, Jul 21, 2008 at 02:08:15PM -0400,
>
http://akrk1986.pip.verisignlabs.com/ via RT wrote:
> > Mon Jul 21 14:08:13 2008: Request 37829 was acted upon.
> > Transaction: Ticket created by
http://akrk1986.pip.verisignlabs.com/
> > Queue: MP3-Tag
> > Subject: MP3::Tag->new() fails when invoked as a Nautilus script
> > Broken in: 0.9710
> > Severity: Important
> > Owner: Nobody
> > Requestors: akrk1986@gmail.com
> > Status: new
> > Ticket <URL:
http://rt.cpan.org/Ticket/Display.html?id=37829 >
> >
> >
> > Attached script reads ID3 tag info of all provided files and uses zenity
> > to display selected details in a dialog box.
> >
> > Script succeeds when invoked from the shell with multiple MP3 files as
> > arguments.
> > When invoked as a script in Nautilus (with any number of files selected)
> > the new() method fails - handle is NULL.
>
> I have no clue what you are talking about. However, I'm happy to
> accept well-designed patches.
>
> Please let me know how else can I help you,
> Ilya
>
>
--
-- Amir