Modify

Opened 18 years ago

Closed 18 years ago

#922 closed defect (invalid)

ScrumBurndownPlugin

Reported by: m@… Owned by: Sam Bloomquist
Priority: normal Component: ScrumBurndownPlugin
Severity: normal Keywords: cronjob
Cc: Trac Release: 0.10

Description (last modified by Noah Kantrowitz)

I have installed the timing and estimation plugin and the scrumburndown plugin successfully, i.e. the correct fields show up for the user assigned the permissions to the plugins in trac.

The only issue I am having is with the cronjob for burndown_job.py on linux (fedora 4).

This is what I tried on the command line to test the script:

python /root/burndown_job.py /var/svn/trac/leap

shell output:

python burndown_job.py /var/svn/trac/leap
  File "burndown_job.py", line 1
    <!DOCTYPE html
    ^
SyntaxError: invalid syntax

What would be the correct method of calling this from cron or the command line in linux? Any help would be much appreciated.

cheers

-m

Attachments (0)

Change History (4)

comment:1 Changed 18 years ago by Noah Kantrowitz

Description: modified (diff)

Fixing formatting

comment:2 in reply to:  description Changed 18 years ago by Sam Bloomquist

Replying to m@lxbiz.com:

What would be the correct method of calling this from cron or the command line in linux? Any help would be much appreciated.

I'm not exactly sure as I've not done any of this on a linux box yet. Hopefully a linux user will come along and point you in the right direction.

That's a strange syntax error since the burndown_job.py doesn't have any DOCTYPE declarations in it. Did you create your own burndown_job.py?

comment:3 Changed 18 years ago by Noah Kantrowitz

Usually just means you downloaded the HTML preview and not the file itself.

comment:4 in reply to:  3 Changed 18 years ago by Sam Bloomquist

Resolution: invalid
Status: newclosed

Replying to coderanger:

Usually just means you downloaded the HTML preview and not the file itself.

Ah, yes. That would make sense. I'm going to go ahead and close this ticket. Please be sure to download the actual burndown_job.py file and not the HTML preview.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Sam Bloomquist.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.