[api-issues] [Issue 90701] PyUNO broken in OOo 3.0 DE V300 with system python

2010-06-23 Thread rene
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=90701





--- Additional comments from r...@openoffice.org Wed Jun 23 07:56:32 + 
2010 ---
FTR, debian in the meanwhile also uses caolans hack because the rpath hack
didn't work anymore :)

-
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: issues-unsubscr...@api.openoffice.org
For additional commands, e-mail: issues-h...@api.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[api-issues] [Issue 90701] PyUNO broken in OOo 3.0 DE V300 with system python

2009-04-01 Thread sb
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=90701





--- Additional comments from s...@openoffice.org Wed Apr  1 08:06:03 + 
2009 ---
Re <#desc2>, see issue 97629 for the additional requirement (c) to set the
UNO_PATH environment variable so that officehelper.py can start soffice.

-
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: issues-unsubscr...@api.openoffice.org
For additional commands, e-mail: issues-h...@api.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[api-issues] [Issue 90701] PyUNO broken in OOo 3.0 DE V300 with system python

2009-03-30 Thread aziem
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=90701


User aziem changed the following:

What|Old value |New value

Keywords|  |oooqa, regression





-
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: issues-unsubscr...@api.openoffice.org
For additional commands, e-mail: issues-h...@api.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[api-issues] [Issue 90701] PyUNO broken in OOo 3.0 DE V300 with system python

2008-10-07 Thread rene
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=90701


User rene changed the following:

What|Old value |New value

  CC|'aziem,haggai,pmladek,sb' |'aziem,haggai,pmladek,rene
|  |,sb'





-
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]



[api-issues] [Issue 90701] PyUNO broken in OOo 3.0 DE V300 with system python

2008-10-07 Thread haggai
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=90701


User haggai changed the following:

What|Old value |New value

  CC|'aziem,pmladek,sb'|'aziem,haggai,pmladek,sb'





-
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]



[api-issues] [Issue 90701] PyUNO broken in OOo 3.0 DE V300 with system python

2008-06-16 Thread cmc
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=90701





--- Additional comments from [EMAIL PROTECTED] Mon Jun 16 10:37:03 + 
2008 ---
cmc->kendy: indeed, you either need the debian-esque rpath hack (which would
then need to be extended for the multilib /usr/lib64 on 64bit systems like
suse/redhat) in ooo-build, or you need the 

import sys
sys.path.append(/path/to/office/program)

hack at the top of uno.py like fedora, and the relocation into the "standard"
python locations, here's the dump from my own spec to do the relocation and 
fixup

%define instdir %{_libdir}
%define baseinstdir %{instdir}/openoffice.org
%define basisinstdir %{baseinstdir}/basis3.0

%define python_py_sitearch %(%{__python} -c "from distutils.sysconfig import
get_python_lib; print get_python_lib(0)")

# move python bits into site-packages
mkdir -p $RPM_BUILD_ROOT/%{python_py_sitearch}
pushd $RPM_BUILD_ROOT/%{python_py_sitearch}
echo "import sys, os" > uno.py
echo "sys.path.append('%{basisinstdir}/program')" >> uno.py
echo "os.putenv('URE_BOOTSTRAP',
'vnd.sun.star.pathname:%{oooinstdir}/program/fundamentalrc')" >> uno.py
cat $RPM_BUILD_ROOT/%{basisinstdir}/program/uno.py >> uno.py
rm -f $RPM_BUILD_ROOT/%{basisinstdir}/program/uno.py*
mv -f $RPM_BUILD_ROOT/%{basisinstdir}/program/unohelper.py* .
popd


-
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]



[api-issues] [Issue 90701] PyUNO broken in OOo 3.0 DE V300 with system python

2008-06-13 Thread kendy
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=90701


User kendy changed the following:

What|Old value |New value

  CC|'aziem,sb'|'aziem,pmladek,sb'





--- Additional comments from [EMAIL PROTECTED] Fri Jun 13 16:38:48 + 
2008 ---
cmc: So, apparently in openSUSE we don't have pyuno working out of the box, 
what I need to do to get it running is

PYTHONPATH=/usr/lib64/ooo-2.0/program python blah.py
[where blah.py contains just the 'import uno']

According to sb's comment, and with your finding, I hope an additional 
URE_BOOTSTRAP will do it for me when I get to m19 :-)

cmc: Wrt. setting prefixes in the configure, I've filed a bug against is, 
maybe this could go together with it?  It is issue 90430.

pmladek: What do you think, please?

-
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]



[api-issues] [Issue 90701] PyUNO broken in OOo 3.0 DE V300 with system python

2008-06-13 Thread aziem
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=90701


User aziem changed the following:

What|Old value |New value

  CC|'sb'  |'aziem,sb'





-
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]



[api-issues] [Issue 90701] PyUNO broken in OOo 3.0 DE V300 with system python

2008-06-13 Thread cmc
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=90701





--- Additional comments from [EMAIL PROTECTED] Fri Jun 13 16:13:59 + 
2008 ---
If I had total free reign, I'd take the standard configure --libdir argument as
the basis dir that everything gets installed into and tweak the configure
--disable-epm to export a suitable PKGFORMATSWITCH with a -simple DIR of
that_prefix_dir (as a side effect making all distros use LIBDIR/openoffice.org3
and LIBDIR/openoffice.org as their OOo directories) and make SYSTEM_PYTHON add
into uno.py during the build my above lines.

-
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]



[api-issues] [Issue 90701] PyUNO broken in OOo 3.0 DE V300 with system python

2008-06-13 Thread cmc
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=90701


User cmc changed the following:

What|Old value |New value

 Version|OOH680m15 |DEV300m19





--- Additional comments from [EMAIL PROTECTED] Fri Jun 13 15:43:27 + 
2008 ---
So this is new "fixed" for the fedora system python builds.

I guess the question is if this sort of a fix is upstreamable in any sane way
because we'd need to know in advance where OOo will be installed and we don't
know that until we get to instsetoo_native

-
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]



[api-issues] [Issue 90701] PyUNO broken in OOo 3.0 DE V300 with system python

2008-06-13 Thread cmc
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=90701


User cmc changed the following:

What|Old value |New value

  CC|'caolan,sb'   |'sb'





--- Additional comments from [EMAIL PROTECTED] Fri Jun 13 15:36:23 + 
2008 ---
So as sb says, If I just do

export
URE_BOOTSTRAP=vnd.sun.star.path:/usr/lib/openoffice.org3/program/fundamentalrc

then it'll work.

Hmm, now for *my* packaging, even with broffice.org installed, I always have an
openoffice.org3/program/fundamentalrc installed too.

So for me anyway, doing...

echo "import sys, os" > uno.py
echo "sys.path.append('%{basisinstdir}/program')" >> uno.py
echo "os.putenv('URE_BOOTSTRAP',
'vnd.sun.star.pathname:%{oooinstdir}/program/fundamentalrc')

would work fine

-
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]



[api-issues] [Issue 90701] PyUNO broken in OOo 3.0 DE V300 with system python

2008-06-13 Thread cmc
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=90701





--- Additional comments from [EMAIL PROTECTED] Fri Jun 13 15:23:26 + 
2008 ---
Crap, its not like I even know what's going on :-)

wrt. a) finding pyuno. We tweak things a bit to make "import uno" work out of
the box anyway by 

echo "import sys" > uno.py
echo "sys.path.append('%{basisinstdir}/program')" >> uno.py

and sticking uno.py in the system python place. I believe that ooo-build has a
(nasty hardcoded to /usr/lib) rpath to make "import pyuno" work. So...

cmc->kendy: does running the suse system python with openoffice.org-pyuno
installed and typing into it
import uno
work ?

I'm not sure if that's sufficient, but I assume its necessary anyway.

-
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]



[api-issues] [Issue 90701] PyUNO broken in OOo 3.0 DE V300 with system python

2008-06-13 Thread sb
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=90701


User sb changed the following:

What|Old value |New value

  CC|'caolan'  |'caolan,sb'

 Assigned to|sb|cmc





--- Additional comments from [EMAIL PROTECTED] Fri Jun 13 15:11:23 + 
2008 ---
@kendy:  You need at least DEV300m19 to get this working at all.

@cmc:  Figuring from your comment to issue 88211 that you are willing to create
a fix for this issue?  ;)  Thanks.

As discussed at
, SYSTEM_PYTHON
PyUNO is indeed still broken.  For non-SYSTEM_PYTHON, the problem got fixed by
pyuno/zipcore/python.sh:1.10 (which is installed as
/opt/openoffice.org3/program/python), the two main points probably also relevant
for SYSTEM_PYTHON being to (a) "Set LD_LIBRARY_PATH so that 'import pyuno' finds
libpyuno.so" and (b) "Set URE_BOOTSTRAP so that 'uno.getComponentContext()'
bootstraps a complete OOo UNO environment".

-
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]



[api-issues] [Issue 90701] PyUNO broken in OOo 3.0 DE V300 with system python

2008-06-13 Thread kendy
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=90701
 Issue #|90701
 Summary|PyUNO broken in OOo 3.0 DEV300 with system python
   Component|api
 Version|OOH680m15
Platform|All
 URL|
  OS/Version|All
  Status|NEW
   Status whiteboard|
Keywords|
  Resolution|
  Issue type|DEFECT
Priority|P3
Subcomponent|code
 Assigned to|sb
 Reported by|kendy





--- Additional comments from [EMAIL PROTECTED] Fri Jun 13 14:33:46 + 
2008 ---
Issue 88211 still seems to be valid with system python; or at least I and 
Caolan both fail to run DocumentConverter.py (I tried with m14, Caolan with 
m19).

I did some desperate attempts to work it around like exporting 
URE_BOOTSTRAP='vnd.sun.star.pathname:/program/fundamentalrc',
 
but so far to no avail :-(

Please - is it a bug, or am I doing something wrong?

-
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]