473,569 Members | 2,691 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Fatal error after RE-installing Python 2.3.4

I've just started a job which has a massive python2.3.4-centric tools
installation and configuration.

I know what you're going to say, but I can't upgrade and be the only
one with a newer version. There are close to 30 engineers using this
same tools configuration, and it has been working fine for a long time.
For now, we all have to live with the limitations and or bugs in 2.3.4.

I'm running Windows XP, SP2, on a AMD 1.79Ghz MP 2200+.

After editing/testing one of the python test scripts, I was about to
check a small script change into cvs, when my mentor suggested running
pychecker. When I did this, I saw a several pages full of warnings.

For me not knowing the code base well enough to know what to expect, He
thought this was odd, took the file, ran pychecker on his system, with
the file I've edited, and only sees 4-5 warnings.

We have the same version of Python, that being 2.3.4, the same version
of pychecker which is 0.8.14.

I had deleted and re-installed pychecker, and still saw the same
warnings.
I have compared this to another machine, and again, I am the odd man
out.

I've deleted all the Python packages, pythonwin, and The core 2.3.4
distribution, and re-installed everything from scratch.

Now, When I launch Python from a cmd console, the following is reported

C:\Windows\syst em32\cmd.exe- python
The NTVDM CPU has encountered an illegal instruction.
Chose close to terminate the application.
Oddly enough, when I run Python.exe from the Program Files menu, it
launches just fine.
The virus scanner doesn't find any known viruses, and I've also
disabled the virus checker after un-installing-reinstalling Python the
last time.
I've also tried downloading another copy of the installer.

Does anyone have any ideas what is causing this and how to fix it? My
job depends on me getting Python2.3.4 back to working order.

thanks

Sep 23 '06 #1
5 2115

Cappy2112 wrote:
I've just started a job which has a massive python2.3.4-centric tools
installation and configuration.

I know what you're going to say, but I can't upgrade and be the only
one with a newer version. There are close to 30 engineers using this
same tools configuration, and it has been working fine for a long time.
For now, we all have to live with the limitations and or bugs in 2.3.4.

I'm running Windows XP, SP2, on a AMD 1.79Ghz MP 2200+.

After editing/testing one of the python test scripts, I was about to
check a small script change into cvs, when my mentor suggested running
pychecker. When I did this, I saw a several pages full of warnings.

For me not knowing the code base well enough to know what to expect, He
thought this was odd, took the file, ran pychecker on his system, with
the file I've edited, and only sees 4-5 warnings.

We have the same version of Python, that being 2.3.4, the same version
of pychecker which is 0.8.14.

I had deleted and re-installed pychecker, and still saw the same
warnings.
I have compared this to another machine, and again, I am the odd man
out.

I've deleted all the Python packages, pythonwin, and The core 2.3.4
distribution, and re-installed everything from scratch.

Now, When I launch Python from a cmd console, the following is reported

C:\Windows\syst em32\cmd.exe- python
The NTVDM CPU has encountered an illegal instruction.
Chose close to terminate the application.
Oddly enough, when I run Python.exe from the Program Files menu, it
launches just fine.
The virus scanner doesn't find any known viruses, and I've also
disabled the virus checker after un-installing-reinstalling Python the
last time.
I've also tried downloading another copy of the installer.

Does anyone have any ideas what is causing this and how to fix it? My
job depends on me getting Python2.3.4 back to working order.

thanks
What happens when you run "C:\Python2.3\p ython.exe" from the command
line (or the equivalent path)? How about pythonw.exe (or the windowed
equivalent, not sure about the naming)? Are .py and .pyw files
displayed with the correct icons? When installing Python packages, is
Python 2.3 detected as the default installation?

Since there was a lot of uninstalling and reinstalling, I'm suspicious
that the Windows registry was messed up somewhere along the line. If
you're suave with regedit, you could try poking around in there.

Finally, does your $PATH include the Python directory? That could also
cause problems if it doesn't.

And, what sorts of warnings did PyChecker display? Missing
files/modules?

Sep 23 '06 #2

Cappy2112 wrote:
I've just started a job which has a massive python2.3.4-centric tools
installation and configuration.

I know what you're going to say, but I can't upgrade and be the only
one with a newer version. There are close to 30 engineers using this
same tools configuration, and it has been working fine for a long time.
For now, we all have to live with the limitations and or bugs in 2.3.4.

I'm running Windows XP, SP2, on a AMD 1.79Ghz MP 2200+.

After editing/testing one of the python test scripts, I was about to
check a small script change into cvs, when my mentor suggested running
pychecker. When I did this, I saw a several pages full of warnings.

For me not knowing the code base well enough to know what to expect, He
thought this was odd, took the file, ran pychecker on his system, with
the file I've edited, and only sees 4-5 warnings.

We have the same version of Python, that being 2.3.4, the same version
of pychecker which is 0.8.14.

I had deleted and re-installed pychecker, and still saw the same
warnings.
I have compared this to another machine, and again, I am the odd man
out.

I've deleted all the Python packages, pythonwin, and The core 2.3.4
distribution, and re-installed everything from scratch.
"deleted" the core 2.3.4 distribution [from where? how?] or
"uninstalle d"?
Was c:\windows\syst em32\python23.d ll blown away?

Are you installing it for "all users" or for a single user?
Do a search for python23.dll -- you may find two. This can happen if
you have switched from one way to the other way. DLL in
c:\windows\syst em32 =all users. DLL somewhere else e.g. c:\python23
=specific user. Check how this is set up on other working boxes.
Check date and size while you are doing that. Also check what they have
on their system path compared to yours.
>
Now, When I launch Python from a cmd console, the following is reported

C:\Windows\syst em32\cmd.exe- python
The NTVDM CPU has encountered an illegal instruction.
Chose close to terminate the application.
Have you tried running it with the -v commandline arg to see how far it
gets before crashing?
>

Oddly enough, when I run Python.exe from the Program Files menu, it
launches just fine.
Yeah, different path.
>

The virus scanner doesn't find any known viruses, and I've also
disabled the virus checker after un-installing-reinstalling Python the
last time.
I've also tried downloading another copy of the installer.

Does anyone have any ideas what is causing this and how to fix it? My
job depends on me getting Python2.3.4 back to working order.
Some thoughts and questions:
1. Telling us what the allegedly spurious pychecker warnings were would
be a good idea.
2. I don't understand the "my job depends" part. Are you responsible
for providing your own computer and installing your own tool-chain on
it?? Is this an initiative test? Can't you get the admin(s) to install
a clean tested kit for you?
3. What is this PC's history? Has it been used successfully in this
environment before you turned up? Was the previous holder of the
position allowed near it after he was told he was getting the chop? Are
all the other engineers using the same configuration?
4. Is Python 2.3.5 a possibility?

HTH,
John

Sep 23 '06 #3
What happens when you run "C:\Python2.3\p ython.exe" from the command
line (or the equivalent path)? How about pythonw.exe (or the windowed
equivalent, not sure about the naming)?
>>Are .py and .pyw files displayed with the correct icons?
Yes.
>>When installing Python packages, is Python 2.3 detected as the default installation?
Yes
>>Finally, does your $PATH include the Python directory? That could also
cause problems if it doesn't.
I doubt that the path would cause this type of problem. If the path
wasn't found the exe wouldn't run, and this error wouldnt be displayed.
>>And, what sorts of warnings did PyChecker display? Missing files/modules?
Missing modules, mostly, but Pychecker isnt a concern at this point.
It was merely what prompted me to re-install everything.

All of my tests scripts could be executed via python my script.py, from
a cmd console before I re-installed.

I have unisntaleld & re-installed Python 2.3.4 many times- using
different installers, to eliminate a corrupted installation medmium,
but they all result in the same error when I run python from a cmd
console.

Sep 23 '06 #4
"deleted" the core 2.3.4 distribution [from where? how?] or
"uninstalle d"?
Uninstalled
>Was c:\windows\syst em32\python23.d ll blown away?
Yes, as part of the uninstall process.
>>Are you installing it for "all users" or for a single user?
ALl users, using Admin priveledges
Do a search for python23.dll -- you may find two. This can happen if
you have switched from one way to the other way. DLL in
c:\windows\syst em32 =all users. DLL somewhere else e.g. c:\python23
=specific user. Check how this is set up on other working boxes.
Check date and size while you are doing that. Also check what they have
on their system path compared to yours.
will try on Monday
My path is the same. We all followa detailed installation, tools
configuration procedure/.
I've compared my path to one other workign machine.
Have you tried running it with the -v commandline arg to see how far it
gets before crashing?
No- will try it on Monday
Oddly enough, when I run Python.exe from the Program Files menu, it
launches just fine.
Yeah, different path.
Some thoughts and questions:
1. Telling us what the allegedly spurious pychecker warnings were would
be a good idea.
pychecker isn't really a concern at this point- and has ben uninstalled
(actually deleted, since there is no installer/uninstaller for this
package.)
But I was getting lots of missing module warnings, which two of my
co-workers did not get.
2. I don't understand the "my job depends" part. Are you responsible
for providing your own computer and installing your own tool-chain on
it??
No
>>Is this an initiative test?
No.
>>Can't you get the admin(s) to install a clean tested kit for you?
No.
3. What is this PC's history? Has it been used successfully in this
environment before you turned up?
Yes- I have been using it to run python scripts for the last 2 weeks.
When I saw the pychecker anomally, I decided to rein-install Python & a
few of the packages.
>>Are all the other engineers using the same configuration?
yes
>>4. Is Python 2.3.5 a possibility?
No, not in practice. But I tried installing 2.3.5 to see what would
happen.
Same problem.

Thanks

Sep 23 '06 #5

Cappy2112 wrote:
>
Some thoughts and questions:
1. Telling us what the allegedly spurious pychecker warnings were would
be a good idea.

pychecker isn't really a concern at this point- and has ben uninstalled
(actually deleted, since there is no installer/uninstaller for this
package.)
But I was getting lots of missing module warnings, which two of my
co-workers did not get.
That's right, pychecker is not a concern. It's very unlikely to be part
of the problem. Do please consider that it could be part of the
*solution* -- which missing modules? what directories are they in on
your co-workers' machines? what directories are they in on your machine
-- same/different/none??? Answers to those questions might just give
you a clue as to what is going on.

Talking about clues, are there entries in drwtsn32.log from when Python
crashes? Do they give any clues?
When I saw the pychecker anomally, I decided to rein-install Python & a
few of the packages.
Uh-oh ... what packages? Which few? Suggestion: (1) Re-install Python.
Check if it crashes. (2) Install package 1, check, install package 2,
check, ...

Note: Uninstalling Python will blow all your packages away iff they are
all installed in the site-packages directory of the Python
installation. It may be worth exploring this hypothesis: package has
PYD or DLL, it's corrupted, it's installed outside the normal Python
package hierarchy, so doesn't get cleaned away ...

Recall that you get Python crashing only when run in the command
window; this may indicate that the PATH environment variable is causing
something else to be loaded than what you expect. Try looking in every
directory in that path to see if there is any old rubbish there:
python*.exe, python23.dll, some_package.dl l, some_package.py d, ...

BTW, if python -v doesn't clue you in, try python -vv
---- that's "v" * 2, not dubya :-)

HTH,
John

Sep 23 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
2434
by: PeterF | last post by:
Hello, what is wrong here? the purpose is to create an array of objects and then interate over it, calling some method from all of them. I get just the following at the marked line ("// FATAL ERROR"): Fatal error: Call to a member function on a non-object See the code:
8
9985
by: Tim Tyler | last post by:
I'm getting fatal errors when executing code - and my error handler is failing to trap them - so I get no stack backtrace :-( The error I am getting is: "Fatal error: Call to a member function fetchRow() on a non-object." What are the available options here? Am I supposed to check I have a real object whenever I perform
2
2942
by: Itjalve | last post by:
This gives me a fatal error. I'm using .NET VC7.1 and made a win32 consol app, I have no problems with VC6. Debug build. I have removed nearly all my code this is whats left. From the beginning the template was defined in a .h file, but that has no effect, same error. I have seen when searching for fatal error that there are some problems...
6
5173
by: Steve Crawford | last post by:
I've started seeing the following in my logs: FATAL: invalid frontend message type 8 I searched back over a month and there are 5 instances of this error of which 4 are in the last 24 hours. I could not find this error defined. Any ideas of what it means, it's severity, how to track the cause and cure? Cheers,
4
5636
by: ARF | last post by:
I'm testing AutoCAD 2005 automation via VS2005 Pro C++/CLR and I'm getting fatal compiler errors. I start with a default C++/CLR class library project and modify it by adding the following references: acdbmgd.dll acmgd.dll the entire source for the default library header file is:
0
2108
by: Rich | last post by:
I am trying to obtain more debugging information for an issue I reported (ref. Bug #37185 <http://bugs.php.net/bug.php?id=37185&edit=2>). Unfortunately, I do not have access to the now-ancient Microsoft Visual C++ 6.0, which is why I cannot use the pre-built debug sysbol files for debugging. So it appears I must build PHP. I grabbed build...
1
13941
by: R | last post by:
Hi All, I'm using PHP 5, my code fully separates code from content, my code throws exceptions (LIZException) when error occurs. but every time I throw exception I get this fatal error: Fatal error: Exception thrown without a stack frame in Unknown on line 0
3
4192
by: Dhieraj | last post by:
While compiling a C++ code I am getting the following error : CC -c -I/opt/iona/artix/2.0/include -I/opt/iona/asp/6.0/include -I/opt/ar/api63/include -I//var/tmp/vidya/aotscommon/include -I//var/tmp/coe/coesup2.0b17/include -I/opt/oracle/product/9.2.0.5.0/rdbms/demo -I/opt/oracle/product/9.2.0.5.0/rdbms/public ...
1
3754
by: kvarada | last post by:
Hello Experts, I am building my application on WinNT.4.0_i386_MSVC.7.1 platform. When I build the application on a stand alone machine, it builds fine. But when I build the same application from a linux box using rsh it gives me the errors below Microsoft (R) Development Environment Version 7.10.3077. Copyright (C) Microsoft Corp...
2
3013
by: lwo3108 | last post by:
Hi I am using PHP 4.3.1 and i have written a little code for purpose of CAPTCHA Image. i am running this code locally on localhost using IIS 5.0. When i open the code page, i get an fatal error like: Here is my code "
0
7698
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7612
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7924
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8122
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7673
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
3653
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3640
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1213
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
937
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.