Bug 94195 - FILEOPEN: Cisco 3015_eps.zip not working in Extension Manager
Summary: FILEOPEN: Cisco 3015_eps.zip not working in Extension Manager
Status: RESOLVED INVALID
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
5.0.1.2 release
Hardware: x86 (IA32) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-13 17:51 UTC by Randy Grajczyk
Modified: 2021-10-26 13:50 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
windows batch files (6.71 KB, application/zip)
2015-09-13 22:01 UTC, V Stuart Foote
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Randy Grajczyk 2015-09-13 17:51:18 UTC
Cisco 3015_eps.zip appears to be added to the Extension Manager but does not show up in the Gallery. I attempted to Remove Cisco 3015_eps.zip and received the following error:

(com.sun.star.lang.IllegalArgumentException) { { { Message = "Cannot detect media-type: file:///C:/Users/oofda/AppData/Roaming/LibreOffice/4/user/uno_packages/cache/uno_packages/lu139frd.tmp_/3015_eps.zip", Context = (com.sun.star.uno.XInterface) @f085718 } }, ArgumentPosition = (short) -1 }

I get the same error if I attempt to reload the Cisco 3015_eps.zip Theme as well. 

I am running LibreOffice version 5.0.1.2 build Build ID: 81898c9f5c0d43f3473ba111d7b351050be20261
Locale: en-US (en_US) on an Intel i7 processor running Windows 10 - 64-bit.
Comment 1 V Stuart Foote 2015-09-13 21:44:22 UTC
Not sure why you would have beleived 3015_eps.zip is a valid LibreOffice/OpenOffice extension?  Rather, it is a collection of Encapsulated Postscript images that default Windows installations in general have no effective means of rendering.

The Extension manager happily copies it to a folder in the user profile, and unzips the images into a temporary folder.

C:\Users\oofda\AppData\Roaming\LibreOffice\4\user\extensions\tmp\extensions

to remove simply delete it and restart LibreOffice.

Past attempt to remove the invalid extension will be written to a log.txt file in C:\Users\oofda\AppData\Roaming\LibreOffice\4\user\uno_packages\cache 

The log can be ignored, or just reset your user profile by deletion.

=-=-=

If for some reason, you do want to use the vector icons from 3015_eps.zip you will need to first extract them all from the Zip file into a folder. Then add them as a New Theme in the Gallery. When the Properties dialog opens--name the theme on the General tab, and from the Files tab "Find files" and navigate to the folder where the EPS are unzipped. Use the "Add all" to complete addition of the new items to the Gallery.

A couple of points--the EPS from this set all have low resolution TIFF "previews" that LibreOffice will use. Not very appealing, and you have to remove the preview to make LibreOffice render the image at higher quality--but as mentioned Windows does not have the "helper" programs needed for handling the EPS.

In a practical sense, what that means is that you probably want to convert the EPS to another image format *external* to LibreOfiice.   A conversion to PNG would work well enough for most folks.  But a Ghostscript ps2pdf -d EPSCrop conversion to PDF, piped to a poppler pdftocairo -svg conversion to SVG would retain full vector resolution.
Comment 2 V Stuart Foote 2015-09-13 22:01:09 UTC
Created attachment 118683 [details]
windows batch files

(In reply to V Stuart Foote from comment #1)

> In a practical sense, what that means is that you probably want to convert
> the EPS to another image format *external* to LibreOfiice.   A conversion to
> PNG would work well enough for most folks.  But a Ghostscript ps2pdf -d
> EPSCrop conversion to PDF, piped to a poppler pdftocairo -svg conversion to
> SVG would retain full vector resolution.

Yep, just did a conversion in bulk to SVG. They come in very cleanly as a New Theme in gallery. Unfortunately they are not CCO artwork and are liekly Cisco copyright/proprietary so won't post them for you. Attaching the scripts to convert--you'll need Ghostscript and poppler for Windows installed and on system PATH.
Comment 3 RoccoOtis 2019-08-11 15:46:13 UTC Comment hidden (spam)
Comment 4 vertrieb@toplinewindow.com 2019-10-28 13:20:29 UTC Comment hidden (spam)
Comment 5 A Walker 2020-02-01 07:57:20 UTC Comment hidden (spam)
Comment 6 Darren Demers 2020-06-19 06:40:33 UTC Comment hidden (spam)
Comment 7 Dawson Sanchez 2020-10-16 07:03:50 UTC Comment hidden (spam)
Comment 8 Ali Hardy 2020-10-29 07:35:22 UTC Comment hidden (obsolete, spam)
Comment 9 followersaustralia 2020-12-01 11:56:35 UTC Comment hidden (spam)
Comment 10 followersaustralia 2020-12-01 11:57:28 UTC Comment hidden (spam)
Comment 11 followersaustralia 2020-12-01 11:57:50 UTC Comment hidden (spam)
Comment 12 followersaustralia 2021-10-26 13:47:08 UTC Comment hidden (spam)
Comment 13 followersaustralia 2021-10-26 13:47:49 UTC Comment hidden (spam)