pydev-users Mailing List for PyDev for Eclipse (Page 199)
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...> - 2006-11-27 20:20:34
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=4032781 By: boostpy2005 Hello there, since a few weeks, F3 does not work for me any more, that is, F3 can not go to the declaration if the method is defined in another module! I use Subversion 1.4 and Eclipse 3.2.1 Pydev & Extensiion are the actual versions. BTW, I re-installed all of them and it does not help! Thanks for advance. HL ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=293649 |
|
From: SourceForge.net <no...@so...> - 2006-11-27 16:22:48
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=4032457 By: jehan Hi! I'm learning python in conjunction with zope/plone and I would like to use eclipse/pydev because of it's greate features. The major problem I have is that each time i start a python run the console tells me for example "ImportError: No module named Products.MyProduct.config" which is triggered by the corresponding "from Products.MyProduct.config import *". Similar happens if I try to import something from Products.CMFCore.utils for example. I tried to modify the Projects PYTHONPATH the way I added `$INSTANCE`/Products and, as an alternative, only `$INSTANCE`. Also I tried to place the `$INSTANCE`/Prodcts directory in a source folder beneath the project but without success. I would like to know if I make a general mistake and how I can overcome. Thank you very much. ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=293649 |
|
From: SourceForge.net <no...@so...> - 2006-11-22 16:30:33
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=4025462 By: snakecard1 Hi, I had to rebind ctrl+1 to ctrl+& as I'm on an AZERTY keyboard. I insert a call to an undefined object l_obj = SC_ISO_Enc() I get an undefined error. I type Ctrl+& and I get a list of modules I select the correct one, and the import is created + the error goes away I have code completion enabled on '.' I type l_obj. then wait (or type ctrl+space) and a list of options pops-up ... modules mostly but none of the methods of SC_ISO_Enc. What am I doing wrong ? Regards, Philippe ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=293649 |
|
From: SourceForge.net <no...@so...> - 2006-11-22 16:13:23
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=4025436 By: snakecard1 Hi, How can pydev work only with a working set: currently, it looks through all of the files in my project hierarchy ... which is way too much. Thanks Philippe ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=293649 |
|
From: SourceForge.net <no...@so...> - 2006-11-22 09:13:08
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=4024851 By: zpatterson I have installed Eclipse with the goal of using PyDev. I installed everything according to the following site: http://www.afpy.org/Members/tweksteen/InstallerPyDev After installation, I can create PyDev projects, but I cannot seem to run them as python files. When I go to run, run as, I am only presented with java, junit or SWT applications. Any suggestions on how I can configure so that it will run as python? Zak ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=293649 |
|
From: SourceForge.net <no...@so...> - 2006-11-22 02:49:38
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=4024548 By: dontaylor When I create a new Python file (under a src folder) using Pydev Explorer it does not show up in the Pydev Explorer view. It does show up in the Navigator and the Project Explorer view. Refreshing Pydev Explorer does not help but dismissing the view and restarting it does bring in the new file along with any other files created under the folder. Also, why clutter up the Pydev Explorer view with .pyc files? Shouldn't there be filters for *.pyc and *.pyo as in the Navigator view? Don. ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=293649 |
|
From: SourceForge.net <no...@so...> - 2006-11-21 02:25:32
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=4022904 By: baus I see this is limitation in pydev. I created a symbolic link to the site-packages directory. That works ok. ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=293649 |
|
From: SourceForge.net <no...@so...> - 2006-11-20 17:34:35
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=4022150 By: baus Hi, I just installed pydev and I am having problems setting breakpoints in modules installed in site-packages. I can set breakpoints in my own code, and step into the site-packages, but I can't set a breakpoint in site-packages even when I am stepping through the module. I'm using eclipse on Linux. thanks, Chris ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=293649 |
|
From: SourceForge.net <no...@so...> - 2006-11-20 12:58:24
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=4021470 By: frepe Hi! I've just installed Eclipse + PyDev on an Ubuntu machine, and I can't really get code completion to work. If I import, for example, StringIO and the type: StringIO. (ctrl+space) ... the drop down menu with possible completions will appear, but if I import gtk, I type gtk. (ctrl+space) ... and then nothing appears. I've tried to read the FAQ on the pydev home page and also the section on PYTHONPATH on http://www.fabioz.com/pydev/manual_101_root.html but this still won't work... any ideas? TIA. ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=293649 |
|
From: Fabio Z. <fa...@gm...> - 2006-11-13 09:51:23
|
On 11/13/06, Michael Sorich <mic...@gm...> wrote:
>
> Hi,
>
> >From pydev I would like to run a python file in an external program
> such as ipython or pythonwin. This is because these allow one to
> interact with the final state of the program once the script is
> finished or as a post-mortem of unhandled exceptions. Hopefully when
> eclipse supports the interactive console better this will be possible
> within pydev.
Actually, this can be achieved by importing the script below:
'''
Makes the applications start the python debugger when an unhandled exception
occurs, instead of exiting the application.
Usage: just import this module
Source: Python Cookbook, page 434.
'''
import sys
import traceback
import pdb
def info(type, value, tb):
if hasattr(sys, 'ps1'):
sys.__excepthook__(type, value, tb)
else:
traceback.print_exception(type, value, tb)
print
pdb.pm()
sys.excepthook = info
For example the command line version that I hope to configure pydev to
> make and execute is
>
> C:\Python24\Lib\site-packages\pythonwin\Pythonwin.exe /run scriptname
>
> alternatively
>
> C:\Python24\python.exe C:\Python24\Scripts\ipython scriptname
>
> Can I set it up so that I can click a button or use a keyboard short
> cut to get pydev to call this command with the appropriate path to the
> python file?
>
You can do that in Eclipse by creating an external tool. Take a look at the
faq: http://pydev.sourceforge.net/faq.html#ref_13 for a guide on how to
configure an external tool (in this example it shows how you can create your
own interactive shell).
Cheers,
Fabio
|
|
From: Michael S. <mic...@gm...> - 2006-11-13 02:34:14
|
Hi, >From pydev I would like to run a python file in an external program such as ipython or pythonwin. This is because these allow one to interact with the final state of the program once the script is finished or as a post-mortem of unhandled exceptions. Hopefully when eclipse supports the interactive console better this will be possible within pydev. For example the command line version that I hope to configure pydev to make and execute is C:\Python24\Lib\site-packages\pythonwin\Pythonwin.exe /run scriptname alternatively C:\Python24\python.exe C:\Python24\Scripts\ipython scriptname Can I set it up so that I can click a button or use a keyboard short cut to get pydev to call this command with the appropriate path to the python file? Any help on how to do this would be appreciated. Mike |
|
From: SourceForge.net <no...@so...> - 2006-11-09 13:32:36
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=4004038 By: chrordig I don't know. It is too deep inside ZOPE, and I am not an expert when it comes to ZOPE interna :-( ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=293649 |
|
From: SourceForge.net <no...@so...> - 2006-11-09 12:32:16
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=4003944 By: fabioz Strange... it appears that it has something to do with that DummyThread... do you know why it is using that thread and not the actual thread from the threading module? ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=293649 |
|
From: SourceForge.net <no...@so...> - 2006-11-09 12:29:15
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=4003937 By: chrordig the filtered run was the second try. Even with absolutely unfiltered output the file name is not shown when testing. ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=293649 |
|
From: SourceForge.net <no...@so...> - 2006-11-09 12:12:45
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=4003925 By: fabioz Hummm... try with the filter: if 'filltrips' in filename.lower(): because I'm not sure if the case is kept after normalizing the file for the breakpoint... ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=293649 |
|
From: SourceForge.net <no...@so...> - 2006-11-09 12:03:26
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=4003912 By: chrordig The file does not appear there. It seems nothing from the Products dir appears there while running the "Test" from ZMI. The only things I see repeating are: c:\programme\zopedevel\python\lib\asynchat.py asynchat.py c:\programme\zopedevel\zope\lib\python\zserver\httpserver.py httpserver.py c:\programme\zopedevel\zope\lib\python\zserver\medusa\http_server.py http_server.py c:\programme\zopedevel\zope\lib\python\zserver\medusa\thread\select_trigger.py select_trigger.py c:\programme\zopedevel\zope\lib\python\zserver\medusa\thread\select_trigger.py select_trigger.py c:\programme\zopedevel\python\lib\asyncore.py asyncore.py c:\programme\zopedevel\python\lib\asynchat.py asynchat.py I've also reduced output by filtering: if 'fillTrips' in filename: print filename,base but it never shows there. Might it be a problem, that fillTrips.py is run by ZOPE's restricted Pyhon? ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=293649 |
|
From: SourceForge.net <no...@so...> - 2006-11-09 11:37:02
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=4003886 By: chrordig it furthermore seems it cannot suspend anything, but the MainThread: Traceback (most recent call last): AttributeError: '_DummyThread' object has no attribute 'additionalInfo' Traceback (most recent call last): File "C:\Programme\eclipse\plugins\org.python.pydev.debug_1.2.5\pysrc\pydevd.py", line 257, in processNetCommand self.setSuspend(t, CMD_THREAD_SUSPEND) File "C:\Programme\eclipse\plugins\org.python.pydev.debug_1.2.5\pysrc\pydevd.py", line 383, in setSuspend thread.additionalInfo.pydev_state = PyDB.STATE_SUSPEND AttributeError: '_DummyThread' object has no attribute 'additionalInfo' Traceback (most recent call last): AttributeError: '_DummyThread' object has no attribute 'additionalInfo' Traceback (most recent call last): File "C:\Programme\eclipse\plugins\org.python.pydev.debug_1.2.5\pysrc\pydevd.py", line 257, in processNetCommand self.setSuspend(t, CMD_THREAD_SUSPEND) File "C:\Programme\eclipse\plugins\org.python.pydev.debug_1.2.5\pysrc\pydevd.py", line 383, in setSuspend thread.additionalInfo.pydev_state = PyDB.STATE_SUSPEND AttributeError: '_DummyThread' object has no attribute 'additionalInfo' I'll check the print output now... ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=293649 |
|
From: SourceForge.net <no...@so...> - 2006-11-09 11:32:53
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=4003879 By: fabioz Can you put: print filename,base in line 18 of pydevd_frame.py (to see if it is getting to the frame to debug correctly)... this should give an output for each new frame, so, you may have lots of output there (just check if the file is appearing there). ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=293649 |
|
From: SourceForge.net <no...@so...> - 2006-11-09 11:22:43
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=4003864 By: chrordig It seems to be added correctly: Added breakpoint:c:\programme\zopedevel\data\products\myproduct\skins\invoice\fi lltrips.py - line:24 ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=293649 |
|
From: SourceForge.net <no...@so...> - 2006-11-09 11:12:49
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=4003850 By: fabioz Can you go into org.python.pydev.debug/pysrc/pydevd_comm.py and set pydevd_trace_breakpoints=1 (and see if the breakpoints are being added) ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=293649 |
|
From: SourceForge.net <no...@so...> - 2006-11-09 11:07:37
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=4003842 By: chrordig Yes they are. My ZOPE install is under C:\Programme\ZopeDevel\ and this is also the root of my whole Python Project. The file I wish to break into is under C:\Programme\ZopeDevel\Data\Products\MyProduct\Invoice\ I am trying to trigger the breakpoint by using the "Test" tab in the ZMI. Thanks. ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=293649 |
|
From: SourceForge.net <no...@so...> - 2006-11-09 10:50:42
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=4003815 By: fabioz Should be possible... are your files within a python project (there's currently a limitation that only let's you add breakpoints in files that are under a project in eclipse). ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=293649 |
|
From: SourceForge.net <no...@so...> - 2006-11-09 10:48:10
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=4003811 By: chrordig Hi, I am trying to debug an external Python methode in ZOPE. I started ZOPE's run.py with all the necessary environment variables and command line parameters set. In zope.conf I have debug-mode on. When suspending the run.py in the debug view, everything is fine, and I can see ZOPE's internal variables and such stuff, but when I set breakpoints in one of my products .py files the debugger doesn't break there. Is this kind of debugging impossible, or am I doing something wrong? I am using Eclipse 3.2, PyDev 1.2.5 and ZOPE's python interpreter in version 2.3.5. Thanks for any hint. ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=293649 |
|
From: SourceForge.net <no...@so...> - 2006-11-08 09:46:19
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=4001484 By: fabioz Well, from the error log, it appears you're trying to debug it as a unit-test, and when running a unit-test, the unit-test runner needs only directories as an entry... so, it should work if you do a regular run (because you cannot add parameters to the unit-test run). Cheers, Fabio ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=293649 |
|
From: SourceForge.net <no...@so...> - 2006-11-08 09:41:02
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=4001480 By: fabioz It should not be difficult... take a look at the org.python.pydev.debug plugin (it is where the run configurations are defined). Basically, you should declare a org.eclipse.debug.core.launchConfigurationTypes and create a org.eclipse.debug.ui.launchShortcuts (take a look at the plugin.xml for an example on how to declare those... and then follow to the classes that make the actual launch... which are defined on those extension points). Cheers, Fabio ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=293649 |