i installed onn OSX (MAMP) the sphinx extension yesterday during the french TYPO3 university.
My TYPO3 6.2.13 is on "/Volumes/Macintosh HD/Projets/Projets/dvpt_php/mamp/t3uni15_extbaseFluid/typo3temp/tx_sphinx"
During the import and building steps there was some error.
Reading the "typo3temp/tx_sphinx/*.log" files i discovered that some command line to export PYTHONPATH was : "export PYTHONPATH=/Volumes/Macintosh HD/Projets/dvpt_php/mamp/t3uni15_extbaseFluid/typo3temp/tx_sphinx/sphinx-doc/1.3.1/lib/python".
Due to the space char in "/Macintosh HD/" the command line shoud include a simple quote after "PYTHONPATH=" and after "lib/python".
I resolved the bug on my OSX installation (i can import sphinx version, generate interactive layout) so i will take the issue and make a patch. It would be OK for OSX but i need a review to be sur the solution is good or if we have to report my solution in "MiscUtility::getExportCommand" and if it's ok on other operating system.
@Xavier, i let you to check (or not) the
Updated by Jonathan IROULIN over 5 years ago
i made a patch for "sphinx/Classes/Utility/Setup.php" file to make PythonPath work on FilePath with whiteSpace.
It work on my OSX MAMP installation where the cmd line was :
"export PYTHONPATH=/Volumes/Macintosh HD/Projets/dvpt_php/mamp/t3uni15_extbaseFluid/typo3temp/tx_sphinx/sphinx-doc/1.3.1/lib/python".
and where the plugins installation failed too.
Now the command line is ok :
export PYTHONPATH='/Volumes/Macintosh HD/Projets/dvpt_php/mamp/t3uni15_extbaseFluid/typo3temp/tx_sphinx/sphinx-doc/1.3.1/lib/python'
and the plugins installation success.
Can you test this patch on other OS ?
Updated by Xavier Perseguers over 5 years ago
- % Done changed from 100 to 0
Don't know why progression was set to 100%.
It would be awesome if you could provide your patch using the correct workflow: http://wiki.typo3.org/Contribution_Walkthrough_Tutorials
If you can't, I'll see to have a look