Fabio,
In EasyEclipse the PyDev installation comes by default, so the libraries
should be there, right? With Ganimede I have to manually install Jython and
Pydev. But both installations gave me the same errors. I looked everywhere
that could have gone wrong so I tried with the workspaces (created new
ones), re-installation of PyDev, disable the built-in PyDev in EasyEclipse
and install a new one, install PyDev in a clean virtual machine, re-install
packages without positive outcome: code completion kept slow and giving the
same error.

Yesterday, I uninstalled the default packages that come with Ubuntu, both
Java-JDK and Jython 2.2.1. This time I was going to try with a manual
installation. I installed both apps under /opt as follows Java-JDK under
/opt/java/jdk1.-6.0_12 and Jython under /opt/jython2.2.1 (the 1.2.1 in my
previous post was a typo, sorry). After that, I updated the java links
(java, javac, javaws, jar, etc) in /usr/bin with "update-alternatives"  
pointing to the new java environment and now the PyDev code completion is
working fast and easy.:jumping:

:confused:What in the world? Ubuntu is supposed to be working out of the
box, and the same with Linux Mint. But seems they haven't fully tested them
for Java/Jython development.

Regards,
Alfonso Reyes



Fabio Zadrozny-2 wrote:
> 
> Well, the logs point everywhere that the module threading cannot be
> gotten when the shell is created.
> 
> So, do you have that module available in your libs? It doesn't seem so
> from the paths provided (you have to add the Jython Libs to the system
> pythonpath when configuring the interpreter)
> 
> Another thing -- that might be related... Why are you using such an
> old version from Jython (1.2.1)?
> 
> Cheers,
> 
> Fabio
> 
> On Sat, Mar 28, 2009 at 11:37 AM, Alfonso Reyes <msfz...@reyesaguayo.com>
> wrote:
>>
>> I have been trying to find an answer in the forums and google and
>> couldn't
>> find an answer to the following problem: the PyDev code completion
>> feature
>> in Jython is very slow under Ubuntu ( I've tried with Linux Mint and
>> Ubuntu
>> in the 64-bit and 32-bit flavors). For instance, I type "self." and PyDev
>> takes about 20-30 seconds to respond.
>>
>> I though it could be a EasyEclipse problem and then tried installing
>> Ganimede adding PyDev as a plugin. The problem persists.
>>
>> What I found running a new installation of Eclipse, Java, Jython in a
>> Ubuntu
>> virtual machine is these error messages:
>>
>> Err output:
>> Traceback (innermost last):
>>  File
>> "/opt/easyeclipse-python-1.3.1/plugins/org.python.pydev_1.3.13/PySrc/pycompletionserver.py",
>> line 28, in ?
>> ImportError: no module named threading
>>
>> Note. I am attaching a copy of one of the logs obtained from Ubuntu
>> Intrepid
>> Ibix 32-bit, EasyEclipse 1.3.1, Java JDK 32-bit, Jython 1.2.1
>>
>> Has anybody had this problem before in Linux and found the solution?
>>
>> I will appreciate your help.
>>
>> Thanks,
>> Alfonso Reyes http://www.nabble.com/file/p22693368/this.log this.log
>> --
>> View this message in context:
>> http://www.nabble.com/slow-code-completion-in-Linux%3A-EasyEclipse-or-Ganimede-tp22693368p22693368.html
>> Sent from the pydev-users mailing list archive at Nabble.com.
>>
>>
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> Pydev-users mailing list
>> Pydev-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/pydev-users
>>
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> Pydev-users mailing list
> Pydev-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pydev-users
> 
> 

-- 
View this message in context: 
http://www.nabble.com/slow-code-completion-in-Linux%3A-EasyEclipse-or-Ganimede-tp22693368p22769619.html
Sent from the pydev-users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
_______________________________________________
Pydev-users mailing list
Pydev-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pydev-users

Reply via email to