bugPerlPanel - Bugs: bug #33341, locally installed applets don't...

 
 

bug #33341: locally installed applets don't work, as it cannot find the applet module

Submitter:  None
Submitted:  Wed 18 May 2011 03:45:37 PM UTC
Votes: 1
 
Category:  Install System Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 18 May 2011 03:55:09 PM UTC, comment #1: 

I submitted this bug I should have got an account first, sorry all backwards

Francis (Grizzly) Smit <grizzlysmit>
Wed 18 May 2011 03:45:37 PM UTC, original submission:  

Hi I have been experimenting with applet creation and I got require errors from perlpanel it self, I worked out that it was due to ~/.perlpanel/applets/ not being in the search path so I fixed it as follows.


I edited /usr/bin/perlpanel and added this line after line 25 I added:

use lib (-e "$ENV{HOME}/.perlpanel/applets/" ? "$ENV{HOME}/.perlpanel/applets/" : $ENV{HOME}.'/lib/');

could have just added

use lib "$ENV{HOME}/.perlpanel/applets/";

I know, any way that fixes the problem could we patch the next release with this??

Francis (Grizzly) Smit

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by grizzlysmit (Voted in favor of this item)
  • -email is unavailable- added by grizzlysmit (Posted a comment)
  •  

    There is 1 vote so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-05-22 grizzlysmit Carbon-Copy- Added grizzlysmit

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code