pydev-users Mailing List for PyDev for Eclipse (Page 10)
Brought to you by:
fabioz
You can subscribe to this list here.
2004 |
Jan
(2) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2005 |
Jan
|
Feb
(1) |
Mar
(2) |
Apr
(1) |
May
|
Jun
(2) |
Jul
(2) |
Aug
(4) |
Sep
(3) |
Oct
(1) |
Nov
(2) |
Dec
|
2006 |
Jan
(2) |
Feb
(4) |
Mar
(1) |
Apr
(49) |
May
(123) |
Jun
(162) |
Jul
(96) |
Aug
(59) |
Sep
(69) |
Oct
(73) |
Nov
(71) |
Dec
(29) |
2007 |
Jan
(68) |
Feb
(97) |
Mar
(170) |
Apr
(86) |
May
(78) |
Jun
(62) |
Jul
(114) |
Aug
(71) |
Sep
(145) |
Oct
(107) |
Nov
(43) |
Dec
(41) |
2008 |
Jan
(46) |
Feb
(66) |
Mar
(70) |
Apr
(91) |
May
(119) |
Jun
(104) |
Jul
(92) |
Aug
(83) |
Sep
(68) |
Oct
(146) |
Nov
(76) |
Dec
(70) |
2009 |
Jan
(114) |
Feb
(101) |
Mar
(153) |
Apr
(203) |
May
(85) |
Jun
(100) |
Jul
(109) |
Aug
(93) |
Sep
(48) |
Oct
(2) |
Nov
(1) |
Dec
(15) |
2010 |
Jan
(9) |
Feb
(12) |
Mar
(25) |
Apr
(61) |
May
(107) |
Jun
(75) |
Jul
(76) |
Aug
(91) |
Sep
(100) |
Oct
(46) |
Nov
(47) |
Dec
(28) |
2011 |
Jan
(105) |
Feb
(88) |
Mar
(82) |
Apr
(45) |
May
(46) |
Jun
(76) |
Jul
(73) |
Aug
(77) |
Sep
(53) |
Oct
(65) |
Nov
(58) |
Dec
(57) |
2012 |
Jan
(53) |
Feb
(19) |
Mar
(4) |
Apr
(9) |
May
(2) |
Jun
(3) |
Jul
(1) |
Aug
(3) |
Sep
(3) |
Oct
(4) |
Nov
(1) |
Dec
(12) |
2013 |
Jan
(6) |
Feb
(2) |
Mar
(3) |
Apr
|
May
(2) |
Jun
(8) |
Jul
(2) |
Aug
|
Sep
(1) |
Oct
|
Nov
(2) |
Dec
(2) |
2014 |
Jan
(4) |
Feb
|
Mar
(1) |
Apr
|
May
(3) |
Jun
|
Jul
(1) |
Aug
(1) |
Sep
(4) |
Oct
(1) |
Nov
(3) |
Dec
(2) |
2015 |
Jan
(1) |
Feb
(3) |
Mar
|
Apr
(2) |
May
(4) |
Jun
(1) |
Jul
(5) |
Aug
(12) |
Sep
|
Oct
(1) |
Nov
|
Dec
(15) |
2016 |
Jan
(16) |
Feb
(7) |
Mar
|
Apr
|
May
(3) |
Jun
(8) |
Jul
|
Aug
(2) |
Sep
|
Oct
(1) |
Nov
(5) |
Dec
|
2017 |
Jan
(1) |
Feb
|
Mar
(1) |
Apr
(1) |
May
|
Jun
(2) |
Jul
|
Aug
(1) |
Sep
(3) |
Oct
|
Nov
(2) |
Dec
|
2018 |
Jan
|
Feb
(2) |
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
(1) |
Oct
|
Nov
(1) |
Dec
|
2019 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2020 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
(1) |
2021 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2023 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
2024 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: SourceForge.net <no...@so...> - 2012-01-25 19:02:35
|
The following forum message was posted by at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4970443: Fabio, Reason I want to use the embedded Jython is because we have created a number of Eclipse plugins and all of our project data resides in the plugins. It is very convenient to write some embedded jython code and have access to the plugins and project data at runtime. We can then write scripts to manipulate the data in Python which is also convenient. I understand your position on the Jython version. However, would you be willing to make the code compatible with Jython 2.5.2 (no bugs at least) and let users upgrade themselves if desired? I don't think that many changes would be required. Thank you. I do love Pydev, just have some specialized needs I guess. thanks, brian |
From: SourceForge.net <no...@so...> - 2012-01-25 18:59:54
|
The following forum message was posted by fabioz at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4960568: Definitely not new... by the git logs, it was added in 06/2009 (not sure which version was that though)... Why the curiosity? Cheers, Fabio |
From: SourceForge.net <no...@so...> - 2012-01-25 18:54:18
|
The following forum message was posted by fabioz at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4874783: Yes, I think that there are improvements needed to make PyLint have a better integration in PyDev... (I must say I'm not giving a high priority for that because with the pep8 integration and the code-analysis built into PyDev, which are already better integrated, PyLint is becoming less useful, so, I wanted to know which features do you use of PyLint -- to know if it's worth spending more time to improve its integration). Cheers, Fabio |
From: SourceForge.net <no...@so...> - 2012-01-25 16:43:41
|
The following forum message was posted by fabioz at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4884584: If it's exactly the same problem, take a look at your PYTHONHOME environment variable and change it as needed (if it's not, please post the actual error you're having). Cheers, Fabio |
From: SourceForge.net <no...@so...> - 2012-01-25 16:04:35
|
The following forum message was posted by fabioz at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4970178: Answered you at: http://stackoverflow.com/a/9005845/110451 Cheers, Fabio |
From: SourceForge.net <no...@so...> - 2012-01-25 15:44:01
|
The following forum message was posted by fabioz at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4970443: There are no plans to upgrade the internal Jython version -- on the contrary, there are plans to stick with the current Jython for a long, long time... details at: http://pydev.blogspot.com/2011/12/preparing-for-pydev-230.html (it's currently an optimized version of Jython 2.2.1). Now, I'm curious, why would you want to run Django inside of Eclipse and not as a separate process (in which case you could use any Jython version you wanted)? Cheers, Fabio |
From: SourceForge.net <no...@so...> - 2012-01-24 20:19:13
|
The following forum message was posted by at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4970443: Hello, Are there any plans to support Jython 2.5.2 in the embedded Jython interpreter console (I'm talking about the version that comes with Pydev plugins and is used when you start an interpreter within the Eclipse JVM). I need this in order to use the Django library which uses the yield keyword which was introduced in Python 2.4 I think. I have tried replacing the copy of Jython that comes with Pydev but ran into a few issues. 1. The stderr stream does not work when you create a console in the Eclipse JVM. I don't know why but I worked around this by the following: class WritableObject: def __init__(self, old_stderr): self.content = [] self.old_stderr = old_stderr def write(self, string): self.old_stderr.write (string) self.old_stderr.flush() old_stderr = sys.stderr sys.stderr = WritableObject(old_stderr) For some reason the errors are not flushing to the screen so this made it work. 2. Whenever I close the embedded Jython interpreter it crashes Eclipse. I have tried to debug this but it's dying somewhere that I can't get to. 3. I get a few popup errors because Pydev depends on a Jython class that was removed (PyClass). This may be the cause of the other errors too. So, will Jython be updated or does anybody know of a fix to these issues? thanks, brian |
From: SourceForge.net <no...@so...> - 2012-01-24 18:19:50
|
The following forum message was posted by andreacrotti at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4970178: My problem is already more or less described here: http://stackoverflow.com/questions/8836655/parsable-and-linkable-format-for-ecli pse So I'm writing some internal tools to analyze our code, and I would simply like to be able to get links which can be clickable inside Eclipse. I thought the easiest way was to output in format filename:line, but apparently it doesn't work with PyDev. So what can be another possible way to accomplish that? Is there a format which Eclipse understands which I can generate? Or should I try to dig into PyDev to add such a feature? (for example the CDT has a nice configuration for this, where you can set up the format of the errors and how they should be actually handled) THanks a lot, Andrea |
From: SourceForge.net <no...@so...> - 2012-01-22 09:40:59
|
The following forum message was posted by aikiman007 at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4884584: Im having the same problem I believe but Im using OSX on the mac. Does anyone have any idea as to which files I can change to get this working? Many thanks |
From: SourceForge.net <no...@so...> - 2012-01-20 14:36:58
|
The following forum message was posted by piotr_dobrogost at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4874783: [quote]I think that changing the way PyDev runs pylint (specifying interpreter's name before path to pylint script) would solve this problem.[/quote] Fabio, what do you think? |
From: SourceForge.net <no...@so...> - 2012-01-20 14:34:28
|
The following forum message was posted by piotr_dobrogost at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4960568: Is the dialog window titled PyDev: Select tests to run shown after CTRL+F9 something new? |
From: SourceForge.net <no...@so...> - 2012-01-18 06:28:05
|
The following forum message was posted by hombre11 at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4954138: hello, I just firstly use eclipse in my mac platform. And once I write python program, there are many undefined variable errors. But I can run it all right. sample: print len("hello world") undefined variable: len ....... Thanks for your any advice. |
From: SourceForge.net <no...@so...> - 2012-01-17 16:47:59
|
The following forum message was posted by jules43 at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4952793: I am working on a project with three coders, all using Eclipse and PyDev to work on a shared SVN repository. All three of us were successfully using PyDev Code Analysis to help create bug free :) code. Recently one of the coders moved his repository to another location on his hard drive, everything carried on working except apparently code analysis. We have gone through the PyDev preferences and project settings comparing the values but all of them still match. Any suggestions as to what might be causing Code Analysis to fail on otherwise pretty much identical set ups. There are no error messages that we've seen when he forces code analysis to run. We've just turned on logging but I haven't found the logs yet. Thanks Jules |
From: SourceForge.net <no...@so...> - 2012-01-17 12:40:56
|
The following forum message was posted by rmatteoda at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4952338: I am developing an eclipse RCP application and I want to use PyDev to edit/run python scripts inside the application. I also need to get PyDev\'s interactive console to show when my application starts. Is it possible to embeded pydev in my eclipse RCP? With plugin I need to include? Is there any example? Thanks for your help, Regards Ramiro |
From: SourceForge.net <no...@so...> - 2012-01-13 11:19:17
|
The following forum message was posted by maerrie at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4945301: Hello there, I got a problem with the Codecompletion. It freezes for some time and after that I get sometimes (not after every try) the following error: Error connecting to python process (Name:C:\Python32\python. exe:EndName:Version3.2Executable:C:\Python32\python.exe|D: \eclipse\configuration\org.eclipse. osgi\bundles\356\1\.cp\PySrc|C:\Windows\system32\python32. zip|C:\Python32\DLLs|C:\Python32\lib|C:\Python32|C: \Python32\lib\site- packages@$|Image|OpenGL|__main__|_ast|_bisect|_bytesio|_codec s|_codecs_cn|_codecs_hk|_codecs_iso2022|_codecs_jp|_codecs_kr|_ codecs_tw|_collections|_csv|_datetime|_fileio|_functools|_heapq|_h otshot|_io|_json|_locale|_lsprof|_md5|_multibytecodec|_pickle|_ran dom|_sha|_sha1|_sha256|_sha512|_sre|_string|_struct|_subprocess|_s ymtable|_thread|_warnings|_weakref|_winreg|array|atexit|audioop| binascii|builtins|cPickle|cStringIO|cmath|datetime|email|errno|exce ptions|future_builtins|gc|hashlib|imageop|imp|itertools|marshal|m ath|mmap|msvcrt|nt|numpy|operator|os|os. path|parser|pytest|scipy|signal|socket|strop|sys|thread|time|winreg| wx|wxPython|xxsubtype|zipimport|zlib "D: \eclipse\configuration\org.eclipse. osgi\bundles\356\1\.cp\PySrc\pycompletionserver.py" 51507 51506) - the process in NOT ALIVE anymore (output=1) - the output of the process is: Std output: Err output: Traceback (most recent call last): File "D:\eclipse\configuration\org.eclipse. osgi\bundles\356\1\.cp\PySrc\pycompletionserver.py", line 21, in <module> from java.lang import Thread ImportError: No module named java.lang During handling of the above exception, another exception occurred: Traceback (most recent call last): File "D:\eclipse\configuration\org.eclipse. osgi\bundles\356\1\.cp\PySrc\pycompletionserver.py", line 32, in <module> import importsTipper ImportError: No module named importsTipper I've read here the solution with switching off the firewalls. That actually didn't work for me. Without the Win-firewall and disabled AntiVir the same error occurs. Does anybody have a other solution? Cheers, Marius |
From: SourceForge.net <no...@so...> - 2012-01-13 09:33:58
|
The following forum message was posted by fabioz at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4944962: Please report a bug... Also, please add a screenshot and if possible attach a sample project where I can reproduce this (I must say I just tested here and wasn't able to reproduce, so, it may be something related to your specific configuration of the project). Cheers, Fabio |
From: SourceForge.net <no...@so...> - 2012-01-13 08:50:34
|
The following forum message was posted by piotr_dobrogost at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4944962: After clicking one of links in the traceback in the console view the module which link leads to is being opened in a new editor even if it's already opened. I think exiting editor with given module should be reused and no new editor should be opened. Even better would be an option specifying behavior in this case. What's worse (taking into account there's no multi-row tabs in Eclipse) is that **both** in the new and **old** editor the filename shown on the tab is now followed by file's path which takes much space. As a side note the path is dotted which suggests it's path in packages hierarchy whereas it seems to be plain file system path. Should I raise it as a bug or an enhancment? |
From: SourceForge.net <no...@so...> - 2012-01-12 18:41:21
|
The following forum message was posted by piotr_dobrogost at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4943837: Hi! It seems using socket module patched by gevent lib makes PyDev test runner dysfunctional. PyDev test runner uses xmlrpclib (which in turn uses httplib, which in turn uses socket). Running any test where socket is patched by gevent makes test runner fail with "NotImplementedError: gevent is only usable from a single thread". Below is a "test case" and output. In case someone knows how to handle this I would gladly hear the solution. [code]from gevent import monkey monkey.patch_all(socket=True, # socket=False makes PyDev test runner run ok dns=True, time=True, select=True, thread=True, os=True, ssl=True, httplib=False, aggressive=True) import gevent import unittest def gevent_spawn(): def f(x): print "f: ", x greens = [gevent.spawn(f, x) for x in range(4)] gevent.joinall(greens) class Test(unittest.TestCase): def test(self): gevent_spawn() if __name__ == '__main__': gevent_spawn()[/code] OUTPUT [code]pydev debugger: starting Finding files... done. Importing test modules ... done. Traceback (most recent call last): File "C:\eclipse\indigo\plugins\org.python.pydev.debug_2.3.0.2011122300\pysrc\ pydev_runfiles_xml_rpc.py", line 131, in run self.server.notifyCommands(commands) File "c:\program files\python\2.7\Lib\xmlrpclib.py", line 1224, in __call__ return self.__send(self.__name, args) File "c:\program files\python\2.7\Lib\xmlrpclib.py", line 1575, in __request verbose=self.__verbose File "c:\program files\python\2.7\Lib\xmlrpclib.py", line 1264, in request return self.single_request(host, handler, request_body, verbose) File "c:\program files\python\2.7\Lib\xmlrpclib.py", line 1292, in single_request self.send_content(h, request_body) File "c:\program files\python\2.7\Lib\xmlrpclib.py", line 1439, in send_content connection.endheaders(request_body) File "c:\program files\python\2.7\Lib\httplib.py", line 951, in endheaders self._send_output(message_body) File "c:\program files\python\2.7\Lib\httplib.py", line 811, in _send_output self.send(msg) File "c:\program files\python\2.7\Lib\httplib.py", line 773, in send self.connect() File "c:\program files\python\2.7\Lib\httplib.py", line 754, in connect self.timeout, self.source_address) File "C:\python\virtualenv\envX\lib\site-packages\gevent-0.13.6-py2.7-win-amd6 4.egg\gevent\socket.py", line 641, in create_connection f: sock.connect(sa) 0 File "C:\python\virtualenv\envX\lib\site-packages\gevent-0.13.6-py2.7-win-am d64.egg\gevent\socket.py", line 371, in connect wait_readwrite(sock.fileno(), event=self._rw_event) File "C:\python\virtualenv\envX\lib\site-packages\gevent-0.13.6-py2.7-win-amd6 4.egg\gevent\socket.py", line 215, in wait_readwrite f: switch_result = get_hub().switch() 1 File "C:\python\virtualenv\envX\lib\site-packages\gevent-0.13.6-py2.7-win-amd6 4.egg\gevent\hub.py", line 135, in get_hub f: 2 raise NotImplementedError('gevent is only usable from a single thread') f: 3 NotImplementedError: gevent is only usable from a single thread ---------------------------------------------------------------------- Ran 1 test in 0.012s OK Traceback (most recent call last): File "C:\eclipse\indigo\plugins\org.python.pydev.debug_2.3.0.2011122300\pysrc\ pydev_runfiles_xml_rpc.py", line 131, in run self.server.notifyCommands(commands) File "c:\program files\python\2.7\Lib\xmlrpclib.py", line 1224, in __call__ return self.__send(self.__name, args) File "c:\program files\python\2.7\Lib\xmlrpclib.py", line 1575, in __request verbose=self.__verbose File "c:\program files\python\2.7\Lib\xmlrpclib.py", line 1264, in request return self.single_request(host, handler, request_body, verbose) File "c:\program files\python\2.7\Lib\xmlrpclib.py", line 1292, in single_request self.send_content(h, request_body) File "c:\program files\python\2.7\Lib\xmlrpclib.py", line 1439, in send_content connection.endheaders(request_body) File "c:\program files\python\2.7\Lib\httplib.py", line 951, in endheaders self._send_output(message_body) File "c:\program files\python\2.7\Lib\httplib.py", line 811, in _send_output self.send(msg) File "c:\program files\python\2.7\Lib\httplib.py", line 773, in send self.connect() File "c:\program files\python\2.7\Lib\httplib.py", line 754, in connect self.timeout, self.source_address) File "C:\python\virtualenv\envX\lib\site-packages\gevent-0.13.6-py2.7-win-amd6 4.egg\gevent\socket.py", line 641, in create_connection sock.connect(sa) File "C:\python\virtualenv\envX\lib\site-packages\gevent-0.13.6-py2.7-win-amd6 4.egg\gevent\socket.py", line 371, in connect |
From: SourceForge.net <no...@so...> - 2012-01-12 17:50:42
|
The following forum message was posted by piotr_dobrogost at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4874783: Any comments on this? |
From: SourceForge.net <no...@so...> - 2012-01-12 15:01:59
|
The following forum message was posted by fabioz at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4941441: It is possible to use that existing location directly in PyDev. See: http://pydev.org/faq.html#how_do_i_import_existing_projects_sources_into_pyd Cheers, Fabio |
From: SourceForge.net <no...@so...> - 2012-01-12 12:18:42
|
The following forum message was posted by px-seven at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4941441: Hello Fabio, and thank you for the reply. I tested what you suggested, and it worked fine if you put the exact (leaf) source folder into the python path. The problem is however that under the /opt/program1/src directory there is a big tree of source code subdirectories. It seems the name resolution does not work for the subdirectories under the directory chosen in the project pythonpath source folder list. It would be nice to be able to select /opt/program1/src/* but that is currently not possible to achieve somehow? Thanks, |
From: SourceForge.net <no...@so...> - 2012-01-11 18:49:07
|
The following forum message was posted by fabioz at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4941441: You can do that provided you do the following: Let's say you have your workspace at: ~/proj/test_workspace/ And create a new project in eclipse at: ~/proj/test_workspace/program1 And want to have the sources for that project at: /opt/program1/src For that to work you must have ~/proj/test_workspace/program1/src mapping to folder link at /opt/program1/src (created through: right click project > new > folder > advanced > link to alternate location). And ~/proj/test_workspace/program1/src must be the source folder set in: right click project > properties > pydev - pythonpath. This should work properly (note that alternatively you could also just create your project directly at /opt/program1 instead of creating a project inside the eclipse workspace with a link to the sources -- just set the proper location on the wizard to create a new pydev project). Cheers, Fabio |
From: SourceForge.net <no...@so...> - 2012-01-11 16:36:21
|
The following forum message was posted by px-seven at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4941441: I am not sure I quite follow you there Fabio, but let me explain more exactly the setup: I have an Eclipse project at say ~/proj/test_workspace/ I then have soure code at say /opt/program1/src What I would like to do is to create a source folder in the above Eclipse project, import the source code from /opt/program1/src and leave the code at this /opt/... location. That is why I clicked "create links in workspace". Are you saying this scheme is not supported by the PyDev Hover resolver? Thanks, |
From: SourceForge.net <no...@so...> - 2012-01-11 16:06:09
|
The following forum message was posted by fabioz at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4941441: It only works if set the same folder you used to create the link as a source folder (otherwise this is expected: PyDev doesn't support links in other places). Cheers, Fabio p.s.: if that doesn't work, please specify more details as paths/source folders so that I can give better advice on it. |
From: SourceForge.net <no...@so...> - 2012-01-11 15:34:21
|
The following forum message was posted by px-seven at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4941441: Hello All, I am using PyDev 2.3.0 in Eclipse 3.7.1 on Ubuntu 11.10. When I import a file system directory into a source folder, the PyDev hover functionality cannot resolve modules etc. in the iported directory if I have chosen "Create links in workspace" in the import dialog (hover gives error __module_not_in_the_pythonpath__). If I however do not choose "Create links in workspace" in the import dialog, hover resolves correctly. Is this a bug, or is there a way to fix this so that hover resolves correctly also when code is imported and linked from the worspace? Thanks, |