#6 — AROfficeTransforms present but can not be installed
by
Graham Perrin
—
last modified
Jan 03, 2009 05:30 AM
| State | Rejected |
|---|---|
| Version: | 0.9.2 |
| Area | Process |
| Issue type | Bug |
| Severity | Medium |
| Submitted by | Graham Perrin |
| Submitted on | Dec 06, 2007 |
| Responsible | Thierry BENITA |
| Target release: |
—
|
Previously, experimenting with a Plone 3 site, I installed AROfficeTransforms and found that with ARFilePreview it worked for (at least) ODF. Great.
Now, as I try to install AROfficeTransforms on a different site:
* Plone control panel _does_ list AROfficeTransforms as installable
but
* when I select the product then click install, it does _not_ move to the list of installed products.
----
Plone 3.0.3
CMF-2.1.0
Zope (Zope 2.10.5-final, python 2.4.4, darwin)
Python 2.4.4 (#1, Nov 17 2007, 13:42:26) [GCC 4.0.1 (Apple Computer, Inc. build 5332)]
PIL 1.1.6
Mac OS X Server 10.4.11
Power PC (Macintosh Server G4)
Debug infomration from
http://plone3.freeman-centre.ac.uk/[…]/manage_main
has been pasted to
http://paste.plone.org/18363
List of products from
http://plone3.freeman-centre.ac.uk/[…]/manage_main
has been pasted to
http://paste.plone.org/18364
I am currently using MacPorts to install wv
but from my previous successful use of AROfficeTransforms, I don't recall _absolute_ requirements such as this.
Considering the debug information, I have a notion of what may be causing the issue.
I will investigate.
Suggestions will be welcome.
Thank you
Graham Perrin
Now, as I try to install AROfficeTransforms on a different site:
* Plone control panel _does_ list AROfficeTransforms as installable
but
* when I select the product then click install, it does _not_ move to the list of installed products.
----
Plone 3.0.3
CMF-2.1.0
Zope (Zope 2.10.5-final, python 2.4.4, darwin)
Python 2.4.4 (#1, Nov 17 2007, 13:42:26) [GCC 4.0.1 (Apple Computer, Inc. build 5332)]
PIL 1.1.6
Mac OS X Server 10.4.11
Power PC (Macintosh Server G4)
Debug infomration from
http://plone3.freeman-centre.ac.uk/[…]/manage_main
has been pasted to
http://paste.plone.org/18363
List of products from
http://plone3.freeman-centre.ac.uk/[…]/manage_main
has been pasted to
http://paste.plone.org/18364
I am currently using MacPorts to install wv
but from my previous successful use of AROfficeTransforms, I don't recall _absolute_ requirements such as this.
Considering the debug information, I have a notion of what may be causing the issue.
I will investigate.
Suggestions will be welcome.
Thank you
Graham Perrin
Added by
Graham Perrin
on
Dec 06, 2007 08:54 AM
Focusing on debug information lines:
Responsible manager:
tbenita
→
(UNASSIGNED)
/Applications/Plone-3.0.3/Python-2.4.4/lib/python2.4/site-packages/collective.captcha-1.1-py2.4.egg
/Applications/Plone-3.0.3/Python-2.4.4/lib/python2.4/site-packages/zopyx.convert-1.0.6-py2.4.egg
The current Plone site includes some but not all aspects of previous sites with which I experimented.
I did place, but did not use Plone control panel to install, TextIndexNG3
<http://opensource.zopyx.com/software/textindexng3/>. Re
<http://cheeseshop.python.org/pypi/zopyx.convert/1.0.6>
> zopyx.convert is build on the commercial converters XINC/XFC
I preferred to not install.
Similarly, I installed
collective.captcha
but have not actually done anything with it.
I wondered whether the eggs should be removed.
----
msg4:/Applications/Plone-3.0.3/Python-2.4.4/lib/python2.4/site-packages centrimadmin$ pwd
/Applications/Plone-3.0.3/Python-2.4.4/lib/python2.4/site-packages
msg4:/Applications/Plone-3.0.3/Python-2.4.4/lib/python2.4/site-packages centrimadmin$ ls -hlt
total 5648
-rw-r--r-- 1 root admin 136K Dec 4 18:29 Levenshtein.so
-rwxrwxr-x 1 plone admin 363B Dec 2 07:46 easy-install.pth
drwxr-xr-x 4 root admin 136B Dec 2 07:46 zopyx.convert-1.0.6-py2.4.egg
drwxr-xr-x 4 root admin 136B Dec 1 20:39 collective.captcha-1.1-py2.4.egg
drwxr-xr-x 26 root admin 884B Dec 1 20:38 skimpyGimpy
drwxr-xr-x 4 root admin 136B Dec 1 16:21 Products.SimpleAttachment-3.0.2-py2.4.egg
drwxr-xr-x 4 root admin 136B Dec 1 16:21 Products.Ploneboard-2.0b1-py2.4.egg
-rwxrwxr-x 1 plone admin 37B Nov 29 22:08 zope.pth
drwxrwxr-x 28 plone admin 952B Nov 17 21:52 openid
-rwxrwxr-x 1 plone admin 10K Nov 17 21:52 drv_libxml2.pyc
-rwxrwxr-x 1 plone admin 401K Nov 17 21:52 libxml2.pyc
-rwxrwxr-x 1 plone admin 906K Nov 17 21:52 libxml2mod.so
-rwxrwxr-x 1 plone admin 46K Nov 17 21:52 libxslt.pyc
-rwxrwxr-x 1 plone admin 906K Nov 17 21:52 libxsltmod.so
-rwxrwxr-x 1 plone admin 38K Nov 17 21:51 libxslt.py
-rwxrwxr-x 1 plone admin 324K Nov 17 21:51 libxml2.py
drwxrwxr-x 161 plone admin 5K Nov 17 21:45 PIL
-rwxrwxr-x 1 plone admin 4B Nov 17 21:45 PIL.pth
drwxrwxr-x 24 plone admin 816B Nov 17 21:45 elementtree
drwxrwxr-x 10 plone admin 340B Nov 17 21:45 setuptools-0.6c7-py2.4.egg
-rwxrwxr-x 1 plone admin 29B Nov 17 21:45 setuptools.pth
-rwxrwxr-x 1 plone admin 119B Nov 17 21:44 README
-rwxrwxr-x 1 plone admin 14K Sep 5 2005 drv_libxml2.py
----
Noted that some items are owned by root (not by plone) so
msg4:/Applications/Plone-3.0.3/Python-2.4.4/lib/python2.4/site-packages centrimadmin$ sudo chown -R plone .
msg4:/Applications/Plone-3.0.3/Python-2.4.4/lib/python2.4/site-packages centrimadmin$ sudo SystemStarter restart Plone-3.0.3
. . daemon process stopped
. daemon process started, pid=921
Added by
Graham Perrin
on
Dec 06, 2007 09:02 AM
chown then restart Zope/Plone did not resolve the issue so I am experimenting with archiving then setting aside/removing
zopyx.convert --
msg4:/Applications/Plone-3.0.3/Python-2.4.4/lib/python2.4/site-packages centrimadmin$ sudo tar zcvf zopyx.convert-1.0.6-py2.4.egg.tgz zopyx.convert-1.0.6-py2.4.egg
msg4:/Applications/Plone-3.0.3/Python-2.4.4/lib/python2.4/site-packages centrimadmin$ sudo rm -r zopyx.convert-1.0.6-py2.4.egg
msg4:/Applications/Plone-3.0.3/Python-2.4.4/lib/python2.4/site-packages centrimadmin$ sudo mv zopyx.convert-1.0.6-py2.4.egg.tgz /Users/Shared
sudo SystemStarter restart Plone-3.0.3
Added by
Graham Perrin
on
Dec 06, 2007 09:10 AM
Might there be a conflict with
skimpyGimpy (a requirement of collective.captcha)?
Also, I'll try removing then replacing AROfficeTransforms.
Added by
Thierry BENITA
on
Dec 06, 2007 06:15 PM
Did you check that _all_ the system binaries mentioned in the README file are installed and available to the user that runs Zope ?
Added by
Thierry BENITA
on
Dec 06, 2007 06:17 PM
Could you also provide some informations on how to install these dependancies on Mac OS/X (packages, command names etc.)
Responsible manager:
(UNASSIGNED)
→
tbenita
Thanks.
Added by
Graham Perrin
on
Dec 07, 2007 03:20 AM
> available to the user that runs Zope ?
On this type of Mac OS X installation: files in the Zope/Plone installation are typically owned by user named
plone
> _all_ the system binaries mentioned in the README
The curious thing: when I previously experimented with AROfficeTransforms, possibly using 0.9.2 from SVN, I'm fairly sure that *not* all binaries were present. I assumed that not all are required, because on that earlier occasion I found that
* ODF files were previewed (I guess, AROfficeTransformed)
* PDF and Microsoft formats were _not_ previewed.
> install these dependancies
>> xsltproc
>> unzip
Present on Mac OS X Server 10.4.11 with Xcode developer tools installed.
Maybe, also present on ordinary Mac OS X 10.4.11.
http://developer.apple.com/[…]/xsltproc.1.html
>> pdftohtml
Installed using
MacPorts http://www.macports.org/
>> wv
wv should also be installable using MacPorts
but my attempts have coincided with a bug affecting a dependency,
http://trac.macosforge.org/[…]/13448#comment:28
>> ppthtml
As I recall this installed without difficulty from source.
>> xlhtml
I had difficulty with source from http://chicago.sourceforge.net/xlhtml/ but via Google and http://www.us.es/[…]/sample.txt I found
xlhtml-0.5.1-vd2.tgz
at http://nebuchadnezzar.zion.cz/xlhtml.php
-- that is, or was, a "pre-release/release candidate/fork".
> available to the user that runs Zope ?
Some of the binaries are at a path
/usr/local/bin
that is NOT standard on Mac OS X:
msg4:/usr/local/bin centrimadmin$ ls -l
total 488
-rwxr-xr-x 1 root wheel 444 Dec 6 07:02 nsopen
-rwxr-xr-x 1 root wheel 568 Dec 6 07:02 nspptview
-rwxr-xr-x 1 root wheel 569 Dec 6 07:02 nsxlview
-rwxr-xr-x 1 root wheel 68936 Dec 6 07:02 ppthtml
-rwxr-xr-x 1 root wheel 167736 Dec 6 07:02 xlhtml
(nothing else in that directory).
I lacked the knowledge to install them to the more proper
/usr/bin
I might symlink selected items in
/usr/local/bin
so that they appear at
/usr/bin
but first, I'll await your advice regarding requirement of *all* binaries.
* Are some optional?
* Or must all be present before the product can install?
Thanks
Graham
----
Also, the
plone user
has no shell; Apple's NetInfo Manger shows
/usr/bin/false
I wonder whether it's possible to set an environment for the plone user. I am not expert. This may be irrelevant if I take a symlink approach to making binaries available at a typical Mac OS path.
Added by
Graham Perrin
on
Dec 07, 2007 03:26 AM
I wonder, would a broken index in the catalog be relevant?
http://dev.plone.org/plone/ticket/7453
Added by
Graham Perrin
on
Dec 07, 2007 03:36 AM
> available to the user that runs Zope ?
On this type of Mac OS X installation: files in the Zope/Plone installation are typically owned by user named
plone
> _all_ the system binaries mentioned in the README
The curious thing: when I previously experimented with AROfficeTransforms, possibly using 0.9.2 from SVN, I'm fairly sure that *not* all binaries were present. I assumed that not all are required, because on that earlier occasion I found that
* ODF files were previewed (I guess, AROfficeTransformed)
* PDF and Microsoft formats were _not_ previewed.
> install these dependancies
>> xsltproc
>> unzip
Present on Mac OS X Server 10.4.11 with Xcode developer tools installed.
Maybe, also present on ordinary Mac OS X 10.4.11.
http://developer.apple.com/[…]/xsltproc.1.html
>> pdftohtml
Installed using
MacPorts http://www.macports.org/
>> wv
wv should also be installable using MacPorts
but my attempts have coincided with a bug affecting a dependency,
http://trac.macosforge.org/[…]/13448#comment:28
>> ppthtml
As I recall this installed without difficulty from source.
>> xlhtml
I had difficulty with source from http://chicago.sourceforge.net/xlhtml/ but via Google and http://www.us.es/[…]/sample.txt I found
xlhtml-0.5.1-vd2.tgz
at http://nebuchadnezzar.zion.cz/xlhtml.php
-- that is, or was, a "pre-release/release candidate/fork".
> available to the user that runs Zope ?
Some of the binaries are at a path
/usr/local/bin
that is NOT standard on Mac OS X:
msg4:/usr/local/bin centrimadmin$ ls -l
total 488
-rwxr-xr-x 1 root wheel 444 Dec 6 07:02 nsopen
-rwxr-xr-x 1 root wheel 568 Dec 6 07:02 nspptview
-rwxr-xr-x 1 root wheel 569 Dec 6 07:02 nsxlview
-rwxr-xr-x 1 root wheel 68936 Dec 6 07:02 ppthtml
-rwxr-xr-x 1 root wheel 167736 Dec 6 07:02 xlhtml
(nothing else in that directory).
I lacked the knowledge to install them to the more proper
/usr/bin
I might symlink selected items in
/usr/local/bin
so that they appear at
/usr/bin
but first, I'll await your advice regarding requirement of *all* binaries.
* Are some optional?
* Or must all be present before the product can install?
Thanks
Graham
----
Also, the
plone user
has no shell; Apple's NetInfo Manger shows
/usr/bin/false
I wonder whether it's possible to set an environment for the plone user. I am not expert. This may be irrelevant if I take a symlink approach to making binaries available at a typical Mac OS path.
Added by
Graham Perrin
on
Dec 09, 2007 05:12 AM
Here's some debug information, I don't know whether it will help.
Added by
Graham Perrin
on
Dec 09, 2007 02:34 PM
> I might symlink selected items in
> /usr/local/bin
> so that they appear at
> /usr/bin
OK ... for the five items that are at unusual path
/usr/local/bin
msg4:/usr/local/bin centrimadmin$ ls -l
total 488
-rwxr-xr-x 1 root wheel 444 Dec 6 07:02 nsopen
-rwxr-xr-x 1 root wheel 568 Dec 6 07:02 nspptview
-rwxr-xr-x 1 root wheel 569 Dec 6 07:02 nsxlview
-rwxr-xr-x 1 root wheel 68936 Dec 6 07:02 ppthtml
-rwxr-xr-x 1 root wheel 167736 Dec 6 07:02 xlhtml
-- I have created symlinks at
/opt/local/bin
-- http://paste.plone.org/18438 for the current full listing of
/opt/local/bin
----
http://paste.plone.org/18439 for the directory listing of
/usr/bin
and whilst there are various symlinks at this path, we should probably *not* be tempted to change anything at this path. It may be one of the paths that is best left untouched in a Mac OS X context.
Added by
Graham Perrin
on
Dec 10, 2007 02:18 AM
Added a line to
/Library/StartupItems/Plone-3.0.3/Plone-3.0.3
-- that is, within the optional startup item package that's offered by the installer for Mac OS X.
http://pastie.textmate.org/126361 shows this at line 12.
sudo systemstarter restart Plone-3.0.3
after which, at
/prefs_install_products_form
I installed AROfficeTransforms :-)
Credit to moldy in irc://irc.freenode.net/#plone for steering me.
Added by
Graham Perrin
on
Dec 11, 2007 02:06 PM
Summary:
* from my perspective, this issue 6 (present but can not be installed) can be closed.
Thanks
Graham
Added by
Thierry BENITA
on
Mar 14, 2008 06:10 PM
thanks for all these usefull informations ; I'll add a link to this ticket.
Issue state:
unconfirmed
→
rejected
Added by
Thierry BENITA
on
Mar 14, 2008 06:11 PM
thanks for all these usefull informations ; I'll add a link to this ticket.
Added by
(anonymous)
on
Aug 02, 2008 07:52 PM
rere
No responses can be added.
If you can, please log in before submitting a reaction.
