Modify

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#4403 closed defect (fixed)

wikiexportplugin needs prerequisites

Reported by: didley@… Owned by: sfhynx
Priority: normal Component: WikiExportPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

Hello,

I installed WikiExportPlugin after this the logfile contains can't import "No module named BeautifulSoup".

So I installed beautiful soup. Now the logfile contains can't import "No module named uno".

Please would you describe which prerequsites I need for WikiExportPlugin?

THX didley

Attachments (0)

Change History (7)

comment:1 Changed 5 years ago by didley@…

Hi,

it was a misunderstanding. Now I did read that I need python-uno 2.4.1 .

Means that that I can't use it with Python 2.5 (r25:51908, Sep 19 2006, 09:52:17) [MSC v.1310 32 bit (Intel)] ??

regards didley

comment:2 Changed 5 years ago by sfhynx

  • Status changed from new to assigned

You can use python 2.5 without problems. The py-uno version is for OpenOffice 2.4.

comment:3 Changed 5 years ago by didley@…

Please understand my Problem.

As I wrote I'm using python 2.5 but in my log file comes up can't import "No module named uno"

I'm using OpenOffice 2.4 and I have it started as you wrote.

thx didley

comment:4 Changed 5 years ago by anonymous

python-uno module is a independent module, you need install it in your system. If your OS uses apt, you can install it using the next command:

apt-get install python-uno

If your OS is Mac based, I don't find a version of python-uno for Mac.

If your OS is Windows, the next article can help you:

http://wiki.services.openoffice.org/wiki/Using_Python_on_Windows

comment:5 Changed 5 years ago by sfhynx

  • Resolution set to fixed
  • Status changed from assigned to closed

comment:6 Changed 5 years ago by didley@…

Thanx for the Information. Idid read your link about Using_Python_ON_Windows.
All there is written I have done.

  • Uno comes with OpenOffice
  • the component from oOO is selectet

But it works not. I suppose my trac python don't knows there is a uno module.
How can I tell my Python there is one?

comment:7 Changed 5 years ago by sfhynx

The next forum can help you:

http://www.velocityreviews.com/forums/t354725-pyuno-with-different-python.html

In special, can be util the next post:

Yes and no.
I have both 2.3 and 2.4 on my debian system and with both, the program
at: http://udk.openoffice.org/python/samples/ooextract.py

work well with a modify:
before the first line "import uno", add:

import sys
sys.path.append("/opt/openoffice.org2.0/program/")

And modify the path.

Add Comment

Modify Ticket

Action
as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from sfhynx. Next status will be '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.