pydev-users Mailing List for PyDev for Eclipse (Page 23)
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: Fabio Z. <fa...@gm...> - 2011-08-11 00:39:55
|
The links for dropbox didn't appear, so, it's hard to know what's going on... so, I'm guessing here: mac doesn't provide the .py files for the library, so, you have to either use the interpreter from python.org or grab the .py files from the library and copy them to your mac installation (personally, I always use the version from python.org instead of using the one from the system -- you never know what you may break in the system while developing). If that's not the case, try entering the links in the forum (not sure why the links didn't appear properly in the e-mail). Cheers, Fabio On Wed, Aug 10, 2011 at 3:37 PM, Torvon <to...@gm...> wrote: > > Hey there. > > (1) My employer forces me to work on a MAC, that's a new OS to me. So excuse > me if these questions are stupid. (10.6.8) > > (2) I have eclipse, and want to run Python in it. I followed the steps > installing PyDev, no problemo. Now I have to setup the path where the > interpreter is in. And I can't find it. I found 10.000 topics on the net for > this problem, but none solved my issues. > > (3) Most of the topics say check /libraries/Python. In this folder I have 3 > subfolders, called 2.3, 2.5 and 2.6. These folders contain identical things: > a folder called "site-packages", which contains a readme, which contains > ("This directory exists so that 3rd party packages can be installed here. > Read the source for site.py for more details.") > Nothing else. > The PyDev stuff is apparently in my /repast-simphony/eclipse/plugins folder > (in this folder are 5 subfolders called PyDev 2.2.1 etc blablabla and then > debug/fastparser/analysis etc.) > > Ok. So how do I find where my Python actually is? > I tried --> python -c "from distutils.sysconfig import get_python_lib; print > get_python_lib()" > which tells me > --> /Library/Python/2.6/site-packages > > But that is empty. > > In /system/frameworks there is one. That one looks interesting. But no > matter if I choose "Python" (alias, no idea what that means on mac, but it > looks like an executable file) in the main folder, or the other Pythons in > subfolders (e.g. versions/2.6 or versions/current), I receive an unspecific > error which is kind enough to tell me that common problems are using an > unsupported version or specifying an invalid interpreter. > > python -c "import sys; print sys.executable" > ... points to the folder /usr/bin/python. > (there are also other ones like python 2.6 in that folder) > > In eclipse now I enter this path as interpreter, like that: > http://dl.dropbox.com/u/35594260/Bildsc ... .18.31.png > > I get this message dialog afterwards (I don't understand this, because this > is EXACTLY the dialog that appears if I do not enter the path manually "new > ->", like above, but when I hit "auto config): > http://dl.dropbox.com/u/35594260/Bildsc ... .18.38.png > > When I click OK, this error message pops up: > http://dl.dropbox.com/u/35594260/Bildsc ... .18.44.png > > I honestly have no idea what to do. Please help. > > Thanks > Eiko > -- > View this message in context: http://old.nabble.com/Help-please%3A-Python%2C-Mac%2C-Eclipse%2C-PyDev-tp32236580p32236580.html > Sent from the pydev-users mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > uberSVN's rich system and user administration capabilities and model > configuration take the hassle out of deploying and managing Subversion and > the tools developers use with it. Learn more about uberSVN and get a free > download at: http://p.sf.net/sfu/wandisco-dev2dev > _______________________________________________ > Pydev-users mailing list > Pyd...@li... > https://lists.sourceforge.net/lists/listinfo/pydev-users > |
From: Torvon <to...@gm...> - 2011-08-10 18:38:02
|
Hey there. (1) My employer forces me to work on a MAC, that's a new OS to me. So excuse me if these questions are stupid. (10.6.8) (2) I have eclipse, and want to run Python in it. I followed the steps installing PyDev, no problemo. Now I have to setup the path where the interpreter is in. And I can't find it. I found 10.000 topics on the net for this problem, but none solved my issues. (3) Most of the topics say check /libraries/Python. In this folder I have 3 subfolders, called 2.3, 2.5 and 2.6. These folders contain identical things: a folder called "site-packages", which contains a readme, which contains ("This directory exists so that 3rd party packages can be installed here. Read the source for site.py for more details.") Nothing else. The PyDev stuff is apparently in my /repast-simphony/eclipse/plugins folder (in this folder are 5 subfolders called PyDev 2.2.1 etc blablabla and then debug/fastparser/analysis etc.) Ok. So how do I find where my Python actually is? I tried --> python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()" which tells me --> /Library/Python/2.6/site-packages But that is empty. In /system/frameworks there is one. That one looks interesting. But no matter if I choose "Python" (alias, no idea what that means on mac, but it looks like an executable file) in the main folder, or the other Pythons in subfolders (e.g. versions/2.6 or versions/current), I receive an unspecific error which is kind enough to tell me that common problems are using an unsupported version or specifying an invalid interpreter. python -c "import sys; print sys.executable" ... points to the folder /usr/bin/python. (there are also other ones like python 2.6 in that folder) In eclipse now I enter this path as interpreter, like that: http://dl.dropbox.com/u/35594260/Bildsc ... .18.31.png I get this message dialog afterwards (I don't understand this, because this is EXACTLY the dialog that appears if I do not enter the path manually "new ->", like above, but when I hit "auto config): http://dl.dropbox.com/u/35594260/Bildsc ... .18.38.png When I click OK, this error message pops up: http://dl.dropbox.com/u/35594260/Bildsc ... .18.44.png I honestly have no idea what to do. Please help. Thanks Eiko -- View this message in context: http://old.nabble.com/Help-please%3A-Python%2C-Mac%2C-Eclipse%2C-PyDev-tp32236580p32236580.html Sent from the pydev-users mailing list archive at Nabble.com. |
From: SourceForge.net <no...@so...> - 2011-08-10 13:29:14
|
The following forum message was posted by fabioz at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4649731: Answered you at: http://stackoverflow.com/questions/7007635/dll-from-python-module-is-not-release d-in-eclipse-pydev/7011545 Cheers, Fabio |
From: SourceForge.net <no...@so...> - 2011-08-09 14:45:10
|
The following forum message was posted by bellszhu at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4647767: photoshot [img]http://127.0.0.1/php/t.png[/img] |
From: SourceForge.net <no...@so...> - 2011-08-09 14:43:05
|
The following forum message was posted by bellszhu at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4647767: [img]http://photo.163.com/yeebeeee@126/big/#aid=157377759&id=7151951838[/img] |
From: SourceForge.net <no...@so...> - 2011-08-09 14:33:45
|
The following forum message was posted by bellszhu at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4647767: eclipse--> window --> preferences--> PyDev --> Interpreter-Jython--> new [img]/home/bells/Desktop/t.png[/img] Error: python stdlib not found or stdlib found with.py files. bells@bells:~$ python --version Python 2.7.1+ bells@bells:~$ jython --version Jython 2.2.1 on java1.6.0_22 in ubuntu11.04 pydev 2.2.0 |
From: SourceForge.net <no...@so...> - 2011-08-08 06:47:57
|
The following forum message was posted by at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/2988733: Hi All, I have the same issue.. Is a option to turn off it? In my case is: I want to deploy a test version to user and not provide the source code, the test version will be changed very frequently. And user use the source control to get the latest version, they know about the svn, but not has any idea of Python. So, I don't want to package the scripts to egg file, the pyc files are the best solution, it's easy to get and easy version control. Thanks, Simon He |
From: SourceForge.net <no...@so...> - 2011-08-07 19:32:21
|
The following forum message was posted by rajones47s at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4644425: I realized I was running the 64-bit version of Helios so I downloaded 32-bit Helios, unzipped it into /Applications (moving old one out first) and have the same result. After installing PyDev, it doesn't show up in eclipse, even though its files were installed. I tried the same install with 32-bit Indigo, same result, no PyDev perspective. I can't believe I'm the only person this has ever happened to. Thanks! |
From: SourceForge.net <no...@so...> - 2011-08-07 16:36:52
|
The following forum message was posted by rajones47s at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4644425: I've installed PyDev (tried latest 1.6, latest 2.2 separately) in OSX 10.6.8, Eclipse Helios SR2. Eclipse is installed (unzipped) in /Applications. Once the PyDev install completes and eclipse is restarted, PyDev is not available in Window->Open Perspective and not available in Preferences. I seems like it has not been installed at all. I've tried installing through Help->Install New Software and downloading and unzipping directly. I have verified that the PyDev features and plugins directories are in /Applications/eclipse/features and plugins. |
From: SourceForge.net <no...@so...> - 2011-08-07 12:21:17
|
The following forum message was posted by pratzz at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4525708: Hello the same problem has cropped up again while installing eclipse again, please help Thank you, Pratyush |
From: SourceForge.net <no...@so...> - 2011-08-07 10:54:51
|
The following forum message was posted by fabioz at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4644058: You said it worked, but in the 2nd place it's the same print from the first (is that right?) Also, you need actual python modules (i.e.: files that can be imported) as the test files, so, if you had only 'test' and not 'test.py', it's expected that it wouldn't work. Also, your files need to be in the pythonpath... have you followed the steps from: http://pydev.org/manual_101_root.html to configure pydev? Cheers, Fabio |
From: SourceForge.net <no...@so...> - 2011-08-07 10:48:08
|
The following forum message was posted by k-82 at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4644058: Hi, I'm new to linux, eclipse and python. I'm using Mint 11, I installed python 3.2 from synaptic, eclipse 3.5.2 from the software manager and installed pydev from within eclipse. I have added the python 3.2 interpreter as usr/bin/python3.2 (but it was automatically changed to python3.2mu) and it added five folders to the libraries tab. Python 2.7 is also there, but I didn't add it manually. When I tried a hello world program, it didn't do anything: Finding files... done. Importing test modules ... done. ---------------------------------------------------------------------- Ran 0 tests in 0.000s OK So I renamed the file from "test" to "test.py" and it worked: Finding files... done. Importing test modules ... hello done. ---------------------------------------------------------------------- Ran 0 tests in 0.000s OK I ran a line of code to print the version of python and it is 3.2. However there is no code highlighting or code completion. Is this normal or am I missing steps to configure pydev? |
From: SourceForge.net <no...@so...> - 2011-08-06 15:29:45
|
The following forum message was posted by fabioz at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4643107: You can grab aptana studio 3 (i.e.: eclipse with aptana studio plugins preinstalled) from http://aptana.com/ Cheers, Fabio |
From: SourceForge.net <no...@so...> - 2011-08-06 12:42:21
|
The following forum message was posted by at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4643107: At work, I'm behind a proxy then I can install the way they show in aptana's homepage then If it's possible, can someone show me how to download an aptana-eclipse-plugin-version and install offline! Many thanks. |
From: SourceForge.net <no...@so...> - 2011-08-05 23:52:39
|
The following forum message was posted by mpietrek at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4641556: Thanks Fabio. I appreciate the answer. The important thing is that I now know what' possible or not possible so that I can stop banging my head against this particular wall. As I'm understanding it, Remote System Explorer (RSE) seems to be the defacto default way of interacting with remote systems. As such, I was hoping there'd be at least some minimal awareness, especially since PyDev supports remote debugging. It sounds from your response that most people develop their project locally, and then when they need to deploy, push the sources to the remote box and fire up remote debugging as necessary. In this case it would make sense that you'd have two source trees kept in sync. I guess I'm spoiled coming from the Microsoft remote debugging world. There, they have the notion of the "source server". When the debugger can't find a source file it asks the server for it, and if returned by the server, the debugger caches it locally. Timestamps and other tricks keep everything up to date. The end result is that remote debugging is very seamless if configured properly. I'll fill feature requests for RSE support. Thanks, Matt |
From: SourceForge.net <no...@so...> - 2011-08-05 23:31:04
|
The following forum message was posted by fabioz at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4641556: Hi there, first let me say that I haven't actually used the remote system explorer myself, so, I may be wrong on some answer -- but I do know PyDev pretty well :) For the remote debugging, the way it's implemented right now, you do need to have access to sources locally. I guess this could be done better if it knew you're in the remote system explorer, but right now PyDev knows nothing about this (so, you do need sources locally) -- so, unfortunately, right now, the best advice I can give you is using pdb in this situation :( I think PyDev could be improved so that the debugger asks for the source to the remote backend if it can't find it (please open a feature request for that). As for the 2nd question, the same goes here, as PyDev is oblivious of the remote system explorer, it can't launch it (although maybe you could ask to the remote system explorer guys if they have a way to make it work). Cheers, Fabio |
From: SourceForge.net <no...@so...> - 2011-08-05 16:42:47
|
The following forum message was posted by mpietrek at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4641556: Hey all, I'm a relatively new Pydev user, just starting a few months back. I'm looking for some validation on whether I'm on the right track here. My scenario: I've got some Linux servers running in VMs. These servers have various python projects that I need to edit/debug, etc... Ordinarily I'd just run Eclipse/Pydev locally and life would be good. However, when working from home via VPN, X-Windows is completely unusable - The latency is just too high. To remedy this, I've installed Eclipse/Pydev on my workstation (Mac OS Snow Leopard). I've also installed the Remote System Explorer Plugin and using the SSH connector can see and edit projects remotely on the Linux VMs. So far, so good. However, remote debugging on the Linux systems has proved to be more or a challenge. I understand and accept that I need to add a reference and use pydevd from my source. I've had some limited success in that I can see in my Mac Eclipse instance that the process has debug-attached, and that I can step/run the remote app - just not with source debugging. Each time I step, the Eclipse debugger indicates that it can't find the source file. Thus the first question: 1) How do I get the Eclipse debugger to point at the remote machine sources? I can obviously see and edit these sources via RSE, it's just that the debugger seems unaware of them. I've noticed that there's a Pydev "Debug | source locater" dialog, but it implies that the sources are in both locations. I don't have the source locally - They're only on the remote system. What's the preferred way of working with this situation? Question 2: When starting/restarting a new process instance for debugging, is there a way to launch the python app *easily* from within the IDE, or do I need to switch to a shell on the remote machine and launch it manually? Thanks much for any help. I've searched long and hard for answers and while I see some related answers, none seem to address my specific questions. Matt |
From: SourceForge.net <no...@so...> - 2011-08-04 00:38:36
|
The following forum message was posted by jdmurray at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4638428: Is it possible to write Eclipse plug-ins in Python using PyDev? I have a project that would benefit from using the Eclipse plug-in framework, but the sandboxed Java language is too isolated from the machine to be usable. Python is perfect, but can I use it to write Eclipse plug-ins? I've found nothing via Google except speculation. Thanks much. |
From: SourceForge.net <no...@so...> - 2011-08-03 02:42:49
|
The following forum message was posted by at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4623683: Hi, fabioz I have tried latest nightly build, this problem is fixed. Thanks a lot. |
From: SourceForge.net <no...@so...> - 2011-08-02 14:03:01
|
The following forum message was posted by gerenukk at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4635781: Hi! Since I updated PyDev the Code analysis shows error on valid Python lines like def (a, *b): It breaks on parsing the "*" saying "Expected :)" . Actually it doesn't always do that and copy-pasting the same text into a new file may not show an error in the new file. The program works. Moreover PyDev started complaining about "from a import b" (Unresolved import) where "b" actually does really exist and the Python program runs fine. I tried refreshing the projects, but I don't know what else to try. Any suggestions? |
From: SourceForge.net <no...@so...> - 2011-07-30 16:38:09
|
The following forum message was posted by fjchiulli48 at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4631355: I am on a Linux box with Python 2.7.1. I have a fresh install of Eclipse 3.7. I just installed PyDev 2.2.1. Initially, root could see the PyDev plugin but a normal user received an error about not having access to a manifest file. I fixed that by doing a 'chmod -R g+r,o+r features plugins' in the eclipse dropins directory. However a normal user still does not see the plugin. If I start eclipse and select Window -> Preferences from the top menu, PyDev does not appear. Does anyone have a fix for this? Thanks, Frank |
From: SourceForge.net <no...@so...> - 2011-07-29 22:29:52
|
The following forum message was posted by piotr_dobrogost at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/1900822: I asked the question from my previous post (8) at http://stackoverflow.com/questions/6879640/how-to-configure-pylint-to-check-all- things-pep8-checks |
From: Alex B. <ale...@gm...> - 2011-07-29 22:23:56
|
Having been two days with this problem, I solved it in less than an hour since my previous post... In my computer this problem was resolved doing this: $ cd /usr/lib/python3.2/lib-dynload/ $ ln -s _sqlite3.cpython-32mu.so _sqlite3.so #as superuser or sudo'ed Another way: (seems a workaround to me, but not sure) adding _sqlite3 to the forced built-in list. Thanks, and I hope it's useful for somebody. On Fri, Jul 29, 2011 at 23:57, Alex Barcelo <ale...@gm...> wrote: > Hello, it was a while since I last used PyDev and now I see that it's > so much better! > > I was checking some already working code I had and have a problem with > sqlite3. I'm on a Ubuntu 11.04 and python3.2. Running Eclipse 3.5.2 > with PyDev 2.2.1 > > PyDev says "Undefined variable from import: connect" when I do a > harmless sqlite3.connect > The program works fine, simply that messages appear there and it's > very annoying (provided that it's an *Error*, not a warning...) > > If I use the same code for python2.7 then PyDev do not complain. Works > fine in both versions. > > The path and folders are the same in both Python configurations (some > /usr/lib/python* and some /usr/local/lib/python*). > > Somebody has the same problem? I haven't tried it in other systems or > python/eclipse configurations (yet). > |
From: Alex B. <ale...@gm...> - 2011-07-29 21:57:32
|
Hello, it was a while since I last used PyDev and now I see that it's so much better! I was checking some already working code I had and have a problem with sqlite3. I'm on a Ubuntu 11.04 and python3.2. Running Eclipse 3.5.2 with PyDev 2.2.1 PyDev says "Undefined variable from import: connect" when I do a harmless sqlite3.connect The program works fine, simply that messages appear there and it's very annoying (provided that it's an *Error*, not a warning...) If I use the same code for python2.7 then PyDev do not complain. Works fine in both versions. The path and folders are the same in both Python configurations (some /usr/lib/python* and some /usr/local/lib/python*). Somebody has the same problem? I haven't tried it in other systems or python/eclipse configurations (yet). |
From: SourceForge.net <no...@so...> - 2011-07-29 13:13:46
|
The following forum message was posted by fabioz at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4623683: Can you try with the latest nightly build (see http://pydev.org/download.html ) and check if it works for you? Cheers, Fabio |