Skip Menu |

This queue is for tickets about the File-HomeDir CPAN distribution.

Report information
The Basics
Id: 58029
Status: open
Priority: 0/
Queue: File-HomeDir

People
Owner: Nobody in particular
Requestors: artg [...] cs.nyu.edu
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.89
Fixed in: (no value)



Subject: my_desktop, my_documents and my_data all return home dir
on Linux artg-laptop 2.6.32-22-generic #33-Ubuntu SMP Wed Apr 28 13:27:30 UTC 2010 i686 GNU/Linux my_desktop, my_documents and my_data all return the home dir. and File-HomeDir-0.89-L_Ub32/t/02_main.t reports no errors because it doesn't test those functions. Try the attached. This is perl, v5.10.1 (*) built for i486-linux-gnu-thread-multi
Subject: testFHD.pl
#!/usr/bin/perl use strict; use warnings; use Data::Dumper; use File::HomeDir; # use File::Spec::Functions ':ALL'; use Test::More; my $desktop = File::HomeDir->my_desktop; print "$desktop\n"; my $my_documents = File::HomeDir->my_documents; print "$my_documents\n"; my $data = File::HomeDir->my_data; print "$data\n"; my $docs = File::HomeDir->users_documents('artg'); print "$docs\n"; $my_documents = File::HomeDir->my_documents; my $my_documents2 = File::HomeDir::my_documents(); is( $my_documents, $my_documents2, 'Different APIs give the same results' ); ok( !!($my_documents and is_dir $my_documents), 'Found our documents directory' ); ok( !!($my_documents2 and $my_documents2), 'Found our documents directory' );
Subject: Re: [rt.cpan.org #58029] my_desktop, my_documents and my_data all return home dir
Date: Wed, 2 Jun 2010 10:24:44 +1000
To: bug-File-HomeDir [...] rt.cpan.org
From: Adam Kennedy <adamkennedybackup [...] gmail.com>
What do you think it SHOULD return? Adam K On 2 June 2010 08:33, Arthur via RT <bug-File-HomeDir@rt.cpan.org> wrote: Show quoted text
> Tue Jun 01 18:33:03 2010: Request 58029 was acted upon. > Transaction: Ticket created by ArthurG >       Queue: File-HomeDir >     Subject: my_desktop, my_documents and my_data all return home dir >   Broken in: 0.89 >    Severity: (no value) >       Owner: Nobody >  Requestors: artg@cs.nyu.edu >      Status: new >  Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=58029 > > > > on Linux artg-laptop 2.6.32-22-generic #33-Ubuntu SMP Wed Apr 28 13:27:30 UTC > 2010 i686 GNU/Linux > > my_desktop, my_documents and my_data all return the home dir. > and File-HomeDir-0.89-L_Ub32/t/02_main.t reports no errors because it doesn't > test those functions. > > Try the attached. > > > This is perl, v5.10.1 (*) built for i486-linux-gnu-thread-multi > >
Subject: Re: [rt.cpan.org #58029] my_desktop, my_documents and my_data all return home dir
Date: Tue, 01 Jun 2010 21:50:35 -0400
To: bug-File-HomeDir [...] rt.cpan.org
From: Arthur Goldberg <artg [...] cs.nyu.edu>
Hi Adam I would expect my_desktop, my_documents and my_data to return ~/Desktop, ~/Documents and ~/Data respectively. A On 06/01/2010 08:24 PM, Reserved Local Account via RT wrote: Show quoted text
> <URL: http://rt.cpan.org/Ticket/Display.html?id=58029> > > What do you think it SHOULD return? > > Adam K > > On 2 June 2010 08:33, Arthur via RT<bug-File-HomeDir@rt.cpan.org> wrote: >
>> Tue Jun 01 18:33:03 2010: Request 58029 was acted upon. >> Transaction: Ticket created by ArthurG >> Queue: File-HomeDir >> Subject: my_desktop, my_documents and my_data all return home dir >> Broken in: 0.89 >> Severity: (no value) >> Owner: Nobody >> Requestors: artg@cs.nyu.edu >> Status: new >> Ticket<URL: https://rt.cpan.org/Ticket/Display.html?id=58029> >> >> >> on Linux artg-laptop 2.6.32-22-generic #33-Ubuntu SMP Wed Apr 28 13:27:30 UTC >> 2010 i686 GNU/Linux >> >> my_desktop, my_documents and my_data all return the home dir. >> and File-HomeDir-0.89-L_Ub32/t/02_main.t reports no errors because it doesn't >> test those functions. >> >> Try the attached. >> >> >> This is perl, v5.10.1 (*) built for i486-linux-gnu-thread-multi >> >> >>
>
-- Arthur P. Goldberg, PhD Research Scientist in Bioinformatics Plant Systems Biology Laboratory www.virtualplant.org Visiting Academic Computer Science Department Courant Institute of Mathematical Sciences www.cs.nyu.edu/artg artg@cs.nyu.edu New York University 100 Washington Sq East 8th Floor Silver Building
Implementation of OpenDesktop should resolve this now in most cases
Subject: Re: [rt.cpan.org #58029] my_desktop, my_documents and my_data all return home dir
Date: Mon, 31 Jan 2011 10:43:34 -0500
To: bug-File-HomeDir [...] rt.cpan.org
From: Arthur Goldberg <artg [...] cs.nyu.edu>
Adam That's great! thanks A On 1/30/11 10:54 PM, Adam Kennedy via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=58029> > > Implementation of OpenDesktop should resolve this now in most cases >
-- Arthur Goldberg www.cs.nyu.edu/artg We moved on Dec. 11. Our new address is 2741 Arlington Ave. Bronx NY 10463