PortableOpenOffice installed as:
D:\PortableApps\aOO-4.1.5\App\openoffice\program
PortableJava installed too where recommended.
When running D:\PortableApps\aOO-4.1.5\App\openoffice\program\python.exe interpreter, OpenOffice Python modules can't be imported e.g.
>>> import officehelper # is failing
Reason: " D:\PortableApps\aOO-4.1.5\App\openoffice\program " should be part of sys.path by default :
>>> import sys
>>> sys.path
Open up the launcher INI called OpenOfficePortable.ini within the OpenOfficePortable\App\AppInfo\Launcher directory. Within their, after the [Activate] section and the two following lines, add this:
Then close and restart OpenOffice Portagble. Did that fix it?
Sometimes, the impossible can become possible, if you're awesome!
Fixed ! You've spotted it !
Thanks
PS: Please note PortableLibreOffice packages do not require to update the .ini file as you suggest. As a consequence your suggestion should most probably be part of PortableOpenOffice future packs.
Cordially
I'm adding it to the next release. I just wanted to make sure it fully solved your issue first.
Sometimes, the impossible can become possible, if you're awesome!
The above fix has been applied in OpenOffice Portable 4.1.6
Sometimes, the impossible can become possible, if you're awesome!