pydev-users Mailing List for PyDev for Eclipse (Page 30)
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...> - 2011-05-30 14:15:58
|
The following forum message was posted by at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4551200: Hello, I'm getting an unresolved import in the following scenario: I have a package 'mypackage' with two modules 'mymod1' and 'mymod2', the contents of which are as follows. mymod1.py: [code]myattr = 42[/code] mymod2.py: [code]from .mymod1 import *[/code] The error states: "Unresolved import: mymod1" However, if I remove the dot in my import statement, the import is resolved successfully. Obviously this can cause ambiguity, if I were to have a module named 'mymod1' in the root package. I've searched the forum, if a duplicate topic exists I apologize in advance. Thanks, Amnon |
|
From: SourceForge.net <no...@so...> - 2011-05-28 16:58:45
|
The following forum message was posted by uwg at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4549399: This is the successor of the topic [url=https://sourceforge.net/projects/pydev/forums/forum/293649/topic/1850876]Running MakePy and make context help working[/url] First, I'm looking for more infos how the context-insensitive code completion works, in more detail which "information" is needed for it. Second, in the context of the above mentioned old topic, I'm looking for a way to get code completion work for COM objects with MakePy or a template I generate myself. Many thanks and greetings uwg |
|
From: SourceForge.net <no...@so...> - 2011-05-27 21:47:08
|
The following forum message was posted by webhart at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4548534: I try to use a python.exe version (2.6.2) that ships with the software-package ABAQUS on Windows 7, 64 bit. When launching it from the windows command prompt it works. When launching it from eclipse with pydev python.exe crahes and I get the following type of messages in the event-viewer. PATH and PYTHONPATH are the same in both cases. Where should I look for differences? Name der fehlerhaften Anwendung: python.exe, Version: 0.0.0.0, Zeitstempel: 0x4bbe637a Name des fehlerhaften Moduls: KERNELBASE.dll, Version: 6.1.7601.17514, Zeitstempel: 0x4ce7c78c Ausnahmecode: 0xc0000025 Fehleroffset: 0x000000000000a49d ID des fehlerhaften Prozesses: 0x43c Startzeit der fehlerhaften Anwendung: 0x01cc1cb01a128583 Pfad der fehlerhaften Anwendung: C:\SIMULIA\Abaqus\6.10-1\Python\Obj\python.exe Pfad des fehlerhaften Moduls: C:\Windows\system32\KERNELBASE.dll Berichtskennung: 57d21b66-88a3-11e0-9202-f0def11d25ce |
|
From: SourceForge.net <no...@so...> - 2011-05-27 21:38:09
|
The following forum message was posted by uwg at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/1850876: Hello all, I have exactly the same question - the only difference four years later... Thanks for any hint uwg |
|
From: SourceForge.net <no...@so...> - 2011-05-26 14:17:15
|
The following forum message was posted by fabioz at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4545106: Unfortunately (as you saw), this is not currently possible inside of Eclipse. PyDev doesn't really do anything there, it just passes control of the console to Eclipse, so, Eclipse itself should take care of handling a '\r' and do what you want, but I can see some issues as it's not a real shell (and output is asynchronized). So, please create a bug-report at Eclipse.org asking for that to be added (and please post the link to the bug in this forum so that I can help you there). Cheers, Fabio |
|
From: SourceForge.net <no...@so...> - 2011-05-26 13:25:49
|
The following forum message was posted by splisp at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4546542: YES! I just had to restart the editor! Thanks Fabio! Cheers Fabrizio |
|
From: SourceForge.net <no...@so...> - 2011-05-26 13:04:29
|
The following forum message was posted by fabioz at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4546542: I believe the problem is that you need to restart your editor for that change to take place (the current nightly build already fixes that, so, if you want you can get it -- http://pydev.org/download.html -- and see if it works for you without restarting the editor). Cheers, Fabio |
|
From: SourceForge.net <no...@so...> - 2011-05-26 12:57:54
|
The following forum message was posted by splisp at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4546542: Ops, from the post this was not clear: I cannot see the parenthesis on black background, because they are always drawn in black, and this is not changed by the color setting |
|
From: SourceForge.net <no...@so...> - 2011-05-26 12:54:46
|
The following forum message was posted by splisp at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4546542: Hi all, I have just installed PyDev on Helios and the first thing I do is customize the editor colors :) My programming environment is green text on black background since ever, so I set it accordingly (ok, strings are yellow, keywords are white, and some other colors...) In PyDev, I cannot manage to change the color of the parenthesis; there is an entry on the Editor preferences called "(), [], {}", but the color is applied on the preview and not in the editor. The text style instead is applied in the editor window (I can see it if I select the text, so to make the parenthesis appear). Am I missing something? - Fabrizio |
|
From: SourceForge.net <no...@so...> - 2011-05-25 19:35:46
|
The following forum message was posted by at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4498666: FYI, This is what i did to solve this problem and it seems to work (I created the console first, but there must be a way to get the console after it has been created). [code] final ICallback<Object, InterpreterResponse> onResponseReceived = new ICallback<Object, InterpreterResponse>(){ public Object call(final InterpreterResponse arg){ //When we receive the response, we must handle it in the UI thread. RunInUiThread.async(new Runnable(){ public void run(){ } }); return null; } }; try { PydevConsoleFactory factory = new PydevConsoleFactory(); PydevConsoleInterpreter interp = PydevConsoleFactory .createDefaultPydevInterpreter(); factory.createConsole(interp, "x=1;print x\n"); interp.exec ("y=2\n", onResponseReceived); } catch (Exception e) { e.printStackTrace(); }[/code] Brian |
|
From: SourceForge.net <no...@so...> - 2011-05-25 15:37:17
|
The following forum message was posted by xphysx at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4545106: I'm using Pydev in Eclipse on Ubuntu Linux. Say I have a python script as follows: [code]for i in range(101): print(str(i) + "% \r", end="")[/code] Running this script from terminal gives the anticipated and wanted result, a print that updates the line with the end result as follows: [code]100%[/code] If I run the script in Eclipse/Pydev, the output is instead: [code]0% 1% 2% ... 100%[/code] It seems the console handles \r as a complete newline. Does anyone know a way to fix this behaviour? Thanks in advance! |
|
From: SourceForge.net <no...@so...> - 2011-05-25 10:59:54
|
The following forum message was posted by fabioz at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4544548: Can you try updating PyDev to the latest nightly build (http://pydev.org/download.html) and see if it works for you? Best Regards, Fabio |
|
From: SourceForge.net <no...@so...> - 2011-05-25 08:14:45
|
The following forum message was posted by engelre at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4544548: I installed pyPdef (http://pybrary.net/pyPdf/) in my Python installation (python27, Windows 7, Eclipse Helios, PyDev 2.0.0.2011040403). If I try to use pyPdf, the import line from pyPdf.pdf import PdfFileWriter, PdfFileReader is flagged as erroneous (Unresolved Import: PdfFileWriter; Unresolved Import: PdfFileReader), but the program itself is executed without errors! |
|
From: SourceForge.net <no...@so...> - 2011-05-25 00:11:21
|
The following forum message was posted by fabioz at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4543888: The only way to test without disturbing your current environment would be installing it in a separate version of eclipse and pointing to a new workspace. Anyways, just took a quick look and it seems PyDev won't handle your use-case... Please create a feature request for that expliciting your use case. Cheers, Fabio |
|
From: SourceForge.net <no...@so...> - 2011-05-24 19:08:40
|
The following forum message was posted by fabioz at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4543888: The only proper way is PyDev supporting what you want. What features are breaking? Can you check the latest nightly to see if it works for you? (I remember making some fixes related to that, just not sure what's your actual use case). Cheers, Fabio |
|
From: SourceForge.net <no...@so...> - 2011-05-24 18:45:36
|
The following forum message was posted by at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4543888: I've recently started using unittest2 to test my Python 2.6 project, because I want the new testing features from Python 2.7's unittest (unittest2 is a backport). However, it appears that Pydev's test runner ignores my "if __name__ == '__main__': unittest2.main()" block, and runs the regular unittest.main() function instead. This ends up breaking a bunch of the unittest2 functionality, and I'd really like to know how to get around that. I can make the code work by running the module as a regular "Python run" instead of "Python unit-test", but I can't do that for more than one module at a time (as far as I know). Since my code shop's standard pre-deploy testing procedure is to right-click the project in the package explorer and choose "Run As > Python unit-test", I need my code to work properly when batch executed like that. |
|
From: SourceForge.net <no...@so...> - 2011-05-23 20:18:04
|
The following forum message was posted by mrodent at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4542495: Aaarh... how to delete??? No way it seems. Now realise this is as things should be. All a misunderstanding. Cancel. Delete. Eliminate. Exterminate. |
|
From: SourceForge.net <no...@so...> - 2011-05-23 20:06:07
|
The following forum message was posted by mrodent at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4542495: this is quite irritating: just installed PyDev for Jython on Eclipse. "sys" is listed as one of the "forced builtins" but when I try to write a simple prog using sys I get "Undefined variable: sys". + if I go Ctrl-Space to bring up the builtins in a .py prog page I get a list of builtins which does NOT contain "sys". This is worked around by going "import sys". In the book "Definitive Guide to Jython" covering this configuration of Eclipse/PyDev/Jython it says "PyDev will automatically detect the default, global sys.path entries. PyDev always infer [sic] the right values...". Famous last words. What does it mean by "global sys.path" entries anyway? In Eclipse? In my system? And is this likely to be the cause of the prob? NB 1) dir jython2.5.2 (where we find jython.jar) is on my system's PATH 2) specs: WXP, jython 2.5.2, PyDev 2.0.0, Java 1.6.0, Eclipse "Helios" (3.6.1) thanks for any help |
|
From: Fabio Z. <fa...@gm...> - 2011-05-20 22:19:22
|
It'll always use the default, so, if you change the default you can change which one is used. Cheers, Fabio On Fri, May 20, 2011 at 5:47 PM, Garrett Rolfs <st...@us...> wrote: > I have a need to launch a jython script that requires a Java JRE with a > version that is different than the JRE eclipse is using. Is it possible > to tell pydev which installed JRE to use? I would like to pick one > found under Window->Preferences->Installed JREs. > > Thank you, > > -Garrett Rolfs > > > ------------------------------------------------------------------------------ > What Every C/C++ and Fortran developer Should Know! > Read this article and learn how Intel has extended the reach of its > next-generation tools to help Windows* and Linux* C/C++ and Fortran > developers boost performance applications - including clusters. > http://p.sf.net/sfu/intel-dev2devmay > _______________________________________________ > Pydev-users mailing list > Pyd...@li... > https://lists.sourceforge.net/lists/listinfo/pydev-users > |
|
From: Garrett R. <st...@us...> - 2011-05-20 20:55:18
|
I have a need to launch a jython script that requires a Java JRE with a version that is different than the JRE eclipse is using. Is it possible to tell pydev which installed JRE to use? I would like to pick one found under Window->Preferences->Installed JREs. Thank you, -Garrett Rolfs |
|
From: SourceForge.net <no...@so...> - 2011-05-19 01:22:17
|
The following forum message was posted by fabioz at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4533050: Unfortunately, I think that this is not currently possible... although, maybe a solution (which I haven't tested) would be creating a separate JDT project and configuring it as needed so that it shows you things as you want, configuring that project as a pydev project and making a reference for your original project (in theory in that case, PyDev will pass control to JDT to handle that, but I haven't tried it, so, it may not work in the end). Cheers, Fabio |
|
From: SourceForge.net <no...@so...> - 2011-05-19 01:17:55
|
The following forum message was posted by fabioz at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4535812: There's no real specific support in PyDev, but have you checked: http://pypi.python.org/pypi/pb.recipes.pydev/ ? It seems like it does exactly what you want... Cheers, Fabio |
|
From: SourceForge.net <no...@so...> - 2011-05-18 15:31:29
|
The following forum message was posted by tdiggins at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4535812: Is there an easy way these days to add buildout generated eggs ( a folder of unzipped eggs) to the python path for a project? buildout generates a "py" executable which has all the paths in it, by pydev won't recognize it as a valid interpreter. I've found a number of references online which are all pretty old, talking about buildout modifications, but wondered if there was direct support form pydev now. |
|
From: SourceForge.net <no...@so...> - 2011-05-17 22:06:54
|
The following forum message was posted by fabioz at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4534573: I've checked it and the problem is that PyDev is making use of an API only available for Eclipse 3.5... So, for now you can either update to Eclipse 3.5 or wait for a new release with that fixed (please enter a bug report for that). Cheers, Fabio |
|
From: SourceForge.net <no...@so...> - 2011-05-17 18:48:21
|
The following forum message was posted by fgordon at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4534573: I'm using Eclipse 3.4 and installed PyDev 2.0.0.2011040403. When I enabled code coverage for new launches and ran a script, it appears to generate coverage information for me, but when I try selecting a folder in the Code Coverage Results View, I get an error about java.lang.NoSuchFieldError. Digging into the logs, I find the following snippet: !ENTRY org.eclipse.jface 4 2 2011-05-17 14:31:19.857 !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jface". !STACK 0 [b]java.lang.NoSuchFieldError: org/eclipse/swt/custom/StyleRange.data[/b] at org.python.pydev.debug.codecoverage.CoverageCache.getStatistics(CoverageCach e.java:255) at org.python.pydev.debug.codecoverage.PyCodeCoverageView.onSelectedFileInTree( PyCodeCoverageView.java:350) at org.python.pydev.debug.codecoverage.PyCodeCoverageView.access$2(PyCodeCovera geView.java:343) at org.python.pydev.debug.codecoverage.PyCodeCoverageView$SelectionChangedTreeA ction.run(PyCodeCoverageView.java:338) at org.python.pydev.debug.codecoverage.PyCodeCoverageView$SelectionChangedTreeA ction.runWithEvent(PyCodeCoverageView.java:329) at org.python.pydev.debug.codecoverage.PyCodeCoverageView$12.selectionChanged(P yCodeCoverageView.java:847) at org.eclipse.jface.viewers.Viewer$2.run(Viewer.java:162) ...Any idea what might cause this error, and how to resolve it? |