Re: [rt-users] RTx::Calendar Causes Compilation Failure after upgrade.

2013-03-04 Thread Kevin Falcone
On Sun, Mar 03, 2013 at 08:31:31AM -1000, Camron W. Fox wrote:
   We've recently migrated from RT3.6.6 on one host to RT4.0.10 on
 another. I transitioned RTx::Calendar, but when we run RT, we get the
 following error:
 
 [Sun Mar 03 08:19:44 2013] [error] [client 133.40.142.189] Error while
 loading /opt/rt4/sb
 in/rt-server: Attempt to reload RTx/Calendar.pm aborted.\nCompilation
 failed in require at
  /opt/rt4/sbin/../lib/RT.pm line 686, DATA line 522.\n

You never replied to my mail on this topic last week.

http://www.gossamer-threads.com/lists/rt/users/114924?search_string=DateTime%2FSet.pm%20not%20found%20in%20%40INC%20;#114924

-kevin

   If we take RTx::Calendar out of the Set(@Plugins) line in
 RT_SiteConfig.pm. RT will run, but then we get this error in the My
 Reminders section:

 Couldn't find Ticket for reminder 2633. Please contact administrator.


pgpb6IbTSE1ES.pgp
Description: PGP signature


-- 
RT training in Amsterdam, March 20-21: 
http://bestpractical.com/services/training.html

Help improve RT by taking our user survey: 
https://www.surveymonkey.com/s/N23JW9T

[rt-users] RTx::Calendar Causes Compilation Failure after upgrade.

2013-03-03 Thread Camron W. Fox
All,

We've recently migrated from RT3.6.6 on one host to RT4.0.10 on
another. I transitioned RTx::Calendar, but when we run RT, we get the
following error:

[Sun Mar 03 08:19:44 2013] [error] [client 133.40.142.189] Error while
loading /opt/rt4/sb
in/rt-server: Attempt to reload RTx/Calendar.pm aborted.\nCompilation
failed in require at
 /opt/rt4/sbin/../lib/RT.pm line 686, DATA line 522.\n

If we take RTx::Calendar out of the Set(@Plugins) line in
RT_SiteConfig.pm. RT will run, but then we get this error in the My
Reminders section:

Couldn't find Ticket for reminder 2633. Please contact administrator.

Any help would be appreciated.

Best Regards,
Camron

-- 
Camron W. Fox
Hilo Office
High Performance Computing Group
Fujitsu Management Services of America, Inc.
E-mail: cw...@us.fujitsu.com



-- 
RT training in Amsterdam, March 20-21: 
http://bestpractical.com/services/training.html

Help improve RT by taking our user survey: 
https://www.surveymonkey.com/s/N23JW9T


Re: [rt-users] RTx::Calendar in rt4

2011-12-08 Thread Kevin Falcone
On Tue, Nov 29, 2011 at 05:18:59PM +0100, Emmanuel Lacour wrote:
 On Tue, Nov 29, 2011 at 11:08:03AM -0500, Joe Harris wrote:
  Has anyone ported the Calendar plugin to rt4?  I installed it in the
  new version (4.0.4).  It shows on the home screen, but there is not a
  link to the full calendar on the home screen as it was in 3.8.7.  I
  did some research and found that the error we get when clicking on:
  could not find component for path '/Ticket/Elements/Tabs'
  is related to the difference between the new interface in rt4 and the
  old one.  I found some discussions on the list about other plugins
  relating to Default vs. Privileged in the Tabs directories, but have
  yet to get my head around the exact way to fix it.  I am sure it is
  something pretty simple, but need a little direction.
  
  If anyone has already done this and would like to share, it would be
  appreciated, if not, any input will be very helpful.
  
 
 You can just grab the last one from git which fixes this tabs problem:
 
 https://github.com/bestpractical/rtx-calendar

Release 0.08_01 is also on its way to cpan, so test feedback on that
would be helpful so that a stable 0.09 can be released.

-kevin


pgpf58rJA39gf.pgp
Description: PGP signature

RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston — March 5  6, 2012

[rt-users] RTx::Calendar in rt4

2011-11-29 Thread Joe Harris
Has anyone ported the Calendar plugin to rt4?  I installed it in the
new version (4.0.4).  It shows on the home screen, but there is not a
link to the full calendar on the home screen as it was in 3.8.7.  I
did some research and found that the error we get when clicking on:
could not find component for path '/Ticket/Elements/Tabs'
is related to the difference between the new interface in rt4 and the
old one.  I found some discussions on the list about other plugins
relating to Default vs. Privileged in the Tabs directories, but have
yet to get my head around the exact way to fix it.  I am sure it is
something pretty simple, but need a little direction.

If anyone has already done this and would like to share, it would be
appreciated, if not, any input will be very helpful.

Thanks!

Joe

RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston  TBA


Re: [rt-users] RTx::Calendar in rt4

2011-11-29 Thread Emmanuel Lacour
On Tue, Nov 29, 2011 at 11:08:03AM -0500, Joe Harris wrote:
 Has anyone ported the Calendar plugin to rt4?  I installed it in the
 new version (4.0.4).  It shows on the home screen, but there is not a
 link to the full calendar on the home screen as it was in 3.8.7.  I
 did some research and found that the error we get when clicking on:
 could not find component for path '/Ticket/Elements/Tabs'
 is related to the difference between the new interface in rt4 and the
 old one.  I found some discussions on the list about other plugins
 relating to Default vs. Privileged in the Tabs directories, but have
 yet to get my head around the exact way to fix it.  I am sure it is
 something pretty simple, but need a little direction.
 
 If anyone has already done this and would like to share, it would be
 appreciated, if not, any input will be very helpful.
 

You can just grab the last one from git which fixes this tabs problem:

https://github.com/bestpractical/rtx-calendar


RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston  TBA


Re: [rt-users] RTx::Calendar Not Displaying

2011-01-07 Thread Lee Hughes
Good point Shawn: there is a Calendar link at the top of the Search  
Results page, along with Edit Search, Graph, etc, and it shows the  
filtered results in a Calendar format. Interestingly though, sometimes  
it shows the task details in a hover-over box, other times it embeds  
the details right in the calendar. Refreshing the page a couple of  
times brings the hover-over back. The Calendar link itself doesn't  
always appear either and I have to refresh a time or two to see it.  
Any ideas what would cause that?


Thanks much-

Lee


MyCalendar is included in $HomepageComponents (below) but nothing
related to Calendar appears on the homepage. In fact, if I comment
out the $HomepageComponents line completely and restart the web
server, the homepage still looks the same, even if I clear my
browser cache. How could that be?


Just adding it to HomepageComponents doesn't make it show up on your
homepage, it makes it available.  You need to click on Preferences -
RT at a Glance

-kevin


I have the ExternalAuth plugin configured in the same
RT_SiteConfig.pm file (below) and it is working fine.

Search on Calendar and calendar shows no results.


Also note that this is searching for tickets that are *about* calendars.
You should see a link to the calendar from the tickets search results
page alongside other display formats like spreadsheet and chart.

Shawn




Re: [rt-users] RTx::Calendar Not Displaying

2011-01-06 Thread Kevin Falcone
On Wed, Jan 05, 2011 at 09:09:44AM -0800, Lee Hughes wrote:
 MyCalendar is included in $HomepageComponents (below) but nothing
 related to Calendar appears on the homepage. In fact, if I comment
 out the $HomepageComponents line completely and restart the web
 server, the homepage still looks the same, even if I clear my
 browser cache. How could that be?

Just adding it to HomepageComponents doesn't make it show up on your
homepage, it makes it available.  You need to click on Preferences -
RT at a Glance

-kevin

 I have the ExternalAuth plugin configured in the same
 RT_SiteConfig.pm file (below) and it is working fine.
 
 Search on Calendar and calendar shows no results.
 
 Are there any screenshots of what the Calendar links/pages should look like?
 
 Is it possible to insert debug statements somewhere to verify that
 the Calendar plugin is actually getting called?
 
 Thanks very much for the help.
 
 Lee
 
 Date: Tue, 4 Jan 2011 17:18:23 -0500
 From: Kevin Falcone falc...@bestpractical.com
 To: rt-users@lists.bestpractical.com
 Subject: Re: [rt-users] RTx::Calendar Not Displaying
 Message-ID: 20110104221823.gv65...@jibsheet.com
 Content-Type: text/plain; charset=us-ascii
 
 On Tue, Jan 04, 2011 at 12:44:51PM -0800, Lee Hughes wrote:
 I cleared the Mason cache but still don't see any Calendar links.
 Where should I see links, and how would I go about enabling basic
 tracing to see if the Calendar module is even being called?
 
 You didn't say where you looked for the calendars.
 Did you try editing your homepage to include the MyCalendar widget?
 Did you do a search and look for the calendar link?
 
 -kevin
 
 I've installed and configured RTx::Calendar per the instructions and
 restarted the web server but don't see any links to it anywhere. I have
 syslogging set to debug but no errors are logged.
 
 Here are the relevant settings from RT_SiteConfig.pm:
 
 # Calendar Plugin
 require '/usr/local/rt3/local/plugins/RTx-Calendar/lib/RTx/Calendar.pm';
 Set($HomepageComponents, [qw(QuickCreate Quicksearch MyCalendar
 MyAdminQueues MySupportQueues MyReminders RefreshHomepage)]);
 
 # enable all plugins
 Set(@Plugins,qw(
 RT::Authen::ExternalAuth
 RTx::Calendar
 ));
 
 Any ideas what I'm missing?
 
 Did you clear the Mason cache?
 
 rm -rf /usr/local/rt3/var/mason_data/obj/*
 
 See http://requesttracker.wikia.com/wiki/CleanMasonCache for details.
 


pgpKKgjhE2Qk3.pgp
Description: PGP signature


Re: [rt-users] RTx::Calendar Not Displaying

2011-01-06 Thread Lee Hughes
Enabling MyCalendar under Preferences  RT at a Glance, and fixing  
missing file/directory permissions for the plugin, did the trick.  
Calendar now displays on RT at a Glance (Home) and Edit Query   
Advanced  Calendar.


Thanks very much for everyone's help.

Lee


MyCalendar is included in $HomepageComponents (below) but nothing
related to Calendar appears on the homepage. In fact, if I comment
out the $HomepageComponents line completely and restart the web
server, the homepage still looks the same, even if I clear my
browser cache. How could that be?


Just adding it to HomepageComponents doesn't make it show up on your
homepage, it makes it available.  You need to click on Preferences -
RT at a Glance

-kevin


I have the ExternalAuth plugin configured in the same
RT_SiteConfig.pm file (below) and it is working fine.

Search on Calendar and calendar shows no results.

Are there any screenshots of what the Calendar links/pages should look like?

Is it possible to insert debug statements somewhere to verify that
the Calendar plugin is actually getting called?

Thanks very much for the help.

Lee

Date: Tue, 4 Jan 2011 17:18:23 -0500
From: Kevin Falcone falc...@bestpractical.com
To: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] RTx::Calendar Not Displaying
Message-ID: 20110104221823.gv65...@jibsheet.com
Content-Type: text/plain; charset=us-ascii

On Tue, Jan 04, 2011 at 12:44:51PM -0800, Lee Hughes wrote:
I cleared the Mason cache but still don't see any Calendar links.
Where should I see links, and how would I go about enabling basic
tracing to see if the Calendar module is even being called?

You didn't say where you looked for the calendars.
Did you try editing your homepage to include the MyCalendar widget?
Did you do a search and look for the calendar link?

-kevin

I've installed and configured RTx::Calendar per the instructions and
restarted the web server but don't see any links to it anywhere. I have
syslogging set to debug but no errors are logged.

Here are the relevant settings from RT_SiteConfig.pm:

# Calendar Plugin
require '/usr/local/rt3/local/plugins/RTx-Calendar/lib/RTx/Calendar.pm';
Set($HomepageComponents, [qw(QuickCreate Quicksearch MyCalendar
MyAdminQueues MySupportQueues MyReminders RefreshHomepage)]);

# enable all plugins
Set(@Plugins,qw(
RT::Authen::ExternalAuth
RTx::Calendar
));

Any ideas what I'm missing?

Did you clear the Mason cache?

rm -rf /usr/local/rt3/var/mason_data/obj/*

See http://requesttracker.wikia.com/wiki/CleanMasonCache for details.





Re: [rt-users] RTx::Calendar Not Displaying

2011-01-05 Thread Lee Hughes
MyCalendar is included in $HomepageComponents (below) but nothing  
related to Calendar appears on the homepage. In fact, if I comment out  
the $HomepageComponents line completely and restart the web server,  
the homepage still looks the same, even if I clear my browser cache.  
How could that be?


I have the ExternalAuth plugin configured in the same RT_SiteConfig.pm  
file (below) and it is working fine.


Search on Calendar and calendar shows no results.

Are there any screenshots of what the Calendar links/pages should look like?

Is it possible to insert debug statements somewhere to verify that the  
Calendar plugin is actually getting called?


Thanks very much for the help.

Lee


Date: Tue, 4 Jan 2011 17:18:23 -0500
From: Kevin Falcone falc...@bestpractical.com
To: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] RTx::Calendar Not Displaying
Message-ID: 20110104221823.gv65...@jibsheet.com
Content-Type: text/plain; charset=us-ascii

On Tue, Jan 04, 2011 at 12:44:51PM -0800, Lee Hughes wrote:

I cleared the Mason cache but still don't see any Calendar links.
Where should I see links, and how would I go about enabling basic
tracing to see if the Calendar module is even being called?


You didn't say where you looked for the calendars.
Did you try editing your homepage to include the MyCalendar widget?
Did you do a search and look for the calendar link?

-kevin


I've installed and configured RTx::Calendar per the instructions and
restarted the web server but don't see any links to it anywhere. I have
syslogging set to debug but no errors are logged.

Here are the relevant settings from RT_SiteConfig.pm:

# Calendar Plugin
require '/usr/local/rt3/local/plugins/RTx-Calendar/lib/RTx/Calendar.pm';
Set($HomepageComponents, [qw(QuickCreate Quicksearch MyCalendar
MyAdminQueues MySupportQueues MyReminders RefreshHomepage)]);

# enable all plugins
Set(@Plugins,qw(
RT::Authen::ExternalAuth
RTx::Calendar
));

Any ideas what I'm missing?

Did you clear the Mason cache?

rm -rf /usr/local/rt3/var/mason_data/obj/*

See http://requesttracker.wikia.com/wiki/CleanMasonCache for details.



Re: [rt-users] RTx::Calendar Not Displaying

2011-01-04 Thread Lee Hughes
I cleared the Mason cache but still don't see any Calendar links.  
Where should I see links, and how would I go about enabling basic  
tracing to see if the Calendar module is even being called?


BTW this is with RT 3.8.8 on PostgreSQL 9.

Thanks much for the help.

Lee


I've installed and configured RTx::Calendar per the instructions and
restarted the web server but don't see any links to it anywhere. I have
syslogging set to debug but no errors are logged.

Here are the relevant settings from RT_SiteConfig.pm:

# Calendar Plugin
require '/usr/local/rt3/local/plugins/RTx-Calendar/lib/RTx/Calendar.pm';
Set($HomepageComponents, [qw(QuickCreate Quicksearch MyCalendar
MyAdminQueues MySupportQueues MyReminders RefreshHomepage)]);

# enable all plugins
Set(@Plugins,qw(
RT::Authen::ExternalAuth
RTx::Calendar
));

Any ideas what I'm missing?


Did you clear the Mason cache?

rm -rf /usr/local/rt3/var/mason_data/obj/*

See http://requesttracker.wikia.com/wiki/CleanMasonCache for details.







Re: [rt-users] RTx::Calendar Not Displaying

2011-01-04 Thread Kevin Falcone
On Tue, Jan 04, 2011 at 12:44:51PM -0800, Lee Hughes wrote:
 I cleared the Mason cache but still don't see any Calendar links.
 Where should I see links, and how would I go about enabling basic
 tracing to see if the Calendar module is even being called?

You didn't say where you looked for the calendars.
Did you try editing your homepage to include the MyCalendar widget?
Did you do a search and look for the calendar link?

-kevin

 I've installed and configured RTx::Calendar per the instructions and
 restarted the web server but don't see any links to it anywhere. I have
 syslogging set to debug but no errors are logged.
 
 Here are the relevant settings from RT_SiteConfig.pm:
 
 # Calendar Plugin
 require '/usr/local/rt3/local/plugins/RTx-Calendar/lib/RTx/Calendar.pm';
 Set($HomepageComponents, [qw(QuickCreate Quicksearch MyCalendar
 MyAdminQueues MySupportQueues MyReminders RefreshHomepage)]);
 
 # enable all plugins
 Set(@Plugins,qw(
 RT::Authen::ExternalAuth
 RTx::Calendar
 ));
 
 Any ideas what I'm missing?
 
 Did you clear the Mason cache?
 
 rm -rf /usr/local/rt3/var/mason_data/obj/*
 
 See http://requesttracker.wikia.com/wiki/CleanMasonCache for details.
 
 
 
 


pgpdIaFOd5QLS.pgp
Description: PGP signature


Re: [rt-users] RTx::Calendar Not Displaying

2010-12-30 Thread Bill Cole

Lee Hughes wrote, On 12/29/10 7:01 PM:

I've installed and configured RTx::Calendar per the instructions and
restarted the web server but don't see any links to it anywhere. I have
syslogging set to debug but no errors are logged.

Here are the relevant settings from RT_SiteConfig.pm:

# Calendar Plugin
require '/usr/local/rt3/local/plugins/RTx-Calendar/lib/RTx/Calendar.pm';
Set($HomepageComponents, [qw(QuickCreate Quicksearch MyCalendar
MyAdminQueues MySupportQueues MyReminders RefreshHomepage)]);

# enable all plugins
Set(@Plugins,qw(
RT::Authen::ExternalAuth
RTx::Calendar
));

Any ideas what I'm missing?


Did you clear the Mason cache?

rm -rf /usr/local/rt3/var/mason_data/obj/*

See http://requesttracker.wikia.com/wiki/CleanMasonCache for details.


[rt-users] RTx::Calendar Not Displaying

2010-12-29 Thread Lee Hughes
I've installed and configured RTx::Calendar per the instructions and  
restarted the web server but don't see any links to it anywhere. I  
have syslogging set to debug but no errors are logged.


Here are the relevant settings from RT_SiteConfig.pm:

# Calendar Plugin
require '/usr/local/rt3/local/plugins/RTx-Calendar/lib/RTx/Calendar.pm';
Set($HomepageComponents, [qw(QuickCreate Quicksearch MyCalendar  
MyAdminQueues MySupportQueues MyReminders RefreshHomepage)]);


# enable all plugins
Set(@Plugins,qw(
RT::Authen::ExternalAuth
RTx::Calendar
));

Any ideas what I'm missing?

Thanks much-

Lee



[rt-users] RTx::Calendar

2008-09-22 Thread Jason Doran
Hi,
I have installed RT3.8.1 and RTx::Calendar 0.6 (and dependencies).

 From documentation I added $HomePageComponents in RT_SiteConfig.pm:

 To use MyCalendar portlet you must add MyCalendar to  
 $HomepageComponents in etc/RT_SiteConfig.pm like that :

   Set($HomepageComponents, [qw(QuickCreate Quicksearch MyCalendar
  MyAdminQueues MySupportQueues MyReminders RefreshHomepage)]);



However I get the following error when I logon to RT:

could not find component for path 'MyCalendar'

Has anyone any pointers/ideas on what I may have missed. The CPAN page  
says:

compatible only with RT 3.6 for the moment. If someone need  
compatibility with 3.4 I can work on this. And I will work on 3.7  
compatibility later.

But I see a link saying it is OK for 3.8

http://www.nabble.com/new-RTx::Calendar-and-RTx::Emailcompletion-compatible-with-rt3.8-released-td19243845.html


Regards,
Jason Doran

___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] RTx::Calendar

2008-09-22 Thread Jerrad Pierce
Umm, did you add RTx-Calendar to your list of plugins?
-- 
Cambridge Energy Alliance: Save money  the planet
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] RTx::Calendar 0.04

2007-05-17 Thread Mathew Snyder
Nicolas Chuche wrote:
 On 5/17/07, Mathew Snyder [EMAIL PROTECTED] wrote:
 I added it to RT_SiteConfig.pm but
 1. I still don't see it on the Query Builder page and
 
 Is there a Calendar page in the Preferences item ?


No, no Calendar page under Preferences.  However, if I type Calendar.html into
the address bar I can get to it.

 2. After adding it via RT at a glance prefs I get an error:
 System error
 error:  Can't locate object method from_recurrence via package
 
 Have you installed the module DateTime::Set ?
 

Yes, it is up to date at v0.25
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] RTx::Calendar 0.04

2007-05-17 Thread Mathew Snyder
Nicolas Chuche wrote:
 On 5/17/07, Mathew Snyder [EMAIL PROTECTED] wrote:
 I added it to RT_SiteConfig.pm but
 1. I still don't see it on the Query Builder page and
 
 Is there a Calendar page in the Preferences item ?


I was able to get this in place after I reset my umask to 022 and reinstalled
the extension from source instead of CPAN

 2. After adding it via RT at a glance prefs I get an error:
 System error
 error:  Can't locate object method from_recurrence via package
 
 Have you installed the module DateTime::Set ?
 

I'm still not able to see the calendar though, on the RT at a glance page.  It
still shows the error.  I also reinstalled DateTime::Set from source instead of
via CPAN but it hasn't helped

Mathew
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] RTx::Calendar 0.04

2007-05-17 Thread Nicolas Chuche

I was able to get this in place after I reset my umask to 022 and reinstalled
the extension from source instead of CPAN


weird !


I'm still not able to see the calendar though, on the RT at a glance page.  It
still shows the error.  I also reinstalled DateTime::Set from source instead of
via CPAN but it hasn't helped


Could you try two things :

% perl -MDateTime::Set -le 'print $DateTime::Set::VERSION'
0.25

and

% perl -MDateTime::Set -le 'my $rec = DateTime::Set-from_recurrence();'
Not enough arguments in from_recurrence() at
/usr/local/share/perl/5.8.8/DateTime/Set.pm line 207.
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] RTx::Calendar 0.04

2007-05-17 Thread Mathew Snyder
Nicolas Chuche wrote:
 I was able to get this in place after I reset my umask to 022 and
 reinstalled
 the extension from source instead of CPAN
 
 weird !
 
 I'm still not able to see the calendar though, on the RT at a glance
 page.  It
 still shows the error.  I also reinstalled DateTime::Set from source
 instead of
 via CPAN but it hasn't helped
 
 Could you try two things :
 
 % perl -MDateTime::Set -le 'print $DateTime::Set::VERSION'
 0.25
 
 and
 
 % perl -MDateTime::Set -le 'my $rec = DateTime::Set-from_recurrence();'
 Not enough arguments in from_recurrence() at
 /usr/local/share/perl/5.8.8/DateTime/Set.pm line 207.
 

[EMAIL PROTECTED] ~]# sudo perl -MDateTime::Set -le 'print 
$DateTime::Set::VERSION'
0.25
[EMAIL PROTECTED] ~]# sudo perl -MDateTime::Set -le 'my $rec =
DateTime::Set-from_recurrence();'
Not enough arguments in from_recurrence() at
/usr/lib/perl5/site_perl/5.8.8/DateTime/Set.pm line 207.


Mathew
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] RTx::Calendar 0.04

2007-05-17 Thread Mathew Snyder
Nicolas Chuche wrote:
 /usr/local/rt-3.6.3/share/html/Elements/MyCalendar line 54.^J') called at
 
 This line seems strange. Could you search for weird character (like
 ^J) in MyCalendar file ?
 

# use this to loop over days until $end
my $set = DateTime::Set-from_recurrence(
next = sub { $_[0]-truncate( to = 'day' )-add( days = 1 ) }
);  Line 54


Mathew
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] RTx::Calendar 0.04

2007-05-17 Thread Nicolas Chuche

/usr/local/rt-3.6.3/share/html/Elements/MyCalendar line 54.^J') called at


This line seems strange. Could you search for weird character (like
^J) in MyCalendar file ?
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] RTx::Calendar 0.04

2007-05-17 Thread Jon Daley

On Wed, 16 May 2007, Nicolas Chuche wrote:

I've just upload RTx::Calendar 0.04 on CPAN :

http://search.cpan.org/~nchuche/RTx-Calendar-0.04/

Changes for 0.04

* should work with rt 3.6.0 and seems to work with 3.7.2
* display Starts date by default
* you can use Format to display dates you want (Created, Started,
Due, Starts, ...)
* if a saved search is named calendar, use it for the default
Calendar.html and for the portlet
* fix a bug in Prefs


Looks good (on 3.6.3), but I am having trouble customizing it (I just 
turned it off two days ago, and went back to the reminder box instead), 
and so was hoping the new one can do what I am looking for.



What I want to be able to do is show all reminders, even if they are in 
the past - ie. if I didn't actually get something done by the day it was 
due, I want it to still show - is that possible, or do I need to use the 
reminder box to do that?

___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] RTx::Calendar 0.04

2007-05-17 Thread Nicolas Chuche

I don't understand how it can find from_recurrence function in
Calendar.html and Calendar.pm and not in MyCalendar.
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] RTx::Calendar 0.04

2007-05-17 Thread Nicolas Chuche

What I want to be able to do is show all reminders, even if they are in
the past - ie. if I didn't actually get something done by the day it was
due, I want it to still show - is that possible, or do I need to use the
reminder box to do that?


With the default configuration it should display all events in the
period of times (so week for the portlet and month for the calendar)
if they are in state new, open or stalled.
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] RTx::Calendar 0.04

2007-05-17 Thread Nicolas Chuche

Yes, it does, what would be nifty is to also show past/old
reminders that weren't completed,n the case where I didn't get around to
doing them, instead of just disappearing, still being there.  Maybe I need
to write a search for old reminders, and put that on my at-a-glance page,
and then I won't have duplicates between the calendar and the regular
reminder portlet.


I'm not sure I understand your need. You want that the portlet show a
reminder set 2 weeks ago in itself ? That's the calendar job  : click
on the portlet title. You can see all reminders/task for every single
month if you need.
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] RTx::Calendar 0.04

2007-05-17 Thread Mathew
I'm guessing there is a problem with my RT installation likely due to
not changing the umask prior to installing this.  I'm going to rebuild
it tomorrow and see what happens.

Mathew

Nicolas Chuche wrote:
 /usr/local/rt-3.6.3/share/html/Elements/MyCalendar line 54.^J') called at
 
 This line seems strange. Could you search for weird character (like
 ^J) in MyCalendar file ?
 
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] RTx::Calendar 0.04

2007-05-17 Thread Nicolas Chuche

On 5/17/07, Mathew [EMAIL PROTECTED] wrote:

I'm guessing there is a problem with my RT installation likely due to
not changing the umask prior to installing this.  I'm going to rebuild
it tomorrow and see what happens.


Yes, you should try that because I don't understand what could be the problem.
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


[rt-users] RTx::Calendar 0.04

2007-05-16 Thread Nicolas Chuche

Hello,

I've just upload RTx::Calendar 0.04 on CPAN :

http://search.cpan.org/~nchuche/RTx-Calendar-0.04/

Changes for 0.04

 * should work with rt 3.6.0 and seems to work with 3.7.2
 * display Starts date by default
 * you can use Format to display dates you want (Created, Started,
Due, Starts, ...)
 * if a saved search is named calendar, use it for the default
Calendar.html and for the portlet
 * fix a bug in Prefs
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com