brian-zhao / google-app-engine-django

Automatically exported from code.google.com/p/google-app-engine-django
Apache License 2.0
0 stars 0 forks source link

ImportError: No module named fancy_urllib #192

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Download latest svn version
2. ./manage.py runserver

I get this error:-

http://sprunge.us/KYJd

PYTHONPATH variable value :-

shadyabhi@archlinux ~/github/myapp $ echo $PYTHONPATH 
/opt/google-appengine
shadyabhi@archlinux ~/github/myapp $

What can I do to solve the issue?

Original issue reported on code.google.com by abhijeet...@gmail.com on 13 Apr 2011 at 7:08

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
I just figured out, Its not the case for fancy_urllib; I am not able to import 
any of the modules listed in 

EXTRA_PATHS = [ 
  DIR_PATH,
  os.path.join(DIR_PATH, 'lib', 'antlr3'),
  os.path.join(DIR_PATH, 'lib', 'django_0_96'),
  os.path.join(DIR_PATH, 'lib', 'fancy_urllib'),
  os.path.join(DIR_PATH, 'lib', 'ipaddr'),
  os.path.join(DIR_PATH, 'lib', 'webob'),
  os.path.join(DIR_PATH, 'lib', 'yaml', 'lib'),
  os.path.join(DIR_PATH, 'lib', 'simplejson'),
  os.path.join(DIR_PATH, 'lib', 'graphy'),
]

And I have checked, I really have a install at /opt/google-appengine.

All this is driving me crazy. 

Python 2.7.1 (r271:86832, Feb 21 2011, 01:28:26) 
[GCC 4.5.2 20110127 (prerelease)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> print sys.path
['', '/home/shadyabhi/github/myapp', '/opt/google-appengine', 
'/usr/lib/python27.zip', '/usr/lib/python2.7', 
'/usr/lib/python2.7/plat-linux2', '/usr/lib/python2.7/lib-tk', 
'/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', 
'/usr/lib/python2.7/site-packages', '/usr/lib/python2.7/site-packages/PIL', 
'/usr/lib/python2.7/site-packages/gst-0.10', 
'/usr/lib/python2.7/site-packages/gtk-2.0', 
'/usr/lib/python2.7/site-packages/setuptools-0.6c11.egg-info', 
'/usr/lib/python2.7/site-packages/wx-2.8-gtk2-unicode']
>>> 

Evenm here, I can see "/opt/google-appengine"

Original comment by abhijeet...@gmail.com on 14 Apr 2011 at 8:35

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
I was able to import antlr3 earlier because I had that installed on my machine, 
So, actually, the one packaged with gae was not getting imported.

I am trying to run this (a basic Hello World program) 
https://github.com/shadyabhi/learngae

Original comment by abhijeet...@gmail.com on 14 Apr 2011 at 9:03

GoogleCodeExporter commented 8 years ago
Cannot reproduce.

Original comment by m...@google.com on 20 Aug 2011 at 4:53