[Pydev-users] Strange error shifting from 2.5 to 2.6?

2009-01-13 Thread Marcus Lindblom
Hi,

I have a workspace that used python 2.5 but when 2.6 support was 
included I upgraded. (Great work on creating pydev, btw!)

I still have both py 2.5 and 2.6 installed, but I've added 2.6 as a 
interpreter and it get's run when I start an interactive console.

However, when I run my previous config, I get errors that look like 2.5 
is trying to run from the 2.6 lib, beacuse 'with' and b'' is 2.6 stuff.

C:\Dev\Python26\lib\site.py:150: Warning: 'with' will become a reserved 
keyword in Python 2.6
'import site' failed; use -v for traceback
Traceback (most recent call last):
   File 
J:\3rd\OpenSG\opensg2_trunk\build.win32.cl.9.0\instlinks\bin\osg2-config, 
line 19, in module
 import os, os.path, sys
   File C:\Dev\Python26\lib\os.py, line 757
 bs = b
^

The interpreter in my run config says:

C:\Dev\Python26\python.exe

And the command-line is:

C:\Dev\Python26\python.exe -u
J:\3rd\OpenSG\pyopensg_trunk_update\src\gen_bindings.py

The PYTHONPATH that will be used is:

C:\Users\marcusl\.eclipse\org.eclipse.platform_3.4.0_1709980481\plugins\org.pytho

Ideas?

Cheers,
/Marcus


--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
Pydev-users mailing list
Pydev-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pydev-users


[Pydev-users] [pydev - Users] RE: Pydev hangs on interpreter addition

2009-01-13 Thread SourceForge.net

Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=6100353
By: stillinbeta

I'm looking through my error log and I don't see anything relating to pydev.
Just this:

eclipse.buildId=I20080617-2000
java.version=1.5.0_06
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments:  -os win32 -ws win32 -arch x86


Warning
Mon Jan 12 14:28:57 CST 2009
Problems resolving provisioning plan.

and 

eclipse.buildId=M20071023-1652
java.version=1.5.0_12
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments:  -os win32 -ws win32 -arch x86


Warning
Mon Jan 12 10:11:19 CST 2009
Warnings while parsing the view contributions from the 
'org.eclipse.ui.viewActions'
extension point

and 

eclipse.buildId=M20071023-1652
java.version=1.5.0_12
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments:  -os win32 -ws win32 -arch x86


Warning
Mon Jan 12 10:11:19 CST 2009
Actions require a non-empty label or definitionId:
plug-in='ru.nlmk.eclipseutilplugins',
id='AUTOGEN:::eclipseutilplugins.viewPackageExplorer/eclipseutilplugins.PackageA
ction2'


Are those relevant?




__
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

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
Pydev-users mailing list
Pydev-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pydev-users


[Pydev-users] [pydev - Users] Lots of unresolved imports

2009-01-13 Thread SourceForge.net

Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=6104710
By: dougcook

Hi, I'm having problems with the Code Analysis feature of PyDev extensions.
I've tried this on both 1.4.1 and 1.4.2; the system is a Mac running MacOS X
10.5.6 / Python 2.5.

I'm getting lots of unresolved import complaints about common modules (random,
md5, etc). These are in my system PYTHONPATH; for example, I have
/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5 in in
the PYTHONPATH, and I see
/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/md5.{pyc,
pyo}.

I've removed and re-specified the interpreter/PYTHONPATH to clear anything PyDev
might have been caching, to no avail.

I'm a bit of a newbie to both Python and PyDev (but have lots of software 
experience
with other languages and with Eclipse in general). Any suggestions on what might
be the problem?

__
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

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
Pydev-users mailing list
Pydev-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pydev-users


[Pydev-users] Pydev 1.4.2 Released

2009-01-13 Thread Fabio Zadrozny
Hi All,

Pydev and Pydev Extensions 1.4.2 have been released

Details on Pydev Extensions: http://www.fabioz.com/pydev
Details on Pydev: http://pydev.sf.net
Details on its development: http://pydev.blogspot.com

Release Highlights in Pydev Extensions:
-

* Context insensitive code-completion working with multiple interpreters
* Fixed code analysis problem on staticmethod
* Giving proper warning on version mismatch
* Remote debugger fix


Release Highlights in Pydev:
--

* Interpreter can be configured on a per-project basis
* Jython 2.5b0 properly supported
* Find definition working for Jython builtins
* Run: can be python/jython even if it doesn't match the interpreter
configured for the project
* Fixed problem on find definition if one of the interpreters was not configured
* Fixed halting condition that could occur on code-completion
* __file__ available in code-completion
* Reorganized preferences (removed editor preferences from the root)
* Preferences for showing hover info
* Fixed problem when formatting binary operator that was in a new line
* When converting spaces to tabs (and vice-versa), the number of
spaces for each tab is asked
* Debugger
  o When finishing the user code debugging, it doesn't step into
the debugger code anymore
  o Fixes for working with Jython
  o Fix for Python 3.0 integration (could not resolve variables)



What is PyDev?
---

PyDev is a plugin that enables users to use Eclipse for Python and
Jython 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

Aptana
http://aptana.com/python

Pydev Extensions
http://www.fabioz.com/pydev

Pydev - Python Development Enviroment for Eclipse
http://pydev.sf.net
http://pydev.blogspot.com

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
Pydev-users mailing list
Pydev-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pydev-users


[Pydev-users] [pydev - Users] RE: Lots of unresolved imports

2009-01-13 Thread SourceForge.net

Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=6105283
By: fabioz

That should be the reason: Pydev needs the source files for completion/analysis
to work (otherwise you have to add all those modules to the forced builtins).

Instead of using the default python install, try getting an install that has
the source files.

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

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
Pydev-users mailing list
Pydev-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pydev-users


[Pydev-users] [pydev - Users] RE: Lots of unresolved imports

2009-01-13 Thread SourceForge.net

Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=6105327
By: dougcook

Thanks! I'll give that a whirl. The quick response is much appreciated.

doug

__
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

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
Pydev-users mailing list
Pydev-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pydev-users


[Pydev-users] [pydev - Users] RE: Lots of unresolved imports

2009-01-13 Thread SourceForge.net

Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=6107675
By: dougcook

Just to follow up: that did the trick. For any other Mac developers that have
the same problem, installing Xcode is a quick fix; it's got the .py sources
included.

Thanks again for the quick response, saved me a lot of time.

__
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

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
Pydev-users mailing list
Pydev-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pydev-users