Just to note, I'm going to post things to the bug:
https://sourceforge.net/tracker2/index.php?func=detail&aid=2658071&group_id=85796&atid=577329

Cheers,

Fabio

On Mon, Mar 2, 2009 at 11:39 PM, Radim Kubacki <ra...@kubacki.cz> wrote:
> On Mon, Mar 2, 2009 at 3:33 PM, Radim Kubacki <ra...@kubacki.cz> wrote:
>> Hi,
>>
>> I have similar problem. My comments to this are inlined.
>>
>> On Mon, Mar 2, 2009 at 1:11 AM, SourceForge.net <nore...@sourceforge.net> 
>> wrote:
>>>
>>> Read and respond to this message at:
>>> https://sourceforge.net/forum/message.php?msg_id=6590685
>>> By: ivanoe
>>>
>>> On the Installation page [http://pydev.sourceforge.net/download.html] there
>>> is an alternative way to install PyDev:
>>> """
>>> An alternative is just getting the zip file and extracting it yourself in 
>>> eclipse.
>>> If you choose to do it, just make sure the plugins folder is extracted on 
>>> top
>>> of the eclipse plugins folder and restart with '-clean'.
>>> """
>>>
>>> This is actually a preffered way to install for many people where just xcopy
>>> of the environment is made.
>>>
>>> Since 1.4.4 the packaging is different, and all features/plugins are 
>>> delivered
>>> in .JAR files.
>>>
>>> Issue-1: As far as I know those in FEATURES folder must be extracted in 
>>> order
>>> to work properly in Eclipse, otherwise the plugin is not loaded.
>>
>> I am not sure about unpacking. OTOH I am concerned how archived
>> version of plugin will work - org.python.pydev starts python and
>> passes filename of PySrc/pycompletionserver.py to it but I wonder
>> where it gets extracted. I'm going to try it.
>>
> Right. This is what the begining of output that I see when PyDev tries
> to analyze compiled module (builtin):
>
> Error creating python process - exited before creating sockets -
> exitValue = (1)(/usr/bin/python2.4
> /tmp/eclipse-config/org.eclipse.osgi/bundles/650/1/.cp/PySrc/pycompletionserver.py
> 56467 44314) - os:Linux
> Error creating python process - exited before creating sockets -
> exitValue = (1)(/usr/bin/python2.4
> /tmp/eclipse-config/org.eclipse.osgi/bundles/650/1/.cp/PySrc/pycompletionserver.py
> 56467 44314) - os:Linux
> org.eclipse.core.runtime.CoreException: Error creating python process
> - exited before creating sockets - exitValue = (1)(/usr/bin/python2.4
> /tmp/eclipse-config/org.eclipse.osgi/bundles/650/1/.cp/PySrc/pycompletionserver.py
> 56467 44314) - os:Linux
>        at org.python.pydev.plugin.PydevPlugin.log(PydevPlugin.java:315)
>        at 
> org.python.pydev.editor.codecompletion.shell.AbstractShell.startIt(AbstractShell.java:368)
>        at 
> org.python.pydev.editor.codecompletion.shell.AbstractShell.getServerShell(AbstractShell.java:237)
>        at 
> org.python.pydev.editor.codecompletion.shell.AbstractShell.getServerShell(AbstractShell.java:190)
>        at org.python.pydev.editor.PyEdit$2.run(PyEdit.java:512)
> Caused by: java.lang.RuntimeException: Error creating python process -
> exited before creating sockets - exitValue = (1)(/usr/bin/python2.4
> /tmp/eclipse-config/org.eclipse.osgi/bundles/650/1/.cp/PySrc/pycompletionserver.py
> 56467 44314) - os:Linux
>        at org.python.pydev.plugin.PydevPlugin.log(PydevPlugin.java:314)
>        ... 4 more
>
> And the directory contains only
>
> $ ls /tmp/eclipse-config/org.eclipse.osgi/bundles/650/1/.cp/PySrc/
> interpreterInfo.py  pycompletionserver.py
>
> (maybe I saw similar problem on this list recently) It means that all
> the imports in started python script will fail and process exits
> quickly. I can try to repackage the ZIP archive back into plugins
> distributed as a directory trees and give it another try. And I will
> file a bug too.
>
> -Radim
>
>>> Issue-2: Files artifacts.jar, content.jar, site.xml will end up in the 
>>> "eclipse"
>>> folder
>>> from both pydev and pydev extensions, and this again is not the way for 
>>> "portable"
>>> installation of pydev.
>>
>> IMO this can be OK as long as you do not use P2 to manage your
>> installation. It should be possible to extract them into separate
>> directories and configure eclipse's P2 to get them from this location.
>>
>> -Radim
>>
>>>
>>> Please advise.
>>>
>>> Thanks, ivanoe
>>>
>>> ______________________________________________________________________
>>> 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
>>>
>>> ------------------------------------------------------------------------------
>>> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
>>> -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
>>> -Strategies to boost innovation and cut costs with open source participation
>>> -Receive a $600 discount off the registration fee with the source code: SFAD
>>> http://p.sf.net/sfu/XcvMzF8H
>>> _______________________________________________
>>> Pydev-users mailing list
>>> Pydev-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/pydev-users
>>>
>>
>
> ------------------------------------------------------------------------------
> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
> -Strategies to boost innovation and cut costs with open source participation
> -Receive a $600 discount off the registration fee with the source code: SFAD
> http://p.sf.net/sfu/XcvMzF8H
> _______________________________________________
> Pydev-users mailing list
> Pydev-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pydev-users
>

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Pydev-users mailing list
Pydev-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pydev-users

Reply via email to