Menu

Pydev hangs on interpreter addition

2009-01-12
2013-03-15
  • Still in Beta

    Still in Beta - 2009-01-12

    OS: Window XP Professional Service Pack 3
    Eclipse: Ganymede (3.4.0)
    Pydev: 1.4.0
    Python: 2.6.1

    I installed PyDev using the Zip method, and it appears to be installed correctly. However, whenever I attempt to add my Python interpreter, it hangs at the prompt "Making pythonpath environment... C:\[Path\to\pydev\]...pydev_1.4.0\PySrc\interpreterInfo.py" at approximately 15% complete.

    Notes about my installation:  I am running as a limited user (and cannot get administrator). I have several versions of python "installed" but no registry changes have been made, due to the aforementioned privilege restrictions.

    Any help would be greatly appreciated.

     
    • Fabio Zadrozny

      Fabio Zadrozny - 2009-01-13

      Do you have something in your error log when that happens?

      Cheers,

      Fabio

       
    • Still in Beta

      Still in Beta - 2009-01-13

      I'm looking through my error log and I don't see anything relating to pydev. Just this:

      eclipse.buildId=I20080617-2000
      java.version=1.5.0_06
      java.vendor=Sun Microsystems Inc.
      BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
      Command-line arguments:  -os win32 -ws win32 -arch x86

      Warning
      Mon Jan 12 14:28:57 CST 2009
      Problems resolving provisioning plan.

      and

      eclipse.buildId=M20071023-1652
      java.version=1.5.0_12
      java.vendor=Sun Microsystems Inc.
      BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
      Command-line arguments:  -os win32 -ws win32 -arch x86

      Warning
      Mon Jan 12 10:11:19 CST 2009
      Warnings while parsing the view contributions from the 'org.eclipse.ui.viewActions' extension point

      and

      eclipse.buildId=M20071023-1652
      java.version=1.5.0_12
      java.vendor=Sun Microsystems Inc.
      BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
      Command-line arguments:  -os win32 -ws win32 -arch x86

      Warning
      Mon Jan 12 10:11:19 CST 2009
      Actions require a non-empty label or definitionId: plug-in='ru.nlmk.eclipseutilplugins', id='AUTOGEN:::eclipseutilplugins.viewPackageExplorer/eclipseutilplugins.PackageAction2'

      Are those relevant?

       
      • Fabio Zadrozny

        Fabio Zadrozny - 2009-01-14

        Can you try running from the command line:

        python -u eclipse/plugins/org.python.pydev/pysrc/interpreterinfo.py

        And see what happens...

         
    • Still in Beta

      Still in Beta - 2009-01-16

      There's some screwy stuff with the command line in my environment, so I just ran the script from IDLE. Here are the results:

      >>>
      Version2.6
      EXECUTABLE:C:\localdocs\dev\python26\pythonw.exe|
      |C:\localdocs\apps\eclipse\plugins\org.python.pydev_1.4.0\PySrcOUT_PATH
      |C:\localdocs\dev\python26INS_PATH
      |C:\localdocs\dev\python26\DLLsINS_PATH
      |C:\localdocs\dev\python26\Lib\idlelibINS_PATH
      |C:\localdocs\dev\python26\libINS_PATH
      |C:\localdocs\dev\python26\lib\lib-tkINS_PATH
      |C:\localdocs\dev\python26\lib\plat-winINS_PATH
      |C:\localdocs\dev\python26\lib\site-packagesINS_PATH
      |C:\localdocs\dev\python26\python26.zipINS_PATH
      @
      $
      |__builtin__
      |__main__
      |_ast
      |_bisect
      |_bytesio
      |_codecs
      |_codecs_cn
      |_codecs_hk
      |_codecs_iso2022
      |_codecs_jp
      |_codecs_kr
      |_codecs_tw
      |_collections
      |_csv
      |_fileio
      |_functools
      |_heapq
      |_hotshot
      |_json
      |_locale
      |_lsprof
      |_md5
      |_multibytecodec
      |_random
      |_sha
      |_sha256
      |_sha512
      |_sre
      |_struct
      |_subprocess
      |_symtable
      |_warnings
      |_weakref
      |_winreg
      |array
      |audioop
      |binascii
      |cPickle
      |cStringIO
      |cmath
      |datetime
      |errno
      |exceptions
      |future_builtins
      |gc
      |imageop
      |imp
      |itertools
      |marshal
      |math
      |mmap
      |msvcrt
      |nt
      |operator
      |parser
      |signal
      |strop
      |sys
      |thread
      |time
      |xxsubtype
      |zipimport
      |zlib

      Traceback (most recent call last):
        File "C:\localdocs\apps\eclipse\plugins\org.python.pydev_1.4.0\PySrc\interpreterInfo.py", line 132, in <module>
          raise RuntimeError('Ok, this is so that it shows the output (ugly hack for some platforms, so that it releases the output).')
      RuntimeError: Ok, this is so that it shows the output (ugly hack for some platforms, so that it releases the output).

      Any help?

       
    • zach str

      zach str - 2009-01-16

      I'm on the same network as stillinbeta, and while poking around i found that setup works if you select pythonw.exe rather than python.exe. However, eclipse locked up when I tried to run a program.