Author Topic: LoManager - Libreoffice - Not working  (Read 2702 times)

Offline ljjr

  • Full Member
  • ***
  • Posts: 206
Re: LoManager - Libreoffice - Not working
« Reply #15 on: March 06, 2011, 12:50:47 PM »

Hi Texstar,

Thanks for the response. Will wait for further input.

Regards,
ljjr.





Offline pinoc

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2849
    • other projects...
Re: LoManager - Libreoffice - Not working
« Reply #16 on: March 06, 2011, 12:56:51 PM »
Hi ljjr,

thanks Tex, that's right  ;) But tomorrow I planned on updating addlocale archives and no longer fiddle with lomanager because I'm pretty sure that 3.3.1-3 should work just fine.  I tested it this morning on a system with OO installed, as well as with/without LibreOffice installed. Let's try the following and assuming any version of OpenOffice has been removed and LibreOffice is not or partially installed:

1) clean out your current system:
-> start Synaptic, search for "libreoffice" and uninstall anything found
-> open a konsole as normal user and enter:
Code: [Select]
rm -fr ~/.libreoffice-> enter
Code: [Select]
su -press enter, and provide your root-password, you now have the red root-prompt. Then enter the following:
/bin/rm -fr /root/.libreoffice /root/LOtmp /tmp/LO-rpms
/bin/rm -f /opt/libreoffice* /usr/share/icons/libreoffice-* /tmp/xsulomanager /tmp/inet.log* /tmp/index.html*


2) the output you posted seems to be ok until
Quote
usr/bin/lomanager: line 612:  6963 Killed                  $ZEN2 --title="$TITLE" --info --timeout 7 --text "Verifying and extracting LO-base package..."
a) lomanager killed itself at this line or did you kill it? Line 612 of lomanager3.3.1-3 does not show this ZEN2 command which in fact is happening before at line 533  so this output looks strange to me.
b) when lomanager is running you should have seen this sequence of windows saying
- "getting LO-base package..." and a progress bar taking ~ 5 mins (depending on your connection speed) to download the base-package
- "getting LO-help package..." and a progress bar taking ~ 40 secs (depending on your connection speed) to download the help-package
- "Verifying and extracting" for about 3 secs
- a white Xterm window with the title "Installing LibreOffice..." showing the installation taking place.
- a windows asking to keep or delete the packages (at this stage the LO-installation is already done)

ljjr, could you please
- clean your system as described in 1),
- as normal user, run lomanager again: watch out for the windows showing up described in 2b) and the time to download the packages and do not interrupt the script! Let me know what happens and at which stage the script crashes.

good luck,
-p.

Offline ljjr

  • Full Member
  • ***
  • Posts: 206
Re: LoManager - Libreoffice - Not working
« Reply #17 on: March 06, 2011, 02:21:37 PM »
Hi Pinoc,
Thanks for the response. I did as requested.

1. Cleaned system:
-> start Synaptic, search for "libreoffice" and uninstall anything found
  Nothing in Synaptic associated to libreoffice except for lomanager.

-> open a konsole as normal user and enter:
Code:

rm -fr ~/.libreoffice

-> enter
  Did this, no error messages.

su -   Get the red root-prompt.
and enter the following commands:
/bin/rm -fr /root/.libreoffice /root/LOtmp /tmp/LO-rpms
/bin/rm -f /opt/libreoffice* /usr/share/icons/libreoffice-* /tmp/xsulomanager /tmp/inet.log* /tmp/index.html*
  Did this, no error messages.

Just for grins I checked to see if there was anything in the locations that you are having me delete, before I ran the above commands as root. There was nothing to delete. I ran your commands none the less and got NO error messages.

2. Tried to install lomanager as regular user:
.It popped open a box asking me to enter my root password.
   I did.
.It popped open a box asking me the language I want.
   I let it default to English
.It popped open a box saying:
- "getting LO-base package..." and a progress bar taking ~ x mins (depending on your connection speed) to download the base-package
.It popped open a box saying:
-"getting LO-help package..." and a progress bar taking ~ x secs (depending on your connection speed) to download the help-package

It took a little bit of time to download and I didn't receive any error messages and there were libreoffice rpm's in the subdirectory: /tmp/LO-rpms. These files were what i expected, so I assume everything was good up to this point.

.It popped open a box saying:
- "Verifying and extracting" for about 3 secs

.It did  ****  NOT **** pop open:
- a white Xterm window with the title "Installing LibreOffice..." showing the installation taking place.

.It did pop open a box:
- a windows asking to keep or delete the packages (at this stage the LO-installation is already done)
  I choose "NO" so it would keep the rpm files.
 
.It popped open a box with "OK" button at bottom of window with the following text:

The new LibreOffice locale is now available
from the submenus under PCmenu -> Office.

Note: to select any added locale in LibreOffice go to:
Tools -> Options -> Language Settings
         -> Languages: User Interface
Then restart LibreOffice to apply the new locale.

Have fun!

I clicked the "OK" button.
I  took a look around and saw libreoffice was NOT installed.

I got the following messages when I ran lomanager in a konsole as a regular user.

$ kdesu(18199)/kdesu (kdelibs) KDESu::PtyProcess::exec: [ /usr/src/rpm/BUILD/kdelibs-4.6.1/kdesu/process.cpp : 293 ]  Running "/usr/bin/su"
kdesu(18199)/kdesu (kdelibs) KDESu::SuProcess::ConverseSU: [ /usr/src/rpm/BUILD/kdelibs-4.6.1/kdesu/su.cpp : 259 ]  Read line "Password: "
kdesu(18199)/kdesu (kdelibs) KDESu::PtyProcess::exec: [ /usr/src/rpm/BUILD/kdelibs-4.6.1/kdesu/process.cpp : 293 ]  Running "/usr/bin/su"
kdesu(18199)/kdesu (kdelibs) KDESu::SuProcess::ConverseSU: [ /usr/src/rpm/BUILD/kdelibs-4.6.1/kdesu/su.cpp : 259 ]  Read line "Password: "
kdesu(18199)/kdesu (kdelibs) KDESu::PtyProcess::WaitSlave: [ /usr/src/rpm/BUILD/kdelibs-4.6.1/kdesu/process.cpp : 379 ]  Child pid 18229
kdesu(18199)/kdesu (kdelibs) KDESu::SuProcess::ConverseSU: [ /usr/src/rpm/BUILD/kdelibs-4.6.1/kdesu/su.cpp : 259 ]  Read line ""
kdesu(18199)/kdesu (kdelibs) KDESu::SuProcess::ConverseSU: [ /usr/src/rpm/BUILD/kdelibs-4.6.1/kdesu/su.cpp : 259 ]  Read line "kdesu_stub"
kdesu(18199)/kdesu (kdelibs) KDESu::PtyProcess::exec: [ /usr/src/rpm/BUILD/kdelibs-4.6.1/kdesu/process.cpp : 293 ]  Running "/usr/bin/su"
kdesu(18199)/kdesu (kdelibs) KDESu::SuProcess::ConverseSU: [ /usr/src/rpm/BUILD/kdelibs-4.6.1/kdesu/su.cpp : 259 ]  Read line "Password: "
kdesu(18199)/kdesu (kdelibs) KDESu::PtyProcess::WaitSlave: [ /usr/src/rpm/BUILD/kdelibs-4.6.1/kdesu/process.cpp : 379 ]  Child pid 18234
kdesu(18199)/kdesu (kdelibs) KDESu::SuProcess::ConverseSU: [ /usr/src/rpm/BUILD/kdelibs-4.6.1/kdesu/su.cpp : 259 ]  Read line ""
kdesu(18199)/kdesu (kdelibs) KDESu::SuProcess::ConverseSU: [ /usr/src/rpm/BUILD/kdelibs-4.6.1/kdesu/su.cpp : 259 ]  Read line "kdesu_stub"

In the konsole, on the line just below the last message line, positioned at the beginning of the line(documented just above), the cursor was a solid white rectangle. That rectangle never goes away even after I click the "OK" button on the erroneous message box that says libreoffice is installed. If I hit enter at this point the cursor drops down another line and becomes the normal konsole prompt.

I did NOT interrupt the script last time nor this time.

Again, encase it got lost in all the above info, not at anytime during the install process:
.It did  ****  NOT **** pop open:
- a white Xterm window with the title "Installing LibreOffice..." showing the installation taking place.


Regards,
ljjr.





Offline marcopl

  • Full Member
  • ***
  • Posts: 145
Re: LoManager - Libreoffice - Not working
« Reply #18 on: March 06, 2011, 11:24:52 PM »
i had a perfectly working copy of openoffice and now its gone. i installed koffice and its buggy, cant even save files.
i rather have openoffice back.

i am pissed off with pinoc ....lomanager should have been in testing.

tex, is there any way i can reinstall openoffice?

Hi as,
I ran lomanager in a konsole after I change to superuser.   
In the konsole I typed (at the user command prompt): su  then I entered my root password. The prompt changed from my regular user prompt to the superuser prompt of: #
Then I ran lomanager and got the above results.

Regards,
ljjr.


We will check it tomorrow. Pinoc will be at his work computer tomorrow.


Tex


Offline Texstar

  • Administrator
  • Super Villain
  • *****
  • Posts: 12540
Re: LoManager - Libreoffice - Not working
« Reply #19 on: March 07, 2011, 12:30:54 AM »
I know it can be frustrating with things don't go as intended. In simplified terms, all the script does is connect to the libreoffice site, download the required packages and rpm them into your system.  You can do the same thing by going to their site or the open office site for that matter and downloading the tarball, extracting it and installing the rpms. They have specific instructions on their respective sites. I've tested LoManager on 3 different installations so far and it installs it without issue. There is some underlying issue that is causing the script to fail. Firewall block, isp block, behind a proxy, routing issue between you and the connecting site, etc...

« Last Edit: March 07, 2011, 12:41:41 AM by Texstar »

Thanks to everyone who donates. You keep the servers running.

Offline pinoc

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2849
    • other projects...
Re: LoManager - Libreoffice - Not working
« Reply #20 on: March 07, 2011, 12:45:59 AM »
i had a perfectly working copy of openoffice and now its gone. i installed koffice and its buggy, cant even save files.
i rather have openoffice back.

i am pissed off with pinoc ....lomanager should have been in testing.

tex, is there any way i can reinstall openoffice?

Hi as,
I ran lomanager in a konsole after I change to superuser.   
In the konsole I typed (at the user command prompt): su  then I entered my root password. The prompt changed from my regular user prompt to the superuser prompt of: #
Then I ran lomanager and got the above results.

Regards,
ljjr.



We will check it tomorrow. Pinoc will be at his work computer tomorrow.


Tex





Hi marcopl,

you can
- get the previous OO from my dropbox and following the instructions here
- go jump to the OpenOffice.org website and follow their instructions
-p.

Offline pinoc

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2849
    • other projects...
Re: LoManager - Libreoffice - Not working
« Reply #21 on: March 07, 2011, 12:58:31 AM »
Hi ljjr,

that all looks ok and ready to install which is done in the white xterm window but that does  not appear for you. As normal user, please copy the following in a konsole
Code: [Select]
/bin/rm -f /tmp/checkxterm.txt && XOK=0
xterm -u8 -iconic -e touch /tmp/checkxterm.txt
if [ -e /tmp/checkxterm.txt ];then XOK="1";fi
/bin/rm -f /tmp/checkxterm.txt
echo XOK=$XOK
XXTERM='xterm -u8 -font 7x13bold -fg darkslategray -bg white '
$XXTERM

you should get the answer 1 for XOK and a white xterminal should start. Can you confirm this?
-p.

Edit:
1) since the download seems to have worked out fine and you have selected to not delete the packages, they should now be in /tmp/LO-rpms. If they are there you could now install them like this: open a konsole, become root (su -), then
Code: [Select]
cd /tmp/LO-rpms;apt-get install *.rpm2) I assume you have some problem with xterm and have modified lomanager accordingly but before uploading it I need to know about your output for XOK and if the white xterm starts as explained above.
-p.
« Last Edit: March 07, 2011, 03:26:03 AM by pinoc »

Offline Bernd

  • Full Member
  • ***
  • Posts: 57
  • Addicted to PCLinuxOS
Re: LoManager - Libreoffice - Not working
« Reply #22 on: March 07, 2011, 12:22:24 PM »
Hy Pinoc,
I installed PCLinxOS on a testing system, but it is a german REMASTER from the original PCLinuxos, called PCLinuxOS-DE-2010.12-KDE4.iso (remastered Feb 20) from the website  http://www.pclinuxosusers.de/ (a german forum) and the console output ist
07.03.2011 18:43 Uhr]
[pclosbernd@localhost 1] ~ > /bin/rm -f /tmp/checkxterm.txt && XOK=0
[pclosbernd@localhost 2] ~ > xterm -u8 -iconic -e touch /tmp/checkxterm.txt
Warning: locale not supported by Xlib, locale set to C
[pclosbernd@localhost 3] ~ > if [ -e /tmp/checkxterm.txt ];then XOK="1";fi
[pclosbernd@localhost 4] ~ > /bin/rm -f /tmp/checkxterm.txt
[pclosbernd@localhost 5] ~ > echo XOK=$XOK
XOK=1
[pclosbernd@localhost 6] ~ > XXTERM='xterm -u8 -font 7x13bold -fg darkslategray -bg white '
[pclosbernd@localhost 7] ~ > $XXTERM

So the white Xterm doesn´ t show up automatically, only when I push ENTER now.
XOK=1 means according to you x-term works 8), but I just downloads the packages but doesn't install them ( this is what the xterm window is for)

I am now back on my main system (original PCLinuxOS from December last year) and deleted all libreoffice packages and then I reinstalled them with lomanager to see what happens and had NO problems. Seems to be a problem with the remastered live cd

Cheers Bernado
Prozessor: Intel i5-2500K CPU @ 3.30GHz with onboard graphics
Motherboard: Intel DH67BLB3 with H67 Chip

Offline pinoc

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2849
    • other projects...
Re: LoManager - Libreoffice - Not working
« Reply #23 on: March 07, 2011, 12:41:43 PM »
Hy Pinoc,
I installed PCLinxOS on a testing system, but it is a german REMASTER from the original PCLinuxos, called PCLinuxOS-DE-2010.12-KDE4.iso (remastered Feb 20) from the website  http://www.pclinuxosusers.de/ (a german forum) and the console output ist
07.03.2011 18:43 Uhr]
[pclosbernd@localhost 1] ~ > /bin/rm -f /tmp/checkxterm.txt && XOK=0
[pclosbernd@localhost 2] ~ > xterm -u8 -iconic -e touch /tmp/checkxterm.txt
Warning: locale not supported by Xlib, locale set to C
[pclosbernd@localhost 3] ~ > if [ -e /tmp/checkxterm.txt ];then XOK="1";fi
[pclosbernd@localhost 4] ~ > /bin/rm -f /tmp/checkxterm.txt
[pclosbernd@localhost 5] ~ > echo XOK=$XOK
XOK=1
[pclosbernd@localhost 6] ~ > XXTERM='xterm -u8 -font 7x13bold -fg darkslategray -bg white '
[pclosbernd@localhost 7] ~ > $XXTERM

So the white Xterm doesn´ t show up automatically, only when I push ENTER now.
XOK=1 means according to you x-term works 8), but I just downloads the packages but doesn't install them ( this is what the xterm window is for)

I am now back on my main system (original PCLinuxOS from December last year) and deleted all libreoffice packages and then I reinstalled them with lomanager to see what happens and had NO problems. Seems to be a problem with the remastered live cd

Cheers Bernado


Hi Bernado,
since you are new in this thread does that mean you have the same errors as marcopl and ljjr when running lomanager?
And yes, in the command sequence I posted, the idea was to press the Enter button after the last command. And then you see the white Xterm window, correct? If I understood correctly, lomanager works fine on the original PCLinuxOS and not on the remaster from pclosusers.de?  Is your original PCLinuxOS in English or changed to German with addlocale?
Anyway, thanks for the feedback you provide, which will be helpful to improve and fix lomanager.
-p.

Offline ljjr

  • Full Member
  • ***
  • Posts: 206
Re: LoManager - Libreoffice - Not working
« Reply #24 on: March 07, 2011, 12:51:11 PM »
Hi Pinoc,

I have done what you requested, the following is copied from the konsole:

$ /bin/rm -f /tmp/checkxterm.txt && XOK=0
$ xterm -u8 -iconic -e touch /tmp/checkxterm.txt
$ if [ -e /tmp/checkxterm.txt ];then XOK="1";fi
$ /bin/rm -f /tmp/checkxterm.txt
$ echo XOK=$XOK
XOK=1
$ XXTERM='xterm -u8 -font 7x13bold -fg darkslategray -bg white '
$ $XXTERM

At this point a xterm window pops up with the following text in it:

Warning: couldn't find charset data for locale en_US; using ISO 8859-1.
$


Thanks for all your responses and patience with this.

Regards,
ljjr.

Offline Bernd

  • Full Member
  • ***
  • Posts: 57
  • Addicted to PCLinuxOS
Re: LoManager - Libreoffice - Not working
« Reply #25 on: March 07, 2011, 12:58:48 PM »
Hi Pinoc,
yes I had the same problems with the remastered version like the other gentlemen here. I changed the language with addlocale from the original one to german and had no problems with lomanager and you are right, the xterm popps up when I pressed the ENTER button  8)

Bernado
Prozessor: Intel i5-2500K CPU @ 3.30GHz with onboard graphics
Motherboard: Intel DH67BLB3 with H67 Chip

Offline pinoc

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2849
    • other projects...
Re: LoManager - Libreoffice - Not working
« Reply #26 on: March 07, 2011, 01:03:51 PM »
OK!!
Thanks ljjr and Bernado for helping with this, now I understand the problem and will send an updated lomanger tomorrow to the repos.
-p.

Offline pinoc

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2849
    • other projects...
Re: LoManager - Libreoffice - Not working
« Reply #27 on: March 07, 2011, 01:11:57 PM »
Hi ljjr,

just to be extra-sure, could you please enter the following in a terminal on the system where you have the problem:
Code: [Select]
/bin/rm -f /tmp/checkxterm.txt
xterm -u8 -iconic -e touch /tmp/checkxterm.txt
less /tmp/checkxterm.txt

and post the output back here. I assume the output will be the same warning you posted earlier.
Thanks!
-p.


Edit: btw, what did you do to the system to get this error message?? This seems to be a faulty localized system...
« Last Edit: March 07, 2011, 01:14:57 PM by pinoc »

Offline ljjr

  • Full Member
  • ***
  • Posts: 206
Re: LoManager - Libreoffice - Not working
« Reply #28 on: March 07, 2011, 01:20:06 PM »
Hi Pinoc,

I did as requested and got the following in the konsole:

~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
/tmp/checkxterm.txt lines ?-?/? (END)




Dolphin says checkterm.txt is 0Bytes


Regards,
ljjr.

Offline pinoc

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2849
    • other projects...
Re: LoManager - Libreoffice - Not working
« Reply #29 on: March 07, 2011, 01:41:27 PM »
ljjr,

can you please copy/paste this in a terminal and post back the entire output here:
Code: [Select]
/bin/rm -f /tmp/checkxterm.txt
xterm -u8 -iconic -e touch /tmp/checkxterm.txt
less /tmp/checkxterm.txt

In Dolphin, you mentioned checkterm.txt  but you should look at /tmp/checkxterm.txt instead, or did you mean that?
What happens if you open a konsole, do you get an error message there as well.
And what did you do to the system? Such an error is not normal.
-p.