pydev-users Mailing List for PyDev for Eclipse (Page 4)
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: peter <com...@ya...> - 2015-12-08 19:42:20
|
hi, have you considered putting the autocompletion window below the current line, and not above? i feel it kinda blocks my view.....maybe if it would pop up a few lines above the cursor so you have some context when you add code, that might be relevant for the current input. do you know what i mean? thats why i usually disable that future. greetings |
From: peter <com...@ya...> - 2015-12-08 13:02:06
|
On 12/08/2015 01:29 PM, Fabio Zadrozny wrote: > > > On Tue, Dec 8, 2015 at 10:16 AM, peter <com...@ya... > <mailto:com...@ya...>> wrote: > > i should have posted the error message, lets try it again: > > project looks like this: > http://erntehelfer.ddns.net/tmp/test.png > > since i used the pydev wizard to create the project, the files > should be in the PYTHONPATH. > > now i run the file: > distance_test.py as python unit test > > > error i get: > Traceback (most recent call last): > File > "/home/julius/Downloads/eclipse-java-mars-1-linux-gtk-x86_64/plugins/org.python.pydev_4.4.0.201510052309/pysrc/pydev_runfiles.py", > line 468, in __get_module_from_str > mod = __import__(modname) > File > "/home/julius/workspace-mars/Bachelorarbeit/tests/distance_test.py", > line 2 > from code.find-1-motif-brute-force import is_trivial_match, > find_motif_brute_force > ^ > SyntaxError: invalid syntax > ERROR: Module: distance_test could not be imported (file: > /home/julius/workspace-mars/Bachelorarbeit/tests/distance_test.py). > > > > @nathan: i will change the hyphens, but this project works when > run from console. > > > Humm, really weird that it works in the console (it doesn't make much > sense... having hyphen characters in the import isn't allowed as far > as I know and should really give you a syntax error as that's not a > valid python name). > > The real fix should be really changing the hyphens for underscores. > > Best Regards, > > Fabio > found it, the part "code." was wrong, and i changed one file from only methods to a class. sry, forgot about that thx for the support |
From: Fabio Z. <fa...@gm...> - 2015-12-08 12:29:56
|
On Tue, Dec 8, 2015 at 10:16 AM, peter <com...@ya...> wrote: > i should have posted the error message, lets try it again: > > project looks like this: > http://erntehelfer.ddns.net/tmp/test.png > > since i used the pydev wizard to create the project, the files should be > in the PYTHONPATH. > > now i run the file: > distance_test.py as python unit test > > > error i get: > Traceback (most recent call last): > File > "/home/julius/Downloads/eclipse-java-mars-1-linux-gtk-x86_64/plugins/org.python.pydev_4.4.0.201510052309/pysrc/pydev_runfiles.py", > line 468, in __get_module_from_str > mod = __import__(modname) > File > "/home/julius/workspace-mars/Bachelorarbeit/tests/distance_test.py", line 2 > from code.find-1-motif-brute-force import is_trivial_match, > find_motif_brute_force > ^ > SyntaxError: invalid syntax > ERROR: Module: distance_test could not be imported (file: > /home/julius/workspace-mars/Bachelorarbeit/tests/distance_test.py). > > > > @nathan: i will change the hyphens, but this project works when run from > console. > Humm, really weird that it works in the console (it doesn't make much sense... having hyphen characters in the import isn't allowed as far as I know and should really give you a syntax error as that's not a valid python name). The real fix should be really changing the hyphens for underscores. Best Regards, Fabio |
From: peter <com...@ya...> - 2015-12-08 12:14:31
|
i should have posted the error message, lets try it again: project looks like this: http://erntehelfer.ddns.net/tmp/test.png since i used the pydev wizard to create the project, the files should be in the PYTHONPATH. now i run the file: distance_test.py as python unit test error i get: Traceback (most recent call last): File "/home/julius/Downloads/eclipse-java-mars-1-linux-gtk-x86_64/plugins/org.python.pydev_4.4.0.201510052309/pysrc/pydev_runfiles.py", line 468, in __get_module_from_str mod = __import__(modname) File "/home/julius/workspace-mars/Bachelorarbeit/tests/distance_test.py", line 2 from code.find-1-motif-brute-force import is_trivial_match, find_motif_brute_force ^ SyntaxError: invalid syntax ERROR: Module: distance_test could not be imported (file: /home/julius/workspace-mars/Bachelorarbeit/tests/distance_test.py). @nathan: i will change the hyphens, but this project works when run from console. On 12/08/2015 12:47 PM, Fabio Zadrozny wrote: > I'm not sure I understood what you meant, so, let me try to guess here... > > In PyDev you just need to set the source folders (which are the > folders in your PYTHONPATH) -- see: > http://www.pydev.org/manual_101_project_conf2.html for details > > Then you can run the file with F9, or if it's a test case with Ctrl+F9 > -- see: http://www.pydev.org/manual_101_run.html for details. > > Hope that's what needed to get you going... > > Best Regards, > > Fabio > > On Tue, Dec 8, 2015 at 9:41 AM, peter <com...@ya... > <mailto:com...@ya...>> wrote: > > hi, > > > > from the commandline in can run: > python -m code/tests/distance_test > > > in the test class i got: > from code.find-1-motif-brute-force import y,x,z > > tests are under tests, and code is in code. > > > how can i do this with eclipse/pydev? > > > ------------------------------------------------------------------------------ > Go from Idea to Many App Stores Faster with Intel(R) XDK > Give your users amazing mobile app experiences with Intel(R) XDK. > Use one codebase in this all-in-one HTML5 development environment. > Design, debug & build mobile apps & 2D/3D high-impact games for > multiple OSs. > http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140 > _______________________________________________ > |
From: Nathan S. <nea...@gm...> - 2015-12-08 11:53:36
|
Also note that hyphens are invalid in module names without special tricks: http://stackoverflow.com/questions/7583652/python-module-with-a-dash-or-hyphen-in-its-name . Best, Nathan On Tue, Dec 8, 2015 at 11:47 AM, Fabio Zadrozny <fa...@gm...> wrote: > I'm not sure I understood what you meant, so, let me try to guess here... > > In PyDev you just need to set the source folders (which are the folders in > your PYTHONPATH) -- see: > http://www.pydev.org/manual_101_project_conf2.html for details > > Then you can run the file with F9, or if it's a test case with Ctrl+F9 -- > see: http://www.pydev.org/manual_101_run.html for details. > > Hope that's what needed to get you going... > > Best Regards, > > Fabio > > On Tue, Dec 8, 2015 at 9:41 AM, peter <com...@ya...> wrote: > >> hi, >> >> >> >> from the commandline in can run: >> python -m code/tests/distance_test >> >> >> in the test class i got: >> from code.find-1-motif-brute-force import y,x,z >> >> tests are under tests, and code is in code. >> >> >> how can i do this with eclipse/pydev? >> >> >> >> ------------------------------------------------------------------------------ >> Go from Idea to Many App Stores Faster with Intel(R) XDK >> Give your users amazing mobile app experiences with Intel(R) XDK. >> Use one codebase in this all-in-one HTML5 development environment. >> Design, debug & build mobile apps & 2D/3D high-impact games for multiple >> OSs. >> http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140 >> _______________________________________________ >> Pydev-users mailing list >> Pyd...@li... >> https://lists.sourceforge.net/lists/listinfo/pydev-users >> > > > > ------------------------------------------------------------------------------ > Go from Idea to Many App Stores Faster with Intel(R) XDK > Give your users amazing mobile app experiences with Intel(R) XDK. > Use one codebase in this all-in-one HTML5 development environment. > Design, debug & build mobile apps & 2D/3D high-impact games for multiple > OSs. > http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140 > _______________________________________________ > Pydev-users mailing list > Pyd...@li... > https://lists.sourceforge.net/lists/listinfo/pydev-users > > |
From: Fabio Z. <fa...@gm...> - 2015-12-08 11:48:23
|
I'm not sure I understood what you meant, so, let me try to guess here... In PyDev you just need to set the source folders (which are the folders in your PYTHONPATH) -- see: http://www.pydev.org/manual_101_project_conf2.html for details Then you can run the file with F9, or if it's a test case with Ctrl+F9 -- see: http://www.pydev.org/manual_101_run.html for details. Hope that's what needed to get you going... Best Regards, Fabio On Tue, Dec 8, 2015 at 9:41 AM, peter <com...@ya...> wrote: > hi, > > > > from the commandline in can run: > python -m code/tests/distance_test > > > in the test class i got: > from code.find-1-motif-brute-force import y,x,z > > tests are under tests, and code is in code. > > > how can i do this with eclipse/pydev? > > > > ------------------------------------------------------------------------------ > Go from Idea to Many App Stores Faster with Intel(R) XDK > Give your users amazing mobile app experiences with Intel(R) XDK. > Use one codebase in this all-in-one HTML5 development environment. > Design, debug & build mobile apps & 2D/3D high-impact games for multiple > OSs. > http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140 > _______________________________________________ > Pydev-users mailing list > Pyd...@li... > https://lists.sourceforge.net/lists/listinfo/pydev-users > |
From: peter <com...@ya...> - 2015-12-08 11:39:24
|
hi, from the commandline in can run: python -m code/tests/distance_test in the test class i got: from code.find-1-motif-brute-force import y,x,z tests are under tests, and code is in code. how can i do this with eclipse/pydev? |
From: Fabio Z. <fa...@gm...> - 2015-10-06 12:00:08
|
Release Highlights: ------------------------------- * Improved PyDev Package Explorer to give more information when all elements are filtered. * Code completion improvements: when a parameter is typed in the docstring, assigning it to an instance gives proper code-completion results when accessing the instance. * Fixed issues dealing with ansi colors in the interactive console. * When autopep8 is applied as the code formatting engine, the region selected is used to specify the lines for formatting. * Minor improvements in the debugger. What is PyDev? --------------------------- PyDev is an open-source Python IDE on top of Eclipse for Python, Jython and IronPython development. It comes with goodies such as code completion, syntax highlighting, syntax analysis, code analysis, refactor, debug, interactive console, etc. Details on PyDev: http://pydev.org Details on its development: http://pydev.blogspot.com What is LiClipse? --------------------------- LiClipse is a PyDev standalone with goodies such as support for Multiple cursors, theming, TextMate bundles and a number of other languages such as Django Templates, Jinja2, Kivy Language, Mako Templates, Html, Javascript, etc. It's also a commercial counterpart which helps supporting the development of PyDev. Details on LiClipse: http://www.liclipse.com/ Cheers, -- Fabio Zadrozny ------------------------------------------------------ Software Developer LiClipse http://www.liclipse.com PyDev - Python Development Environment for Eclipse http://pydev.org http://pydev.blogspot.com PyVmMonitor - Python Profiler http://www.pyvmmonitor.com/ |
From: Conrad G T Y. <cgt...@al...> - 2015-08-26 00:36:11
|
[Using Eclipse Mars (4.5.0) on OS X 10.10.5, with PyDev 4.3.0] I recently updated by PyDev plugin from 4.2(?) to 4.3.0 and now when I attempt to debug any of my modules, I get the following error in the Console: pydev debugger: starting (pid: 768) Could not connect to 127.0.0.1: 49566 Traceback (most recent call last): File "/Applications/Eclipse.app/Contents/Eclipse/plugins/org.python.pydev_4.3.0.201508182223/pysrc/pydevd.py", line 2275, in <module> debugger.connect(host, port) File "/Applications/Eclipse.app/Contents/Eclipse/plugins/org.python.pydev_4.3.0.201508182223/pysrc/pydevd.py", line 431, in connect self.initializeNetwork(s) File "/Applications/Eclipse.app/Contents/Eclipse/plugins/org.python.pydev_4.3.0.201508182223/pysrc/pydevd.py", line 418, in initializeNetwork self.writer = WriterThread(sock) File "/Applications/Eclipse.app/Contents/Eclipse/plugins/org.python.pydev_4.3.0.201508182223/pysrc/pydevd_comm.py", line 379, in __init__ self.cmdQueue = _queue.Queue() TypeError: __init__() missing 1 required positional argument: 'params' Did I miss something on the PyDev update that I'm not doing right? To clarify, this is only a problem with the Debug configuration - the Run config for my modules work correctly. I also uninstalled and then reinstalled PyDev, but that did not fix the problem. Thanks for any input here. -Conrad |
From: Conrad G T Y. <cgt...@al...> - 2015-08-25 19:03:09
|
Order has been restored - thank you. We now return you to your regularly scheduled programming. -Conrad > On Aug 25, 2015, at 2:41 PM, Fabio Zadrozny <fa...@gm...> wrote: > > Try changing your top-level elements in the pydev package explorer (focus it > Ctrl+F10 > Top Level Elements). > > Cheers, > > Fabio > > On Tue, Aug 25, 2015 at 3:34 PM, Conrad G T Yoder <cgt...@al...> wrote: > Yes! That did it - I had another module ‘Queue’ in my project. Thought I was going crazy there for a while. > > In all my testing, I reverted back to PyDev 4.2.0 (have since gone back to 4.3.0) and now my list of projects/files disappears from the PyDev Package Explorer window as soon as it appears in the PyDev Perspective - ‘Refresh’ing does not help. If I switch to the Java Perspective, then the projects/files appear in Java’s Package Explorer. Suggestions as to how to reset? > > -Conrad > > > > > On Aug 25, 2015, at 2:21 PM, Fabio Zadrozny <fa...@gm...> wrote: > > > > Well, my guess here is that you're somehow shadowing the Queue or queue module from the standard library (depending on whether you're in Python 2 or 3) with some module of your own (as 'params' is definitely not required to create a Queue). > > > > Cheers, > > > > Fabio > > > > On Tue, Aug 25, 2015 at 3:13 PM, Conrad G T Yoder <cgt...@al...> wrote: > > [Using Eclipse Mars (4.5.0) on OS X 10.10.5, with PyDev 4.3.0] > > > > I recently updated by PyDev plugin from 4.2(?) to 4.3.0 and now when I attempt to debug any of my modules, I get the following error in the Console: > > > > > > pydev debugger: starting (pid: 768) > > Could not connect to 127.0.0.1: 49566 > > Traceback (most recent call last): > > File "/Applications/Eclipse.app/Contents/Eclipse/plugins/org.python.pydev_4.3.0.201508182223/pysrc/pydevd.py", line 2275, in <module> > > debugger.connect(host, port) > > File "/Applications/Eclipse.app/Contents/Eclipse/plugins/org.python.pydev_4.3.0.201508182223/pysrc/pydevd.py", line 431, in connect > > self.initializeNetwork(s) > > File "/Applications/Eclipse.app/Contents/Eclipse/plugins/org.python.pydev_4.3.0.201508182223/pysrc/pydevd.py", line 418, in initializeNetwork > > self.writer = WriterThread(sock) > > File "/Applications/Eclipse.app/Contents/Eclipse/plugins/org.python.pydev_4.3.0.201508182223/pysrc/pydevd_comm.py", line 379, in __init__ > > self.cmdQueue = _queue.Queue() > > TypeError: __init__() missing 1 required positional argument: 'params' > > > > > > > > Did I miss something on the PyDev update that I'm not doing right? > > > > To clarify, this is only a problem with the Debug configuration - the Run config for my modules work correctly. I also uninstalled and then reinstalled PyDev, but that did not fix the problem. Thanks for any input here. > > > > -Conrad |
From: Fabio Z. <fa...@gm...> - 2015-08-25 18:42:20
|
Try changing your top-level elements in the pydev package explorer (focus it > Ctrl+F10 > Top Level Elements). Cheers, Fabio On Tue, Aug 25, 2015 at 3:34 PM, Conrad G T Yoder <cgt...@al...> wrote: > Yes! That did it - I had another module ‘Queue’ in my project. Thought I > was going crazy there for a while. > > In all my testing, I reverted back to PyDev 4.2.0 (have since gone back to > 4.3.0) and now my list of projects/files disappears from the PyDev Package > Explorer window as soon as it appears in the PyDev Perspective - > ‘Refresh’ing does not help. If I switch to the Java Perspective, then the > projects/files appear in Java’s Package Explorer. Suggestions as to how to > reset? > > -Conrad > > > > > On Aug 25, 2015, at 2:21 PM, Fabio Zadrozny <fa...@gm...> wrote: > > > > Well, my guess here is that you're somehow shadowing the Queue or queue > module from the standard library (depending on whether you're in Python 2 > or 3) with some module of your own (as 'params' is definitely not required > to create a Queue). > > > > Cheers, > > > > Fabio > > > > On Tue, Aug 25, 2015 at 3:13 PM, Conrad G T Yoder <cgt...@al...> > wrote: > > [Using Eclipse Mars (4.5.0) on OS X 10.10.5, with PyDev 4.3.0] > > > > I recently updated by PyDev plugin from 4.2(?) to 4.3.0 and now when I > attempt to debug any of my modules, I get the following error in the > Console: > > > > > > pydev debugger: starting (pid: 768) > > Could not connect to 127.0.0.1: 49566 > > Traceback (most recent call last): > > File > "/Applications/Eclipse.app/Contents/Eclipse/plugins/org.python.pydev_4.3.0.201508182223/pysrc/pydevd.py", > line 2275, in <module> > > debugger.connect(host, port) > > File > "/Applications/Eclipse.app/Contents/Eclipse/plugins/org.python.pydev_4.3.0.201508182223/pysrc/pydevd.py", > line 431, in connect > > self.initializeNetwork(s) > > File > "/Applications/Eclipse.app/Contents/Eclipse/plugins/org.python.pydev_4.3.0.201508182223/pysrc/pydevd.py", > line 418, in initializeNetwork > > self.writer = WriterThread(sock) > > File > "/Applications/Eclipse.app/Contents/Eclipse/plugins/org.python.pydev_4.3.0.201508182223/pysrc/pydevd_comm.py", > line 379, in __init__ > > self.cmdQueue = _queue.Queue() > > TypeError: __init__() missing 1 required positional argument: 'params' > > > > > > > > Did I miss something on the PyDev update that I'm not doing right? > > > > To clarify, this is only a problem with the Debug configuration - the > Run config for my modules work correctly. I also uninstalled and then > reinstalled PyDev, but that did not fix the problem. Thanks for any input > here. > > > > -Conrad > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Pydev-users mailing list > Pyd...@li... > https://lists.sourceforge.net/lists/listinfo/pydev-users > |
From: Conrad G T Y. <cgt...@al...> - 2015-08-25 18:34:56
|
Yes! That did it - I had another module ‘Queue’ in my project. Thought I was going crazy there for a while. In all my testing, I reverted back to PyDev 4.2.0 (have since gone back to 4.3.0) and now my list of projects/files disappears from the PyDev Package Explorer window as soon as it appears in the PyDev Perspective - ‘Refresh’ing does not help. If I switch to the Java Perspective, then the projects/files appear in Java’s Package Explorer. Suggestions as to how to reset? -Conrad > On Aug 25, 2015, at 2:21 PM, Fabio Zadrozny <fa...@gm...> wrote: > > Well, my guess here is that you're somehow shadowing the Queue or queue module from the standard library (depending on whether you're in Python 2 or 3) with some module of your own (as 'params' is definitely not required to create a Queue). > > Cheers, > > Fabio > > On Tue, Aug 25, 2015 at 3:13 PM, Conrad G T Yoder <cgt...@al...> wrote: > [Using Eclipse Mars (4.5.0) on OS X 10.10.5, with PyDev 4.3.0] > > I recently updated by PyDev plugin from 4.2(?) to 4.3.0 and now when I attempt to debug any of my modules, I get the following error in the Console: > > > pydev debugger: starting (pid: 768) > Could not connect to 127.0.0.1: 49566 > Traceback (most recent call last): > File "/Applications/Eclipse.app/Contents/Eclipse/plugins/org.python.pydev_4.3.0.201508182223/pysrc/pydevd.py", line 2275, in <module> > debugger.connect(host, port) > File "/Applications/Eclipse.app/Contents/Eclipse/plugins/org.python.pydev_4.3.0.201508182223/pysrc/pydevd.py", line 431, in connect > self.initializeNetwork(s) > File "/Applications/Eclipse.app/Contents/Eclipse/plugins/org.python.pydev_4.3.0.201508182223/pysrc/pydevd.py", line 418, in initializeNetwork > self.writer = WriterThread(sock) > File "/Applications/Eclipse.app/Contents/Eclipse/plugins/org.python.pydev_4.3.0.201508182223/pysrc/pydevd_comm.py", line 379, in __init__ > self.cmdQueue = _queue.Queue() > TypeError: __init__() missing 1 required positional argument: 'params' > > > > Did I miss something on the PyDev update that I'm not doing right? > > To clarify, this is only a problem with the Debug configuration - the Run config for my modules work correctly. I also uninstalled and then reinstalled PyDev, but that did not fix the problem. Thanks for any input here. > > -Conrad |
From: Fabio Z. <fa...@gm...> - 2015-08-25 18:21:47
|
Well, my guess here is that you're somehow shadowing the Queue or queue module from the standard library (depending on whether you're in Python 2 or 3) with some module of your own (as 'params' is definitely not required to create a Queue). Cheers, Fabio On Tue, Aug 25, 2015 at 3:13 PM, Conrad G T Yoder <cgt...@al...> wrote: > [Using Eclipse Mars (4.5.0) on OS X 10.10.5, with PyDev 4.3.0] > > I recently updated by PyDev plugin from 4.2(?) to 4.3.0 and now when I > attempt to debug any of my modules, I get the following error in the > Console: > > > pydev debugger: starting (pid: 768) > Could not connect to 127.0.0.1: 49566 > Traceback (most recent call last): > File > "/Applications/Eclipse.app/Contents/Eclipse/plugins/org.python.pydev_4.3.0.201508182223/pysrc/pydevd.py", > line 2275, in <module> > debugger.connect(host, port) > File > "/Applications/Eclipse.app/Contents/Eclipse/plugins/org.python.pydev_4.3.0.201508182223/pysrc/pydevd.py", > line 431, in connect > self.initializeNetwork(s) > File > "/Applications/Eclipse.app/Contents/Eclipse/plugins/org.python.pydev_4.3.0.201508182223/pysrc/pydevd.py", > line 418, in initializeNetwork > self.writer = WriterThread(sock) > File > "/Applications/Eclipse.app/Contents/Eclipse/plugins/org.python.pydev_4.3.0.201508182223/pysrc/pydevd_comm.py", > line 379, in __init__ > self.cmdQueue = _queue.Queue() > TypeError: __init__() missing 1 required positional argument: 'params' > > > > Did I miss something on the PyDev update that I'm not doing right? > > To clarify, this is only a problem with the Debug configuration - the Run > config for my modules work correctly. I also uninstalled and then > reinstalled PyDev, but that did not fix the problem. Thanks for any input > here. > > -Conrad > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Pydev-users mailing list > Pyd...@li... > https://lists.sourceforge.net/lists/listinfo/pydev-users > |
From: Conrad G T Y. <cgt...@al...> - 2015-08-25 18:13:46
|
[Using Eclipse Mars (4.5.0) on OS X 10.10.5, with PyDev 4.3.0] I recently updated by PyDev plugin from 4.2(?) to 4.3.0 and now when I attempt to debug any of my modules, I get the following error in the Console: pydev debugger: starting (pid: 768) Could not connect to 127.0.0.1: 49566 Traceback (most recent call last): File "/Applications/Eclipse.app/Contents/Eclipse/plugins/org.python.pydev_4.3.0.201508182223/pysrc/pydevd.py", line 2275, in <module> debugger.connect(host, port) File "/Applications/Eclipse.app/Contents/Eclipse/plugins/org.python.pydev_4.3.0.201508182223/pysrc/pydevd.py", line 431, in connect self.initializeNetwork(s) File "/Applications/Eclipse.app/Contents/Eclipse/plugins/org.python.pydev_4.3.0.201508182223/pysrc/pydevd.py", line 418, in initializeNetwork self.writer = WriterThread(sock) File "/Applications/Eclipse.app/Contents/Eclipse/plugins/org.python.pydev_4.3.0.201508182223/pysrc/pydevd_comm.py", line 379, in __init__ self.cmdQueue = _queue.Queue() TypeError: __init__() missing 1 required positional argument: 'params' Did I miss something on the PyDev update that I'm not doing right? To clarify, this is only a problem with the Debug configuration - the Run config for my modules work correctly. I also uninstalled and then reinstalled PyDev, but that did not fix the problem. Thanks for any input here. -Conrad |
From: Fabio Z. <fa...@gm...> - 2015-08-20 18:23:17
|
Release Highlights: ------------------------------- * Fixed parser for Python 3.x to support async and await as regular names too (PyDev-593). * The new search dialog now has a 'whole word' option which automatically adds `*` to the search * Search backend updated to Lucene 5.2.1 (instant searches on huge codebases) * When bringing up the search dialog the search text is initially selected. What is PyDev? --------------------------- PyDev is an open-source Python IDE on top of Eclipse for Python, Jython and IronPython development. It comes with goodies such as code completion, syntax highlighting, syntax analysis, code analysis, refactor, debug, interactive console, etc. Details on PyDev: http://pydev.org Details on its development: http://pydev.blogspot.com What is LiClipse? --------------------------- LiClipse is a PyDev standalone with goodies such as support for Multiple cursors, theming, TextMate bundles and a number of other languages such as Django Templates, Jinja2, Kivy Language, Mako Templates, Html, Javascript, etc. It's also a commercial counterpart which helps supporting the development of PyDev. Details on LiClipse: http://www.liclipse.com/ Cheers, -- Fabio Zadrozny ------------------------------------------------------ Software Developer LiClipse http://www.liclipse.com PyDev - Python Development Environment for Eclipse http://pydev.org http://pydev.blogspot.com PyVmMonitor - Python Profiler http://www.pyvmmonitor.com/ |
From: LUGG, W. H I. GS-13 U. A. 5. SMXS/M. <wil...@us...> - 2015-08-17 19:14:51
|
Sure enough, I added the string tkinter to the forced builtins section, exited and restarted Eclipse and everything works now. Thanks for the pointer. ---- Bill Lugg ΙΧΘΥΣ Software Engineer, Milstar AF Command Post Terminal Support 517 SMXS/MXDEC, Peterson AFB, CO Some trust in chariots and some in horses, but I trust in the name of the LORD my God. -----Original Message----- From: Fabio Zadrozny [mailto:fa...@gm...] Sent: Thursday, August 13, 2015 11:22 AM To: pyd...@li... Subject: Re: [Pydev-users] Problem getting tkinter to be recognized by PyDev You shouldn't need to add /usr/lib/local/python3.3/tkinter to the PYTHONPATH (only /usr/lib/local/python3.3/ should be there). Have you tried adding tkinter to the forced builtins? (see: http://www.pydev.org/manual_101_interpreter.html for details on 'forced builtins'). Cheers, Fabio On Thu, Aug 13, 2015 at 12:04 PM, LUGG, WILLIAM H III GS-13 USAF AFMC 517 SMXS/MXDEC <wil...@us...> wrote: I'm using PyDev 3.8.0 (yes, it's a little out of date) in Eclipse Luna (also a little out of date). I'm attempting to learn Python and GUI programming using tkinter, but am having a problem where PyDev is reporting an unresolved import for tkinter. I have included /usr/lib/local/python3.3/tkinter in the Windows | Preferences | Python Interpreters | Libraries | System PYTHONPATH dialog, but that doesn't seem to make a difference. Strangely enough, the simple code I've written does run, even with the error reported by Eclipse, but I'm not getting any code completion help or the other benefits of using the IDE with tkinter. Can someone help me understand how to make this error go away? Thanks. Bill Lugg ------------------------------------------------------------------------------ _______________________________________________ Pydev-users mailing list Pyd...@li... https://lists.sourceforge.net/lists/listinfo/pydev-users |
From: gustavk <gu...@pr...> - 2015-08-14 00:55:13
|
I've got the same type of problem: see my thread here: http://comments.gmane.org/gmane.comp.ide.eclipse.plugins.pydev.user/5502 Is the import concerning a .so files? Maybe look at this thread also on SO: http://stackoverflow.com/questions/4631377/unresolved-import-issues-with-pydev-and-eclipse Let us now if you solve your problem since I'd like to solve mine too... |
From: Fabio Z. <fa...@gm...> - 2015-08-13 17:22:41
|
You shouldn't need to add /usr/lib/local/python3.3/tkinter to the PYTHONPATH (only /usr/lib/local/python3.3/ should be there). Have you tried adding tkinter to the forced builtins? (see: http://www.pydev.org/manual_101_interpreter.html for details on 'forced builtins'). Cheers, Fabio On Thu, Aug 13, 2015 at 12:04 PM, LUGG, WILLIAM H III GS-13 USAF AFMC 517 SMXS/MXDEC <wil...@us...> wrote: > I'm using PyDev 3.8.0 (yes, it's a little out of date) in Eclipse Luna > (also a little out of date). I'm attempting to learn Python and GUI > programming using tkinter, but am having a problem where PyDev is reporting > an unresolved import for tkinter. I have included > /usr/lib/local/python3.3/tkinter in the Windows | Preferences | Python > Interpreters | Libraries | System PYTHONPATH dialog, but that doesn't seem > to make a difference. Strangely enough, the simple code I've written does > run, even with the error reported by Eclipse, but I'm not getting any code > completion help or the other benefits of using the IDE with tkinter. > > Can someone help me understand how to make this error go away? > > Thanks. > Bill Lugg > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Pydev-users mailing list > Pyd...@li... > https://lists.sourceforge.net/lists/listinfo/pydev-users > |
From: LUGG, W. H I. GS-13 U. A. 5. SMXS/M. <wil...@us...> - 2015-08-13 15:25:18
|
I'm using PyDev 3.8.0 (yes, it's a little out of date) in Eclipse Luna (also a little out of date). I'm attempting to learn Python and GUI programming using tkinter, but am having a problem where PyDev is reporting an unresolved import for tkinter. I have included /usr/lib/local/python3.3/tkinter in the Windows | Preferences | Python Interpreters | Libraries | System PYTHONPATH dialog, but that doesn't seem to make a difference. Strangely enough, the simple code I've written does run, even with the error reported by Eclipse, but I'm not getting any code completion help or the other benefits of using the IDE with tkinter. Can someone help me understand how to make this error go away? Thanks. Bill Lugg |
From: Gus <gi...@ho...> - 2015-07-31 06:55:13
|
Fabio Zadrozny <fabiofz <at> gmail.com> writes: > > > > Strange that adding 'pygame' to the forced builtins didn't work... please create an issue for that in the tracker (I have to reproduce your env before being able to give you more feedback). > > Cheers, > > Fabio > Thanks for your answer. I've created a new issue (issue 602) |
From: Fabio Z. <fa...@gm...> - 2015-07-30 18:13:04
|
Strange that adding 'pygame' to the forced builtins didn't work... please create an issue for that in the tracker (I have to reproduce your env before being able to give you more feedback). Cheers, Fabio On Sat, Jul 25, 2015 at 5:20 PM, gustavk <gu...@pr...> wrote: > Hi, > > I'm using Pygame which is working without any problem with Python 3.4 in > my virtualenv (Ubuntu 15.04) and Eclipse Luna release 2 (4.4.2) > The only problem is the false error triggered by Pydev for some modules > from Pygame. > > Strangely, it's not for all the imports: > `from pygame.locals import *` raises no error, > > but doing: > -`pygame.init()` raises the `undefined variable from import` (after having > done `import pygame`of course). > -Other import error: > Using constant defined by `from pygame.locals import *' (this module > allows to import constants into the namespace): the locals.py imports > itself in fact another file: constants.cpython-34m.so > > I've tried adding `pygame` in forced builtins in the interpreter. > > I've read different answers for this type of import problems but contrary > to other, everything is running without problem, except these errors raised > by Pydev. > > It seems a problem with `.so` file (but I didn't find it for > `pygame.init()`??). How is it possible to solve it? > Thanks ! > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > Pydev-users mailing list > Pyd...@li... > https://lists.sourceforge.net/lists/listinfo/pydev-users > > |
From: gustavk <gu...@pr...> - 2015-07-25 20:20:53
|
Hi, I'm using Pygame which is working without any problem with Python 3.4 in my virtualenv (Ubuntu 15.04) and Eclipse Luna release 2 (4.4.2) The only problem is the false error triggered by Pydev for some modules from Pygame. Strangely, it's not for all the imports: `from pygame.locals import *` raises no error, but doing: -`pygame.init()` raises the `undefined variable from import` (after having done `import pygame`of course). -Other import error: Using constant defined by `from pygame.locals import *' (this module allows to import constants into the namespace): the locals.py imports itself in fact another file: constants.cpython-34m.so I've tried adding `pygame` in forced builtins in the interpreter. I've read different answers for this type of import problems but contrary to other, everything is running without problem, except these errors raised by Pydev. It seems a problem with `.so` file (but I didn't find it for `pygame.init()`??). How is it possible to solve it? Thanks ! |
From: Holger K. <Hol...@gm...> - 2015-07-12 10:29:55
|
Dear PyDev community, I currently have a problem regarding the remote debugging functionality in PyDev. Details are mentioned here: https://ask.openstack.org/en/question/78299/remote-debugging-openstack-kilo-nova-scheduler-with-eclipse-pydev-ends-in-threadsuspended-error-messsage/ When there is any information missing - please let me know. From my point of view it's currently not clear why the exception message "Error reading ThreadSuspended" occurs. Maybe you can help me? I'm really looking forward to reading from you, Holger |
From: Fabio Z. <fa...@gm...> - 2015-07-07 19:49:33
|
Release Highlights: ------------------------------- * New search page for Python contents * Text-searches using a Lucene index allows for fast matches. * Matches can be flattened and grouped by project, folders and modules. * Results page allows additional filtering based on module name. * Further improvements on code completion unpacking compound types. * Not adding auto 'import' token in cython files (to accept cimport). * PyDev Mylyn integration no longer depends on a specific PyDev release. * Fixed halting condition when unable to create native file watches. * Vertical indent guide no longer slows down the editor on Linux (PyDev-582). What is PyDev? --------------------------- PyDev is an open-source Python IDE on top of Eclipse for Python, Jython and IronPython development. It comes with goodies such as code completion, syntax highlighting, syntax analysis, code analysis, refactor, debug, interactive console, etc. Details on PyDev: http://pydev.org Details on its development: http://pydev.blogspot.com What is LiClipse? --------------------------- LiClipse is a PyDev standalone with goodies such as support for Multiple cursors, theming, TextMate bundles and a number of other languages such as Django Templates, Jinja2, Kivy Language, Mako Templates, Html, Javascript, etc. It's also a commercial counterpart which helps supporting the development of PyDev. Details on LiClipse: http://www.liclipse.com/ Cheers, -- Fabio Zadrozny ------------------------------------------------------ Software Developer LiClipse http://www.liclipse.com PyDev - Python Development Environment for Eclipse http://pydev.org http://pydev.blogspot.com PyVmMonitor - Python Profiler http://www.pyvmmonitor.com/ |
From: Fabio Z. <fa...@gm...> - 2015-05-27 01:49:22
|
What is PyDev? --------------------------- PyDev is an open-source Python IDE on top of Eclipse for Python, Jython and IronPython development. It comes with goodies such as code completion, syntax highlighting, syntax analysis, code analysis, refactor, debug, interactive console, etc. Details on PyDev: http://pydev.org Details on its development: http://pydev.blogspot.com What is LiClipse? --------------------------- LiClipse is a PyDev standalone with goodies such as support for Multiple cursors, theming, TextMate bundles and a number of other languages such as Django Templates, Jinja2, Kivy Language, Mako Templates, Html, Javascript, etc. It's also a commercial counterpart which helps supporting the development of PyDev. Details on LiClipse: http://www.liclipse.com/ Release Highlights: ------------------------------- * **Code Completion** * Improved unpacking of compound types on more situations (PyDev-573). * **Debugger** * PyDev remote debugging no longer blocks running program to completion (PyDev-574). * When there are too many referrers to some object, results are trimmed. * **Python 3 grammar** * Accepting **@** as matrix multiplication operator. * **async** and **await** are properly parsed. * Fixed issue parsing 'list remainder' construct (PyDev-568). * **Others** * Fixed issue showing editor title name when more than one dot was present in the filename. * Support automatic folding elements when opening a file -- must be enabled in PyDev > Editor > Code Folding (patch by Andreas Pakulat). * Fixed issue on search page. * Included css to set default editor colors for PyDev for in Eclipse dark theme. * Tab-stops on comments added and enabled by default (patch by jheiv). * Fixed StackOverflowError on code-completion (PyDev-570) Cheers, -- Fabio Zadrozny ------------------------------------------------------ Software Developer LiClipse http://www.liclipse.com PyDev - Python Development Environment for Eclipse http://pydev.org http://pydev.blogspot.com PyVmMonitor - Python Profiler http://www.pyvmmonitor.com/ |