Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3832721
By: fabioz
Hi,
Well, this is probably related to pydev... whenever it finds the encoding in
a python file as defined in the pep 263
(http://www.python.org/dev/peps/pep-0263/)
it will change mark
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3832978
By: fabioz
I think the test-runner could give a warning about it if it found no tests...
what do you think? (if you agree, please open a feature request for it).
Cheers,
Fabio
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3833138
By: jfb3
When I try to activate code completion nothing happens. Yes everything seems
to be set up according to the directions faq and such.
The code completion drop down will appear if I get
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3834030
By: jfb3
Please disregard.
I had a strange key remapping snafu (this is a new laptop, and I'm running
Gentoo
no less. Tis all better now.
That'll teach me to mess with xbindkeys and make typos
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3835625
By: atila-cheops
running on windows xp
python 2.4.3
eclipse 3.2 + pydev 1.2.2 (just upgraded ;-)
debugging the attached script results in an explosion of threads after a while.
when suspending
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3835664
By: fabioz
Hummm... it is probably a pydev problem. Could you report that as a bug in sf?
Cheers,
Fabio
__
You are receiving
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3835808
By: atila-cheops
ok, done
http://sourceforge.net/tracker/index.php?func=detailaid=1527814group_id=85796;
atid=577329
the script is attached in the bug (this seems not possible in the forum
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3841475
By: ming_wen
for example:
def ask_ok(prompt, retries=4, complaint='Yes or no, please!'):
while 1:
ok = raw_input(prompt)
if ok in ('y', 'yes'):
return True
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3841993
By: fabioz
Nope, this is a python bug mixed with a bad specification on how a shell is
supposed to behave.
Usually shells put a '\n' when you press enter, but the Eclipse console puts
'\r\n
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3844760
By: cesarezh
hi,
i'm using eclipse 3.1.2 with pydev extensions 1.0.5 on two winXP computers:
one in the office and one at home - when i work there. transfering one source
code file from one computer
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3845875
By: fabioz
Please report it as a bug (and attach the file that's changing from one to the
other...)
Also, have you set that you want it to behave always as unix in the editor
preferences: window
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3847580
By: eypma
I am using Eclipse 3.2/Pydev 1.2.2 on WinXP.
For some reason I am not able to change variable values (after hitting a
breakpoint)
in the 'variables' or the 'expressions' dialogues.
I can't
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3847882
By: rjst
Hi,
Could Jython projects have access to the same Java Build Path view, and use
it to construct the application's classpath ?
I suggest this because pydev's pythonpath view is very limited
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3849017
By: cyb123
I'm often writing Python scripts for simple filesystem tasks. These scripts
contain only a single file with code, and should be stored and run in a
filesystem
location where I want
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3849035
By: fabioz
You can either just open it as an external file (menu: file open file) without
having it as an external file... the sunshade plugin also allowed to do drag
and drop from the filesystem
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3849036
By: fabioz
Please add a feature request for that...
Cheers,
Fabio
p.s.: that's probably not an easy thing to do...
__
You
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3849038
By: fabioz
Hi,
I think you cannot currently do that... you probably could use the console in
the extensions, but I don't think there's a way to currently change it in the
current version (you could
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3851270
By: rzoz
Not sure if this is a bug, so I thought I might bring it up here first. When
I go set a breakpoint and go into the debug perspective, I can see all existing
variables in the Variables window
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3851329
By: fabioz
It should work... (works here)
So, please report it as a bug.
Cheers,
Fabio
__
You are receiving this email because
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3853464
By: msikma
I'm trying to get PyDev to work on my Intel iMac with the latest stable version
of the Python interpreter, but it doesn't seem to want to add the file. I've
tried to add all files
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3853631
By: drmaples
it works for me.
here is my python intrepeter:
/System/Library/Frameworks/Python.framework/Versions/2.3/bin/python
can you please post the one that you are using
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3853946
By: thorbrian
I was confused trying to do this with the Python 2.4 Framework Build universal
binaries, there's a python executable at:
/Library/Frameworks/Python.framework/Versions/2.4/Python
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3854118
By: fabioz
Actually, it leaves the error info in your error log, but I agree, as this is
starting to repeat itself on Mac, this should be better explained when that
error happens...
Cheers,
Fabio
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3854130
By: fabioz
Ok, just as a note, I've just improved that error reporting (will be available
for pydev 1.2.3)
Cheers,
Fabio
__
You
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3856379
By: capjo
I think this default should be changed to false.
Guido van Rossum says in his Style Guide the following things:
Avoid extraneous whitespace in the following situations:
- Immediately
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3856385
By: fabioz
I agree it should be false by default... (just changed it).
the code is at org.python.pydev.editor.actions.PyFormatStd (also, please add
the features to the tests at PyFormatStdTest
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3856978
By: syphius
Hi!
I found the problem:
this code work:
FILE: TEST/TEST2.py:
def f():
print bob
BREAK POINT HERE print bob
print bob
FILE: TEST.py
from TEST.TEST2 import *
f()
this code doesn't work
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3857052
By: fabioz
Well, I don't think that's a bug, but the way that psyco works... as it compiles
the code at runtime, that code will no longer be interpreted (and so it will
not be executed inside
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3857424
By: prkelly
I have a similar problem:
Pydev wont accept my interpreter when selecting a new interpreter in the Pydev
preferences page. pydev prints out an information message in the eclipse error
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3857715
By: fabioz
Well, it is running cobra -u interpreterInfo.py for unbuffered output... does
your interpreter accept it?
I've also changed the error to show your output if it fails... (will be out
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3859063
By: jacky_h
Hi..
I'm using Eclipse 3.2 and PyDev 1.2.1 under windows and I can't get any console
output.
I've seen this problem was encountered before and submitted as a bug to eclipse,
which has
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3859177
By: fabioz
Do you have something in your error log?
__
You are receiving this email because you elected to monitor this forum
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3860990
By: shakeel_butt
Hi
I'm new to eclipse and Pydev. I have installed Pydev from zip files. Whenever
I open any python file the editor error occurs giving following error and editor
doesn't open.
Thanx
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3862894
By: jacky_h
Unfortunately not...
I had something in it which I wasn't sure whether it was connected to the
console
problem. Just tried to clear and reproduce it, but I don't get anything
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3864438
By: yuraant
Me error the same. Pless Help :-)
__
You are receiving this email because you elected to monitor this forum.
To stop
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3867872
By: prkelly
Thanks Fabio,
removing '-u' from the pydev runners that start the interpreter worked fine.
I had to learn a bit about building eclipse plugins at the same time! It was
very straight forward
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3869918
By: untom
Hi there!
I'm using the PyDev 1.2.2 on Eclipse 3.2 to do some Python-Developing. PyDev
seems to work just fine, except for one really anoying thing: I seem to be
unable
to use Hard Tabs
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3870073
By: rzoz
Apologies if this has been brought up before. Is it possible to detect python
nature of files that do not have a .py extension but begin with a #!/usr/bin/env
python line
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3870173
By: fabioz
Not Currently.
Cheers,
Fabio
__
You are receiving this email because you elected to monitor this forum.
To stop
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3870377
By: kovan
I have a python script that uses a database. The database is closed in, among
other places, the KeyboardInterrupt exception handler, which when running the
script from the Linux shell
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3871110
By: untom
now i feel really stupid for not having found that one on my own sorry ;)
__
You are receiving this email because you
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3879467
By: jwhitley
That would definitely be handy... Is this something on the TODO list, or does
Eclipse not readily permit ad-hoc file typing? While it's possible to use File
Associations as a hack to get
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3880645
By: fabioz
Where do you put the breakpoint when that happens?
Are you using it with python or jython?
__
You are receiving
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3880655
By: mosegard
I'm using Jython 2.1. I have tried to set the breakpoints all along a longer
program - but the error appears in even a simple program such as this:
in file TestModule.py:
def foobar
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3881288
By: djragnaros
I'm having the same problem with an equally simple program since I can never
get breakpoints to work when importing a file that isn't in the python library.
I'm using the same version
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3893721
By: knovak
Nothing in the eclipse log is there a seperate log for pydev? I'm on Linux.
__
You are receiving this email because you
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3893995
By: fabioz
No, it's all in the same log...
Really strange... now, is there some reason to keep version 3.1 (maybe upgrading
to 3.2 and the latest pydev could solve your problems... otherwise, just
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3897651
By: ana06
I have been working with pydev for several months using python 2.4 and I never
had any perfomance problems with eclipse.
But after the installation of Enthought Python, which brings a lot
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3897711
By: fabioz
Do you have some error in your error log?
If it adds too many modules, the problem might be that you have to raise your
maximum memory.
E.g.: eclipse.exe -vmargs -Xmx256m
Cheers,
Fabio
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3898875
By: ana06
That's it.
Thanks for the quick response.
Matthias
__
You are receiving this email because you elected to monitor
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3901818
By: fabioz
Surely appears related to the raw_input problem.
If you do:
Decimal(raw_input(Enter PI: ).replace('\r',''))
It should work.
Cheers,
Fabio
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3901828
By: akbowbender
Works now. Thanks!
__
You are receiving this email because you elected to monitor this forum.
To stop monitoring
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3901849
By: akbowbender
Curious thing is, the following two lines work fine:
delta = raw_input(Enter delta angle in DDD.MMSS format: )
radius = float(raw_input(Enter starting curve radius
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3901857
By: fabioz
That's because 'float' is more forgiving about it.
E.g.: float('10\r') will return 10.0 (and in the other case it would throw an
error).
Cheers,
Fabio
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3901880
By: fabioz
Actually I'd consider it more of a python bug, because it fails to remove the
last '\r' if the console gives you a '\n\r' after entering the text in
the console.
Also, checking the docs
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3902711
By: miind
Im trying to get pydev to remote debug a python cgi app on a apache running
on another computer (not my local dev machine). Is that possible?
// Samuel
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3903177
By: miind
Yes, I figured that out from your featurematrix. Is there any documentation
on how to set up the serverpart? I guess I need to put some kind of remote
debugger
thing on the serverside
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3903301
By: miind
ah, wonderful! that solved the problem! Thanks!
__
You are receiving this email because you elected to monitor this forum
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3903809
By: debedb
Is it possible to do that? How?
__
You are receiving this email because you elected to monitor this forum.
To stop
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3904093
By: fabioz
Well, if you do have source code for it, it should go there naturally...
Can you explain better your case?
__
You
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3905932
By: davmp
I'm seeing a number of marked errors related to logger methods such as calling
logger.debug(), etc. I'm not sure if this is due to something I'm doing or
whether there is something wrong
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3908082
By: fabioz
It seems like a bug in code analysis. It should stop trying to analyze the
logger
when it gets to the first method...
The following code would work:
class MyLogger(object):
def debug
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3911173
By: rjst
Hi
The project does receive the python nature, and I am able to configure it as
a jython project. However, the pydev specific entries in the project properties
are only visible when
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3911202
By: fabioz
Actually that's not entirely true, the pydev project properties are actually
shown in all places BUT the package explorer, because the package explorer will
only show java information
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3911662
By: ppngiap
Hi,
Just got Pydev 1.2.2 installed. Started a new Pydev project and added an
existing
.py file. Tried to open the .py file, the content displayed, then an hour glass
appear and eclipse
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3911689
By: ppngiap
Well, I uninstalled and reinstalled Pydev and the problem is resolved. Not
sure why. --Tom
__
You are receiving
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3912130
By: fabioz
You probably had a corrupt install... when it happens you usually have some
classes not found... it appears in your error log.
Cheers,
Fabio
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3919050
By: fabioz
Actually, I think that currently classpath == pythonpath.
The thing is that you need the classpath for loading the java stuff and the
pythonpath to load the python stuff (they are really
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3919062
By: a_sf
i'm wondering if it's possible to run eclipse locally for python development,
but have the python environment and project files on a remote machine? library
references, debugging, and running
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3919313
By: jcasbon
Hi,
When using a shared run configuration, it is nice not to have to specify the
absolute path to the interpreter. With eclipse 3.1/pydev 1.1 it was possible
to set the interpreter
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3921245
By: rubinyoav
Hi All, when i run my project in the run mode, the project runs fine, but when
i run it in the debugger and place a breakpoint somewhere i get an error message
in the console that sais
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=392
By: mnot
in 1.2.3, imports of this form:
from . import foo
from ..foo import bar
and so forth result in errors like this:
Encountered . at line nn, column nn. Was expecting one
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3925871
By: fabioz
Did you set your project as python 2.5? (by default it is python 2.4)
__
You are receiving this email because you elected
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3930995
By: fabioz
Well, actually, I don't think this has anything to do with pydev...
I think that your current working dir is not suitable for that (so, you have
to specify your working dir -- in pydev
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3931003
By: eoloko
Problem Solved
Thanks!!!
__
You are receiving this email because you elected to monitor this forum.
To stop monitoring
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3939939
By: danielhs
Conditional expression doesn't seem to work.
Here's the error message that comes up in problems view:
Encountered if at line 171, column 49. Was expecting one
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3939998
By: fabioz
Can you report that as a bug?
__
You are receiving this email because you elected to monitor this forum.
To stop
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3940165
By: l_connell
I have same problem as well. I am running 1.2.4 pydev and eclipse 3.2. If
i use from mod1 import MyClass or if i use import mod1 and use yo
= mod1.MyClass I get the following error
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3940406
By: fabioz
No problems ;-)
__
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3955138
By: fabioz
There is currently no such option (what you can have is show the print margin
at xx characters -- check the preferences: general Editors text editors).
If you would like
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3956324
By: fabioz
Yeap, pydev only uses one interpreter for almost everything (the default one).
The only exception is when you want to run you python module (so, you can use
different interpreters for each
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3958245
By: wegster
I'm not sure when this started, but it seems previously I was able to see pylint
output in a console window.
Currently, I'm unable to select 'Project/Build Project' to get pylint output
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3958411
By: fabioz
In the preferences for PyLint, is 'redirect
__
You are receiving this email because you elected to monitor this forum
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3958412
By: fabioz
In the preferences for PyLint, is 'redirect Pylint to console' checked?
__
You are receiving this email because you
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3958419
By: wegster
Yes it is. This is Eclipse 3.2.1 on Linux, latest PyDev + registered PyDev
Extensions..not expecting that to make a difference, but to clarify :-)
I can see the output scroll
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3958429
By: fabioz
Actually, it should not be the same console that is cleared -- Eclipse will
create a new one for your run -- the pylint console can still be selected in
the console view (you just have
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3958794
By: wegster
Ok, then I'm totally confused. I can build manually now (auto-build had been
selected), but only have a single console tab open in the pydev perspective,
which seems to only have
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3958804
By: wegster
Ok, _mostly_ solved. For some reason, it's not spawning a second console tab,
but I can select a different console view using the toolbar. Now, the question
becomes, can I pin the 'other
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3966314
By: fabioz
Your pythonpath doesn't seem right if it is not finding the pydevd* files (so,
make sure those files are contained within your pythonpath).
Cheers,
Fabio
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3966365
By: surenreddy1
Yes, that was correct. I had to move the files under
/usr/lib64/python2.4/site-packages for now until I figure out how to set the
pythonpath.
In the meanwhile, this is what I get now
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3969237
By: kregelo
In the meantime i found something strange about plugins in general with my
eclipse
installation.
The installed plugins (PyDEV and ShellEd) are not activated in /Help/Software
Updates
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3992985
By: absolute_matt
Im using pyDev 1.2.2 on eclipse 3.2 with java 1.5
Thanks
Matt
__
You are receiving this email because you
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3993352
By: fabioz
Try upgrading to the latest version... this is a known bug for that version.
Cheers,
Fabio
__
You are receiving
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4001365
By: adbingham
Hi,
I'm trying to debug a Python script that requires command-line arguments. I
created a new run configuration with the arguments and when I click in the Show
result command-line
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
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
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
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
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
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
101 - 200 of 2828 matches
Mail list logo