Opened 15 years ago
Last modified 5 years ago
#6701 new defect
Update to the last version of wikiexport
Reported by: | anonymous | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | WikiExportPlugin |
Severity: | critical | Keywords: | |
Cc: | al.willmer@… | Trac Release: | 0.11 |
Description (last modified by )
After i have updated the plugin, i have an error when i would to export the wiki page on PDF or Doc.
Trac detected an internal error: KeyError: 'name'
Attachments (5)
Change History (23)
Changed 15 years ago by
Attachment: | Internal Error.pdf added |
---|
Changed 15 years ago by
Attachment: | bug error.txt added |
---|
comment:1 Changed 15 years ago by
Status: | new → assigned |
---|
Ok. I go to install a virtual machine with a clean trac install to trace this problem.
comment:2 Changed 15 years ago by
Cc: | alora added; anonymous removed |
---|
Hello,
Have you seen the problem on a virtual machine with clean trac install ?
We are very interested by the new version of your plugin but we are blocked by this problem.
Best regards,
- ROUX
comment:3 follow-up: 4 Changed 15 years ago by
So far I have not managed to reproduce the error. What OS you have installed the trac, to test it with that OS?
Sorry for the problems, and thanks for the interest
comment:4 Changed 15 years ago by
Replying to sfhynx:
So far I have not managed to reproduce the error. What OS you have installed the trac, to test it with that OS?
Sorry for the problems, and thanks for the interest
This is a Debian Lenny 5.0 kernel 2-6-18-4
comment:5 Changed 15 years ago by
I am thinking about something we have not precised but maybe it is important.
On the wiki we tryed to do the export, we have a wikipage named and that has the following content:
{{{ template_list= doc template_file= doc.odt }}}
and has the attachment:doc.odt
Could the problem be caused by our template ?
Changed 15 years ago by
comment:7 Changed 15 years ago by
I got the same problem on my 2 configurations : First is a Debian Lenny with 2.6.18 kernel, python 2.5, trac 0.11.7 Second is a Debian Lenny with 2.6.26 kernel, python 2.5, trac 0.11.7
Before a upgrade to Lenny, it was working perfectly, I did the upgrade, recompil the plugin with python2.5, and I got the error "Trac detected an internal error: KeyError: 'name' " when I try to create any document, on the 2 configurations.
Hope this help to solve the problem. If you need the traceback or other, ask me.
comment:8 Changed 15 years ago by
A little news about my problem, the "Trac detected an internal error: KeyError?: 'name' " is only when I'm not login in.
When I'm logged, I obtain this error message : "Trac detected an internal error: com.sun.star.uno.Exception:"
But uno is correctly installed.
comment:9 Changed 15 years ago by
So it seems the problem is linked to the authentification/login. Our TRAC server does not allow us to access to TRAC without being logged.
I guess this is not configured correctly because I get the error "Trac detected an internal error: KeyError??: 'name' " when I am logged in!
See the log when the error occurs in File "build/bdist.linux-i686/egg/exportplugin/export.py", line 115, in convert_content
Code : 115: self.parser.setTemplate(templatePath, pageName, req.session['name']) Local variables: Name Value input_type 'text/x-trac-wiki' output_type 'vnd.oasis.opendocument.text' pageName u'WikiStart' req <Request "GET u'/wiki/WikiStart'"> self <exportplugin.export.Export object at 0x89ab86c> templatePath None text u"= Bienvenue sur Trac =\r\n\r\nCeci est la page d\u2019accueil de votre ...
req.session['name'] does not exist in this case.
comment:10 Changed 15 years ago by
In the configuration of the plugin, we must enter this :
[openOffice-exporter] user = john psswrd = 1234
What are user and psswrd ? Shall I enter the login and password I use when I am logging to TRAC ?
Changed 15 years ago by
Attachment: | Internal_Error_Exception_UNO.pdf added |
---|
comment:11 Changed 15 years ago by
I've modified the export.py file (line 115) to use a constant string instead of req.sessionname? since it is used only to set the name of the author of the document.
Now, when I try to export the wiki page, I obtain the same error than P. RAVEN., that is to say : "Trac detected an internal error: com.sun.star.uno.Exception". (See attachment:Internal_Error_Exception_UNO.pdf).
Changed 14 years ago by
Attachment: | trac_wiki_plugin_issue.png added |
---|
comment:12 Changed 14 years ago by
Same disappointing issue on Debian Lenny - pls have a look to the attached screenshot.
Got a first nice ERR 500 saying :
malformed header from script. Bad header=------> Baseurl : trac.fcgi
Solved by stopping apache, disabling fast cgi, enabling fastcgi, and restarting Apache.
Then: No error when restarting soffice and Apache. Error occurs each time when trying to export to whatever format supplied by the plugin.
No idea why and not enough skilled to search deeper into the logs. I can support giving more infos of course.
comment:13 Changed 14 years ago by
Cc: | anonymous added; alora removed |
---|
The following error seems to be due to a login/logout problem :
Trac detected an internal error: KeyError?: 'name'
I have found that when I get this error, if I clic on logout on TRAC, I am not logged out but after that if I try to do an export of a wiki page, the error does not appear anymore.
comment:14 Changed 14 years ago by
Description: | modified (diff) |
---|
comment:15 Changed 13 years ago by
Cc: | al.willmer@… added; anonymous removed |
---|
comment:16 Changed 11 years ago by
Owner: | changed from Claudio Manuel Fernández Barreiro to Ryan J Ollos |
---|---|
Status: | assigned → accepted |
comment:18 Changed 5 years ago by
Owner: | Ryan J Ollos deleted |
---|
Bug error screen capture