cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with editing documents inline (debian lenny)

cmol
Champ in-the-making
Champ in-the-making
Hi

I've set up alfresco on a Debian Lenny, following the etch guide for OpenOffice, imagemagic, and pdf2swf.
http://wiki.alfresco.com/wiki/Installing_Labs_3_Stable_on_Debian_Etch
The image magic and swf part works fine, but I'm having trouble making inline editing of documents like .ods, .odt, .docx

When I add inline editing as an aspect, I end up with a bunch of binary code in the editor (which is not wysiwyg).

During the starup of alfresco, I get the following line:
13:26:25,076 WARN  [org.alfresco.util.OpenOfficeConnectionTester] An initial OpenOffice connection could not be established.
13:26:25,123 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'OOoDirect' subsystem, ID: [OOoDirect, default] complete

What am I missing?
2 REPLIES 2

swithun
Champ in-the-making
Champ in-the-making
I may be wrong, but I think inline editing is for plain text documents, XML, HTML and that sort of thing. Office documents, and anything in a binary format can't be meaningfully edited inline. You would need to download/check out the document, edit it with an office package, and then upload/check in the edited document.

The instance of OpenOffice is for the conversion of office documents into other formats. Does your log end with something like:

15:54:00,164  INFO  [alfresco.util.OpenOfficeConnectionTester] The OpenOffice connection was re-established.

If you do ps as the user running Alfresco, you should get something like:


17741 pts/5    00:02:13 java
17830 pts/5    00:00:00 soffice
17846 pts/5    00:00:00 soffice.bin

indicating that OpenOffice is running.

I think most of these online word processors use HTML. I suppose OpenOffice could convert an office format document to HTML, then Alfresco would let you edit it with one of these web based word processors, and, on saving, OpenOffice would convert back to an office format. But I don't think Alfresco can do that at the moment.

cmol
Champ in-the-making
Champ in-the-making
I thought is was the brilliant thing about alfresco, that I could edit odt files and so inline.
Since it's mostly xml as I recall, it wouldn't seem that hard?

I have in the log:
13:27:00,466 INFO  [org.alfresco.util.OpenOfficeConnectionTester] The OpenOffice connection was re-established.

So i should be running.
Also:

123456 ?        S<     0:00 /bin/sh /usr/bin/soffice -accept=socket,host=localhost,port=8100;urp;StarOffice.ServiceManager -env:UserInstallation=file:///opt/alfresco/alf_data/oouser -nologo -headless -nofirststartwizard -nocrashrep -norestore
223456 ?        S<l    0:11 /usr/lib/openoffice/program/soffice.bin -accept=socket,host=localhost,port=8100;urp;StarOffice.ServiceManager -env:UserInstallation=file:///opt/alfresco/alf_data/oouser -nologo -headless -nofirststartwizard -nocrashrep -norestore

The idea of alfresco not being able to do this, puzzles me.