GUI to download LibreOffice - beta quality

Under development: PCMCIA, wireless, etc.
Message
Author
User avatar
smokey01
Posts: 2813
Joined: Sat 30 Dec 2006, 23:15
Location: South Australia :-(
Contact:

#201 Post by smokey01 »

01micko wrote:0.24 is out

-fixed 64 bit installs
-added some logging

see main post
Thanks mate.

Henry
Posts: 863
Joined: Sun 30 Jul 2006, 02:28
Location: Oregon USA
Contact:

#202 Post by Henry »

Here is something I wondered about -
Does this mean the program should be downloaded before the help file?
Attachments
Lo.png
(27.65 KiB) Downloaded 1030 times

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#203 Post by 01micko »

Henry wrote:Here is something I wondered about -
Does this mean the program should be downloaded before the help file?
No, well it hasn't made a difference so far.

The debs are all unpacked to the same directory then an sfs constructed, so in effect they are all installed at the same time. If it's a concern of yours Henry, just make sure the help pack box is unchecked. Since you are in the US the lang pack doesn't apply. This way, only the main program gets downloaded. This is what I do if I release an sfs for general consumption.
Puppy Linux Blog - contact me for access

User avatar
edoc
Posts: 4729
Joined: Sun 07 Aug 2005, 20:16
Location: Southeast Georgia, USA
Contact:

#204 Post by edoc »

It ran and loaded LibreOffice 4.0.0.3 successfully on an old Panasonic Toughbook CF-29 running Exprimo 5x15

It seems a little slow on the old laptop but I have Writer open there right now.

Thanks!
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603

Henry
Posts: 863
Joined: Sun 30 Jul 2006, 02:28
Location: Oregon USA
Contact:

#205 Post by Henry »

Here's what I did:

Installed LO 3.6.5 using .017 No problem

Installed LO 4.0 w/o help using .024 Failed

Instaled LO 4.0 w/help using .024 from get_libreoffice in terminal Failed Here is the last of the terminal output:

Code: Select all

ar: ./opt/libreoffice4.0/share/xdg/javafilter.desktop: Cannot write: No space left on device
tar: ./opt/libreoffice4.0/share/xdg/math.desktop: Cannot write: No space left on device
tar: ./opt/libreoffice4.0/share/xdg/printeradmin.desktop: Cannot write: No space left on device
tar: ./opt/libreoffice4.0/share/xdg/qstart.desktop: Cannot write: No space left on device
tar: ./opt/libreoffice4.0/share/xdg/startcenter.desktop: Cannot write: No space left on device
tar: ./opt/libreoffice4.0/share/xdg/writer.desktop: Cannot write: No space left on device
tar: ./opt/libreoffice4.0/share/xdg/xsltfilter.desktop: Cannot write: No space left on device
tar: ./opt/libreoffice4.0/share/xpdfimport/xpdfimport_err.pdf: Cannot write: No space left on device
tar: Exiting with failure status due to previous errors
dpkg-deb: error: subprocess tar returned error exit status 2
ERROR: failed to unpack libreoffice4.0_4.0.0.3-103_i386
/usr/sbin/get_libreoffice: line 393: 26822 Terminated              gtkdialog-splash -close never -icon /usr/share/pixmaps/throbber.gif -bg yellow -text "$INFOMSG2a $LIBO_EN_US $INFOMSG2b"  (wd: ~)
/tmp/libre_download/LibreOffice_4.0.0.3_Linux_x86_deb/DEBS
_en-US
xwininfo: can not set locale properly

(process:27482): Gtk-WARNING **: Locale not supported by C library.
	Using the fallback 'C' locale.
EXIT="Exit on timeout"
# 
Long ago in a tidying session I may have removed non English locales. Often in the terminal I see something like this, which has never caused a problem, certainly not with the LO3.x.x installations.

Code: Select all

rxvt: default locale unavailable, check LC_* and LANG variables.
Continuing
Just reporting FWIW. Sorry if I have somehow caused my own problem. Thanks - you have enough on your plate already!

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#206 Post by 01micko »

Henry,

I only see half the story there...

Is the log in /tmp?

try this in a terminal

Code: Select all

cp /tmp/LO_log* ~
..will copy the log to root.
Puppy Linux Blog - contact me for access

Henry
Posts: 863
Joined: Sun 30 Jul 2006, 02:28
Location: Oregon USA
Contact:

#207 Post by Henry »

01micko wrote:Henry,

I only see half the story there...

Is the log in /tmp?

try this in a terminal

Code: Select all

cp /tmp/LO_log* ~
..will copy the log to root.
Oops, sorry, I have already restored the backup system. (I did suspect something had gone wrong, as there were some odd readings in Pup-SysInfo.)

BTW I should note something a little different about this system: The HDD is sda1 and is the same as /mnt/home. I.e. the free space on sda1 is 0.0M

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#208 Post by 01micko »

Henry

I suspect you may be running in PUPMODE=7, for which I think there is a bug in the script. Are you saving to entire partition?

Code: Select all

grep "PUPMODE" /etc/rc.d/PUPSTATE
Thanks

---

On some thinking I'll post version 0.25.. ok it's up, see main post

BE WARNED I removed gtkdialog-splash ..
Puppy Linux Blog - contact me for access

User avatar
smokey01
Posts: 2813
Joined: Sat 30 Dec 2006, 23:15
Location: South Australia :-(
Contact:

#209 Post by smokey01 »

Mick 24 worked fine for me.

Henry
Posts: 863
Joined: Sun 30 Jul 2006, 02:28
Location: Oregon USA
Contact:

EDIT

#210 Post by Henry »

01micko wrote:Henry

I suspect you may be running in PUPMODE=7, for which I think there is a bug in the script. Are you saving to entire partition?

Code: Select all

grep "PUPMODE" /etc/rc.d/PUPSTATE
Thanks

On some thinking I'll post version 0.25.. ok it's up, see main post

BE WARNED I removed gtkdialog-splash ..
# grep "PUPMODE" /etc/rc.d/PUPSTATE
PUPMODE=12
#
Yes, I think saving to entire partition. I'll d/l ver 0.25

EDIT: Have tried 0.25. Failed. In /tmp I see

Code: Select all

LO LOG 
------- 
Sun_Feb_17_05:51:08_PST_2013 
get_libreoffice-0.25
PUPMODE = 12
en-US
Is it ok to build in RAM? yes
building in /tmp
moving to /initrd/mnt/dev_save
this is 4.0.0
major ver: 4.0
help enabled? true
lang enabled? false
LibreOffice_4.0.0_Linux_x86_deb_helppack_
LibreOffice_4.0.0_Linux_x86_deb_langpack_
Current working dir is /tmp/libre_download/LibreOffice_4.0.0.3_Linux_x86_deb/DEBS
ERROR: failed to unpack libobasis4.0-en-us-help_4.0.0.3-103_i386
ERROR: failed to unpack libobasis4.0-en-us-math_4.0.0.3-103_i386
ERROR: failed to unpack libobasis4.0-en-us-res_4.0.0.3-103_i386
ERROR: failed to unpack libobasis4.0-en-us-writer_4.0.0.3-103_i386
ERROR: failed to unpack libobasis4.0-en-us_4.0.0.3-103_i386
ERROR: failed to unpack libobasis4.0-extension-beanshell-script-provider_4.0.0.3-103_i386
ERROR: failed to unpack libobasis4.0-extension-javascript-script-provider_4.0.0.3-103_i386
ERROR: failed to unpack libobasis4.0-extension-mediawiki-publisher_4.0.0.3-103_i386
ERROR: failed to unpack libobasis4.0-extension-nlpsolver_4.0.0.3-103_i386
ERROR: failed to unpack libobasis4.0-extension-presentation-minimizer_4.0.0.3-103_i386
ERROR: failed to unpack libobasis4.0-extension-python-script-provider_4.0.0.3-103_i386
ERROR: failed to unpack libobasis4.0-extension-report-builder_4.0.0.3-103_i386
ERROR: failed to unpack libobasis4.0-gnome-integration_4.0.0.3-103_i386
ERROR: failed to unpack libobasis4.0-graphicfilter_4.0.0.3-103_i386
ERROR: failed to unpack libobasis4.0-images_4.0.0.3-103_i386
ERROR: failed to unpack libobasis4.0-impress_4.0.0.3-103_i386
ERROR: failed to unpack libobasis4.0-javafilter_4.0.0.3-103_i386
ERROR: failed to unpack libobasis4.0-kde-integration_4.0.0.3-103_i386
ERROR: failed to unpack libobasis4.0-librelogo_4.0.0.3-103_i386
ERROR: failed to unpack libobasis4.0-math_4.0.0.3-103_i386
ERROR: failed to unpack libobasis4.0-ogltrans_4.0.0.3-103_i386
ERROR: failed to unpack libobasis4.0-onlineupdate_4.0.0.3-103_i386
ERROR: failed to unpack libobasis4.0-ooofonts_4.0.0.3-103_i386
ERROR: failed to unpack libobasis4.0-ooolinguistic_4.0.0.3-103_i386
ERROR: failed to unpack libobasis4.0-postgresql-sdbc_4.0.0.3-103_i386
ERROR: failed to unpack libobasis4.0-pyuno_4.0.0.3-103_i386
ERROR: failed to unpack libobasis4.0-writer_4.0.0.3-103_i386
ERROR: failed to unpack libobasis4.0-xsltfilter_4.0.0.3-103_i386
ERROR: failed to unpack libreoffice4.0-base_4.0.0.3-103_i386
ERROR: failed to unpack libreoffice4.0-calc_4.0.0.3-103_i386
ERROR: failed to unpack libreoffice4.0-debian-menus_4.0.0-103_all
ERROR: failed to unpack libreoffice4.0-dict-en_4.0.0.3-103_i386
ERROR: failed to unpack libreoffice4.0-dict-es_4.0.0.3-103_i386
ERROR: failed to unpack libreoffice4.0-dict-fr_4.0.0.3-103_i386
ERROR: failed to unpack libreoffice4.0-draw_4.0.0.3-103_i386
ERROR: failed to unpack libreoffice4.0-en-us_4.0.0.3-103_i386
ERROR: failed to unpack libreoffice4.0-impress_4.0.0.3-103_i386
ERROR: failed to unpack libreoffice4.0-math_4.0.0.3-103_i386
ERROR: failed to unpack libreoffice4.0-stdlibs_4.0.0.3-103_i386
ERROR: failed to unpack libreoffice4.0-ure_4.0.0.3-103_i386
ERROR: failed to unpack libreoffice4.0-writer_4.0.0.3-103_i386
ERROR: failed to unpack libreoffice4.0_4.0.0.3-103_i386
Also in /tmp I see
libre_dwnload, 523.1M (debs), and
office_online_database_extrapacks, 8.7K

In terminal at end I see

Code: Select all

 device
tar: ./opt/libreoffice4.0/share/xdg/draw.desktop: Cannot write: No space left on device
tar: ./opt/libreoffice4.0/share/xdg/impress.desktop: Cannot write: No space left on device
tar: ./opt/libreoffice4.0/share/xdg/javafilter.desktop: Cannot write: No space left on device
tar: ./opt/libreoffice4.0/share/xdg/math.desktop: Cannot write: No space left on device
tar: ./opt/libreoffice4.0/share/xdg/printeradmin.desktop: Cannot write: No space left on device
tar: ./opt/libreoffice4.0/share/xdg/qstart.desktop: Cannot write: No space left on device
tar: ./opt/libreoffice4.0/share/xdg/startcenter.desktop: Cannot write: No space left on device
tar: ./opt/libreoffice4.0/share/xdg/writer.desktop: Cannot write: No space left on device
tar: ./opt/libreoffice4.0/share/xdg/xsltfilter.desktop: Cannot write: No space left on device
tar: ./opt/libreoffice4.0/share/xpdfimport/xpdfimport_err.pdf: Cannot write: No space left on device
tar: Exiting with failure status due to previous errors
dpkg-deb: error: subprocess tar returned error exit status 2
ERROR: failed to unpack libreoffice4.0_4.0.0.3-103_i386
/usr/sbin/get_libreoffice: line 388: 16745 Terminated              gtkdialog-splash -close never -icon /usr/share/pixmaps/throbber.gif -bg yellow -text "$INFOMSG2a $LIBO_EN_US $INFOMSG2b"  (wd: ~)
/tmp/libre_download/LibreOffice_4.0.0.3_Linux_x86_deb/DEBS
_en-US
# 

Kept a copy of /tmp.

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#211 Post by 01micko »

Thanks Henry,

Well your save may be taking all the space on the drive but it's not the pupmode 6 (7 was wrong) I thought it was.

Looks like your RAM is full, so I need to improve the RAM test, but if your partition is full there may be another problem. Anyway, I can see why the older versions of get_libre work for you, they don't build in RAM.

Q. Do you have swap?

I'll post a fix soon.

Cheers
Puppy Linux Blog - contact me for access

tlchost
Posts: 2057
Joined: Sun 05 Aug 2007, 23:26
Location: Baltimore, Maryland USA
Contact:

Memory Bug

#212 Post by tlchost »

version 25 and many earlier ones report a low memory condition on my desktop system which has 16 gigs of memory.

Recognizing an impossible statement when I see one, I tested version 25 on my laptop which has a paltry 4 gigs of memory. It works!

So, my non-technical, I am a simple end user observation is that the memory reporting/detection/error trapping is not functioning correctly.

Thom

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#213 Post by 01micko »

Thom, can you post the out put of free please?

Code: Select all

free
Puppy Linux Blog - contact me for access

tlchost
Posts: 2057
Joined: Sun 05 Aug 2007, 23:26
Location: Baltimore, Maryland USA
Contact:

#214 Post by tlchost »

01micko wrote:Thom, can you post the out put of free please?
16:39:17 ~ > free
total used free shared buffers
Mem: 16376392 611804 15764588 0 46084
-/+ buffers: 565720 15810672
Swap: 0 0 0

Henry
Posts: 863
Joined: Sun 30 Jul 2006, 02:28
Location: Oregon USA
Contact:

#215 Post by Henry »

01micko wrote:Thanks Henry,

Well your save may be taking all the space on the drive but it's not the pupmode 6 (7 was wrong) I thought it was.

Looks like your RAM is full, so I need to improve the RAM test, but if your partition is full there may be another problem. Anyway, I can see why the older versions of get_libre work for you, they don't build in RAM.

Q. Do you have swap?

I'll post a fix soon.

Cheers
Just looked at the computer again, and it's all stuffed up, can't do much of anything. So I restored the backup system.

To clarify: My pupsave does not take up all the space on the drive, at least normally. It is set for 630M of which 376M is nearly always available. (I put nearly all the variable data, cache, etc. into /mnt/home.) No swap file.

It looks like the downloaded LO debs ended up in /tmp (ram) instead of /mnt/home as a usual sfs. (They are now copied to another HD and I guess could be undebed.)

However, I'm just a user and it's unimportant whether I use 3.6 or 4.0. But it is interesting - thanks for all the creative and generous things you do.

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#216 Post by 01micko »

There's a hole in my program dear Henry!

I fixed it with straw... [ :roll: .. I'm terrible with humour!]

I rewrote the RAM check function and it should build in /mnt/home if your RAM is getting a bit full. All my machines have swap so it builds in RAM for me anyway and if RAM fills up swap comes into play.

Anyway, it *should* work, Thom, I'd be interested in your results too.

Here's my log, while it won't show much in the way of error messages it will help me pinpoint where there is a breakdown and give me useful info about your system for debugging. It's located at /tmp/LO_log_"today's date"
LO LOG
-------
Tue_Feb_19_06:04:42_EST_2013
get_libreoffice-0.26
PUPMODE = 13
en-GB
Is it ok to build in RAM? yes
building in /tmp
moving to /initrd/mnt/dev_save
this is 4.0.0
major ver: 4.0
help enabled? true
lang enabled? true
LibreOffice_4.0.0_Linux_x86_deb_helppack_
LibreOffice_4.0.0_Linux_x86_deb_langpack_
Current working dir is /tmp/libre_download/LibreOffice_4.0.0.3_Linux_x86_deb/DEBS
0.26 is going up now

see main post
Puppy Linux Blog - contact me for access

tlchost
Posts: 2057
Joined: Sun 05 Aug 2007, 23:26
Location: Baltimore, Maryland USA
Contact:

#217 Post by tlchost »

01micko wrote:
Anyway, it *should* work, Thom, I'd be interested in your results too
Looks like you caught the little bugger....works fine here on the 'bountiful memory machine'.

Thanks!

Thom

Henry
Posts: 863
Joined: Sun 30 Jul 2006, 02:28
Location: Oregon USA
Contact:

Testing 0.26

#218 Post by Henry »

Download complete. System working normally, seems unaffected except for the large files in /tmp, totalling about 524M instead of the usual 76M.

A popup says: "Sorry, constructing LibreOffice-4.0.0_en-US_xz.sfs has failed"

Code: Select all

LO LOG 
------- 
Mon_Feb_18_13:07:57_PST_2013 
get_libreoffice-0.26
PUPMODE = 12
en-US
Is it ok to build in RAM? yes
building in /tmp
moving to /initrd/mnt/dev_save
this is 4.0.0
major ver: 4.0
help enabled? true
lang enabled? false
LibreOffice_4.0.0_Linux_x86_deb_helppack_
LibreOffice_4.0.0_Linux_x86_deb_langpack_
Current working dir is /tmp/libre_download/LibreOffice_4.0.0.3_Linux_x86_deb/DEBS
ERROR: failed to unpack libobasis4.0-en-us-help_4.0.0.3-103_i386
ERROR: failed to unpack libobasis4.0-en-us-math_4.0.0.3-103_i386
ERROR: failed to unpack libobasis4.0-en-us-res_4.0.0.3-103_i386
ERROR: failed to unpack libobasis4.0-en-us-writer_4.0.0.3-103_i386
ERROR: failed to unpack libobasis4.0-en-us_4.0.0.3-103_i386
ERROR: failed to unpack libobasis4.0-extension-beanshell-script-provider_4.0.0.3-103_i386
ERROR: failed to unpack libobasis4.0-extension-javascript-script-provider_4.0.0.3-103_i386
ERROR: failed to unpack libobasis4.0-extension-mediawiki-publisher_4.0.0.3-103_i386
ERROR: failed to unpack libobasis4.0-extension-nlpsolver_4.0.0.3-103_i386
ERROR: failed to unpack libobasis4.0-extension-presentation-minimizer_4.0.0.3-103_i386
ERROR: failed to unpack libobasis4.0-extension-python-script-provider_4.0.0.3-103_i386
ERROR: failed to unpack libobasis4.0-extension-report-builder_4.0.0.3-103_i386
ERROR: failed to unpack libobasis4.0-gnome-integration_4.0.0.3-103_i386
ERROR: failed to unpack libobasis4.0-graphicfilter_4.0.0.3-103_i386
ERROR: failed to unpack libobasis4.0-images_4.0.0.3-103_i386
ERROR: failed to unpack libobasis4.0-impress_4.0.0.3-103_i386
ERROR: failed to unpack libobasis4.0-javafilter_4.0.0.3-103_i386
ERROR: failed to unpack libobasis4.0-kde-integration_4.0.0.3-103_i386
ERROR: failed to unpack libobasis4.0-librelogo_4.0.0.3-103_i386
ERROR: failed to unpack libobasis4.0-math_4.0.0.3-103_i386
ERROR: failed to unpack libobasis4.0-ogltrans_4.0.0.3-103_i386
ERROR: failed to unpack libobasis4.0-onlineupdate_4.0.0.3-103_i386
ERROR: failed to unpack libobasis4.0-ooofonts_4.0.0.3-103_i386
ERROR: failed to unpack libobasis4.0-ooolinguistic_4.0.0.3-103_i386
ERROR: failed to unpack libobasis4.0-postgresql-sdbc_4.0.0.3-103_i386
ERROR: failed to unpack libobasis4.0-pyuno_4.0.0.3-103_i386
ERROR: failed to unpack libobasis4.0-writer_4.0.0.3-103_i386
ERROR: failed to unpack libobasis4.0-xsltfilter_4.0.0.3-103_i386
ERROR: failed to unpack libreoffice4.0-base_4.0.0.3-103_i386
ERROR: failed to unpack libreoffice4.0-calc_4.0.0.3-103_i386
ERROR: failed to unpack libreoffice4.0-debian-menus_4.0.0-103_all
ERROR: failed to unpack libreoffice4.0-dict-en_4.0.0.3-103_i386
ERROR: failed to unpack libreoffice4.0-dict-es_4.0.0.3-103_i386
ERROR: failed to unpack libreoffice4.0-dict-fr_4.0.0.3-103_i386
ERROR: failed to unpack libreoffice4.0-draw_4.0.0.3-103_i386
ERROR: failed to unpack libreoffice4.0-en-us_4.0.0.3-103_i386
ERROR: failed to unpack libreoffice4.0-impress_4.0.0.3-103_i386
ERROR: failed to unpack libreoffice4.0-math_4.0.0.3-103_i386
ERROR: failed to unpack libreoffice4.0-stdlibs_4.0.0.3-103_i386
ERROR: failed to unpack libreoffice4.0-ure_4.0.0.3-103_i386
ERROR: failed to unpack libreoffice4.0-writer_4.0.0.3-103_i386
ERROR: failed to unpack libreoffice4.0_4.0.0.3-103_i386
libre_download (523.9M debs) is also in /tmp

Is the xz compression perhaps giving a problem?

Henry

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#219 Post by 01micko »

Thanks for the log Henry

Now, looks like everything is fine except the unpacking of the debs, which leads me to believe it might be a NOP specific problem. Have you ever had any problem installing a deb? The LO script uses the same code to unpack the debs as PPM uses to install them.

EDIT:

I just successfully built in NOP. So that dismisses a NOP bug. I don't *think* xz compression will make a difference to you, you have plenty of RAM. (You may want to get it tested) . I think I'm allowing plenty of room for the construction which is at 900M, IIRC it unpacks to ~500M plus the size of the debs ~160M (gz) then the sfs ~130M (xz) ~160M(gz) for a max of around 700M. I'll bump it to 1GB anyway and may offer a checkbox to build in /mnt/home (essentially having the checkbox checked will force "no" for the RAM test).

I'm on it.
Last edited by 01micko on Mon 18 Feb 2013, 23:47, edited 1 time in total.
Puppy Linux Blog - contact me for access

Henry
Posts: 863
Joined: Sun 30 Jul 2006, 02:28
Location: Oregon USA
Contact:

#220 Post by Henry »

Thanks for working with me on this. I think it's time to take a breather while I review about unpacking debs. Many years ago I recall doing that to download OpenOffice, but my memory is not what it used to be.

Could you suggest a simple test to check PreciseNop for this?

Post Reply