Thread: [Pydev-users] [pydev - Users] RE: PyDev doesn't except my own interpreter
Brought to you by:
fabioz
From: SourceForge.net <no...@so...> - 2006-08-08 06:37:49
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=3857424 By: prkelly I have a similar problem: Pydev wont accept my interpreter when selecting a new interpreter in the Pydev preferences page. pydev prints out an information message in the eclipse error log. I have attached the output from running interpreterinfo.py and also the eclipse error interpreterinfo.py ------------------ c:\>cobra interpreterInfo.py EXECUTABLE:c:\home\fast\esp\bin\cobra.exe| prefix is c:\home\fast\esp |.OUT_PATH |c:\home\fast\esp\lib\python2.3INS_PATH |c:\home\fast\esp\lib\python2.3\encodingsINS_PATH |c:\documents and settings\kelpau\desktop\eclipse3.2\plugins\org.python.pydev_1.2.2\pysrcOUT_PATH |c:\home\fast\esp\bin\python23.zipINS_PATH |.OUT_PATH |c:\home\fast\esp\dllsINS_PATH |c:\home\fast\esp\libINS_PATH |c:\home\fast\esp\lib\plat-winINS_PATH |c:\home\fast\esp\lib\lib-tkINS_PATH |c:\home\fast\esp\binINS_PATH @ $ | __builtin__ | __main__ | _codecs | _hotshot | _locale | _random | _weakref | array | audioop | binascii | cPickle | cStringIO | cmath | errno | exceptions | gc | imageop | imp | itertools | marshal | math | md5 | msvcrt | nt | operator | pcre | regex | rgbimg | rotor | sha | signal | strop | struct | sys | thread | time | xreadlines | xxsubtype | zipimport Traceback (most recent call last): File "cobra.py", line 196, in ? File "cobra.py", line 187, in main File "interpreterInfo.py", line 88, in ? 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). Eclipse Error Log: ------------------ Preferences I have included the output from my interpreter eclipse.buildId=M20060628-1325 java.version=1.5.0_06 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_AU Command-line arguments: -os win32 -ws win32 -arch x86 Info Tue Aug 08 16:19:01 EST 2006 Information about process of adding new interpreter: - Opening dialog to request executable (or jar). - Chosen interpreter file:'C:\home\fast\esp\bin\cobra.exe - Ok, file is non-null. Getting info on:C:\home\fast\esp\bin\cobra.exe - Beggining task:Getting libs totalWork:100 - Setting task name:Mounting executable string... - Setting task name:Executing: C:\home\fast\esp\bin\cobra.exe -u "C:\Documents and Settings\kelpau\Desktop\eclipse3.2\plugins\org.python.pydev_1.2.2\PySrc\inte rpreterInfo.py" - Setting task name:Making pythonpath environment... C:\home\fast\esp\bin\cobra.exe -u "C:\Documents and Settings\kelpau\Desktop\eclipse3.2\plugins\org.python.pydev_1.2.2\PySrc\interpre terInfo.py" - Setting task name:Making exec... C:\home\fast\esp\bin\cobra.exe -u "C:\Documents and Settings\kelpau\Desktop\eclipse3.2\plugins\org.python.pydev_1.2.2\PySrc\inte rpreterInfo.py" - Setting task name:Reading output... - Setting task name:Waiting for process to finish. Exception detected: java.lang.RuntimeException: Unable to recreate the Interpreter info (Its format changed. Please, re-create your Interpreter information) - Some error happened while getting info on the interpreter: java.lang.RuntimeException: java.lang.RuntimeException: Unable to recreate the Interpreter info (Its format changed. Please, re-create your Interpreter information) at org.python.pydev.ui.interpreters.AbstractInterpreterManager.getInterpreterIn fo(AbstractInterpreterManager.java:189) at org.python.pydev.ui.interpreters.AbstractInterpreterManager.addInterpreter(A bstractInterpreterManager.java:227) at org.python.pydev.ui.pythonpathconf.AbstractInterpreterEditor$Operation.run(A bstractInterpreterEditor.java:690) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext .java:113) Caused by: java.lang.RuntimeException: Unable to recreate the Interpreter info (Its format changed. Please, re-create your Interpreter information) at org.python.pydev.ui.pythonpathconf.InterpreterInfo.fromString(InterpreterInf o.java:141) at org.python.pydev.ui.pythonpathconf.InterpreterInfo.fromString(InterpreterInf o.java:129) at org.python.pydev.ui.interpreters.AbstractInterpreterManager.createInfoFromOu tput(AbstractInterpreterManager.java:168) at org.python.pydev.ui.interpreters.PythonInterpreterManager.doCreateInterprete rInfo(PythonInterpreterManager.java:61) at org.python.pydev.ui.interpreters.PythonInterpreterManager.createInterpreterI nfo(PythonInterpreterManager.java:42) at org.python.pydev.ui.interpreters.AbstractInterpreterManager.getInterpreterIn fo(AbstractInterpreterManager.java:184) ... 3 more ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=293649 |
From: SourceForge.net <no...@so...> - 2006-08-09 21:38:47
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=3860552 By: prkelly ahh - your right! My interpreter doesn't accept '-u'. Is it possible for me to change this somewhere in pydev to not use '-u' as it could be a long process getting changes made to our interpreter . Cheers Paul ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=293649 |
From: SourceForge.net <no...@so...> - 2006-08-09 23:11:46
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=3860640 By: fabioz Well, you could get the pydev code and change it if you think that this is easier than changing your interpreter... Cheers, Fabio ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=293649 |
From: SourceForge.net <no...@so...> - 2006-08-15 06:54:43
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=3867872 By: prkelly Thanks Fabio, removing '-u' from the pydev runners that start the interpreter worked fine. I had to learn a bit about building eclipse plugins at the same time! It was very straight forward in the end. ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=293649 |
From: SourceForge.net <no...@so...> - 2006-08-08 10:58:21
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=3857715 By: fabioz Well, it is running "cobra -u interpreterInfo.py" for unbuffered output... does your interpreter accept it? I've also changed the error to show your output if it fails... (will be out in 1.2.3) Cheers, Fabio ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=293649 |