learner404 | 31 Jul 2012 14:02
Picon

Pydev + Remote System Explorer (RSE) : problems with local imports when working localy

Hello List,


I'm very happy with PyDev plugin for Eclipse as a Python IDE (I'm on Eclipse 3.7, WinXP with latest Pydev). 
Recently I've installed the Remote System Explorer plugin for Eclipse which adds the ability to edit remote files on a server when I need it (awesome).

Unfortunately it's messing my ability to work on some Python files locally on my PC (those with local imports):
File "C:\Documents and Settings\myaccount\workspace\RemoteSystemsTempFiles\LOCALHOST\c\Documents and Settings\myaccount\workspace\myprojet\myfile.py", line 50, in ?
ImportError: No module named mymodule
(it works only if I "python myfile.py" in the command shell)

I know some people of the list are using Eclipse and maybe they use RSE too.

Do you know if I can easily deactivate RSE so I can run a python script normally (without the *localhost* inserting in the path) ?
Is there a configuration to do to keep both ?

I've tried to switch form perspective "remote systems" to perspective "pydev" but I have the same problem.

Thanks.

francois
 
_______________________________________________
Tutor maillist  -  Tutor <at> python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
R. Alan Monroe | 31 Jul 2012 14:26
Picon
Favicon

Re: Pydev + Remote System Explorer (RSE) : problems with local imports when working localy

Hello learner404,

Tuesday, July 31, 2012, 8:02:26 AM, you wrote:

> Hello List,

> I'm very happy with PyDev plugin for Eclipse as a Python IDE (I'm
> on Eclipse 3.7, WinXP with latest Pydev). 
> File "C:\Documents and
> Settings\myaccount\workspace\RemoteSystemsTempFiles\LOCALHOST\c\Documents
> and Settings\myaccount\workspace\myprojet\myfile.py", line 50, in ?
> ImportError: No module named mymodule

Did you trying using forward slashes / rather than backslashes \ ?

Alan

_______________________________________________
Tutor maillist  -  Tutor <at> python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

learner404 | 31 Jul 2012 15:28
Picon

Re: Pydev + Remote System Explorer (RSE) : problems with local imports when working localy

hmmm ... menu "window">"Reset perspective" and "close all perspectives" seems to have fix the problem.

Sorry for unnecessary mail.

On Tue, Jul 31, 2012 at 2:02 PM, learner404 <learner404 <at> gmail.com> wrote:
Hello List,

I'm very happy with PyDev plugin for Eclipse as a Python IDE (I'm on Eclipse 3.7, WinXP with latest Pydev). 
Recently I've installed the Remote System Explorer plugin for Eclipse which adds the ability to edit remote files on a server when I need it (awesome).

Unfortunately it's messing my ability to work on some Python files locally on my PC (those with local imports):
File "C:\Documents and Settings\myaccount\workspace\RemoteSystemsTempFiles\LOCALHOST\c\Documents and Settings\myaccount\workspace\myprojet\myfile.py", line 50, in ?
ImportError: No module named mymodule
(it works only if I "python myfile.py" in the command shell)

I know some people of the list are using Eclipse and maybe they use RSE too.

Do you know if I can easily deactivate RSE so I can run a python script normally (without the *localhost* inserting in the path) ?
Is there a configuration to do to keep both ?

I've tried to switch form perspective "remote systems" to perspective "pydev" but I have the same problem.

Thanks.

francois
 

_______________________________________________
Tutor maillist  -  Tutor <at> python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Gmane