Forums

Error in File "/bin/user_wsgi_wrapper.py", line 140, in import_error_application

Traceback (most recent call last):
2015-10-03 19:44:56,254 :  File "/bin/user_wsgi_wrapper.py", line 134, in __call__
2015-10-03 19:44:56,254 :    self.error_log_file.logger.exception("Error running WSGI application")
2015-10-03 19:44:56,254 :  File "/usr/lib/python2.7/logging/__init__.py", line 1185, in exception
2015-10-03 19:44:56,254 :    self.error(msg, *args, **kwargs)
2015-10-03 19:44:56,254 :  File "/usr/lib/python2.7/logging/__init__.py", line 1178, in error
2015-10-03 19:44:56,255 :    self._log(ERROR, msg, args, **kwargs)
2015-10-03 19:44:56,255 :  File "/usr/lib/python2.7/logging/__init__.py", line 1270, in _log
2015-10-03 19:44:56,255 :    record = self.makeRecord(self.name, level, fn, lno, msg, args, exc_info, func, extra)
2015-10-03 19:44:56,255 :  File "/usr/lib/python2.7/logging/__init__.py", line 1244, in makeRecord
2015-10-03 19:44:56,255 :    rv = LogRecord(name, level, fn, lno, msg, args, exc_info, func)
2015-10-03 19:44:56,255 :  File "/usr/lib/python2.7/logging/__init__.py", line 284, in __init__
2015-10-03 19:44:56,256 :    self.threadName = threading.current_thread().name
2015-10-03 19:44:56,256 :  File "/usr/lib/python2.7/threading.py", line 1160, in currentThread
2015-10-03 19:44:56,256 :    return _active[_get_ident()]
2015-10-03 19:44:56,256 :  File "/bin/user_wsgi_wrapper.py", line 126, in __call__
2015-10-03 19:44:56,256 :    app_iterator = self.app(environ, start_response)
2015-10-03 19:44:56,256 :  File "/bin/user_wsgi_wrapper.py", line 140, in import_error_application
2015-10-03 19:44:56,256 :    raise e
2015-10-03 19:44:56,256 :AttributeError: 'NoneType' object has no attribute 'find'

I am getting this error on visiting my app.Please help asap.I saw my code their is no problem in my code that runs. Please help ASAP

[edit by admin: formatting]

UPDATE: Solved this error but I again encountered new error. That error is in using GOOGLEV3 for reverse geocoding.I am getting error as Didn't find exactly one placemark! (Found 9) Inspite of using

exactly_one = True

in code.Please help.Thanks in advance

Could you give a bit more context? What's the code that you're trying to run? Which libraries are you using? What's the exact error message, including a full stack trace?

Sorry for delay to update. But I have solved that problem. The problem was I was using a older version of geopy I updated it and its working. Thanks for your support.

glad you figured it out! :)

I have problem paying for the account. Where should I contact. I am from INDIA

Drop us an email to support@pythonanywhere.com