Hi,
so, fresh VM with ubuntu 16.04.1, updated, and followed the script in GitHub - frappe/bench: CLI to manage Multi-tenant deployments for Frappe apps, so it should be the latest version.
No error at all, everything fine and smooth but when I try to make the first login with administrator user and the password i provided, it gets stuck on veryfying.
Can anyone help please?
Attaching the Chrome Developer thing (ip masked for privacy):
/#login:1 Autofocus processing was blocked because a document's URL has a fragment '#login'.
jquery.min.js:4 POST http://XXX.XXX.XXX.XXX/ 500 (INTERNAL SERVER ERROR)
send @ jquery.min.js:4
ajax @ jquery.min.js:4
call @ website.js:63
login.call @ (index):540
(anonymous) @ (index):451
dispatch @ jquery.min.js:3
r.handle @ jquery.min.js:3
website.js:161 Traceback (most recent call last):
File "/home/frappe/frappe-bench/apps/frappe/frappe/app.py", line 54, in application
init_request(request)
File "/home/frappe/frappe-bench/apps/frappe/frappe/app.py", line 126, in init_request
frappe.local.http_request = frappe.auth.HTTPRequest()
File "/home/frappe/frappe-bench/apps/frappe/frappe/auth.py", line 51, in __init__
frappe.local.login_manager = LoginManager()
File "/home/frappe/frappe-bench/apps/frappe/frappe/auth.py", line 105, in __init__
if self.login()==False: return
File "/home/frappe/frappe-bench/apps/frappe/frappe/auth.py", line 137, in login
self.post_login()
File "/home/frappe/frappe-bench/apps/frappe/frappe/auth.py", line 144, in post_login
self.make_session()
File "/home/frappe/frappe-bench/apps/frappe/frappe/auth.py", line 188, in make_session
full_name=self.full_name, user_type=self.user_type)
File "/home/frappe/frappe-bench/apps/frappe/frappe/sessions.py", line 198, in __init__
self.start()
File "/home/frappe/frappe-bench/apps/frappe/frappe/sessions.py", line 219, in start
"session_country": get_geo_ip_country(frappe.local.request_ip) if frappe.local.request_ip else None,
File "/home/frappe/frappe-bench/apps/frappe/frappe/sessions.py", line 419, in get_geo_ip_country
match = get_geo_from_ip(ip_addr)
File "/home/frappe/frappe-bench/apps/frappe/frappe/sessions.py", line 405, in get_geo_from_ip
from geolite2 import geolite2
File "/home/frappe/frappe-bench/env/lib/python3.5/site-packages/geolite2.py", line 1, in <module>
import maxminddb
File "/home/frappe/frappe-bench/env/lib/python3.5/site-packages/maxminddb/__init__.py", line 5, in <module>
import maxminddb.reader
File "/home/frappe/frappe-bench/env/lib/python3.5/site-packages/maxminddb/reader.py", line 36
_buffer: Union[bytes, FileBuffer, "mmap.mmap"]
^
SyntaxError: invalid syntax
process_response @ website.js:161
(anonymous) @ website.js:96
i @ jquery.min.js:2
fireWith @ jquery.min.js:2
z @ jquery.min.js:4
(anonymous) @ jquery.min.js:4
load (async)
send @ jquery.min.js:4
ajax @ jquery.min.js:4
call @ website.js:63
login.call @ (index):540
(anonymous) @ (index):451
dispatch @ jquery.min.js:3
r.handle @ jquery.min.js:3