Setting up remote debugging with pycharms and raspberry pi

Answered

Hi,

I am trying to setup remote debugging with my raspberry pi on my windows 10 desktop. After configuring the ssh settings I am able to successfully sync files and open the remote interpreter. The problem comes when I try to run the code remotely through pycharms. I get the following error:

```ssh://pi@192.168.50.224:22/home/pi/.virtualenvs/cv/bin/python -u /home/pi/opencv_projects/tmp/pycharm_project_255/uvc_cam_feed_demo.py
Unable to init server: Could not connect: Connection refused

(Color Frame:1267): Gtk-WARNING **: cannot open display:

Process finished with exit code 1```

Here is several pics of the settings:

https://i.stack.imgur.com/MGB2R.png

https://i.stack.imgur.com/WSNLv.png

https://i.imgur.com/ogM0ybL.png

Has anybody ran into this issue before? Any ideas?

5 comments
Comment actions Permalink

Hi Congruentsquare,

Could you please rename and upload your idea.log (Help | Show Log in...) after reproducing the problem to https://uploads.services.jetbrains.com/ and let me know the name of that file?

There was only one remotely similar issue with the following solution https://stackoverflow.com/questions/48929654/launch-javafx-application-with-intellij-failed?answertab=votes#tab-top

0
Comment actions Permalink

Here's a raw dump of the log file:

 

2018-11-13 10:41:52,709 [      0]   INFO -        #com.intellij.idea.Main - ------------------------------------------------------ IDE STARTED ------------------------------------------------------
2018-11-13 10:41:52,725 [     16]   INFO -        #com.intellij.idea.Main - IDE: PyCharm (build #PY-183.4139.23, 31 Oct 2018 07:52)
2018-11-13 10:41:52,725 [     16]   INFO -        #com.intellij.idea.Main - OS: Windows 10 (10.0, amd64)
2018-11-13 10:41:52,725 [     16]   INFO -        #com.intellij.idea.Main - JRE: 1.8.0_152-release-1343-b15 (JetBrains s.r.o)
2018-11-13 10:41:52,725 [     16]   INFO -        #com.intellij.idea.Main - JVM: 25.152-b15 (OpenJDK 64-Bit Server VM)
2018-11-13 10:41:52,725 [     16]   INFO -        #com.intellij.idea.Main - JVM Args: -Xms128m -Xmx750m -XX:ReservedCodeCacheSize=240m -XX:+UseConcMarkSweepGC -XX:SoftRefLRUPolicyMSPerMB=50 -ea -Dsun.io.useCanonCaches=false -Djava.net.preferIPv4Stack=true -Djdk.http.auth.tunneling.disabledSchemes="" -XX:+HeapDumpOnOutOfMemoryError -XX:-OmitStackTraceInFastThrow -XX:MaxJavaStackTraceDepth=10000 -agentlib:yjpagent64=probe_disable=*,disablealloc,disabletracing,onlylocal,disableexceptiontelemetry,delay=10000,sessionname=PyCharm2018.3 -Djb.vmOptionsFile=C:\Program Files\JetBrains\PyCharm 183.4139.23\bin\pycharm64.exe.vmoptions -Didea.platform.prefix=Python -Dide.native.launcher=true -Didea.paths.selector=PyCharm2018.3 -XX:ErrorFile=C:\Users\andrew\java_error_in_pycharm_%p.log -XX:HeapDumpPath=C:\Users\andrew\java_error_in_pycharm.hprof
2018-11-13 10:41:52,725 [     16]   INFO -        #com.intellij.idea.Main - ext: C:\Program Files\JetBrains\PyCharm 183.4139.23\jre64\lib\ext: [access-bridge-64.jar, cldrdata.jar, dnsns.jar, jaccess.jar, jfxrt.jar, localedata.jar, meta-index, nashorn.jar, sunec.jar, sunjce_provider.jar, sunmscapi.jar, sunpkcs11.jar, zipfs.jar]
2018-11-13 10:41:52,725 [     16]   INFO -        #com.intellij.idea.Main - charsets: JNU=Cp1252 file=Cp1252
2018-11-13 10:41:52,772 [     63]   INFO -        #com.intellij.idea.Main - JNA library (64-bit) loaded in 47 ms
2018-11-13 10:41:52,772 [     63]   INFO - penapi.util.io.win32.IdeaWin32 - Native filesystem for Windows is operational
2018-11-13 10:41:52,866 [    157]   INFO -     #com.intellij.util.ui.JBUI - User scale factor: 1.0
2018-11-13 10:41:53,209 [    500]   INFO - .intellij.idea.IdeaApplication - CPU cores: 4; ForkJoinPool.commonPool: java.util.concurrent.ForkJoinPool@64fb42ee[Running, parallelism = 3, size = 0, active = 0, running = 0, steals = 0, tasks = 0, submissions = 0]; factory: com.intellij.concurrency.IdeaForkJoinWorkerThreadFactory@bf0f71b
2018-11-13 10:41:53,241 [    532]   INFO -     #com.intellij.util.ui.JBUI - System scale factor: 1.0 (JRE-managed HiDPI)
2018-11-13 10:41:53,522 [    813]   INFO - llij.ide.plugins.PluginManager - Cannot find optional descriptor java-specific.xml
2018-11-13 10:41:53,522 [    813]   INFO - llij.ide.plugins.PluginManager - Cannot find optional descriptor javaee-specific.xml
2018-11-13 10:41:53,584 [    875]   INFO - llij.ide.plugins.PluginManager - Cannot find optional descriptor js-nashorn-support.xml
2018-11-13 10:41:53,662 [    953]   INFO - llij.ide.plugins.PluginManager - Cannot find optional descriptor uml-properties-support.xml
2018-11-13 10:41:53,662 [    953]   INFO - llij.ide.plugins.PluginManager - Cannot find optional descriptor uml-java-support.xml
2018-11-13 10:41:53,741 [   1032]   INFO - llij.ide.plugins.PluginManager - Plugin 'IntelliJ Configuration Script' can't be loaded because: Plugin does not include any module dependency tags in its plugin.xml therefore is assumed legacy and can be loaded only in IntelliJ IDEA
2018-11-13 10:41:53,803 [   1094]   INFO - llij.ide.plugins.PluginManager - 62 plugins initialized in 422 ms
2018-11-13 10:41:53,803 [   1094]   INFO - llij.ide.plugins.PluginManager - Loaded bundled plugins: AngularJS (183.4139.23), CSS Support (183.4139.23), CVS Integration (11), CoffeeScript (183.4139.23), Concurrency Visualiser (0.1), Copyright (8.1), Database Tools and SQL (183.4139.23), Django Database Support Integration (1.0), Docker integration (183.4139.23), EditorConfig (183.4139.23), File Watchers (183.4139.23), GNU GetText files support (*.po) (183.4139.23), Gherkin (999.999), Git Integration (8.1), GitHub (183.4139.23), HTML Tools (2.0), HTTP Client (183.4139.23), Haml (183.4139.23), IDE Settings Sync (183.4139.23), IDEA CORE (183.4139.23), IPython Notebook (0.1), Ini4Idea (183.4139.23), IntelliLang (8.0), JavaScript Debugger (1.0), JavaScript Intention Power Pack (0.9.4), JavaScript Support (1.0), Less support (183.4139.23), Markdown support (183.4139.23), Mercurial Integration (10.0), Perforce Integration (2.0), Properties Support (183.4139.23), Puppet Support (183.4139.23), Python BDD support for engines, based on Gherkin (cucumber, lettuce, behave) (0.1), Python Copyright (VERSION), Python Docker (VERSION), Python IntelliLang (VERSION), Python JavaScript Debugger Integration (VERSION), Python Localization Integration (VERSION), Python Profiler (0.1), Python ReStructureText Integration (1.0), Python Remote Interpreter (VERSION), Python Terminal (VERSION), Python UML Diagrams (VERSION), Python WSL Support (0.1), Python pytest-bdd support (0.1), ReStructuredText Support (183.4139.23), Remote Hosts Access (0.1), SSH Remote Run (0.1), Sass support (183.4139.23), Settings Repository (183.4139.23), Stylus support (999.999), Subversion Integration (1.1), Task Management (1.0), Terminal (0.1), TextMate bundles support (183.4139.23), Time Tracking (1.0), UML Support (1.0), Vagrant (183.4139.23), WSL Support Framework (183.4139.23), YAML (183.4139.23), tslint (183.4139.23)
2018-11-13 10:41:53,803 [   1094]   INFO - llij.ide.plugins.PluginManager - Disabled plugins: IntelliJ Configuration Script (183.4139.23)
2018-11-13 10:41:54,037 [   1328]   INFO - ij.components.ComponentManager - com.intellij.openapi.components.impl.ServiceManagerImpl initialized in 71 ms
2018-11-13 10:41:54,069 [   1360]   INFO - cloudConfig.CloudConfigManager - === Start: JBA_NOT_CONNECTED ===
2018-11-13 10:41:54,131 [   1422]   INFO - ij.components.ComponentManager - com.intellij.openapi.util.registry.RegistryState initialized in 15 ms
2018-11-13 10:41:54,147 [   1438]   INFO - ellij.util.io.PagedFileStorage - lower=100; upper=500; buffer=10; max=705
2018-11-13 10:41:54,178 [   1469]   INFO - ij.components.ComponentManager - com.intellij.openapi.vfs.newvfs.persistent.PersistentFSImpl initialized in 44 ms
2018-11-13 10:41:54,178 [   1469]   INFO - pl.local.NativeFileWatcherImpl - Starting file watcher: C:\Program Files\JetBrains\PyCharm 183.4139.23\bin\fsnotifier64.exe
2018-11-13 10:41:54,194 [   1485]   INFO - pl.local.NativeFileWatcherImpl - Native file watcher is operational.
2018-11-13 10:41:54,194 [   1485]   INFO - ij.components.ComponentManager - com.intellij.openapi.vfs.impl.local.LocalFileSystemImpl initialized in 66 ms
2018-11-13 10:41:54,209 [   1500]   INFO - ij.components.ComponentManager - com.intellij.openapi.vfs.PlatformVirtualFileManager initialized in 78 ms
2018-11-13 10:41:54,209 [   1500]   INFO - ij.components.ComponentManager - com.intellij.configurationStore.StoreAwareProjectManager initialized in 80 ms
2018-11-13 10:41:54,397 [   1688]   INFO - ij.components.ComponentManager - com.intellij.openapi.fileTypes.impl.FileTypeManagerImpl initialized in 179 ms
2018-11-13 10:41:54,537 [   1828]   INFO - ij.components.ComponentManager - com.intellij.openapi.actionSystem.impl.ActionManagerImpl initialized in 148 ms
2018-11-13 10:41:54,553 [   1844]   INFO - ij.components.ComponentManager - com.intellij.openapi.editor.impl.EditorFactoryImpl initialized in 159 ms
2018-11-13 10:41:54,928 [   2219]   INFO - ij.components.ComponentManager - com.intellij.ide.ui.laf.LafManagerImpl initialized in 364 ms
2018-11-13 10:41:55,027 [   2318]   INFO - til.net.ssl.CertificateManager - Default SSL context initialized
2018-11-13 10:41:55,027 [   2318]   INFO - ij.components.ComponentManager - com.intellij.util.net.ssl.CertificateManager initialized in 84 ms
2018-11-13 10:41:55,058 [   2349]   INFO - ij.components.ComponentManager - com.intellij.openapi.wm.impl.WindowManagerImpl initialized in 16 ms
2018-11-13 10:41:55,058 [   2349]   INFO - ij.components.ComponentManager - com.intellij.openapi.wm.impl.FocusManagerImpl initialized in 20 ms
2018-11-13 10:41:55,058 [   2349]   INFO - rains.ide.BuiltInServerManager - built-in server started, port 63342
2018-11-13 10:41:55,073 [   2364]   INFO - ij.components.ComponentManager - com.intellij.ide.IdeTooltipManager initialized in 11 ms
2018-11-13 10:41:55,089 [   2380]   INFO - gs.impl.UpdateCheckerComponent - channel: eap
2018-11-13 10:41:55,120 [   2411]   INFO - ij.components.ComponentManager - com.intellij.openapi.updateSettings.impl.UpdateCheckerComponent initialized in 42 ms
2018-11-13 10:41:55,136 [   2427]   INFO - ij.components.ComponentManager - com.intellij.openapi.actionSystem.ex.QuickListsManager initialized in 15 ms
2018-11-13 10:41:55,152 [   2443]   INFO - j.ide.ui.OptionsTopHitProvider - 204 ms spent to cache options in application
2018-11-13 10:41:55,152 [   2443]   INFO - .openapi.application.Preloader - com.intellij.ide.ui.OptionsTopHitProvider$Activity took 208 ms
2018-11-13 10:41:55,214 [   2505]   INFO - il.indexing.FileBasedIndexImpl - Index exts enumerated:56, number of extensions:38
2018-11-13 10:41:55,218 [   2509]   INFO - il.indexing.FileBasedIndexImpl - Index scheduled:4
2018-11-13 10:41:55,218 [   2509]   INFO - ij.components.ComponentManager - com.intellij.util.indexing.FileBasedIndexImpl initialized in 65 ms
2018-11-13 10:41:55,239 [   2530]   INFO - tellij.psi.stubs.StubIndexImpl - All stub exts enumerated:20, number of extensions:86
2018-11-13 10:41:55,239 [   2530]   INFO - tellij.psi.stubs.StubIndexImpl - stub exts update scheduled:0
2018-11-13 10:41:55,239 [   2530]   INFO - ij.components.ComponentManager - com.intellij.psi.stubs.StubIndexImpl initialized in 24 ms
2018-11-13 10:41:55,254 [   2545]   INFO - ij.components.ComponentManager - com.intellij.internal.statistic.updater.StatisticsJobsScheduler initialized in 11 ms
2018-11-13 10:41:55,270 [   2561]   INFO - pi.util.registry.RegistryValue - Registry value 'ide.ssh.one.time.password' has changed to 'true"
2018-11-13 10:41:55,270 [   2561]   INFO - ij.components.ComponentManager - com.intellij.sql.liveTemplates.SqlDialectTemplateRegistrar initialized in 13 ms
2018-11-13 10:41:55,379 [   2670]   INFO -            PyTestLegacyInterop - Disabling com.jetbrains.python.testing.unittestLegacy.PythonUnitTestConfigurationProducer@782e522a
2018-11-13 10:41:55,379 [   2670]   INFO -            PyTestLegacyInterop - Disabling com.jetbrains.python.testing.pytestLegacy.PyTestConfigurationProducer@76d4ee13
2018-11-13 10:41:55,379 [   2670]   INFO -            PyTestLegacyInterop - Disabling com.jetbrains.python.testing.nosetestLegacy.PythonNoseTestConfigurationProducer@44fe5a2c
2018-11-13 10:41:55,395 [   2686]   INFO - plication.impl.ApplicationImpl - 76 application components initialized in 2014ms
2018-11-13 10:41:55,395 [   2686]   INFO - .intellij.idea.IdeaApplication - App initialization took 3743 ms
2018-11-13 10:41:55,726 [   3017]   INFO - m.intellij.ui.mac.touchbar.NST - OS doesn't support touchbar, skip nst loading
2018-11-13 10:41:55,777 [   3068]   INFO - ndex.PrebuiltIndexProviderBase - Using prebuilt id-index from C:\Users\andrew\.PyCharm2018.3\system\index\.persistent\prebuilt\Python\id-index.input
2018-11-13 10:41:56,283 [   3574]   INFO - ij.components.ComponentManager - com.intellij.openapi.wm.impl.ToolWindowManagerImpl initialized in 20 ms
2018-11-13 10:41:56,312 [   3603]   INFO - ij.components.ComponentManager - com.intellij.psi.impl.PsiManagerImpl initialized in 17 ms
2018-11-13 10:41:56,319 [   3610]   INFO - ij.components.ComponentManager - com.intellij.openapi.fileEditor.impl.PsiAwareFileEditorManagerImpl initialized in 33 ms
2018-11-13 10:41:56,319 [   3610]   INFO - ij.components.ComponentManager - com.intellij.openapi.fileEditor.impl.IdeDocumentHistoryImpl initialized in 35 ms
2018-11-13 10:41:56,342 [   3633]   INFO - pl$FileIndexDataInitialization - Initialization done:1126
2018-11-13 10:41:56,361 [   3652]   INFO - ij.components.ComponentManager - com.intellij.openapi.module.impl.ModuleManagerComponent initialized in 40 ms
2018-11-13 10:41:56,410 [   3701]   INFO - ij.components.ComponentManager - com.intellij.openapi.vcs.impl.ProjectLevelVcsManagerImpl initialized in 79 ms
2018-11-13 10:41:56,442 [   3733]   INFO - exImpl$StubIndexInitialization - Initialization done:106
2018-11-13 10:41:56,473 [   3764]   INFO - ij.components.ComponentManager - com.intellij.openapi.vcs.changes.VcsEventWatcher initialized in 31 ms
2018-11-13 10:41:56,566 [   3857]   INFO - com.intellij.ide.ui.UISettings - Loaded: fontSize=12, fontScale=1.0; restored: fontSize=12, fontScale=1.0
2018-11-13 10:41:56,582 [   3873]   INFO - ij.components.ComponentManager - com.intellij.openapi.vcs.changes.ChangesViewManager initialized in 99 ms
2018-11-13 10:41:56,645 [   3936]   INFO - ij.components.ComponentManager - com.intellij.openapi.vcs.changes.ChangeListManagerImpl initialized in 156 ms
2018-11-13 10:41:56,660 [   3951]   INFO - ij.components.ComponentManager - com.intellij.openapi.vcs.impl.VcsFileStatusProvider initialized in 173 ms
2018-11-13 10:41:56,660 [   3951]   INFO - ij.components.ComponentManager - com.intellij.openapi.vcs.impl.LineStatusTrackerManager initialized in 176 ms
2018-11-13 10:41:56,676 [   3967]   INFO - ij.components.ComponentManager - com.intellij.openapi.vcs.update.RestoreUpdateTree initialized in 16 ms
2018-11-13 10:41:56,691 [   3982]   INFO - ij.components.ComponentManager - com.intellij.openapi.vcs.changes.shelf.ShelveChangesManager initialized in 16 ms
2018-11-13 10:41:56,707 [   3998]   INFO - ij.components.ComponentManager - com.intellij.openapi.vcs.changes.shelf.ShelvedChangesViewManager initialized in 18 ms
2018-11-13 10:41:56,738 [   4029]   INFO - ij.components.ComponentManager - com.intellij.psi.impl.PsiDocumentManagerImpl initialized in 21 ms
2018-11-13 10:41:56,795 [   4086]   INFO - ij.components.ComponentManager - com.intellij.codeInsight.daemon.impl.DaemonCodeAnalyzerImpl initialized in 51 ms
2018-11-13 10:41:56,821 [   4112]   INFO - ij.components.ComponentManager - com.intellij.profile.codeInspection.ProjectInspectionProfileManager initialized in 11 ms
2018-11-13 10:41:56,836 [   4127]   INFO - ij.components.ComponentManager - com.intellij.codeInsight.daemon.impl.DaemonListeners initialized in 32 ms
2018-11-13 10:41:56,858 [   4149]   INFO - ij.components.ComponentManager - com.intellij.codeInsight.daemon.impl.GeneralHighlightingPassFactory initialized in 18 ms
2018-11-13 10:41:56,917 [   4208]   INFO - ij.components.ComponentManager - com.intellij.xdebugger.impl.XDebuggerManagerImpl initialized in 39 ms
2018-11-13 10:41:56,933 [   4224]   INFO - ij.components.ComponentManager - com.intellij.coverage.CoverageDataManagerImpl initialized in 11 ms
2018-11-13 10:41:56,980 [   4271]   INFO - ij.components.ComponentManager - com.intellij.tasks.impl.TaskManagerImpl initialized in 35 ms
2018-11-13 10:41:57,025 [   4316]   INFO - ij.components.ComponentManager - com.intellij.lang.javascript.linter.JSLinterEditorPanelCreator initialized in 38 ms
2018-11-13 10:41:57,041 [   4332]   INFO - ij.components.ComponentManager - com.intellij.lang.javascript.frameworks.webpack.Webpack4PluginProviderRegistrar initialized in 13 ms
2018-11-13 10:41:57,057 [   4348]   INFO - ellij.project.impl.ProjectImpl - 110 project components initialized in 1020 ms
2018-11-13 10:41:57,175 [   4466]   INFO - ij.components.ComponentManager - com.intellij.openapi.roots.impl.ModuleRootManagerComponent initialized in 87 ms
2018-11-13 10:41:57,184 [   4475]   INFO - le.impl.ModuleManagerComponent - 1 module(s) loaded in 126 ms
2018-11-13 10:41:57,304 [   4595]   INFO - j.ide.script.IdeStartupScripts - 0 startup script(s) found
2018-11-13 10:41:57,433 [   4724]   INFO - rojectCodeStyleSettingsManager - Initialized from default code style settings.
2018-11-13 10:41:57,774 [   5065]   INFO - .openapi.application.Preloader - com.intellij.openapi.actionSystem.impl.ActionPreloader took 2625 ms
2018-11-13 10:41:58,106 [   5397]   INFO - ellij.project.impl.ProjectImpl - 15 project components initialized in 15 ms
2018-11-13 10:41:58,122 [   5413]   INFO - .openapi.application.Preloader - com.intellij.ide.ui.search.SearchableOptionPreloader took 334 ms
2018-11-13 10:41:58,254 [   5545]   INFO - .diagnostic.PerformanceWatcher - Pushing Python language level to 7 roots in 1 SDKs took 148ms; general responsiveness: ok; EDT responsiveness: ok
2018-11-13 10:41:58,473 [   5764]   INFO - llij.database.util.SqlDialects - SQL dialects initialized in 203 ms
2018-11-13 10:41:58,598 [   5889]   INFO - .diagnostic.PerformanceWatcher - Pushing properties took 344ms; general responsiveness: ok; EDT responsiveness: ok
2018-11-13 10:41:58,598 [   5889]   INFO - .openapi.application.Preloader - com.intellij.codeInsight.completion.CompletionPreloader took 470 ms
2018-11-13 10:41:58,609 [   5900]   INFO - .openapi.application.Preloader - com.intellij.ide.actions.GotoClassPresentationUpdater took 8 ms
2018-11-13 10:41:58,906 [   6197]   INFO - .diagnostic.PerformanceWatcher - Indexable file iteration took 308ms; general responsiveness: ok; EDT responsiveness: ok
2018-11-13 10:41:58,906 [   6197]   INFO - indexing.UnindexedFilesUpdater - Unindexed files update started: 2 files to update
2018-11-13 10:41:58,953 [   6244]   INFO - tartup.impl.StartupManagerImpl - OpenFilesActivity run in 826ms under project opening modal progress
2018-11-13 10:41:59,172 [   6463]   INFO - .diagnostic.PerformanceWatcher - Post-startup activities under progress took 1175ms; general responsiveness: ok; EDT responsiveness: ok
2018-11-13 10:41:59,375 [   6666]   INFO - ndex.PrebuiltIndexProviderBase - Using prebuilt sdk-stubs from C:\Users\andrew\.PyCharm2018.3\system\index\.persistent\prebuilt\Python\sdk-stubs.input
2018-11-13 10:41:59,453 [   6744]   INFO - cloudConfig.CloudConfigManager - === Start.updateInitStatus ===
2018-11-13 10:41:59,453 [   6744]   INFO - cloudConfig.CloudConfigManager - === StatusBar.update create ===
2018-11-13 10:41:59,469 [   6760]   INFO - cloudConfig.CloudConfigManager - === calculateInitStatus ===
2018-11-13 10:41:59,890 [   7181]   INFO - j.ide.ui.OptionsTopHitProvider - 189 ms spent on EDT to cache options in application
2018-11-13 10:41:59,922 [   7213]   INFO - tartup.impl.StartupManagerImpl - E:/raspberrypi_opencv/.idea case-sensitivity: expected=false actual=false
2018-11-13 10:41:59,953 [   7244]   INFO - pl.projectlevelman.NewMappings - VCS Root: [] - [<Project>]
2018-11-13 10:41:59,984 [   7275]   INFO - plots.PySciEnvironmentProvider - Plots on port: 60637
2018-11-13 10:42:00,062 [   7353]   INFO - .cloudConfig.CloudConfigClient - === Get cloud config URL: https://cloudconfig.jetbrains.com/cloudconfig/files ===
2018-11-13 10:42:00,109 [   7400]   INFO - plugins.remotesdk.RemoteUpload - Uploading helpers to /home/pi/.pycharm_helpers
2018-11-13 10:42:00,250 [   7541]   INFO - Json.PackageJsonUpdateNotifier - processPackageJsonFiles []
2018-11-13 10:42:00,290 [   7581]   INFO - .diagnostic.PerformanceWatcher - Unindexed files update took 1384ms; general responsiveness: ok; EDT responsiveness: 1/2 sluggish, 1/2 very slow
2018-11-13 10:42:00,479 [   7770]   INFO - s.webDeployment.PublishUtils$1 - Using "C:\Users\andrew\AppData\Local\Temp\vfs_cache" as temporary files store.
2018-11-13 10:42:00,479 [   7770]   INFO - ellij.ssh.SshConnectionService - Creating sftp channel within SSH session @24030d94 to pi@192.168.50.224:22
2018-11-13 10:42:00,526 [   7817]   INFO - cloudConfig.CloudConfigManager - === calculateInitStatus.value: JBA_NOT_CONNECTED ===
2018-11-13 10:42:00,526 [   7817]   INFO - cloudConfig.CloudConfigManager - Invalid credentials
com.jetbrains.cloudconfig.exception.UnauthorizedException: Invalid credentials
    at com.jetbrains.cloudconfig.AbstractHttpClient.download(AbstractHttpClient.java:95)
    at com.jetbrains.cloudconfig.CloudConfigFileClient.list(CloudConfigFileClient.java:192)
    at com.intellij.idea.cloudConfig.ETagCloudConfigFileClient.list(ETagCloudConfigFileClient.java:38)
    at com.intellij.cloudConfig.CloudConfigManager.listFiles(CloudConfigManager.java:2124)
    at com.intellij.cloudConfig.CloudConfigManager.calculateInitStatus(CloudConfigManager.java:357)
    at com.intellij.cloudConfig.CloudConfigManager.lambda$updateInitStatus$4(CloudConfigManager.java:392)
    at com.intellij.openapi.application.impl.ApplicationImpl$1.run(ApplicationImpl.java:314)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)
Caused by: java.io.IOException: Server returned HTTP response code: 401 for URL: https://cloudconfig.jetbrains.com/cloudconfig/files/PyCharm/
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1876)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1474)
    at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)
    at com.jetbrains.cloudconfig.AbstractHttpClient.download(AbstractHttpClient.java:92)
    ... 11 more
2018-11-13 10:42:00,635 [   7926]   INFO - ellij.ssh.SshConnectionService - Creating sftp channel within SSH session @24030d94 to pi@192.168.50.224:22
2018-11-13 10:42:00,635 [   7926]   INFO - plugins.remotesdk.RemoteUpload - Remote helpers version is PY-183.4139.23, local helpers version is PY-183.4139.23
2018-11-13 10:42:00,684 [   7975]   INFO - ellij.ssh.SshConnectionService - Creating sftp channel within SSH session @24030d94 to pi@192.168.50.224:22
2018-11-13 10:42:00,720 [   8011]   INFO - ellij.ssh.SshConnectionService - Executing SSH command: cd /home/pi/opencv_projects/tmp/pycharm_project_255; env "PYCHARM_MATPLOTLIB_PORT"="60637" "PYDEVD_LOAD_VALUES_ASYNC"="True" "IPYTHONENABLE"="True" "PYTHONPATH"="/home/pi/opencv_projects/tmp/pycharm_project_255:/home/pi/.pycharm_helpers/pycharm_matplotlib_backend:/home/pi/.pycharm_helpers/third_party/thriftpy:/home/pi/.pycharm_helpers/pydev" "PYTHONUNBUFFERED"="1" "PYCHARM_HOSTED"="1" "PYCHARM_MATPLOTLIB_INDEX"="0" "PYCHARM_MATPLOTLIB_INTERACTIVE"="true" "JETBRAINS_REMOTE_RUN"="1" "PYTHONIOENCODING"="UTF-8" '/home/pi/.virtualenvs/cv/bin/python' '-u' '/home/pi/.pycharm_helpers/pydev/pydevconsole.py' '--mode=server' within SSH session @24030d94 to pi@192.168.50.224:22
2018-11-13 10:42:02,484 [   9775]   INFO - tor.impl.FileEditorManagerImpl - Project opening took 6524 ms
2018-11-13 10:42:02,520 [   9811]   INFO - cloudConfig.CloudConfigManager - === End.updateInitStatus ===
2018-11-13 10:42:02,804 [  10095]   INFO - j.ide.ui.OptionsTopHitProvider - 59 ms spent to cache options in project
2018-11-13 10:42:02,820 [  10111]   INFO - cloudConfig.CloudConfigManager - === StatusBar.start another widget: com.intellij.cloudConfig.StatusBarInfoManager$InfoComponent@6a177e14 ===
2018-11-13 10:42:02,990 [  10281]   INFO - j.ide.ui.OptionsTopHitProvider - 54 ms spent on EDT to cache options in project
2018-11-13 10:42:03,219 [  10510]   INFO - j.ide.plugins.RepositoryHelper - using cached plugin list (updated at 11/13/2018 10:36 AM)
2018-11-13 10:42:04,969 [  12260]   INFO - hon.packaging.PyPIPackageCache - Loaded 158274 packages from C:\Users\andrew\.PyCharm2018.3\system\python_packages\pypi-cache.json
2018-11-13 10:42:05,688 [  12979]   INFO - lidation.Pep8ExternalAnnotator - Error running pycodestyle.py: C:\Program Files\JetBrains\PyCharm 183.4139.23\helpers\pycodestyle.py:113: FutureWarning: Possible nested set at position 1
  EXTRANEOUS_WHITESPACE_REGEX = re.compile(r'[[({] | []}),;:]')
 
2018-11-13 10:42:05,859 [  13150]   INFO - ns.python.sdk.PythonSdkUpdater - Performing background update of skeletons for SDK Remote Python 3.5.3 (sftp://pi@192.168.50.224:22/home/pi/.virtualenvs/cv/bin/python) (sftp://pi@192.168.50.224:22/home/pi/.virtualenvs/cv/bin/python)
2018-11-13 10:42:05,859 [  13150]   INFO - .skeletons.PySkeletonRefresher - Refreshing skeletons for sftp://pi@192.168.50.224:22/home/pi/.virtualenvs/cv/bin/python
2018-11-13 10:42:05,875 [  13166]   INFO - plugins.remotesdk.RemoteUpload - Uploading helpers to /home/pi/.pycharm_helpers
2018-11-13 10:42:05,875 [  13166]   INFO - ellij.ssh.SshConnectionService - Creating sftp channel within SSH session @24030d94 to pi@192.168.50.224:22
2018-11-13 10:42:05,906 [  13197]   INFO - plugins.remotesdk.RemoteUpload - Remote helpers version is PY-183.4139.23, local helpers version is PY-183.4139.23
2018-11-13 10:42:05,906 [  13197]   INFO - ellij.ssh.SshConnectionService - Creating sftp channel within SSH session @24030d94 to pi@192.168.50.224:22
2018-11-13 10:42:05,938 [  13229]   INFO - ellij.ssh.SshConnectionService - Executing SSH command: env "JETBRAINS_REMOTE_RUN"="1" "PYTHONUNBUFFERED"="1" '/home/pi/.virtualenvs/cv/bin/python' '-u' '/home/pi/.pycharm_helpers/generator3.py' '-v' '-L' '-s' '/home/pi/.virtualenvs/cv/lib/python3.5/plat-arm-linux-gnueabihf:/usr/lib/python3.5:/usr/lib/python3.5/plat-arm-linux-gnueabihf:/home/pi/.virtualenvs/cv/lib/python3.5/site-packages:/home/pi/.pycharm_helpers/typeshed/stdlib/3:/home/pi/.pycharm_helpers/typeshed/stdlib/2and3:/home/pi/.pycharm_helpers/typeshed/third_party/3:/home/pi/.pycharm_helpers/typeshed/third_party/2and3' within SSH session @24030d94 to pi@192.168.50.224:22
2018-11-13 10:42:06,656 [  13947]   INFO - .skeletons.PySkeletonGenerator - Retrieving binary module list took 750 ms
2018-11-13 10:42:06,656 [  13947]   INFO - tPregeneratedSkeletonsProvider - Home path is C:\Program Files\JetBrains\PyCharm 183.4139.23
2018-11-13 10:42:06,656 [  13947]   INFO - tPregeneratedSkeletonsProvider - Pregenerated skeletons root is C:\Program Files\JetBrains\PyCharm 183.4139.23\skeletons
2018-11-13 10:42:06,671 [  13962]   INFO - .skeletons.PySkeletonRefresher - Rebuilding skeletons for binaries took 15 ms
2018-11-13 10:42:06,671 [  13962]   INFO - ellij.ssh.SshConnectionService - Creating sftp channel within SSH session @24030d94 to pi@192.168.50.224:22
2018-11-13 10:42:06,702 [  13993]   INFO - ellij.ssh.SshConnectionService - Executing SSH command: env "JETBRAINS_REMOTE_RUN"="1" "PYTHONUNBUFFERED"="1" '/home/pi/.virtualenvs/cv/bin/python' '-u' '/home/pi/.pycharm_helpers/generator3.py' '-v' '-S' '-s' '/home/pi/.pycharm_helpers/python_stubs/1187542283/' within SSH session @24030d94 to pi@192.168.50.224:22
2018-11-13 10:42:07,534 [  14825]   INFO - plots.PySciEnvironmentProvider - Plots on port: 60637
2018-11-13 10:42:07,541 [  14832]   INFO - plugins.remotesdk.RemoteUpload - Uploading helpers to /home/pi/.pycharm_helpers
2018-11-13 10:42:07,541 [  14832]   INFO - ellij.ssh.SshConnectionService - Creating sftp channel within SSH session @24030d94 to pi@192.168.50.224:22
2018-11-13 10:42:07,558 [  14849]   INFO - plugins.remotesdk.RemoteUpload - Remote helpers version is PY-183.4139.23, local helpers version is PY-183.4139.23
2018-11-13 10:42:07,559 [  14850]   INFO - ellij.ssh.SshConnectionService - Creating sftp channel within SSH session @24030d94 to pi@192.168.50.224:22
2018-11-13 10:42:07,574 [  14865]   INFO - ellij.ssh.SshConnectionService - Executing SSH command: cd /home/pi/opencv_projects/tmp/pycharm_project_255; env "PYCHARM_MATPLOTLIB_PORT"="60637" "PYDEVD_LOAD_VALUES_ASYNC"="True" "IPYTHONENABLE"="True" "PYTHONPATH"="/home/pi/opencv_projects/tmp/pycharm_project_255:/home/pi/.pycharm_helpers/pycharm_matplotlib_backend:/home/pi/.pycharm_helpers/third_party/thriftpy:/home/pi/.pycharm_helpers/pydev" "PYTHONUNBUFFERED"="1" "PYCHARM_HOSTED"="1" "PYCHARM_MATPLOTLIB_INDEX"="0" "PYCHARM_MATPLOTLIB_INTERACTIVE"="true" "JETBRAINS_REMOTE_RUN"="1" "PYTHONIOENCODING"="UTF-8" '/home/pi/.virtualenvs/cv/bin/python' '-u' '/home/pi/.pycharm_helpers/pydev/pydevconsole.py' '--mode=server' within SSH session @24030d94 to pi@192.168.50.224:22
2018-11-13 10:42:07,621 [  14912]   INFO - .skeletons.PySkeletonGenerator - Retrieving binary module list took 950 ms
2018-11-13 10:42:07,730 [  15021]   INFO - ellij.ssh.SshConnectionService - Creating sftp channel within SSH session @24030d94 to pi@192.168.50.224:22
2018-11-13 10:42:07,792 [  15083]   INFO - plugins.remotesdk.RemoteUpload - Uploading helpers to /home/pi/.pycharm_helpers
2018-11-13 10:42:07,808 [  15099]   INFO - ellij.ssh.SshConnectionService - Creating sftp channel within SSH session @24030d94 to pi@192.168.50.224:22
2018-11-13 10:42:07,824 [  15115]   INFO - ellij.ssh.SshConnectionService - Executing SSH command: env "JETBRAINS_REMOTE_RUN"="1" '/home/pi/.virtualenvs/cv/bin/python' '-u' '/home/pi/.pycharm_helpers/generator3.py' '-z' '/home/pi/.pycharm_helpers/python_stubs/1187542283/' within SSH session @24030d94 to pi@192.168.50.224:22
2018-11-13 10:42:07,834 [  15125]   INFO - plugins.remotesdk.RemoteUpload - Remote helpers version is PY-183.4139.23, local helpers version is PY-183.4139.23
2018-11-13 10:42:07,851 [  15142]   INFO - .skeletons.PySkeletonGenerator - Compressing 1 source files
2018-11-13 10:42:08,542 [  15833]   INFO - .skeletons.PySkeletonGenerator - Remote zip process terminated with exit code 0
2018-11-13 10:42:08,542 [  15833]   INFO - .skeletons.PySkeletonGenerator - Downloading zipped sources and localSourcesFile: /home/pi/.pycharm_helpers/python_stubs/1187542283/skeletons.zip
2018-11-13 10:42:08,542 [  15833]   INFO - ellij.ssh.SshConnectionService - Creating sftp channel within SSH session @24030d94 to pi@192.168.50.224:22
2018-11-13 10:42:08,589 [  15880]   INFO - .skeletons.PySkeletonGenerator - Extracting downloaded zipped sources and localSourcesFile: C:\Users\andrew\.PyCharm2018.3\system\python_stubs\1187542283\skeletons.zip
2018-11-13 10:42:08,589 [  15880]   INFO - .skeletons.PySkeletonGenerator - Extracted 1 files from skeletons zip
2018-11-13 10:42:08,589 [  15880]   INFO - .skeletons.PySkeletonGenerator - Sources and skeletons are loaded in 1918 millis.
2018-11-13 10:42:08,683 [  15974]   INFO - ns.python.sdk.PythonSdkUpdater - Binary skeletons directory for SDK Remote Python 3.5.3 (sftp://pi@192.168.50.224:22/home/pi/.virtualenvs/cv/bin/python) (sftp://pi@192.168.50.224:22/home/pi/.virtualenvs/cv/bin/python)): C:/Users/andrew/.PyCharm2018.3/system/python_stubs/1187542283
2018-11-13 10:42:08,683 [  15974]   INFO - ns.python.sdk.PythonSdkUpdater - User skeletons directory for SDK Remote Python 3.5.3 (sftp://pi@192.168.50.224:22/home/pi/.virtualenvs/cv/bin/python) (sftp://pi@192.168.50.224:22/home/pi/.virtualenvs/cv/bin/python)): C:/Program Files/JetBrains/PyCharm 183.4139.23/helpers/python-skeletons
2018-11-13 10:42:08,683 [  15974]   INFO - ns.python.sdk.PythonSdkUpdater - Performing background scan of packages for SDK Remote Python 3.5.3 (sftp://pi@192.168.50.224:22/home/pi/.virtualenvs/cv/bin/python) (sftp://pi@192.168.50.224:22/home/pi/.virtualenvs/cv/bin/python)
2018-11-13 10:42:08,683 [  15974]   INFO - ellij.ssh.SshConnectionService - Creating sftp channel within SSH session @24030d94 to pi@192.168.50.224:22
2018-11-13 10:42:08,714 [  16005]   INFO - plugins.remotesdk.RemoteUpload - Uploading helpers to /home/pi/.pycharm_helpers
2018-11-13 10:42:08,714 [  16005]   INFO - ellij.ssh.SshConnectionService - Creating sftp channel within SSH session @24030d94 to pi@192.168.50.224:22
2018-11-13 10:42:08,729 [  16020]   INFO - ellij.ssh.SshConnectionService - Executing SSH command: env "JETBRAINS_REMOTE_RUN"="1" "PYTHONUNBUFFERED"="1" '/home/pi/.virtualenvs/cv/bin/python' '/home/pi/.pycharm_helpers/packaging_tool.py' 'list' within SSH session @24030d94 to pi@192.168.50.224:22
2018-11-13 10:42:09,490 [  16781]   INFO - lidation.Pep8ExternalAnnotator - Error running pycodestyle.py: C:\Program Files\JetBrains\PyCharm 183.4139.23\helpers\pycodestyle.py:113: FutureWarning: Possible nested set at position 1
  EXTRANEOUS_WHITESPACE_REGEX = re.compile(r'[[({] | []}),;:]')
 
2018-11-13 10:42:16,621 [  23912]   INFO - ide.actions.ShowFilePathAction -
Exit code 1

0
Comment actions Permalink

I uploaded the file as needed

edit---

I looked at your link and it doesn't make any sense. Are you official support for jetbrains?

0
Comment actions Permalink

Please add #com.intellij.ssh to Help | Debug Log Settings..., reproduce the problem and then upload updated idea.log to https://uploads.services.jetbrains.com/.

0
Comment actions Permalink

Btw, have you tried adding DISPLAY=:0 (or maybe DISPLAY=0)  to your Run/Debug Configuration as Environment variable?

0

Please sign in to leave a comment.