Bug 158477 - Can't use another user profile with cli
Summary: Can't use another user profile with cli
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
7.3.5.2 release
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-01 09:38 UTC by Regis Perdreau
Modified: 2023-12-01 15:20 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Regis Perdreau 2023-12-01 09:38:48 UTC
Description:
I have saved an user profile in a special directory to test. 
With the command (example) "c:\Program Files\7372M5\Program\soffice.exe" -env:UserInstallation=file:///"C:/Users/Régis Perdreau/test-marianne/user-profiles/user2/user"
I have an error message that boostrap.ini is corrupted

Steps to Reproduce:
1.Save an user profile with safemode (advanced option, archive user profile)
2.Open archive folder and unzip
3.Open terminal
4.Launch soffice.exe with a command like this according your installation : 
"c:\Program Files\7372M5\Program\soffice.exe" -env:UserInstallation=file:///"C:/Users/Régis Perdreau/test-marianne/user-profiles/user2/user"
(of course paths should be adapted)

Actual Results:
Error message "boostrap.ini is corrupted"

Expected Results:
Perfect lauch of soffice.exe


Reproducible: Always


User Profile Reset: No

Additional Info:
https://wiki.documentfoundation.org/UserProfile
Comment 1 Regis Perdreau 2023-12-01 10:04:04 UTC
I have followed what is written at https://wiki.documentfoundation.org/UserProfile
Comment 2 Mike Kaganski 2023-12-01 11:40:33 UTC
(In reply to Regis Perdreau from comment #0)
> "c:\Program Files\7372M5\Program\soffice.exe" -env:UserInstallation=file:///"C:/Users/Régis Perdreau/test-marianne/user-profiles/user2/user"

UserInstallation expects an URL; and 'file:///"C:/Users/Régis Perdreau/test-marianne/user-profiles/user2/user"' isn't a proper URL. It should look like

file:///C:/Users/Régis%20Perdreau/test-marianne/user-profiles/user2/user

Or maybe é should be also UTF-6-percent-encoded, needs testing :-)
Comment 3 Regis Perdreau 2023-12-01 15:20:08 UTC
Ok, i have changed my path without space and accentued letter... works as expected...