Giter VIP home page Giter VIP logo

Comments (3)

tweekmonster avatar tweekmonster commented on June 8, 2024

I haven't tested this with Python 3.6, let alone Windows. All I can say is that this looks like the PYTHONPATH environment variable isn't seen by the server.

You could try adding:

log.debug('XXX ENV: %r', self.env)

on this line: https://github.com/zchee/deoplete-jedi/blob/6240de812f06263524f46379ad08a0d3d539730f/rplugin/python3/deoplete/sources/deoplete_jedi/server.py#L491

Then post the emitted message that's in the log file.

Side note: Does this need to use C:\whatever on Windows?

call deoplete#enable_logging('DEBUG', '/tmp/deoplete.log')

from deoplete-jedi.

arkottke avatar arkottke commented on June 8, 2024

Here is the output of self.env:

2017-02-17 07:48:42,553 INFO     (deoplete.logging) --- Deoplete Log Start ---
2017-02-17 07:48:42,585 INFO     (deoplete.logging) NVIM v0.2.0-625-gbeb2ef46, Python 3.6.0, neovim client 0.1.13
2017-02-17 07:48:53,213 DEBUG    (deoplete.jedi.client) XXX ENV: {'ALLUSERSPROFILE': 'C:\\ProgramData', 'APPDATA': 'C:\\Users\\akottke\\AppData\\Roaming', 'COMMONPROGRAMFILES': 'C:\\Program Files\\Common Files', 'COMMONPROGRAMFILES(X86)': 'C:\\Program Files (x86)\\Common Files', 'COMMONPROGRAMW6432': 'C:\\Program Files\\Common Files', 'COMPUTERNAME': 'SFBD29905', 'COMSPEC': 'C:\\Windows\\system32\\cmd.exe', 'FLEXLM_TIMEOUT': '200000000', 'FP_NO_HOST_CHECK': 'NO', 'GDAL_DATA': 'C:\\Program Files\\PostgreSQL\\9.5\\gdal-data', 'GEOSERVER_DATA_DIR': 'C:\\Program Files (x86)\\GeoServer 2.8.2\\data_dir', 'HOME': 'C:\\Users\\akottke', 'HOMEDRIVE': 'M:', 'HOMEPATH': '\\', 'HOMESHARE': '\\\\asbf54040\\users$', 'HTTPS_PROXY': 'https://localhost:3128', 'HTTP_PROXY': 'http://localhost:3128', 'JAVA_HOME': 'C:\\Program Files (x86)\\Java\\jre1.8.0_45', 'LOCALAPPDATA': 'C:\\Users\\akottke\\AppData\\Local', 'LOGONSERVER': '\\\\CHIS-AMERS1', 'MOZ_PLUGIN_PATH': 'C:\\Program Files (x86)\\Nuance\\Power PDF\\Bin\\', 'MYVIMRC': 'C:\\Users\\akottke\\AppData\\Local\\nvim\\init.vim', 'NUMBER_OF_PROCESSORS': '4', 'NVIM_LISTEN_ADDRESS': '\\\\.\\pipe\\nvim-26508-0', 'ONEDRIVE': 'C:\\Users\\akottke\\OneDrive - Bechtel Corporation', 'OS': 'Windows_NT', 'PATH': 'C:\\Users\\akottke\\AppData\\Local\\Continuum\\Miniconda3\\Library\\bin;C:\\Program Files\\Common Files\\Microsoft Shared\\Windows Live;C:\\Program Files (x86)\\Common Files\\Microsoft Shared\\Windows Live;C:\\ProgramData\\Oracle\\Java\\javapath;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0;C:\\Program Files\\SafeNet\\Authentication\\SAC\\x32;C:\\Program Files\\SafeNet\\Authentication\\SAC\\x64;C:\\Program Files (x86)\\Java\\jre7\\bin;C:\\Program Files (x86)\\Microsoft Application Virtualization Client;C:\\Program Files (x86)\\Unrar;c:\\Program Files (x86)\\MATLAB\\MATLAB Compiler Runtime\\v714\\runtime\\win32;C:\\Program Files\\MATLAB\\MATLAB Compiler Runtime\\v82\\runtime\\win64;C:\\Program Files (x86)\\MATLAB\\MATLAB Compiler Runtime\\v82\\runtime\\win32;C:\\Program Files (x86)\\SysinternalsSuite;C:\\Program Files (x86)\\MiKTeX 2.9\\miktex\\bin;C:\\Program Files\\gs\\gs9.19\\bin;C:\\Program Files (x86)\\GnuWin32\\bin;C:\\Program Files (x86)\\Windows Live\\Shared;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Strawberry\\c\\bin;C:\\Strawberry\\perl\\site\\bin;C:\\Strawberry\\perl\\bin;C:\\Program Files (x86)\\Windows Kits\\8.1\\Windows Performance Toolkit\\;C:\\Users\\akottke\\AppData\\Local\\Programs\\Python\\Launcher\\;C:\\Users\\akottke\\AppData\\Local\\Continuum\\Miniconda3;C:\\Users\\akottke\\AppData\\Local\\Continuum\\Miniconda3\\Scripts;C:\\Users\\akottke\\AppData\\Local\\Continuum\\Miniconda3\\Library\\bin;C:\\Users\\akottke\\Documents\\bin;C:\\Program Files\\mupdf;C:\\devel\\nvim\\bin', 'PATHEXT': '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC', 'POSTGIS_ENABLE_OUTDB_RASTERS': '1', 'POSTGIS_GDAL_ENABLED_DRIVERS': 'GTiff PNG JPEG GIF XYZ DTED USGSDEM AAIGrid', 'PROCESSOR_ARCHITECTURE': 'AMD64', 'PROCESSOR_IDENTIFIER': 'Intel64 Family 6 Model 58 Stepping 9, GenuineIntel', 'PROCESSOR_LEVEL': '6', 'PROCESSOR_REVISION': '3a09', 'PROGRAMDATA': 'C:\\ProgramData', 'PROGRAMFILES': 'C:\\Program Files', 'PROGRAMFILES(X86)': 'C:\\Program Files (x86)', 'PROGRAMW6432': 'C:\\Program Files', 'PROMPT': '$p$_$+$g', 'PSMODULEPATH': 'C:\\Users\\akottke\\Documents\\WindowsPowerShell\\Modules', 'PUBLIC': 'C:\\Users\\Public', 'SESSIONNAME': 'Console', 'SYSTEMDRIVE': 'C:', 'SYSTEMROOT': 'C:\\Windows', 'TEMP': 'c:\\temp', 'TESSDATA_PREFIX': 'C:\\Program Files (x86)\\Tesseract-OCR\\', 'TMP': 'c:\\temp', 'UATDATA': 'C:\\Windows\\CCM\\UATData\\D9F8C395-CAB8-491d-B8AC-179A1FE1BE77', 'USERDNSDOMAIN': 'AMERS.IBECHTEL.COM', 'USERDOMAIN': 'IAMERS', 'USERNAME': 'akottke', 'USERPROFILE': 'C:\\Users\\akottke', 'VIM': 'C:\\devel\\nvim\\share\\nvim', 'VIMRUNTIME': 'C:\\devel\\nvim\\share\\nvim\\runtime', 'VS140COMNTOOLS': 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\Common7\\Tools\\', 'WINDIR': 'C:\\Windows', 'PYTHONPATH': 'C:\\Users\\akottke\\AppData\\Local\\nvim\\bundle\\deoplete-jedi\\rplugin/python3/deoplete\\jedi:C:\\Users\\akottke\\AppData\\Local\\nvim\\bundle\\deoplete-jedi\\rplugin/python3/deoplete\\sources'}

It looks like the PYTHONPATH is being joined by : instead of ;.

from deoplete-jedi.

tweekmonster avatar tweekmonster commented on June 8, 2024

Good catch!

from deoplete-jedi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.