Удаленный интерпритатор и docker-compose

Добрый день. Столкнулся с проблемой - мне необходимо использовать интерпритатор на основании моей конфигурации в docker-compose. Но при попытке настроить интерпритатор получаю ошибку "Failed to parse validation script output"

Host: Ubuntu 18

Лог:

2019-04-17 16:26:01,618 [2623169] INFO - mponents.impl.stores.StoreUtil - saveProjectsAndApp took 56 ms 
2019-04-17 16:26:04,173 [2625724] INFO - mponents.impl.stores.StoreUtil - saveProjectsAndApp took 53 ms
2019-04-17 16:26:09,199 [2630750] WARN - ConfigurableExtensionPointUtil - ignore deprecated groupId: tools for id: upsource.project.settings
2019-04-17 16:26:10,412 [2631963] INFO - j.ide.plugins.RepositoryHelper - using cached plugin list (updated at 17.04.19 15:37)
2019-04-17 16:26:36,797 [2658348] INFO - .CloudSilentLoggingHandlerImpl - Building image...
2019-04-17 16:26:36,896 [2658447] INFO - .CloudSilentLoggingHandlerImpl - Step 1/7 : FROM busybox
2019-04-17 16:26:36,896 [2658447] INFO - .CloudSilentLoggingHandlerImpl -

2019-04-17 16:26:36,897 [2658448] INFO - .CloudSilentLoggingHandlerImpl - ---> d8233ab899d4

2019-04-17 16:26:36,897 [2658448] INFO - .CloudSilentLoggingHandlerImpl - Step 2/7 : LABEL com.jetbrains.phpstorm_helpers.version=PS-191.6183.95
2019-04-17 16:26:36,897 [2658448] INFO - .CloudSilentLoggingHandlerImpl -

2019-04-17 16:26:36,966 [2658517] INFO - .CloudSilentLoggingHandlerImpl - ---> Running in 65f8212de78c

2019-04-17 16:26:37,140 [2658691] INFO - .CloudSilentLoggingHandlerImpl - Removing intermediate container 65f8212de78c

2019-04-17 16:26:37,140 [2658691] INFO - .CloudSilentLoggingHandlerImpl - ---> 62da60396856

2019-04-17 16:26:37,140 [2658691] INFO - .CloudSilentLoggingHandlerImpl - Step 3/7 : LABEL com.jetbrains.docker.helper.image=
2019-04-17 16:26:37,140 [2658691] INFO - .CloudSilentLoggingHandlerImpl -

2019-04-17 16:26:37,227 [2658778] INFO - .CloudSilentLoggingHandlerImpl - ---> Running in eb195116f3b0

2019-04-17 16:26:37,394 [2658945] INFO - .CloudSilentLoggingHandlerImpl - Removing intermediate container eb195116f3b0

2019-04-17 16:26:37,394 [2658945] INFO - .CloudSilentLoggingHandlerImpl - ---> 91a5130a07a6

2019-04-17 16:26:37,394 [2658945] INFO - .CloudSilentLoggingHandlerImpl - Step 4/7 : ENV PHPSTORM_HELPERS_DIRECTORY /opt/.phpstorm_helpers
2019-04-17 16:26:37,394 [2658945] INFO - .CloudSilentLoggingHandlerImpl -

2019-04-17 16:26:37,477 [2659028] INFO - .CloudSilentLoggingHandlerImpl - ---> Running in ae69f03781c9

2019-04-17 16:26:37,646 [2659197] INFO - .CloudSilentLoggingHandlerImpl - Removing intermediate container ae69f03781c9

2019-04-17 16:26:37,646 [2659197] INFO - .CloudSilentLoggingHandlerImpl - ---> 33827e2b7f8c

2019-04-17 16:26:37,646 [2659197] INFO - .CloudSilentLoggingHandlerImpl - Step 5/7 : WORKDIR ${PHPSTORM_HELPERS_DIRECTORY}
2019-04-17 16:26:37,646 [2659197] INFO - .CloudSilentLoggingHandlerImpl -

2019-04-17 16:26:37,728 [2659279] INFO - .CloudSilentLoggingHandlerImpl - ---> Running in e7c70e34ab45

2019-04-17 16:26:37,912 [2659463] INFO - .CloudSilentLoggingHandlerImpl - Removing intermediate container e7c70e34ab45

2019-04-17 16:26:37,913 [2659464] INFO - .CloudSilentLoggingHandlerImpl - ---> 5cbf28b1ee87

2019-04-17 16:26:37,913 [2659464] INFO - .CloudSilentLoggingHandlerImpl - Step 6/7 : COPY . ${PHPSTORM_HELPERS_DIRECTORY}
2019-04-17 16:26:37,913 [2659464] INFO - .CloudSilentLoggingHandlerImpl -

2019-04-17 16:26:38,151 [2659702] INFO - .CloudSilentLoggingHandlerImpl - ---> 5d45d31c49d1

2019-04-17 16:26:38,151 [2659702] INFO - .CloudSilentLoggingHandlerImpl - Step 7/7 : VOLUME ${PHPSTORM_HELPERS_DIRECTORY}
2019-04-17 16:26:38,151 [2659702] INFO - .CloudSilentLoggingHandlerImpl -

2019-04-17 16:26:38,257 [2659808] INFO - .CloudSilentLoggingHandlerImpl - ---> Running in 8dfb8b190706

2019-04-17 16:26:38,430 [2659981] INFO - .CloudSilentLoggingHandlerImpl - Removing intermediate container 8dfb8b190706

2019-04-17 16:26:38,431 [2659982] INFO - .CloudSilentLoggingHandlerImpl - ---> edaf3b24c9cc

2019-04-17 16:26:38,431 [2659982] INFO - .CloudSilentLoggingHandlerImpl - Successfully built edaf3b24c9cc

2019-04-17 16:26:38,442 [2659993] INFO - .CloudSilentLoggingHandlerImpl - Successfully tagged phpstorm_helpers:PS-191.6183.95

2019-04-17 16:26:38,532 [2660083] INFO - .CloudSilentLoggingHandlerImpl - Creating container...
2019-04-17 16:26:40,795 [2662346] WARN - php.config.phpInfo.PhpInfoUtil - Failed to parse validation output:
2019-04-17 16:26:45,200 [2666751] WARN - php.config.phpInfo.PhpInfoUtil - Failed to parse validation output:
2019-04-17 16:26:45,200 [2666751] WARN - .PhpRemoteInterpreterComponent - Can not update phpinfo
com.intellij.execution.ExecutionException: Failed to parse validation script output
at com.jetbrains.php.config.phpInfo.PhpInfoUtil.parsePhpInfo(PhpInfoUtil.java:60)
at com.jetbrains.php.config.phpInfo.PhpInfoUtil.getWholePhpInfo(PhpInfoUtil.java:157)
at com.jetbrains.php.remote.interpreter.ui.PhpRemoteInterpreterComponent.reloadPhpInfo(PhpRemoteInterpreterComponent.java:119)
at com.jetbrains.php.config.interpreters.PhpInterpreterComponent.lambda$init$0(PhpInterpreterComponent.java:146)
at com.jetbrains.php.ui.PhpUiUtil$2.lambda$actionPerformed$0(PhpUiUtil.java:117)
at com.intellij.util.ui.UIUtil.invokeLaterIfNeeded(UIUtil.java:3075)
at com.jetbrains.php.ui.PhpUiUtil$2.actionPerformed(PhpUiUtil.java:116)
at com.intellij.openapi.actionSystem.ex.ActionUtil$1.run(ActionUtil.java:260)
at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAware(ActionUtil.java:277)
at com.intellij.openapi.actionSystem.impl.ActionButton.actionPerformed(ActionButton.java:183)
at com.intellij.openapi.actionSystem.impl.ActionButton.performAction(ActionButton.java:147)
at com.intellij.openapi.actionSystem.impl.ActionButton.processMouseEvent(ActionButton.java:415)
at java.awt.Component.processEvent(Component.java:6315)
at java.awt.Container.processEvent(Container.java:2239)
at java.awt.Component.dispatchEventImpl(Component.java:4899)
at java.awt.Container.dispatchEventImpl(Container.java:2297)
at java.awt.Component.dispatchEvent(Component.java:4721)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)
at java.awt.Container.dispatchEventImpl(Container.java:2283)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4721)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:766)
at java.awt.EventQueue.access$500(EventQueue.java:98)
at java.awt.EventQueue$3.run(EventQueue.java:715)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:84)
at java.awt.EventQueue$4.run(EventQueue.java:739)
at java.awt.EventQueue$4.run(EventQueue.java:737)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:736)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:747)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:692)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:391)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233)
at java.awt.Dialog.show(Dialog.java:1077)
at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl$MyDialog.show(DialogWrapperPeerImpl.java:688)
at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl.show(DialogWrapperPeerImpl.java:427)
at com.intellij.openapi.ui.DialogWrapper.invokeShow(DialogWrapper.java:1682)
at com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:1631)
at com.intellij.openapi.ui.DialogWrapper.showAndGet(DialogWrapper.java:1646)
at com.jetbrains.php.ui.PhpUiUtil.editConfigurable(PhpUiUtil.java:89)
at com.jetbrains.php.config.PhpInterpreterConfigurationForm$2.actionPerformed(PhpInterpreterConfigurationForm.java:63)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289)
at java.awt.Component.processMouseEvent(Component.java:6550)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3325)
at java.awt.Component.processEvent(Component.java:6315)
at java.awt.Container.processEvent(Container.java:2239)
at java.awt.Component.dispatchEventImpl(Component.java:4899)
at java.awt.Container.dispatchEventImpl(Container.java:2297)
at java.awt.Component.dispatchEvent(Component.java:4721)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)
at java.awt.Container.dispatchEventImpl(Container.java:2283)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4721)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:766)
at java.awt.EventQueue.access$500(EventQueue.java:98)
at java.awt.EventQueue$3.run(EventQueue.java:715)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:84)
at java.awt.EventQueue$4.run(EventQueue.java:739)
at java.awt.EventQueue$4.run(EventQueue.java:737)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:736)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:747)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:692)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:391)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233)
at java.awt.Dialog.show(Dialog.java:1077)
at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl$MyDialog.show(DialogWrapperPeerImpl.java:688)
at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl.show(DialogWrapperPeerImpl.java:427)
at com.intellij.openapi.ui.DialogWrapper.invokeShow(DialogWrapper.java:1682)
at com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:1631)
at com.intellij.openapi.options.newEditor.SettingsDialog.lambda$show$0(SettingsDialog.java:73)
at com.intellij.openapi.application.TransactionGuardImpl.runSyncTransaction(TransactionGuardImpl.java:88)
at com.intellij.openapi.application.TransactionGuardImpl.submitTransactionAndWait(TransactionGuardImpl.java:153)
at com.intellij.openapi.options.newEditor.SettingsDialog.show(SettingsDialog.java:73)
at com.intellij.ide.actions.ShowSettingsUtilImpl.showSettingsDialog(ShowSettingsUtilImpl.java:84)
at com.intellij.ide.actions.ShowSettingsAction.perform(ShowSettingsAction.java:54)
at com.intellij.ide.actions.ShowSettingsAction.actionPerformed(ShowSettingsAction.java:41)
at com.intellij.openapi.actionSystem.ex.ActionUtil$1.run(ActionUtil.java:260)
at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAware(ActionUtil.java:277)
at com.intellij.openapi.actionSystem.impl.ActionButton.actionPerformed(ActionButton.java:183)
at com.intellij.openapi.actionSystem.impl.ActionButton.performAction(ActionButton.java:147)
at com.intellij.openapi.actionSystem.impl.ActionButton.processMouseEvent(ActionButton.java:415)
at java.awt.Component.processEvent(Component.java:6315)
at java.awt.Container.processEvent(Container.java:2239)
at java.awt.Component.dispatchEventImpl(Component.java:4899)
at java.awt.Container.dispatchEventImpl(Container.java:2297)
at java.awt.Component.dispatchEvent(Component.java:4721)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)
at java.awt.Container.dispatchEventImpl(Container.java:2283)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4721)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:766)
at java.awt.EventQueue.access$500(EventQueue.java:98)
at java.awt.EventQueue$3.run(EventQueue.java:715)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:84)
at java.awt.EventQueue$4.run(EventQueue.java:739)
at java.awt.EventQueue$4.run(EventQueue.java:737)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:736)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:747)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:692)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:391)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: org.xml.sax.SAXParseException; Premature end of file.
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at com.jetbrains.php.config.phpInfo.PhpInfoUtil.parsePhpInfo(PhpInfoUtil.java:51)
... 144 more
2019-04-17 16:26:50,680 [2672231] INFO - rationStore.ComponentStoreImpl - Saving Project '/home/agr/projects/develop/exp86_storage' exp86_storageRunManager took 13 ms

 

 

4 comments
Comment actions Permalink

Пожалуйста сохраните этот интерпретатор невзирая на эту проблему и попробуйте запустить какой-нибудь .php-файл с его помощью, какой будет аутпут?

0
Comment actions Permalink
[docker-compose://[/home/agr/projects/develop/exp86_storage/env/docker-compose.yml]:cli/]:php -dxdebug.remote_enable=1 -dxdebug.remote_mode=req -dxdebug.remote_port=9036 -dxdebug.remote_host=172.17.0.1 /home/agr/projects/develop/exp86_storage/data/tools/test.php
ERROR: .IOError: [Errno 13] Permission denied: '/home/agr/.PhpStorm2019.1/system/tmp/docker-compose.override.1.yml'

Process finished with exit code 1

Права на файлы

agr@agr-pc:~/.PhpStorm2019.1/system/tmp$ ll
total 24
drwxrwxr-x 2 agr agr 4096 апр 25 09:31 ./
drwxrwxr-x 22 agr agr 4096 апр 23 11:49 ../
-rw-rw-r-- 1 agr agr 577 апр 25 09:31 docker-compose.override.1.yml
-rw-rw-r-- 1 agr agr 267 апр 25 09:31 docker-compose.override.yml
-rwxrw-r-- 1 agr agr 268 апр 23 11:49 intellij-git-askpass.sh*
-rwxrw-r-- 1 agr agr 282 апр 23 11:49 intellij-ssh-askpass.sh*

 

0
Comment actions Permalink

Попробуйте переустановить докер композ (https://docs.docker.com/compose/install/#install-compose) и выполнить потом sudo chmod +x /usr/local/bin/docker-compose

0

Please sign in to leave a comment.