Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AV when starting up on Windows Server 2003 R2 32-bit (in VMWare virtual machine) #189

Closed
GoogleCodeExporter opened this issue Aug 24, 2015 · 6 comments

Comments

@GoogleCodeExporter
Copy link

I have had no problems with Pyscripter in the past, and it is a really 
good Python IDE. However, I cannot get it to run on my development machine.

When I run Pyscripter I get an AV in python25.dll.

I have done a fresh install of Python 2.51 on a newish virtual machine.

I get the issue in 1.9.9.1 (as well as the release version).

For 1.9.9.1 the initial stack trace looks like the following:

Exception class: EAccessViolation
Exception message: Access violation at address 1E0CC385 in 
module 'PYTHON25.DLL'. Read of address 00000004.
Exception address: 1E0CC385
---------------------------------------------------------------------------

---
PyScripter version : 1.9.9.1
Python DLL : python25.dll
Python Engine : peInternal
---------------------------------------------------------------------------

---
Stack list, generated 1/9/2008 7:38:23 PM
(000CB385){PYTHON25.DLL} [1E0CC385] PySys_GetObject + $5
(0017D4FB){PyScripter.exe} [0057E4FB] PythonEngine.InitSysPath (Line 
5194, "PythonEngine.pas" + 1) + $B
(0017D93D){PyScripter.exe} [0057E93D] 
PythonEngine.TPythonEngine.Initialize (Line 5290, "PythonEngine.pas" + 24) 
+ $1
(0017D2F4){PyScripter.exe} [0057E2F4] PythonEngine.TPythonEngine.AfterLoad 
(Line 5127, "PythonEngine.pas" + 2) + $2
(00176FED){PyScripter.exe} [00577FED] PythonEngine.TDynamicDll.OpenDll 
(Line 3643, "PythonEngine.pas" + 27) + $4

Thank you for your attention to this.

Charles



Original issue reported on code.google.com by pope....@googlemail.com on 9 Jan 2008 at 7:43

@GoogleCodeExporter
Copy link
Author

I have found out what it relates to. I have mercurial installed with 
Tortoise-Hg. 
When I remove mercurial from the path then it starts up fine, although it hits 
a few 
messages of the type:

Windows - No Disk
exception processing message c0000013

I press continue 5 times and it goes in. I suspect it relates to the drives in 
some 
way.

Original comment by pope....@googlemail.com on 9 Jan 2008 at 8:56

@GoogleCodeExporter
Copy link
Author

The No disk error was solved by disabling the floppy disk in the virtual 
machine. It 
is presumably accessed when displaying the file tree.

Further to the mercurial error, the list of loaded modules includes the 
following. 
The python25.dll is exactly the same as the version installed into 
windows\system32 
by the python installation. I assume there is a conflict as to where the dll is 
loaded from.

[00400000] C:\dev\PyScripter\PyScripter.exe
           1.9.9.1 - 1.9.9.1
[016F0000] C:\dev\Mercurial\pythoncom25.dll
<1E200000> 2.5.210.0 - 2.5.210.0
[01790000] C:\dev\Mercurial\_hashlib.pyd
<10000000> (no version info)
[017F0000] C:\dev\Mercurial\_socket.pyd
<1E1D0000> (no version info)
[01800000] C:\dev\Mercurial\_ssl.pyd
<10000000> (no version info)
[022B0000] C:\dev\TortoiseCVS\TortoiseShell.dll
<10000000> 1.10.1.112 - 1.10.1.112 RC 10
           TortoiseShell
[10000000] C:\dev\Mercurial\tortoisehg.dll
           (no version info)
[1D170000] C:\dev\Mercurial\bz2.pyd
           (no version info)
[1E000000] C:\dev\Mercurial\PYTHON25.DLL
           (no version info)
[1E280000] C:\dev\Mercurial\win32ui.pyd
           2.5.210.0 - 2.5.210.0
[1E770000] C:\dev\Mercurial\pywintypes25.dll
           2.5.210.0 - 2.5.210.0
[1E7D0000] C:\dev\Mercurial\shell.pyd
           2.5.210.0 - 2.5.210.0
[1E890000] C:\dev\Mercurial\win32api.pyd
           2.5.210.0 - 2.5.210.0
[1E980000] C:\dev\Mercurial\win32event.pyd
           2.5.210.0 - 2.5.210.0
[1E9E0000] C:\dev\Mercurial\win32file.pyd
           2.5.210.0 - 2.5.210.0
[1EA10000] C:\dev\Mercurial\win32gui.pyd
           2.5.210.0 - 2.5.210.0
[1EBC0000] C:\dev\Mercurial\win32process.pyd
           2.5.210.0 - 2.5.210.0
[1ECB0000] C:\dev\Mercurial\win32trace.pyd
           2.5.210.0 - 2.5.210.0
[46300000] C:\WINDOWS\system32\iertutil.dll
           7.0.6000.16574 - 7.00.6000.16574 (vista_gdr.071008-1500)
           Run time utility for Internet Explorer
[46A70000] C:\WINDOWS\system32\wininet.dll
           7.0.6000.16574 - 7.00.6000.16574 (vista_gdr.071008-1500)
           Internet Extensions for Win32
[46B90000] C:\WINDOWS\system32\urlmon.dll
           7.0.6000.16574 - 7.00.6000.16574 (vista_gdr.071008-1500)
           OLE32 Extensions for Win32
[4B3C0000] C:\WINDOWS\system32\MSCTF.dll
           5.2.3790.3959 - 5.2.3790.3959 (srv03_sp2_rtm.070216-1710)
           MSCTF Server DLL
[4B750000] C:\WINDOWS\system32\HHCtrl.ocx
           5.2.3790.3959 - 5.2.3790.3959 (srv03_sp2_rtm.070216-1710)
           Microsoft® HTML Help Control
[4DC30000] C:\WINDOWS\system32\msctfime.ime
           5.2.3790.3959 - 5.2.3790.3959 (srv03_sp2_rtm.070216-1710)
           Microsoft Text Frame Work Service IME
[4DD60000] 
C:\WINDOWS\WinSxS\x86_Microsoft.Windows.GdiPlus_6595b64144ccf1df_1.0.3790.3959_x
-
ww_8251BDDE\gdiplus.dll
           5.2.3790.3959 - 5.2.3790.3959 (srv03_sp2_rtm.070216-1710)
           Microsoft GDI+
[5E9A0000] C:\WINDOWS\system32\olepro32.dll
           5.2.3790.3959 - 5.2.3790.3959
[60300000] C:\Program Files\Yahoo!\Messenger\idle.dll
           1.0.0.2 - 1,0,0,2
           Idle Module
[61F00000] C:\dev\Mercurial\mpatch.pyd
           (no version info)
[66A00000] C:\dev\Mercurial\bdiff.pyd
           (no version info)

Original comment by pope....@googlemail.com on 9 Jan 2008 at 11:28

@GoogleCodeExporter
Copy link
Author

Now sorted with the command line options:

PyScripter.exe --PYTHON25 --PYTHONDLLPATH=c:\windows\system32

So no longer an issue.

Original comment by pope....@googlemail.com on 10 Jan 2008 at 12:12

@GoogleCodeExporter
Copy link
Author


For "all user" installations, PyScripter just tries to load the Pythonxx.dll 
from the
python path. Mercurail contains a python dll and is on the path. So I can see 
three
solutions.

a)  Make sure that %windows%\system32 is higher int the path than 
TortoiseHg(Mercurial)
b)  Install Python25 as a single user installation.  In that case PyScripter 
will
pick the python25.dll from the installation path.
c) Use the PYTHONDLLPATH flag as you did

Original comment by pyscripter on 10 Jan 2008 at 12:27

  • Changed state: Invalid

@GoogleCodeExporter
Copy link
Author

You may also have to disable the TortoiseHg Shell extension.

http://bitbucket.org/tortoisehg/stable/wiki/FAQ#im-a-cli-user-how-do-i-disable-t
he-shell-extensions-overlay-icons-and-context-menus

This is because it loads the TortoiseHg dlls through the File Explorer.  I 
think this
is only a problem if you use the internal Python engine.

Original comment by pyscripter on 21 Apr 2009 at 8:41

@GoogleCodeExporter
Copy link
Author

All the above comments have been superseded by the information in
http://code.google.com/p/pyscripter/wiki/FAQ#How_do_I_use_PyScripter_with_Tortoi
seHg_installed

Original comment by pyscripter on 20 May 2009 at 9:10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant