Closed GoogleCodeExporter closed 9 years ago
[deleted comment]
I teach classes using PyScripter in labs that have mapped network drives, and
have been complaining to our tech staff for months about their network that
keeps stalling! Oops! (Windows domain controller, centrally stored home
directories)
So if I can register multiple votes on behalf of the students, we'd all like to
see this issue addressed!
However, I did a bit of investigation. I deliberately mapped a drive over a
slowish ADSL connection. Startup times of scripts are very slow when they're
mapped on a slow connection: there are at least two factors. Firstly, files
are saved before one runs the script (and that is configurable, of course.)
But a much bigger impact is that the current directory is searched first for
all imports, even though the Python installation is on the local machine.
Simple print statments at the very top of my script, and then again directly
after imports, show multi-second lags while Python searches my remote drives
for standard imports like sys, math and turtle.
I wonder also if there is an auto-backup timer feature in the editor that
accesses the remote drive behind my back.
Does Python have anything like the C import convention where #include <stdio.h>
doesn't search the same places as #include "abc.h" Forcing all import
searches through the current directory seems to be one of the culprits here.
Original comment by cspwc...@gmail.com
on 30 Jan 2011 at 8:45
I experience the same intermittent lag noted here. The interface simply stalls
generally during file editing.
Original comment by hanni....@gmail.com
on 9 Feb 2011 at 9:57
Issue 97 has been merged into this issue.
Original comment by pyscripter
on 1 Jun 2011 at 6:37
Issue 343 has been merged into this issue.
Original comment by pyscripter
on 1 Jun 2011 at 6:38
The delays are most likely due to File Change Notifications.
I have now implemented an IDE option "File Change Notification" with 3 options
Full
NoMappedDrives (now the default)
Disabled
Could you please test whether NoMappedDrives or Disabled makes a difference.
If anybody wants to test it before the next release please email me at
pyscripter.googlecode.com.
Original comment by pyscripter
on 1 Jun 2011 at 6:41
Thanks for this, I will check it out in the next release.
I spotted that the Delphi compiler finally seems to be on the horizon for
64-bit, have you been able to try out the beta compiler with PyScripter, and
does it work?
Thanks again for all your hard work,
Hanni
Original comment by hanni....@gmail.com
on 2 Jun 2011 at 9:10
I am not in the beta program but I will get the new compiler as soon as it gets
released.
Original comment by pyscripter
on 2 Jun 2011 at 2:40
[deleted comment]
Could you please email me at pyscripter@gmail.com. I cannot see your email
above.
Original comment by pyscripter
on 3 Jun 2011 at 10:58
You can download an early preview of 2.4.4 for testing purposes at
http://code.google.com/p/pyscripter/downloads/detail?name=PyScripter.zip
Original comment by pyscripter
on 5 Jun 2011 at 11:18
I tried your early preview from 2.4.2 and the mapping Option seems to work.
(File was on a mapped Samba share. )
There is no additional File Changes Notification
(Bug 343 described this)
Thanks.
Original comment by gj12345...@googlemail.com
on 6 Jun 2011 at 12:24
Original issue reported on code.google.com by
steve.r....@gmail.com
on 18 Jan 2011 at 7:58