Thread: [Pydev-users] [Users] Unable to launch auto completion (bitnami)
Brought to you by:
fabioz
From: SourceForge.net <no...@so...> - 2011-08-20 22:34:58
|
The following forum message was posted by tnine9 at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4666725: Hi all, I'm new to Python from Java. I've installed the bitnami stack, and I'm having issues getting code completion to work. I'm using the latest aptana studio 3 ( 3.0.4.201108101506) and pydev (2.2.1.2011073123) using the django bitnami stack version 1.3-1 on OS X 10.5.6. Here is how I have configured PyDev. Interpreter: /Applications/djangostack-1.3-1/python/bin/python Which has correctly detected all my modules. I can start the process manually after changing my DYLD_LIBRARY_PATH using the bitnami bin/setenv.sh script python /Applications/Aptana\ Studio\ 3/plugins/org.python.pydev_2.2.1.2011073123/PySrc/pycompletionserver.py 2930 2931 This is the error I receive in the .log file <pre> !ENTRY org.python.pydev.core 4 4 2011-08-21 10:32:00.646 !MESSAGE Error connecting to python process (Name:/Applications/djangostack-1.3-1/python/bin/python:EndName:Version2.6Execut able:/Applications/djangostack-1.3-1/python/bin/.python.bin|/Applications/django stack-1.3-1/python/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg|/Appl ications/djangostack-1.3-1/python/lib/python2.6/site-packages/MySQL_python-1.2.3 c1-py2.6-macosx-10.4-i386.egg|/Applications/djangostack-1.3-1/python/lib/python2 .6/site-packages/South-0.7.3-py2.6.egg|/Applications/djangostack-1.3-1/python/li b/python2.6/site-packages/html5lib-0.90-py2.6.egg|/Applications/djangostack-1.3- 1/python/lib/python2.6/site-packages/django_sentry-1.8.9-py2.6.egg|/Applications /djangostack-1.3-1/python/lib/python2.6/site-packages/importlib-1.0.2-py2.6.egg| /Applications/djangostack-1.3-1/python/lib/python2.6/site-packages/django_templa tetag_sugar-0.1-py2.6.egg|/Applications/djangostack-1.3-1/python/lib/python2.6/s ite-packages/django_indexer-0.3.0-py2.6.egg|/Applications/djangostack-1.3-1/pyth on/lib/python2.6/site-packages/django_paging-0.2.4-py2.6.egg|/Applications/djang ostack-1.3-1/python/lib/python2.6/site-packages/Pinax-0.9a2.dev1004-py2.6.egg|/A pplications/djangostack-1.3-1/python/lib/python2.6/site-packages/Unipath-0.2.1-p y2.6.egg|/Applications/djangostack-1.3-1/python/lib/python26.zip|/Applications/d jangostack-1.3-1/python/lib/python2.6|/Applications/djangostack-1.3-1/python/lib /python2.6/plat-darwin|/Applications/djangostack-1.3-1/python/lib/python2.6/plat -mac|/Applications/djangostack-1.3-1/python/lib/python2.6/plat-mac/lib-scriptpac kages|/Applications/djangostack-1.3-1/python/lib/python2.6/lib-tk|/Applications/ djangostack-1.3-1/python/lib/python2.6/lib-old|/Applications/djangostack-1.3-1/p ython/lib/python2.6/lib-dynload|/Applications/djangostack-1.3-1/python/lib/pytho n2.6/site-packages@$|Image|OpenGL|__builtin__|__main__|_ast|_bisect|_bytesio|_co decs|_codecs_cn|_codecs_hk|_codecs_iso2022|_codecs_jp|_codecs_kr|_codecs_tw|_col lections|_csv|_fileio|_functools|_heapq|_hotshot|_json|_locale|_lsprof|_md5|_mul tibytecodec|_random|_sha|_sha256|_sha512|_socket|_sre|_ssl|_struct|_subprocess|_ symtable|_warnings|_weakref|_winreg|array|audioop|binascii|cPickle|cStringIO|cma th|datetime|email|errno|exceptions|future_builtins|gc|hashlib|imageop|imp|iterto ols|marshal|math|mmap|msvcrt|nt|numpy|operator|os|os.path|parser|posix|pwd|pytes t|readline|scipy|signal|socket|strop|sys|thread|time|wx|wxPython|xxsubtype|zipim port|zlib /Applications/Aptana Studio 3/plugins/org.python.pydev_2.2.1.2011073123/PySrc/pycompletionserver.py 58525 58524) - the process in NOT ALIVE anymore (output=133) - the output of the process is: Std output: Err output: dyld: Library not loaded: /bitnami/djangostack-osx-x86/output/common/lib/libreadline.5.2.dylib Referenced from: /Applications/djangostack-1.3-1/python/bin/.python.bin Reason: image not found !STACK 0 java.lang.RuntimeException: Error connecting to python process (Name:/Applications/djangostack-1.3-1/python/bin/python:EndName:Version2.6Execut able:/Applications/djangostack-1.3-1/python/bin/.python.bin|/Applications/django stack-1.3-1/python/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg|/Appl ications/djangostack-1.3-1/python/lib/python2.6/site-packages/MySQL_python-1.2.3 c1-py2.6-macosx-10.4-i386.egg|/Applications/djangostack-1.3-1/python/lib/python2 .6/site-packages/South-0.7.3-py2.6.egg|/Applications/djangostack-1.3-1/python/li b/python2.6/site-packages/html5lib-0.90-py2.6.egg|/Applications/djangostack-1.3- 1/python/lib/python2.6/site-packages/django_sentry-1.8.9-py2.6.egg|/Applications /djangostack-1.3-1/python/lib/python2.6/site-packages/importlib-1.0.2-py2.6.egg| /Applications/djangostack-1.3-1/python/lib/python2.6/site-packages/django_templa tetag_sugar-0.1-py2.6.egg|/Applications/djangostack-1.3-1/python/lib/python2.6/s ite-packages/django_indexer-0.3.0-py2.6.egg|/Applications/djangostack-1.3-1/pyth on/lib/python2.6/site-packages/django_paging-0.2.4-py2.6.egg|/Applications/djang ostack-1.3-1/python/lib/python2.6/site-packages/Pinax-0.9a2.dev1004-py2.6.egg|/A pplications/djangostack-1.3-1/python/lib/python2.6/site-packages/Unipath-0.2.1-p y2.6.egg|/Applications/djangostack-1.3-1/python/lib/python2 |
From: SourceForge.net <no...@so...> - 2011-08-21 11:19:06
|
The following forum message was posted by fabioz at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4666725: It seems that the problem is that the shell that PyDev is spawning for the code-completion does not have the DYLD_LIBRARY_PATH configured properly, as the real error is: dyld: Library not loaded: /bitnami/djangostack-osx-x86/output/common/lib/libreadline.5.2.dylib Referenced from: /Applications/djangostack-1.3-1/python/bin/.python.bin Reason: image not found So, to fix that, close eclipse, start a shell, run the .sh that'll contfigure that shell and then launch eclipse from that shell (this should make it inherit the values from the shell (where you can already launch the pycompletionserver). Cheers, Fabio |