Tagged Questions
0
votes
1answer
34 views
Unexpected python (and idle) crash when running my script
Python and idle both get exited if I run this code. I use python 3.2 and there may be a few errors made after changing code out of desperation.
My goal is to create a file that copies code into a ...
0
votes
0answers
31 views
pycurl tests/tests_socketopen.py crash
import pycurl
import StringIO
import socket
def socketopen(family, socktype, protocol):
print family, socktype, protocol
s = socket.socket(family, socktype, protocol)
...
0
votes
2answers
98 views
I'm new to Python and managed to crash IDLE after adding a line of code to my program
I'm working on a small game and, in the interest of full disclosure, I've learned some other languages before but this is only my second day learning Python.
What I was trying to do was simple ...
0
votes
3answers
57 views
Importing a txt into a dictionary causes python to crash?
I've followed the first answer on this thread:
Python - file to dictionary?
And whenever I try and run the script, Python just closes. everything, even my other scripts I'm not working on.
Here's ...
0
votes
2answers
72 views
Python - Creating meaningful crash logs / crash report
Actual Problem (Crash Log Generation)
Is there a python module that could help me produce meaningful crash logs? Or a good way to go about producing them?
I want my crash logs to contain:
All ...
0
votes
0answers
103 views
Python interpreter crashes when pyserial reads serial port on Win7
I have a number of Python programs running fine, but one in particular always causes the interpreter to crash. First, a popup says "python.exe has stopped working". Another popup tells me about ...
2
votes
1answer
156 views
Tkinter python quit/exit crash
Im making a GUI and want to add an exit button to close the window. The only problem is, when i add a button with the following code:
root = Tk()
Exit = Button(root, text = "Quit", command = ...
-1
votes
1answer
171 views
Python script stopping after a while
I have a raspberry pi with raspbian on it, and I've created a python script that I need to have running all the time. The problem is that after running for an hour or so, the script suddenly stops, ...
-1
votes
1answer
73 views
python-2.7 timeit function crashes
For some reason, the Python-2.7 timeit function crashes in the following example:
a,b = 0,0
timeit a=b # ok: 10000000 loops, best of 3: 50.9 ns per loop
timeit if a==a+b: pass # ...
0
votes
2answers
79 views
Python program crashing
So I've designed a program that runs on a computer, looks for particular aspects of files that have been plaguing us, and deletes the files if a flag is passed. Unfortunately the program seems to be ...
3
votes
1answer
64 views
What is happens in Python when `func = func.__call__` is executed?
Something crossed my mind recently in Python: x = y(z) is equivalent to x = y.__call__(z). However, a test appears to invalidate that assumption and also leads to Python's interpreter to crash.
...
1
vote
0answers
271 views
Ubuntu 12.10 Crash Error [closed]
I have recently installed Ubuntu 12.10. I has all been working perfectly until about a week ago, when the software centre refused to open. It is very annoying, and I am finding that various pieces of ...
3
votes
1answer
373 views
IDLE in Python 3.3.0 crashes when selecting text
I installed Python 3.3.0 on Mac OS X Lion 10.7.5, I also got ActiveTcl8.5.12 installed.
Everything goes well, but when I selected text or using copy in IDLE, it crashed. I also tried using ...
0
votes
1answer
98 views
python process exit or crash without clue
Recently I've created a python script to retrieve data out from a log file and write into a mysql database. This script is suppose to be running 24 hours, but it crashes unexpectedly and I have no ...
0
votes
0answers
107 views
python program works fine but not with debugger
I haven't had this problem before working with pygame. The crash seems to happen at the second line when pygame.init() is executed in the debugger. Here is the code:
import pygame
pygame.init()
...
0
votes
1answer
210 views
passing arguments from php to python using shell_exec from browser
I have a simple php script that passes a couple variables to and runs a python script with the shell_exec command. When I run this php script from the shell it works just fine. However, when I run the ...
-2
votes
2answers
139 views
way to stop code from crashing when file not found on the server?
So my problem is that my code would crash when one of it couldn't find the file in the server. Is there a way to skip that process of finding when there is no file found and continue through the loop.
...
3
votes
0answers
163 views
py2exe executable crashing in a seemingly random way
I am writing a python script that monitors a folder for new files and then copies the files to a directory. The code works perfectly when ran as a .py file, however, the executable created by py2exe ...
3
votes
3answers
118 views
Python Timer crashes the interpreter
I'm new here and this is my first question. I'm making a game in Python 3.2.3 and I've come to a problem where a Timer object sometimes crashes the interpreter after calling it's start() method (it ...
1
vote
0answers
71 views
python 2.5.2 crashes with basic use of threading
I'm working on a program that needs some threading. I wanted to get myself into this and tried several tutorials. Because of some special hardware I need to stick to Python 2.5.2 (r25:51908)
When I ...
0
votes
0answers
90 views
Numpy and Scipy installer crash
I'm trying to install scipy 0.11.0b1 and numpy 1.6.2 but both installers crash. I had succesfully install scipy 0.10.1 and numpy 1.6.1 before.
Here is my error: "An unhandled win32 exception occured ...
0
votes
1answer
219 views
Spynner crash python
I'm building a Django app and I'm using Spynner for web crawling. I have this problem and I hope someone can help me.
I have this function in the module "crawler.py":
import spynner
def ...
1
vote
1answer
168 views
calculations on big satellite image crashes python and computer freezes [duplicate]
Possible Duplicate:
Big Satellite Image Processing
I'm trying to run Mort Canty's Python iMAD implementation on bitemporal RapidEye Multispectral images. Which basically calculates the ...
1
vote
3answers
709 views
Python-Pygame always crashing and Not Responding when running a module in IDLE
I'm quite new to Pygame or even Python, but i know that when something in the isn't right, it displays some text in the Python Shell telling you that there was some error. I've actually encountered ...
1
vote
1answer
174 views
Monitoring for Program Crash
I'm currently working with the Python module Spynner for automating some web tasks. I've run in to a problem though where for some reason the process would just simply stop moving, freeze but still be ...
0
votes
0answers
93 views
What would cause the RESIZABLE parameter in Pygame's set_display to crash on Windows 7 but not XP?
In the following code, I set up a very simple window to test out how the resizable flag works. Running this exact code on my XP laptop produces no errors. The screen and be resized any way, all of the ...
0
votes
1answer
98 views
py2exe Installer crashes
I wrote a Python GUI script with Tkinter, and now I want to convert it to a standalone .exe.
I have already used py2exe on another pc with WinXP, but on my own pc, where I use Win7 32bit, I can't ...
1
vote
2answers
1k views
IDLE and IDLE 3 crash on opening [Mac OSX]
I recently attempted to install python 3.2 along with IDLE 3 on my macbook pro. I successfully installed python 3.2 (as in, I can run it from the terminal), but when I attempted to install IDLE 3.2 I ...
1
vote
1answer
582 views
Komodo IDE 7 crashes on Ubuntu 11.10
Starting Komodo IDE 7 on Ubuntu 11.10 crashes in libcrypto.so during startup (see this forum discussion):
#0 0xb121ffbc in EVP_PKEY_CTX_dup () from /lib/i386-linux-gnu/libcrypto.so.1.0.0
#1 ...
0
votes
2answers
389 views
PyQT crash ( underlying C/C++ object has been deleted ) “after” clear QTreeWidget
i try to build a realtime search for a QTreeWidget, that means that i have a QLineEdit and when im typing, i will filter the shown results in the QTreeWidget.
At the moment i get the "still shown ...