I have a short multi-threaded script that checks web images to make
sure they are still there. I get a segmentation fault everytime I run
it and I can't figure out why. Writing threaded scripts is new to me so
I may be doing something wrong that should be obvious :(
google messes up the python code so here is a link to it.
This is the output of the script.
[jay@localhost scripts]$ ./py.py
update item set goodImage = 'yes' where productId='1260 3'
update item set goodImage = 'yes' where productId='1827 2'
update item set goodImage = 'yes' where productId='1927 '
update item set goodImage = 'no' where productId='1270 9'
update item set goodImage = 'yes' where productId='3208 7'
update item set goodImage = 'no' where productId='2580 3'
Segmentation fault
Thanks in advance.
sure they are still there. I get a segmentation fault everytime I run
it and I can't figure out why. Writing threaded scripts is new to me so
I may be doing something wrong that should be obvious :(
google messes up the python code so here is a link to it.
This is the output of the script.
[jay@localhost scripts]$ ./py.py
update item set goodImage = 'yes' where productId='1260 3'
update item set goodImage = 'yes' where productId='1827 2'
update item set goodImage = 'yes' where productId='1927 '
update item set goodImage = 'no' where productId='1270 9'
update item set goodImage = 'yes' where productId='3208 7'
update item set goodImage = 'no' where productId='2580 3'
Segmentation fault
Thanks in advance.
Comment