Modify

Opened 15 years ago

Closed 14 years ago

#5530 closed defect (invalid)

[Patch] Support Windows platform

Reported by: kermi79@… Owned by: Ryan J Ollos
Priority: normal Component: PollMacro
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

I have instlled PollMacro on Windows Server 2008. And I used it. Then I got a problem about directory path. According to description, it has been base_dir as /tmp.

But Winows platform doesn't have /tmp. There is /tmp only linux or unix. So I have two idea. 1st, you can explain at description page. 2st, you can change directory by OS.

I have fixed source code. tracpoll.py 121 line

base_dir = Option('poll', 'base_dir', 'C:
projects
tmp',

'Path where poll pickle dumps should be stored.')

I love PollMacro and it's very useful. Best regards.

Attachments (0)

Change History (3)

comment:1 Changed 15 years ago by Ryan J Ollos

Summary: A bug on Windows platform[Patch] Support Windows platform

comment:2 Changed 14 years ago by Ryan J Ollos

Owner: changed from Alec Thomas to Ryan J Ollos

Reassigning ticket to new maintainer.

comment:3 Changed 14 years ago by Ryan J Ollos

Resolution: invalid
Status: newclosed

You don't need to patch the macro. You just need to add the following to trac.ini:

[poll]
base_dir = C:\\projects\\tmp

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Ryan J Ollos.
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.