Re: [ubuntu-uk] Libreoffice pdf import extension .....

2012-08-20 Thread Barry Drake

On 20/08/12 09:25, Colin Law wrote:

Hmm, odd. That suggests a problem with removing and reinstalling LibreOffice
that needs to be addressed. Logically, removing LibreOffice and the
.libreoffice folder and then reinstalling should reset your LibreOffice
install. You shouldn't have to reinstall your OS to repair a damaged
application.
apt-file search shows that to be installed by libreoffice-core so one
would have expected a re-install of libreoffice to replace it.


Matt was right - I had manually deleted libreoffice stuff - but only after I 
had purged each package using apt.  The Nautilus package had at that time lost 
its ability to show hidden files - part of known bug, so I had missed 
~/.libreoffice  I will be more careful next time.  But there were other good 
reasons to re-install the OS and it is not especially time consuming.

Regards,Barry.


-- Barry Drake is a member of the the Ubuntu Advertising team. 
http://ubuntuadverts.org/


--
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] Libreoffice pdf import extension .....

2012-08-20 Thread Colin Law
On 19 August 2012 22:13, Simon Greenwood  wrote:
>
>
> On 19 August 2012 22:01, Barry Drake  wrote:
>>
>> On 18/08/12 19:35, Simon Greenwood wrote:
>>>
>>> All the user config is in .libreoffice in your $HOME and I think deleting
>>> .libreoffice/3/user/extensions resets the plugin config.
>>
>>
>> I removed all files and folders containing 'libreoffice' thinking I could
>> simply re-install.  Unfortunately the re-install does not include all
>> dependencies.  During installation, I get the following warnings:
>> Selecting previously unselected package libreoffice-common.
>> dpkg: warning: files list file for package 'libreoffice-style-tango'
>> missing; assuming package has no files currently installed
>> dpkg: warning: files list file for package 'libreoffice-style-human'
>> missing; assuming package has no files currently installed
>>
>> After installation, I get: barry@quantal:~$ libreoffice --writer %U
>> /usr/bin/libreoffice: 181: exec: /usr/lib/libreoffice/program/oosplash:
>> not found
>>
>> OK - that's just a splashscreen?  But if I got that and put it where it
>> should be, I'm certain other things would be missing, so I re-installed
>> Quantal.  Probably quicker and easier.
>>
>
> Hmm, odd. That suggests a problem with removing and reinstalling LibreOffice
> that needs to be addressed. Logically, removing LibreOffice and the
> .libreoffice folder and then reinstalling should reset your LibreOffice
> install. You shouldn't have to reinstall your OS to repair a damaged
> application.

apt-file search shows that to be installed by libreoffice-core so one
would have expected a re-install of libreoffice to replace it.

Colin

-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] Libreoffice pdf import extension .....

2012-08-19 Thread Matt Wheeler
On 19 August 2012 22:13, Simon Greenwood  wrote:
> Hmm, odd. That suggests a problem with removing and reinstalling LibreOffice
> that needs to be addressed. Logically, removing LibreOffice and the
> .libreoffice folder and then reinstalling should reset your LibreOffice
> install. You shouldn't have to reinstall your OS to repair a damaged
> application.

To me it sounds more like Barry has manually removed files belonging
to packages that didn't get uninstalled (not just files inside his
home), so dpkg/apt doesn't know it needs to re-install them, and now
libreoffice can't find them. Manually removing stuff that dpkg thinks
is there can be expected to cause problems.

Reinstalling every libreoffice related package should fix the issue.
/usr/lib/libreoffice/program/oosplash is provided by the package
libreoffice-core, for example.

btw, just removing ~/.libreoffice (or even just the plugins directory)
should have been enough to resolve the original issue. It's almost
never necessary to re-install packages to reset their configuration if
they are packages run by a normal user (and reinstalling the package
just doesn't work in all* places).


*I think

-- 
Matt Wheeler
m...@funkyhat.org

-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] Libreoffice pdf import extension .....

2012-08-19 Thread Simon Greenwood
On 19 August 2012 22:01, Barry Drake  wrote:

> On 18/08/12 19:35, Simon Greenwood wrote:
>
>> All the user config is in .libreoffice in your $HOME and I think deleting
>> .libreoffice/3/user/extensions resets the plugin config.
>>
>
> I removed all files and folders containing 'libreoffice' thinking I could
> simply re-install.  Unfortunately the re-install does not include all
> dependencies.  During installation, I get the following warnings:
> Selecting previously unselected package libreoffice-common.
> dpkg: warning: files list file for package 'libreoffice-style-tango'
> missing; assuming package has no files currently installed
> dpkg: warning: files list file for package 'libreoffice-style-human'
> missing; assuming package has no files currently installed
>
> After installation, I get: barry@quantal:~$ libreoffice --writer %U
> /usr/bin/libreoffice: 181: exec: /usr/lib/libreoffice/program/**oosplash:
> not found
>
> OK - that's just a splashscreen?  But if I got that and put it where it
> should be, I'm certain other things would be missing, so I re-installed
> Quantal.  Probably quicker and easier.
>
>
Hmm, odd. That suggests a problem with removing and reinstalling
LibreOffice that needs to be addressed. Logically, removing LibreOffice and
the .libreoffice folder and then reinstalling should reset your LibreOffice
install. You shouldn't have to reinstall your OS to repair a damaged
application.

s/
-- 
Twitter: @sfgreenwood
"TBA are particularly glib"
-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] Libreoffice pdf import extension .....

2012-08-19 Thread Barry Drake

On 18/08/12 19:35, Simon Greenwood wrote:
All the user config is in .libreoffice in your $HOME and I think 
deleting .libreoffice/3/user/extensions resets the plugin config.


I removed all files and folders containing 'libreoffice' thinking I 
could simply re-install.  Unfortunately the re-install does not include 
all dependencies.  During installation, I get the following warnings:

Selecting previously unselected package libreoffice-common.
dpkg: warning: files list file for package 'libreoffice-style-tango' 
missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libreoffice-style-human' 
missing; assuming package has no files currently installed


After installation, I get: barry@quantal:~$ libreoffice --writer %U
/usr/bin/libreoffice: 181: exec: /usr/lib/libreoffice/program/oosplash: 
not found


OK - that's just a splashscreen?  But if I got that and put it where it 
should be, I'm certain other things would be missing, so I re-installed 
Quantal.  Probably quicker and easier.


Regards,Barry.

--
Barry Drake is a member of the the Ubuntu Advertising team.
http://ubuntuadverts.org/


--
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] Libreoffice pdf import extension .....

2012-08-18 Thread Simon Greenwood
On 18 August 2012 15:52, Barry Drake  wrote:

> Hi there .   I downloaded and ran a pdf import extension called
> oracle-pdfimport.  It has completely clobbered all of Libreoffice running
> under Quantal.  I guess it was intended for OpenOffice. I've tried
> completely removing all of Libreoffice and re-installing, but get no
> success.  If I run from the commandline, I get this:
> barry@quantal:~$ libreoffice --writer %U
> UNO Exception: InvalidRegistryException: file:///usr/lib/libreoffice/**
> program/../share/extensions/**pdfimport/components.rdb: duplicate
> 
> terminate called after throwing an instance of 'com::sun::star::uno::**
> DeploymentException'
>
> This is strange as there is no longer a /usr/lib/libreoffice/ directory.
>  Any thoughts?  Or should I cut my losses and re-install Quantal?
>
>
All the user config is in .libreoffice in your $HOME and I think deleting
.libreoffice/3/user/extensions resets the plugin config.

s/
-- 
Twitter: @sfgreenwood
"TBA are particularly glib"
-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


[ubuntu-uk] Libreoffice pdf import extension .....

2012-08-18 Thread Barry Drake
Hi there .   I downloaded and ran a pdf import extension called 
oracle-pdfimport.  It has completely clobbered all of Libreoffice 
running under Quantal.  I guess it was intended for OpenOffice. I've 
tried completely removing all of Libreoffice and re-installing, but get 
no success.  If I run from the commandline, I get this:

barry@quantal:~$ libreoffice --writer %U
UNO Exception: InvalidRegistryException: 
file:///usr/lib/libreoffice/program/../share/extensions/pdfimport/components.rdb: 
duplicate name="com.sun.star.comp.documents.HybridPDFImport">
terminate called after throwing an instance of 
'com::sun::star::uno::DeploymentException'


This is strange as there is no longer a /usr/lib/libreoffice/ 
directory.  Any thoughts?  Or should I cut my losses and re-install Quantal?


Kind regards,Barry.

--
Barry Drake is a member of the the Ubuntu Advertising team.
http://ubuntuadverts.org/


--
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/