Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

kenatsun

Re: Extra file is opened when using IDLE Python editor

Aha. I think I see my mistake. I configured this editor into WinSCP by just copying the command from my Windows Explorer "file types" list. It looked like this:

C:\Python24\pythonw.exe "C:\Python24\Lib\idlelib\idle.pyw" -n -e "%1" !.!

After trying a few things, the entry for IDLE that seems to work is:

C:\Python24\pythonw.exe "C:\Python24\Lib\idlelib\idle.pyw" -n  !.!


~ Thanks for your help!
~ Ken
martin

Re: Extra file is opened when using IDLE Python editor

I does not happen to me. How did you specify executable for IDLE in WinSCP editor preferences?
martin

Re: Extra file is opened when using IDLE Python editor

I'll test it and let you now.
kenatsun

Extra file is opened when using IDLE Python editor

As a newcomer to your wonderful tool, I'm hoping you can help with this odd problem.

I have the Python language editor called IDLE configured in WinSCP to open files with extension *.py. Every time I open a .py file from WinSCP, it opens a second IDLE window with no contents and a filepath shown in the title bar as "C:\Documents and Settings\Ken\%1". Closing this extra window does not seem to prevent me from saving changes in the real .py file back to the server. However, each time I save, WinSCP reopens that extra window again.

Changing the WinSCP "External Editor Options" for this editor doesn't seem to change this behavior. Is there a way to prevent WinSCP from opening this extra window?

~ TIA
~ Ken

Version = 4.1.8 (build 415)
Interface = Explorer
Session protocol = SSH-2
SSH implementation = OpenSSH_4.5p1 FreeBSD-20061110
Encryption algorithm = aes
Compression = No
File transfer protocol = SFTP-3
------------------------------------------------------------
Server host key fingerprint
ssh-dss 1024 b3:00:46:ed:1a:f7:9b:a2:6f:0d:5c:a4:e9:e3:03:6f
------------------------------------------------------------
Can change permissions = Yes
Can change owner/group = No
Can execute arbitrary command = No
Can create symlink/hardlink = Yes/No
Can lookup user groups = No
Can duplicate remote files = No
Can check available space = No
Can calculate file checksum = No
Native text (ASCII) mode transfers = No
------------------------------------------------------------
Additional information
The server does not support any SFTP extension.