Reinier Balt | 3 May 22:16 2009
Picon

Re: recurring todos

Hi Benjamin

Are you using rubygems 1.3.2? Could you look into the logs for a trace of
the error?

I just committed a fix for an issue of rubygems and tracks 1.7 (#890)

Reinier

Van: tracks-discuss-bounces@...
[mailto:tracks-discuss-bounces@...] Namens Benjamin
Fleischer
Verzonden: donderdag 30 april 2009 18:52
Aan: tracks-discuss@...
Onderwerp: [Tracks-discuss] recurring todos

I get the default 500 page when clicking on the recurring todos icon. It's
the only error I get in the program. Everythign else works great

Ruby 1.8.6
ROR installed via gem install rails
linux rhel 4
track 1.7 current downloaded and installed yesterday from the site
using mysql with successful rake db:migrate etc

Has anyone else had this problem with recurring todos?

I'm running tracks with mongrel and viewing from the :3000 port
script/server -d -e production 
but get the error with webrick as well
(Continue reading)

Reinier Balt | 3 May 22:17 2009
Picon

Re: got recurring_todos to work

Sorry about my last email. This is fixed in the tree, only with the use of user_time which takes the timezone into account.

 

Reinier

 

Van: tracks-discuss-bounces-g9ZBwUv/Ih8FNCDy6UEU0t73F7V6hmMc@public.gmane.org [mailto:tracks-discuss-bounces-g9ZBwUv/Ih8FNCDy6UEU0t73F7V6hmMc@public.gmane.org] Namens Benjamin Fleischer
Verzonden: donderdag 30 april 2009 21:39
Aan: tracks-discuss-g9ZBwUv/Ih8FNCDy6UEU0t73F7V6hmMc@public.gmane.org
Onderwerp: [Tracks-discuss] got recurring_todos to work

 

in  app/views/recurring_todos/_recurring_todo_form.erb
edit line 76 from
Time.today
to
Time.now
restart your web app server and it will work

-Benjamin

_______________________________________________
Tracks-discuss mailing list
Tracks-discuss@...
http://lists.rousette.org.uk/mailman/listinfo/tracks-discuss
Benjamin Fleischer | 4 May 15:37 2009
Picon

Re: tracks sms error

I'm not sure that I understand your question.

I tried sending an email which failed (below) and, later, also a text which failed which an (obviously) truncated error in the sms text.

I'm hosting on WestHost and a forum there says
"At WestHost sendmail is the MTA (Mail Transfer Agent) and procmail is the LDA (Local Delivery Agent)."

FWIW, I edited my /etc/aliases file manually because their online site manager wouldn't let me create a command alias with parentheses in it.

-Benjamin

On Thu, Apr 30, 2009 at 5:16 PM, Eric Allen <ericpallen-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
What mail delivery agent are you using for the alias?

On Apr 30, 2009, at 12:48 PM, Benjamin Fleischer wrote:

testing sms from my regular email.  I am writing from my gmail address and set it up in preferences with my gmail address as my from sms address. I set the default context at home.

I set up the alias
tracks: "|/usr/local/ruby/bin/ruby  /var/www/tracks/script/runner -e production 'MessageGateway.receive(STDIN.read)'"

I sent the email
Subject:
Testing <at> Home >project testing
Message:
testing this note

And got back this error message. Any ideas?
The original message was received at Thu, 30 Apr 2009 10:35:09 -0600
from mail-gx0-f205.google.com [209.85.217.205]

  ----- The following addresses had permanent fatal errors -----
"|/usr/local/ruby/bin/ruby"
   (reason: 1)
   (expanded from: <tracks-24KJb5yGmVk@public.gmane.org>
)

  ----- Transcript of session follows -----
-:1: warning: parenthesize argument(s) for future version
-:1: warning: parenthesize argument(s) for future version
-:1: warning: parenthesize argument(s) for future version
-:1: warning: parenthesize argument(s) for future version
-:1: syntax error, unexpected tINTEGER, expecting $end
>From xxxx-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Thu Apr 30 10:35:10 2009
                                      ^
554 5.3.0 unknown mailer error 1

Final-Recipient: RFC822; tracks-24KJb5yGmVk@public.gmane.org
X-Actual-Recipient: X-Unix; |/usr/local/ruby/bin/ruby
Action: failed
Status: 5.0.0
Diagnostic-Code: X-Unix; 1
Last-Attempt-Date: Thu, 30 Apr 2009 10:35:10 -0600



_______________________________________________
Tracks-discuss mailing list
Tracks-discuss-g9ZBwUv/Ih8FNCDy6UEU0t73F7V6hmMc@public.gmane.org
http://lists.rousette.org.uk/mailman/listinfo/tracks-discuss


_______________________________________________
Tracks-discuss mailing list
Tracks-discuss@...
http://lists.rousette.org.uk/mailman/listinfo/tracks-discuss
Benjamin Fleischer | 4 May 16:05 2009
Picon

Re: tracks sms error

Actually, perhaps it was a quirk of how my /etc/aliases works. In any event, I created the script
/root/usr/local/scripts/tracksms

#!/usr/bin/env bash
/usr/local/ruby/bin/ruby /var/www/tracks/script/runner  -e production 'MessageGateway.receive(STDIN.read)'

chmod +x /root/usr/local/scripts/tracksms

And then created the alias
tracks: "|/root/usr/local/scripts/tracksms"

I sent the email from my gmail with the subject:
Testing <at> Home >project testing
and body:
Testing <at> Home >project testing
Test test test

It created a todo with a description Testing, context Home, and project None (oops) and body ibid.
At least it's working. Something about having a space in the alias did go well.

-Benjamin




On Mon, May 4, 2009 at 8:37 AM, Benjamin Fleischer <bfleischer-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
I'm not sure that I understand your question.

I tried sending an email which failed (below) and, later, also a text which failed which an (obviously) truncated error in the sms text.

I'm hosting on WestHost and a forum there says
"At WestHost sendmail is the MTA (Mail Transfer Agent) and procmail is the LDA (Local Delivery Agent)."

FWIW, I edited my /etc/aliases file manually because their online site manager wouldn't let me create a command alias with parentheses in it.

-Benjamin


On Thu, Apr 30, 2009 at 5:16 PM, Eric Allen <ericpallen <at> gmail.com> wrote:
What mail delivery agent are you using for the alias?

On Apr 30, 2009, at 12:48 PM, Benjamin Fleischer wrote:

testing sms from my regular email.  I am writing from my gmail address and set it up in preferences with my gmail address as my from sms address. I set the default context at home.

I set up the alias
tracks: "|/usr/local/ruby/bin/ruby  /var/www/tracks/script/runner -e production 'MessageGateway.receive(STDIN.read)'"

I sent the email
Subject:
Testing <at> Home >project testing
Message:
testing this note

And got back this error message. Any ideas?
The original message was received at Thu, 30 Apr 2009 10:35:09 -0600
from mail-gx0-f205.google.com [209.85.217.205]

  ----- The following addresses had permanent fatal errors -----
"|/usr/local/ruby/bin/ruby"
   (reason: 1)
   (expanded from: <tracks-24KJb5yGmVk@public.gmane.org>
)

  ----- Transcript of session follows -----
-:1: warning: parenthesize argument(s) for future version
-:1: warning: parenthesize argument(s) for future version
-:1: warning: parenthesize argument(s) for future version
-:1: warning: parenthesize argument(s) for future version
-:1: syntax error, unexpected tINTEGER, expecting $end
>From xxxx-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Thu Apr 30 10:35:10 2009
                                      ^
554 5.3.0 unknown mailer error 1

Final-Recipient: RFC822; tracks-24KJb5yGmVk@public.gmane.org
X-Actual-Recipient: X-Unix; |/usr/local/ruby/bin/ruby
Action: failed
Status: 5.0.0
Diagnostic-Code: X-Unix; 1
Last-Attempt-Date: Thu, 30 Apr 2009 10:35:10 -0600



_______________________________________________
Tracks-discuss mailing list
Tracks-discuss-g9ZBwUv/Ih8FNCDy6UEU0t73F7V6hmMc@public.gmane.org
http://lists.rousette.org.uk/mailman/listinfo/tracks-discuss



_______________________________________________
Tracks-discuss mailing list
Tracks-discuss@...
http://lists.rousette.org.uk/mailman/listinfo/tracks-discuss
Benjamin Fleischer | 5 May 00:21 2009
Picon

tracks with fastcgi

I'm trying to minimize my memory footprint.
with webrick, mongrel, eventmachine, thin,
each takes about 55mb of ram
with mod_rails passenger it takes 80 or more.

I wanted to try with fcgi but couldn't get it working
apache 2
ruby 1.8.6
gem rails
gem fcgi

I tried it two ways:
In httpd.conf
Both)AddHandler fastcgi-script .fcgi
ln -s /var/www/tracks/public /var/www/html/publictracks
1)
Alias /tracks /var/www/html/publictracks
2)
Alias /tracks /var/www/html/publictracks
<Directory /var/www/html/publictracks>
                RewriteEngine on
                RewriteCond %{REQUEST_FILENAME} !-f
                RewriteRule ^/(.*) dispatch.fcgi [QSA,L]
</Directory>

And in /var/www/tracks/public
.htaccess
# AddHandler fcgid-script .fcgi
# AddHandler fastcgi-script .fcgi
# AddHandler cgi-script .cgi
Options +FollowSymLinks +ExecCGI
RewriteBase /tracks
RewriteRule ^(.*)$ dispatch.fcgi [QSA,L]

any ideas?

-Benjamin

_______________________________________________
Tracks-discuss mailing list
Tracks-discuss@...
http://lists.rousette.org.uk/mailman/listinfo/tracks-discuss
Eric Allen | 5 May 01:55 2009
Picon

Re: tracks sms error

Great! Glad you got it working. I was suspicious something was wrong with the aliasing, thus the question about the mail agent.

On Mon, May 4, 2009 at 10:05 AM, Benjamin Fleischer <bfleischer-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
Actually, perhaps it was a quirk of how my /etc/aliases works. In any event, I created the script
/root/usr/local/scripts/tracksms

#!/usr/bin/env bash

/usr/local/ruby/bin/ruby /var/www/tracks/script/runner  -e production 'MessageGateway.receive(STDIN.read)'

chmod +x /root/usr/local/scripts/tracksms

And then created the alias
tracks: "|/root/usr/local/scripts/tracksms"

I sent the email from my gmail with the subject:
Testing <at> Home >project testing
and body:
Testing <at> Home >project testing
Test test test

It created a todo with a description Testing, context Home, and project None (oops) and body ibid.
At least it's working. Something about having a space in the alias did go well.

-Benjamin





On Mon, May 4, 2009 at 8:37 AM, Benjamin Fleischer <bfleischer-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
I'm not sure that I understand your question.

I tried sending an email which failed (below) and, later, also a text which failed which an (obviously) truncated error in the sms text.

I'm hosting on WestHost and a forum there says
"At WestHost sendmail is the MTA (Mail Transfer Agent) and procmail is the LDA (Local Delivery Agent)."

FWIW, I edited my /etc/aliases file manually because their online site manager wouldn't let me create a command alias with parentheses in it.

-Benjamin


On Thu, Apr 30, 2009 at 5:16 PM, Eric Allen <ericpallen-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
What mail delivery agent are you using for the alias?

On Apr 30, 2009, at 12:48 PM, Benjamin Fleischer wrote:

testing sms from my regular email.  I am writing from my gmail address and set it up in preferences with my gmail address as my from sms address. I set the default context at home.

I set up the alias
tracks: "|/usr/local/ruby/bin/ruby  /var/www/tracks/script/runner -e production 'MessageGateway.receive(STDIN.read)'"

I sent the email
Subject:
Testing <at> Home >project testing
Message:
testing this note

And got back this error message. Any ideas?
The original message was received at Thu, 30 Apr 2009 10:35:09 -0600
from mail-gx0-f205.google.com [209.85.217.205]

  ----- The following addresses had permanent fatal errors -----
"|/usr/local/ruby/bin/ruby"
   (reason: 1)
   (expanded from: <tracks-24KJb5yGmVk@public.gmane.org>
)

  ----- Transcript of session follows -----
-:1: warning: parenthesize argument(s) for future version
-:1: warning: parenthesize argument(s) for future version
-:1: warning: parenthesize argument(s) for future version
-:1: warning: parenthesize argument(s) for future version
-:1: syntax error, unexpected tINTEGER, expecting $end
>From xxxx-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Thu Apr 30 10:35:10 2009
                                      ^
554 5.3.0 unknown mailer error 1

Final-Recipient: RFC822; tracks-24KJb5yGmVk@public.gmane.org
X-Actual-Recipient: X-Unix; |/usr/local/ruby/bin/ruby
Action: failed
Status: 5.0.0
Diagnostic-Code: X-Unix; 1
Last-Attempt-Date: Thu, 30 Apr 2009 10:35:10 -0600



_______________________________________________
Tracks-discuss mailing list
Tracks-discuss-g9ZBwUv/Ih8FNCDy6UEU0t73F7V6hmMc@public.gmane.org
http://lists.rousette.org.uk/mailman/listinfo/tracks-discuss




_______________________________________________
Tracks-discuss mailing list
Tracks-discuss <at> lists.rousette.org.uk
http://lists.rousette.org.uk/mailman/listinfo/tracks-discuss


_______________________________________________
Tracks-discuss mailing list
Tracks-discuss@...
http://lists.rousette.org.uk/mailman/listinfo/tracks-discuss
Reinier Balt | 6 May 20:35 2009
Picon

Re: tracks with fastcgi

Shouldn’t you uncomment the AddHandler in .htaccess?

 

Reinier

 

Van: tracks-discuss-bounces-g9ZBwUv/Ih8FNCDy6UEU0t73F7V6hmMc@public.gmane.org [mailto:tracks-discuss-bounces-g9ZBwUv/Ih8FNCDy6UEU0t73F7V6hmMc@public.gmane.org] Namens Benjamin Fleischer
Verzonden: dinsdag 5 mei 2009 0:21
Aan: track-discuss
Onderwerp: [Tracks-discuss] tracks with fastcgi

 

I'm trying to minimize my memory footprint.
with webrick, mongrel, eventmachine, thin,
each takes about 55mb of ram
with mod_rails passenger it takes 80 or more.

I wanted to try with fcgi but couldn't get it working
apache 2
ruby 1.8.6
gem rails
gem fcgi

I tried it two ways:
In httpd.conf
Both)AddHandler fastcgi-script .fcgi
ln -s /var/www/tracks/public /var/www/html/publictracks
1)
Alias /tracks /var/www/html/publictracks
2)
Alias /tracks /var/www/html/publictracks
<Directory /var/www/html/publictracks>
                RewriteEngine on
                RewriteCond %{REQUEST_FILENAME} !-f
                RewriteRule ^/(.*) dispatch.fcgi [QSA,L]
</Directory>

And in /var/www/tracks/public
.htaccess
# AddHandler fcgid-script .fcgi
# AddHandler fastcgi-script .fcgi
# AddHandler cgi-script .cgi
Options +FollowSymLinks +ExecCGI
RewriteBase /tracks
RewriteRule ^(.*)$ dispatch.fcgi [QSA,L]

any ideas?

-Benjamin

_______________________________________________
Tracks-discuss mailing list
Tracks-discuss@...
http://lists.rousette.org.uk/mailman/listinfo/tracks-discuss
Benjamin Fleischer | 6 May 20:41 2009
Picon

Re: tracks with fastcgi

tried that as well, still goes to the 500 error page

I also tried all sorts of options of commenting and uncommenting in the htaccess, in httpd.conf and even cgi. No dice. Have you gotten it working with fcgi?

-Benjamin

On Wed, May 6, 2009 at 1:35 PM, Reinier Balt <lrbalt-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:

Shouldn’t you uncomment the AddHandler in .htaccess?

 

Reinier

 

Van: tracks-discuss-bounces-g9ZBwUv/Ih8FNCDy6UEU0t73F7V6hmMc@public.gmane.org [mailto:tracks-discuss-bounces-g9ZBwUv/Ih8FNCDy6UEU0t73F7V6hmMc@public.gmane.org] Namens Benjamin Fleischer
Verzonden: dinsdag 5 mei 2009 0:21
Aan: track-discuss
Onderwerp: [Tracks-discuss] tracks with fastcgi

 

I'm trying to minimize my memory footprint.
with webrick, mongrel, eventmachine, thin,
each takes about 55mb of ram
with mod_rails passenger it takes 80 or more.

I wanted to try with fcgi but couldn't get it working
apache 2
ruby 1.8.6
gem rails
gem fcgi

I tried it two ways:
In httpd.conf
Both)AddHandler fastcgi-script .fcgi
ln -s /var/www/tracks/public /var/www/html/publictracks
1)
Alias /tracks /var/www/html/publictracks
2)
Alias /tracks /var/www/html/publictracks
<Directory /var/www/html/publictracks>
                RewriteEngine on
                RewriteCond %{REQUEST_FILENAME} !-f
                RewriteRule ^/(.*) dispatch.fcgi [QSA,L]
</Directory>

And in /var/www/tracks/public
.htaccess
# AddHandler fcgid-script .fcgi
# AddHandler fastcgi-script .fcgi
# AddHandler cgi-script .cgi
Options +FollowSymLinks +ExecCGI
RewriteBase /tracks
RewriteRule ^(.*)$ dispatch.fcgi [QSA,L]

any ideas?

-Benjamin


_______________________________________________
Tracks-discuss mailing list
Tracks-discuss@...
http://lists.rousette.org.uk/mailman/listinfo/tracks-discuss
Reinier Balt | 6 May 20:59 2009
Picon

Re: tracks with fastcgi

No, I’m not using fcgi myself.

 

If you see a 500 error, there should be an error trace in your tracks log file in /path/to/tracks/log

Perhaps that could give you a clue

 

Reinier

 

Van: tracks-discuss-bounces-g9ZBwUv/Ih8FNCDy6UEU0t73F7V6hmMc@public.gmane.org [mailto:tracks-discuss-bounces-g9ZBwUv/Ih8FNCDy6UEU0t73F7V6hmMc@public.gmane.org] Namens Benjamin Fleischer
Verzonden: woensdag 6 mei 2009 20:42
Aan: track-discuss
Onderwerp: [Tracks-discuss] Re: tracks with fastcgi

 

tried that as well, still goes to the 500 error page

I also tried all sorts of options of commenting and uncommenting in the htaccess, in httpd.conf and even cgi. No dice. Have you gotten it working with fcgi?

-Benjamin

On Wed, May 6, 2009 at 1:35 PM, Reinier Balt <lrbalt-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:

Shouldn’t you uncomment the AddHandler in .htaccess?

 

Reinier

 

Van: tracks-discuss-bounces-g9ZBwUv/Ih8FNCDy6UEU0t73F7V6hmMc@public.gmane.org [mailto:tracks-discuss-bounces-g9ZBwUv/Ih8FNCDy6UEU0t73F7V6hmMc@public.gmane.org] Namens Benjamin Fleischer
Verzonden: dinsdag 5 mei 2009 0:21
Aan: track-discuss
Onderwerp: [Tracks-discuss] tracks with fastcgi

 

I'm trying to minimize my memory footprint.
with webrick, mongrel, eventmachine, thin,
each takes about 55mb of ram
with mod_rails passenger it takes 80 or more.

I wanted to try with fcgi but couldn't get it working
apache 2
ruby 1.8.6
gem rails
gem fcgi

I tried it two ways:
In httpd.conf
Both)AddHandler fastcgi-script .fcgi
ln -s /var/www/tracks/public /var/www/html/publictracks
1)
Alias /tracks /var/www/html/publictracks
2)
Alias /tracks /var/www/html/publictracks
<Directory /var/www/html/publictracks>
                RewriteEngine on
                RewriteCond %{REQUEST_FILENAME} !-f
                RewriteRule ^/(.*) dispatch.fcgi [QSA,L]
</Directory>

And in /var/www/tracks/public
.htaccess
# AddHandler fcgid-script .fcgi
# AddHandler fastcgi-script .fcgi
# AddHandler cgi-script .cgi
Options +FollowSymLinks +ExecCGI
RewriteBase /tracks
RewriteRule ^(.*)$ dispatch.fcgi [QSA,L]

any ideas?

-Benjamin

 

_______________________________________________
Tracks-discuss mailing list
Tracks-discuss@...
http://lists.rousette.org.uk/mailman/listinfo/tracks-discuss
Benjamin Fleischer | 6 May 21:42 2009
Picon

Re: tracks with fastcgi

I just tried again, if errors are being sent to a log, I'm not sure where. I don't see anything relevant in /path/to/tracks/log or in /var/log  or where I specify in dispatch.fcgi

Is it deprecated, perhaps?

-Benjamin

On Wed, May 6, 2009 at 1:59 PM, Reinier Balt <lrbalt-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:

No, I’m not using fcgi myself.

 

If you see a 500 error, there should be an error trace in your tracks log file in /path/to/tracks/log

Perhaps that could give you a clue

 

Reinier

 

Van: tracks-discuss-bounces-g9ZBwUv/Ih8FNCDy6UEU0t73F7V6hmMc@public.gmane.org [mailto:tracks-discuss-bounces-g9ZBwUv/Ih8FNCDy6UEU0t73F7V6hmMc@public.gmane.org] Namens Benjamin Fleischer
Verzonden: woensdag 6 mei 2009 20:42
Aan: track-discuss
Onderwerp: [Tracks-discuss] Re: tracks with fastcgi

 

tried that as well, still goes to the 500 error page

I also tried all sorts of options of commenting and uncommenting in the htaccess, in httpd.conf and even cgi. No dice. Have you gotten it working with fcgi?

-Benjamin

On Wed, May 6, 2009 at 1:35 PM, Reinier Balt <lrbalt-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:

Shouldn’t you uncomment the AddHandler in .htaccess?

 

Reinier

 

Van: tracks-discuss-bounces-g9ZBwUv/Ih8FNCDy6UEU0t73F7V6hmMc@public.gmane.org [mailto:tracks-discuss-bounces-g9ZBwUv/Ih8FNCDy6UEU0t73F7V6hmMc@public.gmane.org] Namens Benjamin Fleischer
Verzonden: dinsdag 5 mei 2009 0:21
Aan: track-discuss
Onderwerp: [Tracks-discuss] tracks with fastcgi

 

I'm trying to minimize my memory footprint.
with webrick, mongrel, eventmachine, thin,
each takes about 55mb of ram
with mod_rails passenger it takes 80 or more.

I wanted to try with fcgi but couldn't get it working
apache 2
ruby 1.8.6
gem rails
gem fcgi

I tried it two ways:
In httpd.conf
Both)AddHandler fastcgi-script .fcgi
ln -s /var/www/tracks/public /var/www/html/publictracks
1)
Alias /tracks /var/www/html/publictracks
2)
Alias /tracks /var/www/html/publictracks
<Directory /var/www/html/publictracks>
                RewriteEngine on
                RewriteCond %{REQUEST_FILENAME} !-f
                RewriteRule ^/(.*) dispatch.fcgi [QSA,L]
</Directory>

And in /var/www/tracks/public
.htaccess
# AddHandler fcgid-script .fcgi
# AddHandler fastcgi-script .fcgi
# AddHandler cgi-script .cgi
Options +FollowSymLinks +ExecCGI
RewriteBase /tracks
RewriteRule ^(.*)$ dispatch.fcgi [QSA,L]

any ideas?

-Benjamin

 


_______________________________________________
Tracks-discuss mailing list
Tracks-discuss@...
http://lists.rousette.org.uk/mailman/listinfo/tracks-discuss

Gmane