Modify

Opened 5 years ago

Closed 4 years ago

#5530 closed defect (invalid)

[Patch] Support Windows platform

Reported by: kermi79@… Owned by: rjollos
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 5 years ago by rjollos

  • Summary changed from A bug on Windows platform to [Patch] Support Windows platform

comment:2 Changed 4 years ago by rjollos

  • Owner changed from athomas to rjollos

Reassigning ticket to new maintainer.

comment:3 Changed 4 years ago by rjollos

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

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

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

Add Comment

Modify Ticket

Action
as closed .
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.