Author Topic: LibreOffice Manager (lomanager)  (Read 127062 times)

Offline pinoc

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2840
    • other projects...
Re: LibreOffice Manager (lomanager)
« Reply #450 on: July 29, 2011, 09:13:34 AM »
the first sentence says
Quote
Please be advised all users of PCLinuxOS will need to install and run aptupgrade when it appears in the software repository.
This package is in the repo for more than a month. The updated rpm, apt-get and Synaptic versions are also part of all new isos since 2011.06. And we now have one nice example what can happen if users are still not updated to the current version of rpm. By now, it is evident that the dependency-issues with lomanager are caused by using the outdated rpm because the LO-packages are installed, and their dependencies checked, using the rpm command. I can confirm that the dependencies are different when using the old or the uptodate rpm-command. And assuming that everyone followed the advice to have run aptupgrade once I set up lomanager accordingly, meaning it also works for any iso from 2011.06 onwards. It was only after Tex told me about a missing dependency, which I did not have, that it became clear that the old rpm-version caused problems.

Quote
If you fail to install and run aptupgrade, your Synaptic Packager Manager will eventually fail
, and here is the proof: lomanager does not work with the old rpm-version but works fine using the uptodate rpm.
=> only if you use an install prior to 2011.06 please run aptupgrade once, reboot and you are set for the future.

-p.

Online Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10624
  • MLUs Forever!
Re: LibreOffice Manager (lomanager)
« Reply #451 on: July 29, 2011, 09:29:34 AM »
Maybe then it is time that the notice, telling users of pre-2011 installs to run this package, was put up as promised to avoid the unnecessary confusion that exists ....... 
MLUs rule the roost!

Linux XPS 3.2.18-pclos2.pae.bfs  32 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline The Chief

  • Hero Member
  • *****
  • Posts: 2237
Re: LibreOffice Manager (lomanager)
« Reply #452 on: July 29, 2011, 12:35:10 PM »
Maybe then it is time that the notice, telling users of pre-2011 installs to run this package, was put up as promised to avoid the unnecessary confusion that exists ....... 


If you notice, it is at the top of the list in Software Announcements http://www.pclinuxos.com/forum/index.php/board,66.0.html, and has been for sometime...  since mid June, anyway.

Retired Senior Chief, Retired Software Engineer, Active GrandPa

Online Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10624
  • MLUs Forever!
Re: LibreOffice Manager (lomanager)
« Reply #453 on: July 29, 2011, 01:38:57 PM »
Maybe then it is time that the notice, telling users of pre-2011 installs to run this package, was put up as promised to avoid the unnecessary confusion that exists ....... 


If you notice, it is at the top of the list in Software Announcements http://www.pclinuxos.com/forum/index.php/board,66.0.html, and has been for sometime...  since mid June, anyway.


If you read that post, and also my previous post here, you will clearly see what I am saying ..... I quote again from that post you linked to ...

Another notice will be posted when the package is available for installation and what is required for successful installation.

I have no idea how you read that, but to me it means a user should wait until the next notice is posted telling them it is time to run aptupgrade.

regards.
MLUs rule the roost!

Linux XPS 3.2.18-pclos2.pae.bfs  32 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Online Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
Re: LibreOffice Manager (lomanager)
« Reply #454 on: July 29, 2011, 01:55:16 PM »

Offline melodie

  • Hero Member
  • *****
  • Posts: 5942
  • XMMP=Jabber, free instant messaging protocol !
    • PCLinuxOS Fr
Re: LibreOffice Manager (lomanager)
« Reply #455 on: July 29, 2011, 03:00:20 PM »
Hi,

I do have the apt chain up to date. I just tried last lomanager, but it does not work. First it was looking like it was killing my shell, really. I had the side bar going down fast and could not access to a prompt so I had to shutdown the terminal.

Then I read the other thread at software and gave it a try with the "--debug" option. Here is the result in last window show:

Quote
S'il vous plaît mettre à jour lomanager à la dernière version
et ensuite relancez à nouveau le gestionnaire LibreOffice.

Fermeture du programme...


"Please to update lomanager to last version and after restart again the Libreoffice manager.

Shutting down the program..."

The console on her side contains this:
Code: [Select]
$ lomanager --debug


# i18n - Internationalization
#====================================================
export TEXTDOMAIN=lomanager
+ export TEXTDOMAIN=lomanager
+ TEXTDOMAIN=lomanager
export TEXTDOMAINDIR="/usr/share/locale"
+ export TEXTDOMAINDIR=/usr/share/locale
+ TEXTDOMAINDIR=/usr/share/locale

# define some variables
#=================================================
lomil="/tmp/lomanager-install.log"
+ lomil=/tmp/lomanager-install.log
LOCURRENT="340m1(Build:103)" # Pinoc: update and insert losort
+ LOCURRENT='340m1(Build:103)'
glov="3.4.1" && WICON='/usr/share/icons/office_section.png' && TITLE="LibreOffice Manager "$glov
+ glov=3.4.1
+ WICON=/usr/share/icons/office_section.png
+ TITLE='LibreOffice Manager 3.4.1'
ZEN2="zenity --window-icon="$WICON && XUGOO=/tmp/xsulomanager
+ ZEN2='zenity --window-icon=/usr/share/icons/office_section.png'
+ XUGOO=/tmp/xsulomanager

sysarch=`getconf LONG_BIT`
getconf LONG_BIT
++ getconf LONG_BIT
+ sysarch=32
if [ $sysarch -eq 32 ]; then
  sysarchdir="x86" && sysarchext="_x86"
  else
  sysarchdir="x86_64" && sysarchext="_x86-64"
fi
+ '[' 32 -eq 32 ']'
+ sysarchdir=x86
+ sysarchext=_x86
tmpdir=/root/LOtmp && keepdir=/tmp/LO-rpms
+ tmpdir=/root/LOtmp
+ keepdir=/tmp/LO-rpms
basepackdir="LibO_3.4.1_Linux"$sysarchext"_install-rpm_en-US"
+ basepackdir=LibO_3.4.1_Linux_x86_install-rpm_en-US
basepack=$basepackdir".tar.gz"   # base package to be downloaded
+ basepack=LibO_3.4.1_Linux_x86_install-rpm_en-US.tar.gz
langpackbase="LibO_3.4.1_Linux"$sysarchext"_langpack-rpm_" # language package for non en-US
+ langpackbase=LibO_3.4.1_Linux_x86_langpack-rpm_
helppackbase="LibO_3.4.1_Linux"$sysarchext"_helppack-rpm_" # help package
+ helppackbase=LibO_3.4.1_Linux_x86_helppack-rpm_
httpsource="http://download.documentfoundation.org/libreoffice/stable/3.4.1/rpm/"$sysarchdir"/"  # http-source
+ httpsource=http://download.documentfoundation.org/libreoffice/stable/3.4.1/rpm/x86/

# check that package managers are closed
#=================================================
for idx in synaptic smart ksmarttray kpackage apt-get
do
 if [ -n "`pidof $idx`" ];then
  MSG=$"Please close your package manager '$idx' \nand then run LibreOffice Manager again.\n\nExiting..."
  $ZEN2 --title="$TITLE" --error --text "$MSG"
  /bin/rm -f $XUGOO && cd && /bin/rm -fr $tmpdir
  exit 0
 fi
done
+ for idx in synaptic smart ksmarttray kpackage apt-get
pidof $idx
++ pidof synaptic
+ '[' -n '' ']'
+ for idx in synaptic smart ksmarttray kpackage apt-get
pidof $idx
++ pidof smart
+ '[' -n '' ']'
+ for idx in synaptic smart ksmarttray kpackage apt-get
pidof $idx
++ pidof ksmarttray
+ '[' -n '' ']'
+ for idx in synaptic smart ksmarttray kpackage apt-get
pidof $idx
++ pidof kpackage
+ '[' -n '' ']'
+ for idx in synaptic smart ksmarttray kpackage apt-get
pidof $idx
++ pidof apt-get
+ '[' -n '' ']'

# check for running OO or LO processes,
# if found get their windowID and close them gracefully
#=========================================================
wids=`wmctrl -l |grep "LibreOffice Base\|LibreOffice Calc\|LibreOffice Draw\|LibreOffice Impress\|LibreOffice Math\|LibreOffice Writer\|Printer Administration\|OpenOffice.org Base\|OpenOffice.org Calc\|OpenOffice.org Draw\|OpenOffice.org Impress\|OpenOffice.org Math\|OpenOffice.org Writer"|awk '{print$1}'`
wmctrl -l |grep "LibreOffice Base\|LibreOffice Calc\|LibreOffice Draw\|LibreOffice Impress\|LibreOffice Math\|LibreOffice Writer\|Printer Administration\|OpenOffice.org Base\|OpenOffice.org Calc\|OpenOffice.org Draw\|OpenOffice.org Impress\|OpenOffice.org Math\|OpenOffice.org Writer"|awk '{print$1}'
++ wmctrl -l
++ grep 'LibreOffice Base\|LibreOffice Calc\|LibreOffice Draw\|LibreOffice Impress\|LibreOffice Math\|LibreOffice Writer\|Printer Administration\|OpenOffice.org Base\|OpenOffice.org Calc\|OpenOffice.org Draw\|OpenOffice.org Impress\|OpenOffice.org Math\|OpenOffice.org Writer'
++ awk '{print$1}'
+ wids=
if [ -n "$wids" ];then
  MSG=$"Active Office application found\!\nWe will close it now. Then restart LibreOffice Manager.\n\nExiting..."
  $ZEN2 --title="$TITLE" --error --text "$MSG"
  for idx in $wids; do wmctrl -ic $idx; done
  pslo=`ps -ef|grep -i libreoffice|awk '{print$2}'` && kill -9 $pslo &>/dev/null
  /bin/rm -f $XUGOO && cd && /bin/rm -fr $tmpdir
  exit 0
fi
+ '[' -n '' ']'

# check for kdesu or gksu and setup/or run XUGOO
#=================================================
if [ ! -e $XUGOO ];then
  if [ -r /usr/lib/kde4/libexec/kdesu ]; then WMSUDO=/usr/lib/kde4/libexec/kdesu; fi
  if [ -r /usr/bin/gksu ]; then WMSUDO="/usr/bin/gksu -l "; fi
  if [ $VTEST -eq 1 ]; then
    QQ="lomanager"
  else
    QQ="lomanager --no-vtest"
    if [ "$WMSUDO" == "/usr/bin/gksu -l " ] && [ "$UID" != "0" ]; then QQ="'lomanager --no-vtest'"; fi
  fi
  # setup XUGOO
  echo "#"'!/bin/bash' > $XUGOO
  if [ "$UID" != "0" ]; then echo $WMSUDO $QQ >> $XUGOO; else echo $QQ >> $XUGOO; fi
  chmod a+x $XUGOO
  $XUGOO &
  exit 0
fi
+ '[' '!' -e /tmp/xsulomanager ']'
+ '[' -r /usr/lib/kde4/libexec/kdesu ']'
+ '[' -r /usr/bin/gksu ']'
+ WMSUDO='/usr/bin/gksu -l '
+ '[' 1 -eq 1 ']'
+ QQ=lomanager
+ echo '#!/bin/bash'
+ '[' 1000 '!=' 0 ']'
+ echo /usr/bin/gksu -l lomanager
+ chmod a+x /tmp/xsulomanager
+ exit 0
+ /tmp/xsulomanager
# ~/.bash_logout

clear
++ clear

$ Gtk-Message: (for origin information, set GTK_DEBUG): failed to retrieve property `GtkTreeView::odd-row-color' of type `GdkColor' from rc file value "((GString*) 0x86b5170)" of type `GString'

Internet connection working



Once I click to Ok, for unknow reason Abiword is started... Why ? I didn't ask it to start anything ? (It's been the same behavior earlier, but at that moment I had to leave the house so I decided to come back on this later... )

Questions you might wonder : do I start lomanager with Synaptic shut ? The answer is yes; Do I have an internet connection working ? The answer is yes ; Do I have the system fully up to date ? Yes again;

My LibreOffice version is still the 3.3.2 and works well, no hurry for myself, I just wanted to contribute with a feedback.

What does the /tmp/lomanager.log contain ? I contains just this:
Code: [Select]
lomanager outdated
:?

I'll try to uninstall it and reinstall it, in case. Once uninstalled I clean the cache from it : lomanager-3.4.1-9pclos2011.i586.rpm
 as I don't want to reinstall from the same package. Done;

I close Synaptic now and try to start lomanager (from menus, then if I get the same error, from user console then from a root console)

With gdb:
Quote
$ gdb /usr/bin/lomanager
GNU gdb (GDB) 7.1-2pclos2010 (PCLinuxOS release 2010)
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i586-mandriva-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
"/usr/bin/lomanager": not in executable format: Format de fichier non reconnu


???

Quote
(gdb) run
 Starting program: 
No executable file specified.
Use the "file" or "exec-file" command.
(gdb) run lomanager
Starting program:  lomanager
No executable file specified.
Use the "file" or "exec-file" command.
(gdb) start
No symbol table loaded.  Use the "file" command.
(gdb) file /usr/bin/lomanager
"/usr/bin/lomanager": not in executable format: Format de fichier non reconnu
(gdb)


Tell me if you would like me to run it with strace... started directly from a root terminal it does not look like anything I would know to describe...

Regards,
Mélodie

melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode

Online Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
Re: LibreOffice Manager (lomanager)
« Reply #456 on: July 29, 2011, 03:29:09 PM »
Try using the --no-vtest option.

Offline melodie

  • Hero Member
  • *****
  • Posts: 5942
  • XMMP=Jabber, free instant messaging protocol !
    • PCLinuxOS Fr
Re: LibreOffice Manager (lomanager)
« Reply #457 on: July 29, 2011, 04:35:56 PM »
Try using the --no-vtest option.

Hi Neal,

Trying... please wait... ;-)

It has prompted me for the language, and now it's downloading. That looks better !

I'll come back for more in a moment.

PS: it looks like a new window appears for each new package downloaded, then extracted... and so on. Is that normal ?

« Last Edit: July 29, 2011, 04:37:27 PM by melodie »
melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode

Online Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10624
  • MLUs Forever!
Re: LibreOffice Manager (lomanager)
« Reply #458 on: July 29, 2011, 04:36:53 PM »
Will this satisfy you? ---
http://www.pclinuxos.com/forum/index.php/topic,94949.0.html




Thank you  ;)

I think that should cover any further questions on the subject and gives us something to link to.

regards.
MLUs rule the roost!

Linux XPS 3.2.18-pclos2.pae.bfs  32 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline luikki

  • Hero Member
  • *****
  • Posts: 1407

Online Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
Re: LibreOffice Manager (lomanager)
« Reply #460 on: July 29, 2011, 04:43:20 PM »
Try using the --no-vtest option.

Hi Neal,

Trying... please wait... ;-)

It has prompted me for the language, and now it's downloading. That looks better !

I'll come back for more in a moment.

PS: it looks like a new window appears for each new package downloaded, then extracted... and so on. Is that normal ?

Maybe we should wait till pinoc is back from his holiday for that answer.

Offline melodie

  • Hero Member
  • *****
  • Posts: 5942
  • XMMP=Jabber, free instant messaging protocol !
    • PCLinuxOS Fr
Re: LibreOffice Manager (lomanager)
« Reply #461 on: July 29, 2011, 04:46:31 PM »
Ok, I got the new LibreOffice :

Code: [Select]
LibreOffice 3.4.1
OOO340m1 (Build:103)

:)

The --no-vtest did it for me. What is it, by the way ?

melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode

Online Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
Re: LibreOffice Manager (lomanager)
« Reply #462 on: July 29, 2011, 04:50:51 PM »
Ok, I got the new LibreOffice :

Code: [Select]
LibreOffice 3.4.1
OOO340m1 (Build:103)

:)

The --no-vtest did it for me. What is it, by the way ?

vtest = version test
It tests the version you are running against what is in the repo to see if you have the latest version.

Offline melodie

  • Hero Member
  • *****
  • Posts: 5942
  • XMMP=Jabber, free instant messaging protocol !
    • PCLinuxOS Fr
Re: LibreOffice Manager (lomanager)
« Reply #463 on: July 29, 2011, 05:06:17 PM »
Thanks, and good night.

Regards,
Mélodie

melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode

Offline DarkEra

  • Full Member
  • ***
  • Posts: 139
Re: LibreOffice Manager (lomanager)
« Reply #464 on: July 29, 2011, 05:38:53 PM »
Well.... too bad. Nothing works at this end with the lomanager after a fresh installed and up to date system. Hope a fix will be there soon.
« Last Edit: July 29, 2011, 05:56:40 PM by DarkEra »

It rocks, it's awesome, cool and makes you drool.....PcLinuxOs, you rule!