'module' object has no attribute 'systemPathToFileUrl'
I use web2py python framework with python26 & Open Office 3.3 mode server. Pls help me on this bug:
File "E:/web2py1.
renderer.run()
File "E:\web2py1.
self.finalize()
File "E:\web2py1.
output = self.callOpenOf
File "E:\web2py1.
self.
File "E:\web2py1.
self.docUrl, self.docPath = self.getInputUr
File "E:\web2py1.
return uno.systemPathT
AttributeError: 'module' object has no attribute 'systemPathToFi
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Appy Edit question
- Assignee:
- No assignee Edit question
- Last query:
- 2011-02-23
- Last reply:
- 2011-02-23
Hello !
Please could you try this:
at the beginning of file appy\pod\
In the same file, instead of calling "uno.systemPath
Does it work ?
Thanks a lot!
Cheers
Gaetan
Toan (toan75) said : | #2 |
Thank Gaetan.
I tried and It's done same error. I think it's missing pyuno.py? Where i can find it?
>>> import pyuno
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: DLL load failed: The specified module could not be found.
Toan.
So it seems that your problem is not POD-related, but is tied to your Python interpreter which is not fully UNO-compliant.
OpenOffice ships with a UNO-compliant Python interpreter, is it the one you use? Typically such an interpreter can be found in <where_
In the Renderer you can specify a param with the path to a UNO-compliant Python interpreter, if the one running appy.pod isn't.
Gaetan
Can you help with this problem?
Provide an answer of your own, or ask Toan for more information if necessary.