Dear all..
i have some problem while import memcache, any one could tell me???
this is the error detail.
<type 'exceptions.ImportError'> Python 2.5.1: /usr/bin/python
Tue Nov 11 06:27:15 2008
A problem occurred in a Python script. Here is the sequence of
function calls leading up to the error, in the order they occurred.
/media/sda6/google_appengine/google/appengine/tools/dev_appserver.py
in
_HandleRequest(self=<google.appengine.tools.dev_appserver.DevAppServerRequestHandler
instance at 0x856304c>)
2243 infile,
2244 outfile,
2245 base_env_dict=env_dict)
2246 finally:
2247
self.module_manager.UpdateModuleFileModificationTimes()
base_env_dict undefined, env_dict = {'REMOTE_ADDR': '127.0.0.1',
'REQUEST_METHOD': 'GET', 'SERVER_NAME': 'localhost', 'SERVER_PORT':
'8080', 'SERVER_PROTOCOL': 'HTTP/1.0', 'SERVER_SOFTWARE': 'Development/
1.0'}
/media/sda6/google_appengine/google/appengine/tools/dev_appserver.py
in
Dispatch(self=<google.appengine.tools.dev_appserver.MatcherDispatcher
object at 0x855bd2c>, relative_url='/', path=None,
headers=<mimetools.Message instance at 0x8553ecc>,
infile=<cStringIO.StringI object at 0x8555368>,
outfile=<cStringIO.StringO object at 0x855f3c0>,
base_env_dict={'REMOTE_ADDR': '127.0.0.1', 'REQUEST_METHOD': 'GET',
'SERVER_NAME': 'localhost', 'SERVER_PORT': '8080', 'SERVER_PROTOCOL':
'HTTP/1.0', 'SERVER_SOFTWARE': 'Development/1.0'})
332 infile,
333 outfile,
334 base_env_dict=base_env_dict)
335
336 return
base_env_dict = {'REMOTE_ADDR': '127.0.0.1', 'REQUEST_METHOD': 'GET',
'SERVER_NAME': 'localhost', 'SERVER_PORT': '8080', 'SERVER_PROTOCOL':
'HTTP/1.0', 'SERVER_SOFTWARE': 'Development/1.0'}
/media/sda6/google_appengine/google/appengine/tools/dev_appserver.py
in Dispatch(self=<google.appengine.tools.dev_appserver.CGIDispatcher
object at 0x855f6ac>, relative_url='/', path='meeetask.py',
headers=<mimetools.Message instance at 0x8553ecc>,
infile=<cStringIO.StringI object at 0x8555368>,
outfile=<cStringIO.StringO object at 0x855f3c0>,
base_env_dict={'REMOTE_ADDR': '127.0.0.1', 'REQUEST_METHOD': 'GET',
'SERVER_NAME': 'localhost', 'SERVER_PORT': '8080', 'SERVER_PROTOCOL':
'HTTP/1.0', 'SERVER_SOFTWARE': 'Development/1.0'})
1741 infile,
1742 outfile,
1743 self._module_dict)
1744 handler.AddDebuggingConsole(relative_url, env, outfile)
1745 finally:
self = <google.appengine.tools.dev_appserver.CGIDispatcher object at
0x855f6ac>, self._module_dict = {'codecs': <module 'codecs' from '/usr/
lib/python2.5/codecs.pyc'>, 'encodings': <module 'encodings' from '/
usr/lib/python2.5/encodings/__init__.pyc'>, 'encodings.aliases':
<module 'encodings.aliases' from '/usr/lib/python2.5/encodings/
aliases.pyc'>, 'encodings.ascii': <module 'encodings.ascii' from '/usr/
lib/python2.5/encodings/ascii.pyc'>, 'encodings.utf_8': <module
'encodings.utf_8' from '/usr/lib/python2.5/encodings/utf_8.pyc'>,
'google': <module 'google' from '/media/sda6/google_appengine/google/
__init__.pyc'>, 'google.appengine': <module 'google.appengine' from '/
media/sda6/google_appengine/google/appengine/__init__.pyc'>,
'google.appengine.api': <module 'google.appengine.api' from '/media/
sda6...gle_appengine/google/appengine/api/__init__.pyc'>,
'google.appengine.api.api_base_pb': <module
'google.appengine.api.api_base_pb' from ..._appengine/google/appengine/
api/api_base_pb.pyc'>, 'google.appengine.api.apiproxy_stub_map':
<module 'google.appengine.api.apiproxy_stub_map'...gine/google/
appengine/api/apiproxy_stub_map.pyc'>, ...}
/media/sda6/google_appengine/google/appengine/tools/dev_appserver.py
in ExecuteCGI(root_path='/home/uhbun/.workspace/google-appengine/src/
meeeTask', handler_path='meeetask.py', cgi_path='/home/
uhbun/.workspace/google-appengine/src/meeeTask/meeetask.py',
env={'AUTH_DOMAIN': 'gmail.com', 'CONTENT_LENGTH': '', 'CONTENT_TYPE':
'application/x-www-form-urlencoded', 'GATEWAY_INTERFACE': 'CGI/1.1',
'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/
xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET':
'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING':
'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5',
'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE':
'sessionid=2f58ac632d7728a4f34ab53d937dc23e;
dev_appserver_login="[EMAIL PROTECTED]:False"', ...},
infile=<cStringIO.StringI object at 0x8555368>,
outfile=<cStringIO.StringO object at 0x855f3c0>,
module_dict={'codecs': <module 'codecs' from '/usr/lib/python2.5/
codecs.pyc'>, 'encodings': <module 'encodings' from '/usr/lib/
python2.5/encodings/__init__.pyc'>, 'encodings.aliases': <module
'encodings.aliases' from '/usr/lib/python2.5/encodings/aliases.pyc'>,
'encodings.ascii': <module 'encodings.ascii' from '/usr/lib/python2.5/
encodings/ascii.pyc'>, 'encodings.utf_8': <module 'encodings.utf_8'
from '/usr/lib/python2.5/encodings/utf_8.pyc'>, 'google': <module
'google' from '/media/sda6/google_appengine/google/__init__.pyc'>,
'google.appengine': <module 'google.appengine' from '/media/sda6/
google_appengine/google/appengine/__init__.pyc'>,
'google.appengine.api': <module 'google.appengine.api' from '/media/
sda6...gle_appengine/google/appengine/api/__init__.pyc'>,
'google.appengine.api.api_base_pb': <module
'google.appengine.api.api_base_pb' from ..._appengine/google/appengine/
api/api_base_pb.pyc'>, 'google.appengine.api.apiproxy_stub_map':
<module 'google.appengine.api.apiproxy_stub_map'...gine/google/
appengine/api/apiproxy_stub_map.pyc'>, ...}, exec_script=<function
ExecuteOrImportScript at 0x855480c>)
1652 logging.debug('Executing CGI with env:\n%s',
pprint.pformat(env))
1653 try:
1654 reset_modules = exec_script(handler_path, cgi_path, hook)
1655 except SystemExit, e:
1656 logging.debug('CGI exited with status: %s', e)
reset_modules = True, exec_script = <function ExecuteOrImportScript at
0x855480c>, handler_path = 'meeetask.py', cgi_path = '/home/
uhbun/.workspace/google-appengine/src/meeeTask/meeetask.py', hook =
<google.appengine.tools.dev_appserver.HardenedModulesHook object at
0x85f19cc>
/media/sda6/google_appengine/google/appengine/tools/dev_appserver.py
in ExecuteOrImportScript(handler_path='meeetask.py', cgi_path='/home/
uhbun/.workspace/google-appengine/src/meeeTask/meeetask.py',
import_hook=<google.appengine.tools.dev_appserver.HardenedModulesHook
object at 0x85f19cc>)
1553 try:
1554 if module_code:
1555 exec module_code in script_module.__dict__
1556 else:
1557 script_module.main()
module_code = <code object <module> at 0x84273c8, file "/home/...ogle-
appengine/src/meeeTask/meeetask.py", line 1>, script_module = <module
'meeetask' from '/home/uhbun/.workspace/google-appengine/src/meeeTask/
meeetask.py'>, script_module.__dict__ = {'__builtins__':
{'ArithmeticError': <type 'exceptions.ArithmeticError'>,
'AssertionError': <type 'exceptions.AssertionError'>,
'AttributeError': <type 'exceptions.AttributeError'>, 'BaseException':
<type 'exceptions.BaseException'>, 'DeprecationWarning': <type
'exceptions.DeprecationWarning'>, 'EOFError': <type
'exceptions.EOFError'>, 'Ellipsis': Ellipsis, 'EnvironmentError':
<type 'exceptions.EnvironmentError'>, 'Exception': <type
'exceptions.Exception'>, 'False': False, ...}, '__doc__': None,
'__file__': '/home/uhbun/.workspace/google-appengine/src/meeeTask/
meeetask.py', '__loader__':
<google.appengine.tools.dev_appserver.HardenedModulesHook object at
0x85f19cc>, '__name__': 'meeetask'}
/home/uhbun/.workspace/google-appengine/src/meeeTask/meeetask.py in
()
2 from google.appengine.api import users
3
4 from google.appengine.ext import webapp
5 from google.appengine.ext.webapp.util import run_wsgi_app
6 from google.appengine.ext import db
google undefined, memcache undefined
<type 'exceptions.ImportError'>: cannot import name memcache
args = ('cannot import name memcache',)
message = 'cannot import name memcache'
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---