To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=56236
                  Issue #:|56236
                  Summary:|Python macros does not work on Linux
                Component:|framework
                  Version:|OOO 2.0 Beta2
                 Platform:|All
                      URL:|
               OS/Version:|Linux
                   Status:|UNCONFIRMED
        Status whiteboard:|
                 Keywords:|
               Resolution:|
               Issue type:|DEFECT
                 Priority:|P3
             Subcomponent:|scripting
              Assigned to:|npower
              Reported by:|faide





------- Additional comments from [EMAIL PROTECTED] Tue Oct 18 14:50:16 -0700 
2005 -------
- Context:
On a Gentoo system using the latest version OOo 2.0 rc3 (same behaviour was
exhibited by all previous 1.9.xx)

I have correctly set a link named python-core pointing to the python-core-2.3.4
directory
I have correctly created a link called python to python.sh
I have chmod'ed +x $sd_prog/python-core/bin/python

I can successfully launch python from the program dir and import uno and 
pyuno...

BUT:
when I try to run a python macro I get an error message saying "The scripting
language Python is not supported".
At the same time on the terminal where I launched OOo I can read the following
error message :

'import site' failed; use -v for traceback

the same document works fine under windows and the python macro works like a
charm since months...

I know the above error message is a problem when the python binary does not
correctly find its initialization stuff... What baffles me is that the python
interpreter works correclty when launched from the terminal in the program
directory.

I suspect a packaging issue here since I found only one corresponding problem
(nearly) that was on OSX and that came from plain tar archive not executing
postinstall statements...

I then found the post-install script be it does nothing more than what I already
did manually...

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to