Dobry den,
mam porad stejny problem. Uz jsem byl urgovany abych si router registroval, ale stale se nedari. Podarilo se mi nastavit v /etc/resolv.conf na prvni misto googli 8.8.8.8, test pripojeni je pak OK
Typ testu Stav
Konektivita IPv4 OK
Dostupnost IPv4 brány OK
Konektivita IPv6 Chyba
Dostupnost IPv6 brány Chyba
DNS OK
DNSSEC OK
Pro klienty nastavim taky 8.8.8.8 - zatim vse OK, ale problem je s registraci - neslo vygenerovat kod a navic ted kdyz jdu na O routeru, tak to vyhodi:
Při zpracování požadavku došlo k chybě
Omlouváme se, ale během zpracování Vašeho požadavku došlo k nečekané chybě. Detailní informace naleznete níže.
Pokud nám chcete pomoci s odstraněním chyby, stáhněte následující protokol o chybě a zašlete nám jej na adresu foris.podpora@turris.cz (protokol obsahuje pouze kopii informací uvedených na této stránce).
AttributeError("'NoneType' object has no attribute 'decimal'",)
Stack trace
Traceback (most recent call last):
File "/www2/utils/reporting_middleware.py", line 71, in __call__
return self.app(environ, start_response)
File "/usr/lib/python2.7/site-packages/bottle_i18n.py", line 68, in __call__
return self.app(e,h)
File "/usr/lib/python2.7/site-packages/bottle.py", line 874, in __call__
return self.wsgi(environ, start_response)
File "/usr/lib/python2.7/site-packages/bottle.py", line 849, in wsgi
out = self._cast(self._handle(environ))
File "/usr/lib/python2.7/site-packages/bottle.py", line 764, in _handle
return route.call(**args)
File "/usr/lib/python2.7/site-packages/bottle.py", line 569, in mountpoint_wrapper
body = app(request.environ, start_response)
File "/usr/lib/python2.7/site-packages/bottle.py", line 874, in __call__
return self.wsgi(environ, start_response)
File "/usr/lib/python2.7/site-packages/bottle.py", line 849, in wsgi
out = self._cast(self._handle(environ))
File "/usr/lib/python2.7/site-packages/bottle.py", line 764, in _handle
return route.call(**args)
File "/usr/lib/python2.7/site-packages/bottle.py", line 1625, in wrapper
rv = callback(*a, **ka)
File "/usr/lib/python2.7/site-packages/bottle.py", line 1575, in wrapper
rv = callback(*a, **ka)
File "/www2/utils/__init__.py", line 49, in wrapper
return func(*args, **kwargs)
File "/www2/config.py", line 258, in config_page_get
active_config_page_key=page_name)
File "/www2/config.py", line 217, in render
return self.default_template(stats=stats.data, serial=serial, **kwargs)
File "/www2/config.py", line 67, in default_template
return template(self.template, **kwargs)
File "/usr/lib/python2.7/site-packages/bottle.py", line 3117, in template
return TEMPLATES[tplid].render(kwargs)
File "/usr/lib/python2.7/site-packages/bottle.py", line 3090, in render
self.execute(stdout, kwargs)
File "/usr/lib/python2.7/site-packages/bottle.py", line 3078, in execute
eval(self.co, env)
File "/www2/templates/config/about.tpl", line 30, in <module>
<td>{{ serial.decimal }}</td>
AttributeError: 'NoneType' object has no attribute 'decimal'
Environment
{'DOCUMENT_ROOT': '/www2/',
'GATEWAY_INTERFACE': 'CGI/1.1',
'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8',
'HTTP_ACCEPT_ENCODING': 'gzip,deflate',
'HTTP_ACCEPT_LANGUAGE': 'cs-CZ,cs;q=0.8,sk;q=0.6,en;q=0.4',
'HTTP_CONNECTION': 'keep-alive',
'HTTP_COOKIE': 'beaker.session.id=c3022baf465943e4b6ebf0ba55051d64',
'HTTP_HOST': '192.168.1.1',
'HTTP_REFERER': '
http://192.168.1.1/config/wifi/',
'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.153 Safari/537.36',
'PATH_INFO': '/config/about/',
'PATH_TRANSLATED': '/www2//config/about/',
'QUERY_STRING': '',
'REDIRECT_STATUS': '200',
'REMOTE_ADDR': '192.168.1.145',
'REMOTE_PORT': '49270',
'REQUEST_METHOD': 'GET',
'REQUEST_URI': '/config/about/',
'SCRIPT_FILENAME': '/www2/',
'SCRIPT_NAME': '/',
'SERVER_ADDR': '192.168.1.1',
'SERVER_NAME': '192.168.1.1',
'SERVER_PORT': '80',
'SERVER_PROTOCOL': 'HTTP/1.1',
'SERVER_SOFTWARE': 'lighttpd',
'beaker.get_session': <bound method SessionMiddleware._get_session of <beaker.middleware.SessionMiddleware object at 0x485e5670>>,
'beaker.session': {'csrf_token': '5D7q31GEB6kO3DpgCL3pBbqDJAyReFx8', '_messages': [], '_accessed_time': 1403205699.0987319, 'allowed_step_max': '8', '_creation_time': 1403203823.3160838, 'user_authenticated': True},
'bottle.app': <bottle.Bottle object at 0x484279f0>,
'bottle.request': <LocalRequest: GET
http://192.168.1.1/config/about/>,
'bottle.request.urlparts': SplitResult(scheme='http', netloc='192.168.1.1', path='/config/about/', query='', fragment=''),
'bottle.route': <GET '/<page_name:re:.+>/' <function config_page_get at 0x485cf6b0>>,
'route.handle': <GET '/<page_name:re:.+>/' <function config_page_get at 0x485cf6b0>>,
'route.url_args': {'page_name': 'about'},
'wsgi.errors': <flup.server.fcgi_base.OutputStream object at 0x4a1c7130>,
'wsgi.input': <flup.server.fcgi_base.InputStream object at 0x4a1c7190>,
'wsgi.multiprocess': False,
'wsgi.multithread': True,
'wsgi.run_once': False,
'wsgi.url_scheme': 'http',
'wsgi.version': (1, 0)}