Hi,

Paolo Mantovani wrote:
an users has reported problems installing the package TextToColumns on 1.9.m104 in Windows XP using the package manager available from the menu.

The package is available here:
http://prdownloads.sourceforge.net/ooomacros/TextToColumns.uno2005-04-19.zip

I've tested on a winXP prof with OOo1.9.m91 and I had the same problem so I've tried using the command line and at the bottom of this message there is the output of the unopkg command.

Notice that the same package installs without problems on OOo1.1.x (with pkgchk) in both Linux and Windows Further I've installed the package also on a 1.9.m100 in my Linux box again without any errors, therefore it seems that the problem appears only on 1.9.x and in Windows only


One observation I have is that with the accumulation of
- a longish user name
- the long windows 'Application Data' directory path
- the long directory names of the uno_package cache structure
- the deep nesting of the configuration file hierarchy
we arrive at a file name longer than 255 characters.

The error message that this file can't be dealt with, because 'the format of the parameters was not valid' suggests that one of the involved components (either in Windows or OOo osl) can't deal with filenames that are this long.

I don't have a windows system at hand. Maybe someone can try runnning OOo against a user data directory with a very long and deeply nested path to check whether that is indeed a problem.


Ciao, Jörg

-----------
Microsoft Windows XP [Versione 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\paolo.PAGANINI\Desktop>"c:\Programmi\OpenOffice.org 1.9.91\program\unopkg" add TextToColumns.uno2005-04-19.zip WARNING: An error occurred while enabling the package: AddonConfiguration.xcs, Cause: (com.sun.star.ucb.InteractiveAugmentedIOException) { { { { Message = "general error during transfer", Context = (com.sun.star.uno.XInterface) 0xe7cd8c (ImplementationName = "com.sun.star.comp.ucb.FileContent") }, Classification = (com.sun.star.task.InteractionClassification) ERROR }, Code = (com.sun.star.ucb.IOErrorCode) INVALID_PARAMETER }, Arguments = ([]any) { { (com.sun.star.beans.PropertyValue) { Name = "Uri", Handle = (long) -1, Value = (any) { "file:///C:/Documents%20and%20Settings/paolo.PAGANINI/Dati%20applicazioni/OpenOffice.org1.9.91/user/uno_packages/cache/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend/registry/schema/org/openoffice/Office/Addons/TextToColumns" }, State = (com.sun.star.beans.PropertyState) DIRECT_VALUE } }, { (com.sun.star.beans.PropertyValue) { Name = "ResourceName", Handle = (long) -1, Value = (any) { "C:\\Documents and Settings\\paolo.PAGANINI\\Dati applicazioni\\OpenOffice.org1.9.91\\user\\uno_packages\\cache\\registry\\com.sun.star.comp.deployment.configuration.PackageRegistryBackend\\registry\\schema\\org\\openoffice\\Office\\Addons\\TextToColumns" }, State = (com.sun.star.beans.PropertyState) DIRECT_VALUE } }, {(com.sun.star.beans.PropertyValue) { Name = "ResourceType", Handle = (long) -1, Value = (any) { "folder" }, State = (com.sun.star.beans.PropertyState) DIRECT_VALUE } } } }

WARNING: An error occurred while enabling the package: AddonConfiguration.xcu,Cause: (com.sun.star.configuration.backend.BackendAccessException) { { { Message = "Configuration LocalOutputStream - IO Error: Cannot open file \"file:///C:/Documents%20and%20Settings/paolo.PAGANINI/Dati%20applicazioni/OpenOffice.org1.9.91/user/uno_packages/cache/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend/registry/data/org/openoffice/Office/Addons/TextToColumns/AddonConfiguration.xcu_tmp\" for writing. Error is the format of the parameters was not valid [21].", Context = (com.sun.star.uno.XInterface) 0x0 }, TargetException = (any) { (com.sun.star.io.IOException) { { Message = "Cannot open file \"file:///C:/Documents%20and%20Settings/paolo.PAGANINI/Dati%20applicazioni/OpenOffice.org1.9.91/user/uno_packages/cache/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend/registry/data/org/openoffice/Office/Addons/TextToColumns/AddonConfiguration.xcu_tmp\" for writing. Error is the format of the parameters was not valid [21].", Context = (com.sun.star.uno.XInterface) 0x0 } } } }

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


--
Joerg Barfurth              Sun Microsystems - Desktop - Hamburg
>>>>>>>>>>>>>>>>>> using std::disclaimer <<<<<<<<<<<<<<<<<<<<<<<
Software Engineer                         [EMAIL PROTECTED]
OpenOffice.org Configuration          http://util.openoffice.org


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to