Modify

Opened 18 years ago

Closed 18 years ago

#451 closed defect (fixed)

Execute PDF then change to blank

Reported by: chogeha Owned by: Alec Thomas
Priority: normal Component: PageToPdfPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.10

Description

I have checkout new code by svn, and setup complete in Trac.
Also,trac.ini have already insert to components.
But when I execute PDF in Download in other formats: below, the page have to change in blank.( There is no error message)

Attachments (1)

win32.patch (705 bytes) - added by anonymous 18 years ago.
Add Windows support to plugin

Download all attachments as: .zip

Change History (5)

comment:1 Changed 18 years ago by anonymous

Sounds like you are using windows like me.

'export' is not recognized as an internal or external command, operable program or batch file.

http://www.trac-hacks.org/browser/pagetopdfplugin/0.10/pagetopdf/pagetopdf.py#L22

the plugin should use an os neutral approach to setting the environment variable:

        os.environ["HTMLDOC_NOCGI"]="yes"
        os.system('htmldoc --webpage --format pdf14 %s -f %s' % (hfilename, pfilename))

I'm still not getting a properly formed pdf, but it's a little closer! :)

Changed 18 years ago by anonymous

Attachment: win32.patch added

Add Windows support to plugin

comment:2 Changed 18 years ago by Alec Thomas

Resolution: fixed
Status: newclosed

(In [1160]) People use operating systems other than *NIX? Who knew? Closes #451

comment:3 Changed 18 years ago by trac@…

Resolution: fixed
Status: closedreopened

But you forgot one very important thing: setting the file mode to 'rb'.

comment:4 Changed 18 years ago by Alec Thomas

Resolution: fixed
Status: reopenedclosed

That issue is being tracked in #587.

Modify Ticket

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