Opened 16 years ago
Closed 16 years ago
#3549 closed defect (fixed)
Each page generates "TypeError: Incorrect padding"
Reported by: | Owned by: | Lucas Eisenzimmer | |
---|---|---|---|
Priority: | normal | Component: | PageToDocIntegration |
Severity: | blocker | Keywords: | |
Cc: | Trac Release: | 0.11 |
Description
Using a non-default theme, each page I try to download in MS Word format results in the error message: "TypeError: Incorrect padding". Trac is running under Win2003 Server.
I'm also using the latest release of trac in the trunk (7444 as of this moment).
Attachments (2)
Change History (6)
Changed 16 years ago by
Attachment: | screenshot.png added |
---|
comment:1 Changed 16 years ago by
Changed 16 years ago by
Attachment: | screenshot2.png added |
---|
comment:3 Changed 16 years ago by
comment:4 Changed 16 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Wow - I was making this very complicated :)
The fix is simple (and I hope it works for you). The change in [4563] was not done correctly. There should have been brackets around the two exception types. This is in fact one of those typical Python pitfalls. (change was made in [5400])
Currently the code only handles Basic authentication - and I guess your setup has Digest authentication. I hope that the code as it is now will work for your site (without trying to handle digest authentication).
If I need to handle digest authentication then I think a new bug should be opened.
Hi,
please check if this issue got fixed in [3563].