Modify

Opened 8 years ago

Closed 8 years ago

#922 closed defect (invalid)

ScrumBurndownPlugin

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

Description (last modified by coderanger)

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 8 years ago by coderanger

  • Description modified (diff)

Fixing formatting

comment:2 in reply to: ↑ description Changed 8 years ago by sambloomquist

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 follow-up: Changed 8 years ago by coderanger

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

comment:4 in reply to: ↑ 3 Changed 8 years ago by sambloomquist

  • Resolution set to invalid
  • Status changed from new to closed

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.

Add Comment

Modify Ticket

Action
as closed The owner will remain sambloomquist.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.