Re: [google-appengine] Helloworld Tutorial - Segmentation Fault

2011-02-20 Thread Geoffrey Spear
There's a bug report in the python issue tracker that might be relevant, 
although it's filed against Python 2.7: http://bugs.python.org/issue9146

Try import _ssl; import _hashlib to see if this is the same bug.  If so, 
it looks like an OpenSSL problem.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Helloworld Tutorial - Segmentation Fault

2011-02-18 Thread Will F
I examined the verbose output and noted the bottommost line was 

import _hashlib # dynamically loaded from 
/usr/local/lib/python2.5/lib-dynload/_hashlib.so

So I ran a couple more tests, and when I ran Python 2.5 interactively and 
tried to import the _hashlib module, it worked, there were no errors.

I also went to this blog: 
http://www.learningtechnicalstuff.com/2010/10/installing-python-google-appengine-sdk.html
 and 
tried his approach. This did not work either.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Helloworld Tutorial - Segmentation Fault

2011-02-17 Thread Robert Kluin
Hi Will,
  Are you able to run python 2.5 at all?  Can you get to the interactive shell?



Robert




On Thu, Feb 17, 2011 at 11:56, Will F scientific...@gmail.com wrote:
 I am just starting to use google app engine and have just started
 running the tutorial. When I do this:

 $ python2.5 google_appengine/dev_appserver.py helloworld/

 it says 'Segmentation Fault'.

 I am running Ubuntu 10.10. I installed Python 2.5 from the site with
 help from this site: 
 http://thedarren.blogspot.com/2010/11/install-appengine-python-sdk-on-ubuntu.html.
 The reason I have python2.5 at the beginning of my command is that I
 did an altinstall of Python 2.5 so that I would still be able to use
 Python 2.7.

 Everything looks like it should work but it isn't. Does anyone know
 what my issue is?

 --
 You received this message because you are subscribed to the Google Groups 
 Google App Engine group.
 To post to this group, send email to google-appengine@googlegroups.com.
 To unsubscribe from this group, send email to 
 google-appengine+unsubscr...@googlegroups.com.
 For more options, visit this group at 
 http://groups.google.com/group/google-appengine?hl=en.



-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Helloworld Tutorial - Segmentation Fault

2011-02-17 Thread Will F
So I am able to run Python 2.5 interactively. It is only when I run 
dev_appserver.py that I get a seg fault. I did more tests and even when I 
just run:

$ ./google_appengine/dev_appserver.py

it gives me a seg fault. I don't know if this helps, but I thought it might.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Helloworld Tutorial - Segmentation Fault

2011-02-17 Thread Robert Kluin
Hey Will,
  Is there any other output?  If you don't get anything else, try
running with the verbose flag (it will probably be _very_ verbose)
maybe you'll be able to get an idea of where its failing then.

  python2.5 -v google_appengine/dev_appserver.py .



Robert




On Thu, Feb 17, 2011 at 21:42, Will F scientific...@gmail.com wrote:
 So I am able to run Python 2.5 interactively. It is only when I run
 dev_appserver.py that I get a seg fault. I did more tests and even when I
 just run:
 $ ./google_appengine/dev_appserver.py
 it gives me a seg fault. I don't know if this helps, but I thought it might.

 --
 You received this message because you are subscribed to the Google Groups
 Google App Engine group.
 To post to this group, send email to google-appengine@googlegroups.com.
 To unsubscribe from this group, send email to
 google-appengine+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-appengine?hl=en.


-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Helloworld Tutorial - Segmentation Fault

2011-02-17 Thread Will F
So I did as you suggested, I ran it with the verbose output:

# installing zipimport hook
import zipimport # builtin
# installed zipimport hook
# /usr/local/lib/python2.5/site.pyc matches /usr/local/lib/python2.5/site.py
import site # precompiled from /usr/local/lib/python2.5/site.pyc
# /usr/local/lib/python2.5/os.pyc matches /usr/local/lib/python2.5/os.py
import os # precompiled from /usr/local/lib/python2.5/os.pyc
import errno # builtin
import posix # builtin
# /usr/local/lib/python2.5/posixpath.pyc matches 
/usr/local/lib/python2.5/posixpath.py
import posixpath # precompiled from /usr/local/lib/python2.5/posixpath.pyc
# /usr/local/lib/python2.5/stat.pyc matches /usr/local/lib/python2.5/stat.py
import stat # precompiled from /usr/local/lib/python2.5/stat.pyc
# /usr/local/lib/python2.5/UserDict.pyc matches 
/usr/local/lib/python2.5/UserDict.py
import UserDict # precompiled from /usr/local/lib/python2.5/UserDict.pyc
# /usr/local/lib/python2.5/copy_reg.pyc matches 
/usr/local/lib/python2.5/copy_reg.py
import copy_reg # precompiled from /usr/local/lib/python2.5/copy_reg.pyc
# /usr/local/lib/python2.5/types.pyc matches 
/usr/local/lib/python2.5/types.py
import types # precompiled from /usr/local/lib/python2.5/types.pyc
import _types # builtin
# /usr/local/lib/python2.5/warnings.pyc matches 
/usr/local/lib/python2.5/warnings.py
import warnings # precompiled from /usr/local/lib/python2.5/warnings.pyc
# /usr/local/lib/python2.5/linecache.pyc matches 
/usr/local/lib/python2.5/linecache.py
import linecache # precompiled from /usr/local/lib/python2.5/linecache.pyc
import encodings # directory /usr/local/lib/python2.5/encodings
# /usr/local/lib/python2.5/encodings/__init__.pyc matches 
/usr/local/lib/python2.5/encodings/__init__.py
import encodings # precompiled from 
/usr/local/lib/python2.5/encodings/__init__.pyc
# /usr/local/lib/python2.5/codecs.pyc matches 
/usr/local/lib/python2.5/codecs.py
import codecs # precompiled from /usr/local/lib/python2.5/codecs.pyc
import _codecs # builtin
# /usr/local/lib/python2.5/encodings/aliases.pyc matches 
/usr/local/lib/python2.5/encodings/aliases.py
import encodings.aliases # precompiled from 
/usr/local/lib/python2.5/encodings/aliases.pyc
# /usr/local/lib/python2.5/encodings/utf_8.pyc matches 
/usr/local/lib/python2.5/encodings/utf_8.py
import encodings.utf_8 # precompiled from 
/usr/local/lib/python2.5/encodings/utf_8.pyc
Python 2.5.5 (r255:77872, Feb 17 2011, 21:03:23) 
[GCC 4.4.5] on linux2
Type help, copyright, credits or license for more information.
import google # directory 
/home/admin/google_app_engine/google_appengine/google
# /home/admin/google_app_engine/google_appengine/google/__init__.pyc matches 
/home/admin/google_app_engine/google_appengine/google/__init__.py
import google # precompiled from 
/home/admin/google_app_engine/google_appengine/google/__init__.pyc
import google.appengine # directory 
/home/admin/google_app_engine/google_appengine/google/appengine
# 
/home/admin/google_app_engine/google_appengine/google/appengine/__init__.pyc 
matches 
/home/admin/google_app_engine/google_appengine/google/appengine/__init__.py
import google.appengine # precompiled from 
/home/admin/google_app_engine/google_appengine/google/appengine/__init__.pyc
import google.appengine.tools # directory 
/home/admin/google_app_engine/google_appengine/google/appengine/tools
# 
/home/admin/google_app_engine/google_appengine/google/appengine/tools/__init__.pyc
 
matches 
/home/admin/google_app_engine/google_appengine/google/appengine/tools/__init__.py
import google.appengine.tools # precompiled from 
/home/admin/google_app_engine/google_appengine/google/appengine/tools/__init__.pyc
# 
/home/admin/google_app_engine/google_appengine/google/appengine/tools/os_compat.pyc
 
matches 
/home/admin/google_app_engine/google_appengine/google/appengine/tools/os_compat.py
import google.appengine.tools.os_compat # precompiled from 
/home/admin/google_app_engine/google_appengine/google/appengine/tools/os_compat.pyc
dlopen(/usr/local/lib/python2.5/lib-dynload/time.so, 2);
import time # dynamically loaded from 
/usr/local/lib/python2.5/lib-dynload/time.so
# /usr/local/lib/python2.5/getopt.pyc matches 
/usr/local/lib/python2.5/getopt.py
import getopt # precompiled from /usr/local/lib/python2.5/getopt.pyc
import logging # directory /usr/local/lib/python2.5/logging
# /usr/local/lib/python2.5/logging/__init__.pyc matches 
/usr/local/lib/python2.5/logging/__init__.py
import logging # precompiled from 
/usr/local/lib/python2.5/logging/__init__.pyc
# /usr/local/lib/python2.5/string.pyc matches 
/usr/local/lib/python2.5/string.py
import string # precompiled from /usr/local/lib/python2.5/string.pyc
# /usr/local/lib/python2.5/re.pyc matches /usr/local/lib/python2.5/re.py
import re # precompiled from /usr/local/lib/python2.5/re.pyc
# /usr/local/lib/python2.5/sre_compile.pyc matches 
/usr/local/lib/python2.5/sre_compile.py
import sre_compile # precompiled from 
/usr/local/lib/python2.5/sre_compile.pyc
import