pydev-users Mailing List for PyDev for Eclipse (Page 17)
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-10-07 08:05:36
|
The following forum message was posted by mrodent at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4741281: Thanks... in fact CommandGroups --> PyDev Debug was unticked both for normal and debug perspective. So I ticked em... Followed through the manual-adv-remote-debugger instructions... unfortunately it didn't work because, yes, I am essentially using threads created in Java... SwingWorker's non-EDT thread in doInBackground(), and EDT in process(). Breakpoints non-functional. Do you have any knowledge on how big a challenge the PyDev developers would face to do sthg about this? If reasonable, is it anywhere on their radar to your knowledge? |
From: SourceForge.net <no...@so...> - 2011-10-06 21:13:35
|
The following forum message was posted by piotr_dobrogost at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4734668: Well, I looked for 'com.aptana.ide' string in [i].metadata[/i] folder in my workspace, in Eclipse installation folder and in folder with my projects with no results. Very strange... |
From: SourceForge.net <no...@so...> - 2011-10-06 20:43:21
|
The following forum message was posted by fabioz at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4734668: Well, that entry in the log: org.eclipse.core.runtime.CoreException: No property tester contributes a property com.aptana.ide.core.ui.nature to type class org.python.pydev.navigator.elements.PythonProjectSourceFolder is saying that it was a problem with com.aptana.ide.core.ui.nature, so, maybe that's where your problem is lying (i.e.: maybe you installed aptana, removed it and somehow you're using the same metadata which still has some information from aptana? -- so, there's a chance that starting things with a fresh workspace could solve your issues...) Cheers, Fabio |
From: SourceForge.net <no...@so...> - 2011-10-06 20:36:44
|
The following forum message was posted by piotr_dobrogost at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4734668: Well it seems like I don't have Aptana Studio installed... Below is contents of [i]Installed Software[/i] tab in [i]Eclipse SDK Installation Details[/i] window: [code] Autotools support for CDT (Incubation) 3.0.1.201108301805 org.eclipse.linuxtools.cdt.autotools.feature.gro up Eclipse Linux Tools C/C++ Development Tools 8.0.0.201109151620 org.eclipse.cdt.feature.group Eclipse CDT C/C++ Library API Documentation Hover Help (Incubation) 0.3.0.201108301805 org.eclipse.linuxtools.cdt.libhover.feature.grou p Eclipse Linux Tools Eclipse SDK 3.7.1.M20110909-1335 org.eclipse.sdk.ide null Eclipse XML Editors and Tools 3.3.1.v201108102009-7H7EFZ3DxumTlaI6nheRdHo2p1KaDIL1Uz-S3PL org.eclipse.ws t.xml_ui.feature.feature.group Eclipse Web Tools Platform Eclipse XSL Developer Tools 1.3.1.v201109012200-7T7YFRTFIqUoIrvbEtBlSIJXGZNg org.eclipse.wst.xsl.featu re.feature.group Eclipse Web Tools Platform JavaScript Development Tools 1.3.1.v201108102009-7F78FXRFBBoPbXRPcHfz-uy org.eclipse.wst.jsdt.feature.f eature.group Eclipse Web Tools Platform MercurialEclipse 1.9.0.201106191824 mercurialeclipse.feature.group MercurialEclipse project PyDev for Eclipse 2.2.2.2011091514 org.python.pydev.feature.feature.group Apta na Pydev Mylyn Integration 0.3.0 org.python.pydev.mylyn.feature.feature.group Fabio Zadrozny[/code] In the past I had Aptana Studio installed indeed but I think I haven't installed it in my current Eclipse installation (Indigo) at all. |
From: SourceForge.net <no...@so...> - 2011-10-06 20:25:34
|
The following forum message was posted by fabioz at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4734668: Seems some issue between PyDev and Aptana Studio... Which Aptana Studio version are you using? |
From: SourceForge.net <no...@so...> - 2011-10-06 20:22:11
|
The following forum message was posted by piotr_dobrogost at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4734668: Thanks Fabio for quick reply. I'll try this as soon as possible and I will post results. Could you please comment on log entry posted in comment 2? |
From: Fabio Z. <fa...@gm...> - 2011-10-06 20:20:54
|
On Thu, Oct 6, 2011 at 5:05 PM, Mehrdad Pazooki <meh...@gm...> wrote: > Thanks for the reply; > > this is what I got from python3; >>>> import sys >>>> print(sys.path) > '/usr/lib/python32.zip', > '/usr/lib/python3.2', > '/usr/lib/python3.2/plat-linux2', > '/usr/lib/python3.2/lib-dynload', > '/usr/lib/python3.2/site-packages' > > and this is what I got from PYTHONPATH in Eclipse: > /usr/src/eclipse/plugins/org.python.pydev_2.2.2.2011082312/PySrc > /usr/lib/python32.zip > /usr/lib/python3.2 > /usr/lib/python3.2/plat-linux2 > /usr/lib/python3.2/lib-dynload > /usr/lib/python3.2/site-packages > > they both have the same path so how is that possible that python3 > doesn't have any problem with atexit but eclipse with the same > path cannot import it?! > It seems that on Python 3, atexit is a builtin module (probably the /usr/lib/python3.2/lib-dynload/atexit.cpython-32mu.so) you found in the find... So, maybe there's some other environment variable you need to have set to have it working (although if you started Eclipse from the same shell where you had it working, that shouldn't be a problem, unless you override it -- or started from another place that doesn't set it) Try taking a look at the LIBPATH variable (or restarting Eclipse from the same shell where you got it running). Cheers, Fabio > > On Thu 06 Oct 2011 04:47:37 PM ADT, Fabio Zadrozny wrote: >> Probably you have the PYTHONPATH mixed... You can check that by making >> a script and running it (if you can't fix it, please post the details >> of your PYTHONPATH): >> >> i.e.: import sys;print(sorted('\n'.join(sys.path))) >> >> Cheers, >> >> Fabio >> >> On Thu, Oct 6, 2011 at 4:25 PM, Mehrdad Pazooki >> <meh...@gm...> wrote: >>> I used the following source code; >>> https://www.assembla.com/code/EstMon/subversion/nodes/trunk/src/daemon.py >>> when I pasted it to eclipse in a new file I got a message: "Unresolved >>> Import Module; atexit" with a red cross beside my import section which >>> is;"import sys, os, time, atexit, signal, socketserver" >>> atexit is the only module that it cannot import, but it exists! I ran >>> the code and I had no trouble. I also tried; >>> $ python3 -c 'import atexit' >>> it proved that python3 has no problem with this module. >>> >>> $ locate atexit >>> /usr/lib/perl5/auto/POSIX/atexit.al >>> /usr/lib/python2.7/atexit.py >>> /usr/lib/python2.7/atexit.pyc >>> /usr/lib/python2.7/atexit.pyo >>> /usr/lib/python3.2/lib-dynload/atexit.cpython-32mu.so >>> /usr/src/eclipse/plugins/org.python.pydev.jython_2.2.2.2011082312/Lib/atexit.py >>> /var/cache/abrt-di/usr/src/debug/glibc-2.14-34-ge2a3090/stdlib/atexit.c >>> /var/cache/abrt-di/usr/src/debug/glibc-2.14-34-ge2a3090/stdlib/cxa_atexit.c >>> >>> does anyone know a solution to fix this issue? >>> >>> >>> ------------------------------------------------------------------------------ >>> All the data continuously generated in your IT infrastructure contains a >>> definitive record of customers, application performance, security >>> threats, fraudulent activity and more. Splunk takes this data and makes >>> sense of it. Business sense. IT sense. Common sense. >>> http://p.sf.net/sfu/splunk-d2dcopy1 >>> _______________________________________________ >>> Pydev-users mailing list >>> Pyd...@li... >>> https://lists.sourceforge.net/lists/listinfo/pydev-users >>> >> >> ------------------------------------------------------------------------------ >> All the data continuously generated in your IT infrastructure contains a >> definitive record of customers, application performance, security >> threats, fraudulent activity and more. Splunk takes this data and makes >> sense of it. Business sense. IT sense. Common sense. >> http://p.sf.net/sfu/splunk-d2dcopy1 >> _______________________________________________ >> Pydev-users mailing list >> Pyd...@li... >> https://lists.sourceforge.net/lists/listinfo/pydev-users >> > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense. > http://p.sf.net/sfu/splunk-d2dcopy1 > _______________________________________________ > Pydev-users mailing list > Pyd...@li... > https://lists.sourceforge.net/lists/listinfo/pydev-users > |
From: Mehrdad P. <meh...@gm...> - 2011-10-06 20:05:31
|
Thanks for the reply; this is what I got from python3; >>> import sys >>> print(sys.path) '/usr/lib/python32.zip', '/usr/lib/python3.2', '/usr/lib/python3.2/plat-linux2', '/usr/lib/python3.2/lib-dynload', '/usr/lib/python3.2/site-packages' and this is what I got from PYTHONPATH in Eclipse: /usr/src/eclipse/plugins/org.python.pydev_2.2.2.2011082312/PySrc /usr/lib/python32.zip /usr/lib/python3.2 /usr/lib/python3.2/plat-linux2 /usr/lib/python3.2/lib-dynload /usr/lib/python3.2/site-packages they both have the same path so how is that possible that python3 doesn't have any problem with atexit but eclipse with the same path cannot import it?! On Thu 06 Oct 2011 04:47:37 PM ADT, Fabio Zadrozny wrote: > Probably you have the PYTHONPATH mixed... You can check that by making > a script and running it (if you can't fix it, please post the details > of your PYTHONPATH): > > i.e.: import sys;print(sorted('\n'.join(sys.path))) > > Cheers, > > Fabio > > On Thu, Oct 6, 2011 at 4:25 PM, Mehrdad Pazooki > <meh...@gm...> wrote: >> I used the following source code; >> https://www.assembla.com/code/EstMon/subversion/nodes/trunk/src/daemon.py >> when I pasted it to eclipse in a new file I got a message: "Unresolved >> Import Module; atexit" with a red cross beside my import section which >> is;"import sys, os, time, atexit, signal, socketserver" >> atexit is the only module that it cannot import, but it exists! I ran >> the code and I had no trouble. I also tried; >> $ python3 -c 'import atexit' >> it proved that python3 has no problem with this module. >> >> $ locate atexit >> /usr/lib/perl5/auto/POSIX/atexit.al >> /usr/lib/python2.7/atexit.py >> /usr/lib/python2.7/atexit.pyc >> /usr/lib/python2.7/atexit.pyo >> /usr/lib/python3.2/lib-dynload/atexit.cpython-32mu.so >> /usr/src/eclipse/plugins/org.python.pydev.jython_2.2.2.2011082312/Lib/atexit.py >> /var/cache/abrt-di/usr/src/debug/glibc-2.14-34-ge2a3090/stdlib/atexit.c >> /var/cache/abrt-di/usr/src/debug/glibc-2.14-34-ge2a3090/stdlib/cxa_atexit.c >> >> does anyone know a solution to fix this issue? >> >> >> ------------------------------------------------------------------------------ >> All the data continuously generated in your IT infrastructure contains a >> definitive record of customers, application performance, security >> threats, fraudulent activity and more. Splunk takes this data and makes >> sense of it. Business sense. IT sense. Common sense. >> http://p.sf.net/sfu/splunk-d2dcopy1 >> _______________________________________________ >> Pydev-users mailing list >> Pyd...@li... >> https://lists.sourceforge.net/lists/listinfo/pydev-users >> > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense. > http://p.sf.net/sfu/splunk-d2dcopy1 > _______________________________________________ > Pydev-users mailing list > Pyd...@li... > https://lists.sourceforge.net/lists/listinfo/pydev-users > |
From: SourceForge.net <no...@so...> - 2011-10-06 19:58:09
|
The following forum message was posted by fabioz at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4734668: It's possible that a project has both the c++ and the python nature. If you right click a project (in the pydev package explorer at least), you can choose pydev > remove pydev project config (to remove the python nature if it's a pydev project) or pydev > set as pydev project. Note that if you open a python file in any project, pydev will automatically add the python nature to it. Cheers, Fabio |
From: Fabio Z. <fa...@gm...> - 2011-10-06 19:48:03
|
Probably you have the PYTHONPATH mixed... You can check that by making a script and running it (if you can't fix it, please post the details of your PYTHONPATH): i.e.: import sys;print(sorted('\n'.join(sys.path))) Cheers, Fabio On Thu, Oct 6, 2011 at 4:25 PM, Mehrdad Pazooki <meh...@gm...> wrote: > I used the following source code; > https://www.assembla.com/code/EstMon/subversion/nodes/trunk/src/daemon.py > when I pasted it to eclipse in a new file I got a message: "Unresolved > Import Module; atexit" with a red cross beside my import section which > is;"import sys, os, time, atexit, signal, socketserver" > atexit is the only module that it cannot import, but it exists! I ran > the code and I had no trouble. I also tried; > $ python3 -c 'import atexit' > it proved that python3 has no problem with this module. > > $ locate atexit > /usr/lib/perl5/auto/POSIX/atexit.al > /usr/lib/python2.7/atexit.py > /usr/lib/python2.7/atexit.pyc > /usr/lib/python2.7/atexit.pyo > /usr/lib/python3.2/lib-dynload/atexit.cpython-32mu.so > /usr/src/eclipse/plugins/org.python.pydev.jython_2.2.2.2011082312/Lib/atexit.py > /var/cache/abrt-di/usr/src/debug/glibc-2.14-34-ge2a3090/stdlib/atexit.c > /var/cache/abrt-di/usr/src/debug/glibc-2.14-34-ge2a3090/stdlib/cxa_atexit.c > > does anyone know a solution to fix this issue? > > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense. > http://p.sf.net/sfu/splunk-d2dcopy1 > _______________________________________________ > Pydev-users mailing list > Pyd...@li... > https://lists.sourceforge.net/lists/listinfo/pydev-users > |
From: Mehrdad P. <meh...@gm...> - 2011-10-06 19:25:21
|
I used the following source code; https://www.assembla.com/code/EstMon/subversion/nodes/trunk/src/daemon.py when I pasted it to eclipse in a new file I got a message: "Unresolved Import Module; atexit" with a red cross beside my import section which is;"import sys, os, time, atexit, signal, socketserver" atexit is the only module that it cannot import, but it exists! I ran the code and I had no trouble. I also tried; $ python3 -c 'import atexit' it proved that python3 has no problem with this module. $ locate atexit /usr/lib/perl5/auto/POSIX/atexit.al /usr/lib/python2.7/atexit.py /usr/lib/python2.7/atexit.pyc /usr/lib/python2.7/atexit.pyo /usr/lib/python3.2/lib-dynload/atexit.cpython-32mu.so /usr/src/eclipse/plugins/org.python.pydev.jython_2.2.2.2011082312/Lib/atexit.py /var/cache/abrt-di/usr/src/debug/glibc-2.14-34-ge2a3090/stdlib/atexit.c /var/cache/abrt-di/usr/src/debug/glibc-2.14-34-ge2a3090/stdlib/cxa_atexit.c does anyone know a solution to fix this issue? |
From: SourceForge.net <no...@so...> - 2011-10-06 18:40:51
|
The following forum message was posted by piotr_dobrogost at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4734668: Could someone please try to reproduce behavior I described in comment 1. I guess those other projects do not really have to be CDT ones. I suspect the behavior could be the same for other kinds of projects as well. |
From: SourceForge.net <no...@so...> - 2011-10-06 18:35:44
|
The following forum message was posted by piotr_dobrogost at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4735017: Could somebody please try to reproduce this? |
From: Fabio Z. <fza...@ap...> - 2011-10-06 18:04:24
|
Hi All, PyDev 2.2.3 has been released Details on PyDev: http://pydev.org Details on its development: http://pydev.blogspot.com Release Highlights: ------------------------------- * Performance improvements * Major: Fixed critical issue when dealing with zip files. * Added option to create method whenever a field would be created in quick fixes (and vice-versa), to properly deal with functional programming styles. * Fixed issue where PyDev was changing the image from another plugin in the Project Explorer (i.e.: removing error decorations from JSP). * Fixed issue: if the django models was opened in PyDev, the 'objects' object was not found in the code analysis. * Test runner no longer leaves exception visible. * Fixed issue on Py3: Relative imports are only relative if they have a leading dot (otherwise it always goes to the absolute). * Default is now set to create project with the projects itself as the source folder. * Handling deletion of .class files. * Fixed issue where loading class InterpreterInfo in AdditionalSystemInterpreterInfo.getPersistingFolder ended up raising a BundleStatusException in the initialization. * Fixed some code formatting issues What is PyDev? --------------------------- PyDev is a plugin that enables users to use Eclipse for Python, Jython and IronPython development -- making Eclipse a first class Python IDE -- It comes with many goodies such as code completion, syntax highlighting, syntax analysis, refactor, debug and many others. Cheers, -- Fabio Zadrozny ------------------------------------------------------ Software Developer Appcelerator http://appcelerator.com/ Aptana http://aptana.com/ PyDev - Python Development Environment for Eclipse http://pydev.org http://pydev.blogspot.com |
From: SourceForge.net <no...@so...> - 2011-10-06 16:57:43
|
The following forum message was posted by fabioz at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4741281: Those buttons should be present at the debug perspective. You can enable them in other perspectives in window > customize perspective > command groups availability > pydev debug. Aside from that, I think that http://pydev.org/manual_adv_remote_debugger.html should explain properly how to use it (just a note: the debugger should work with threads created in Jython, but sometimes, if they're created in Java, PyDev doesn't know about it and thus doesn't add debugging to that thread -- and the same happens on some swing calls). Cheers, Fabio |
From: SourceForge.net <no...@so...> - 2011-10-06 15:47:11
|
The following forum message was posted by fabioz at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4739607: Are you on windows or linux? Do you have some error in your error log? The usual suspect is that the installation failed because you can't write at the needed folders. (linux permission or in windows the UAC). Cheers, Fabio |
From: SourceForge.net <no...@so...> - 2011-10-06 14:45:17
|
The following forum message was posted by at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/3819274: i've just had the problem (installing Remote System Explorer End-User Runtime" Plugin) . and reverting to my original config seemed to work. this is on windows 7. a bit of an annoyance though. and still no FTP with Eclipse for me.... |
From: SourceForge.net <no...@so...> - 2011-10-06 03:12:38
|
The following forum message was posted by mstamps at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4739607: I am having the same problem, any answers? |
From: SourceForge.net <no...@so...> - 2011-10-05 22:26:37
|
The following forum message was posted by rekveld at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4739830: Hi Fabio, I've been playing around a bit in a new workspace and I found my error is relatively simple to reproduce after your previous message: this file: http://python-gtkglext1.sourcearchive.com/documentation/1.1.0-4/coolwave_8py-sou rce.html is one of the examples that comes with PyGTKGLExt. If I start adding lines like glEnable(GL_WORLDPEACE) I can see in the systemmonitor that the java thread starts going up to 100% and memory usage starts increasing rapidly. (Strange is that just now I tried again after giving Eclipse a lot less memory (in order to give you a smaller heapdump) and then it also happens, but it takes muuuuch longer to reach the Out of Memory point, and sometimes I don't have the patience to get there. That is not what I expected, but not a solution I guess, it does slow everything down.) I am on Python 2.6.6 using pygtkglext-1.1.0, pyOpenGL 3.0.1, pyGTK 2.0, what else would you need to know ? What I just discovered is that in the import section it says [code]from gtk.gtkgl.apputils import * from OpenGL.GL import *[/code] and gtk.gtkgl.apputils imports/redefines (I don't know which, I guess the latter) A LOT of the definitions in OpenGL.GL I suspect that might have to do with the problem ? It is confusing to use wildcard imports like in this example; in my own project I import all the OpenGL stuff I need from gtk.gtkgl.apputils, and only two functions from OpenGL.GLU, nothing at all from OpenGL.GL. (I even tried importing all the OpenGL definitions one by one, without a wildcard, but that did not change anything). I hope this gives you enough info to reproduce ? Or should I try excluding libs from my interpreter ? many thanks, Joost. |
From: SourceForge.net <no...@so...> - 2011-10-05 17:42:04
|
The following forum message was posted by mrodent at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4741281: Hi, Using Jython (2.5) in PyDev (2.0.0) in Eclipse Helios (3.6.1). Debugging simply does not work on multiple threads... searching seemed to indicate that the thing to do was to install the PyDev remote debugger: manual: http://pydev.org/manual_adv_remote_debugger.html <-- but these buttons are not present in my toolbar at all (!) and I can find now menu equivalent to launch the remote debugger. Also found this page from here: https://sourceforge.net/projects/pydev/forums/forum/293649/topic/3549899 Tried experimenting with this but it appears that this is sthg you do *after* getting the remote debugger up and running. Anyone know how I install the remote debugger? Thanks |
From: SourceForge.net <no...@so...> - 2011-10-05 14:06:14
|
The following forum message was posted by rekveld at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4739830: Ha Fabio, as usual, thanks for the speedy and clarifying response. For now, the project is closed source. I am an artist and I am mostly coding things for my own use, but there are large parts of this project of which I hope they can be of general use and which I waould like to share. But deadlines first :) From your pointer I think I will be able to piece together a minimum case that would trigger this too. I am away from my box now, but I will try what I have to do to trigger it starting from a new, empty workspace. I recently started using pygtkglext, from what you write I get the feeling the problem might be related to that. More detailed info soon ! many thanks, Joost. |
From: SourceForge.net <no...@so...> - 2011-10-05 13:09:21
|
The following forum message was posted by fabioz at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4739830: From taking a look at the heap it really looks that PyDev got lost when searching things in pyopengl (it recreates many times a module searching for it until you run out of memory... if you had even more memory allocated, it would probably end up raising a stack overflow error), so, it seems that some specific construct triggered that (will have to analyze it better to know what could trigger that). Which pyopengl version are you using? I'm not sure if your project is closed or open source, but if it's open source, it'd help if you could upload the project that has this problem + the python interpreter with all the libs you're using (if not it's open source, having only the interpreter+libs could be helpful too -- if you can't do that either, can you specify the python version, pyopengl version you're using)? Cheers, Fabio |
From: SourceForge.net <no...@so...> - 2011-10-05 10:41:30
|
The following forum message was posted by rekveld at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4739830: Hi Fabio, finally managed to do a 554MB heapdump and uploaded it to http://rekveld.home.xs4all.nl/stuff (i have to run now and it still has 30mins of uploading to go) I modified the settings a bit in order to avoid having to upload a 1.2GB dump, but I don't think that makes a difference for tracking down the problem. And for those who ever need to do this, what I figured out is to add these two lines to your eclipse.ini file. The last one specifies the directory and it is wise to make a directory especially for it, since the analysis produces lots of little files you don't want to pollute your working directory or home folder. It took me a while to find this out, since all the documentation is mostly explaining you how to find memoryleaks in your own code, not in the IDE you're using. I had a look and it seems to have to do with code analysis. A couple of times Eclipse froze on completing an Open_GL attribute, and in the system monitor I could see it filling up 1.2G of memory in 2 or 3 minutes. --launcher.XXMaxPermSize 256m openFile -vmargs -Xms128m -Xmx384m -Xss4m -XX:PermSize=128m -XX:MaxPermSize=384m -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/your/path/here |
From: SourceForge.net <no...@so...> - 2011-10-05 07:11:03
|
The following forum message was posted by rekveld at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4739830: Hi Fabio, in the eclipse.ini I have the following parameters: --launcher.XXMaxPermSize 512m --launcher.defaultAction openFile -vmargs -Xms128m -Xmx1024m which should be enough, no ? And what mystifies me the most is that these problems started completely out-of-the-blue; i've been using PyDev/Eclipse for years and it's great ! I am going to look into this MemoryAnalyzer thing now; at first sight the documentation of it seems a bit lacking for my kind of user.. J. |
From: SourceForge.net <no...@so...> - 2011-10-05 01:46:12
|
The following forum message was posted by fabioz at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4739830: How much memory are you giving it before it runs out of memory? See: http://stackoverflow.com/questions/142357/what-are-the-best-jvm-settings-for-eclipse for a reference configuring vm settings. If the problem persists, please provide a memory dump of your use-case (see: http://wiki.eclipse.org/index.php/MemoryAnalyzer for details on getting a memory dump -- zip it, upload it somewhere and pass me the link). Cheers, Fabio |