Skip Menu |

This queue is for tickets about the MP3-Tag CPAN distribution.

Report information
The Basics
Id: 37829
Status: open
Priority: 0/
Queue: MP3-Tag

People
Owner: Nobody in particular
Requestors: akrk1986 [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.9710
Fixed in: (no value)



Subject: MP3::Tag->new() fails when invoked as a Nautilus script
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. To verify this, please run it in both ways and examine the log file (/tmp/junk) after each run. MP3::Tag : 0.7910 OS: Ubuntu 8.04 Perl: 5.8.8
Subject: Show MP3 Tags
Download Show MP3 Tags
application/octet-stream 3.4k

Message body not shown because it is not plain text.

Subject: Re: [rt.cpan.org #37829] MP3::Tag->new() fails when invoked as a Nautilus script
Date: Mon, 21 Jul 2008 16:30:47 -0700
To: "http://akrk1986.pip.verisignlabs.com/ via RT" <bug-MP3-Tag [...] rt.cpan.org>
From: Ilya Zakharevich <nospam-abuse [...] ilyaz.org>
On Mon, Jul 21, 2008 at 02:08:15PM -0400, http://akrk1986.pip.verisignlabs.com/ via RT wrote: Show quoted text
> 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
Subject: Re: [rt.cpan.org #37829] MP3::Tag->new() fails when invoked as a Nautilus script
Date: Tue, 22 Jul 2008 10:22:22 +0300
To: bug-MP3-Tag [...] rt.cpan.org
From: "Amir Katz" <akrk1986 [...] gmail.com>
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
Subject: Re: [rt.cpan.org #37829] MP3::Tag->new() fails when invoked as a Nautilus script
Date: Fri, 25 Jul 2008 19:22:41 +0300
To: bug-MP3-Tag [...] rt.cpan.org
From: "Amir Katz" <akrk1986 [...] gmail.com>
Hi Ilya, I found the problem - it was a bug in my script where the filename passed to new() was not accessible. I fixed it and now I have a script that can be used from inside Nautilus to display ID3 tag information about selected files. Please close the bug, 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
CC: undisclosed-recipients: ;
Subject: Re: [rt.cpan.org #37829] MP3::Tag->new() fails when invoked as a Nautilus script
Date: Wed, 30 Jul 2008 15:06:29 -0700
To: "akrk1986 [...] gmail.com via RT" <bug-MP3-Tag [...] rt.cpan.org>
From: Ilya Zakharevich <nospam-abuse [...] ilyaz.org>
On Tue, Jul 22, 2008 at 03:22:57AM -0400, akrk1986@gmail.com via RT wrote: Show quoted text
> Queue: MP3-Tag > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=37829 > > > 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?
Did you run the debugger to find out what new() is doing? Thanks, Ilya
Subject: Re: [rt.cpan.org #37829] MP3::Tag->new() fails when invoked as a Nautilus script
Date: Thu, 31 Jul 2008 08:22:28 +0300
To: bug-MP3-Tag [...] rt.cpan.org
From: "Amir Katz" <akrk1986 [...] gmail.com>
No need to...as I said, it was my bug On 7/31/08, 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 Tue, Jul 22, 2008 at 03:22:57AM -0400, akrk1986@gmail.com via RT wrote:
> > Queue: MP3-Tag
> >
> > 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?
> > > Did you run the debugger to find out what new() is doing? > > Thanks, > > Ilya > >
-- -- Amir