Hi all,
I'm new to nikola and today when I tried my first site with `nikola init
--demo my-1st-site` then cd to my-1st-site folder and `nikola build`, it
throw below error,
Tried with Google but nothing help,
Can you please help me fix it?
λ nikola build
Scanning posts........done!
. render_taxonomies:output\archive.html
. render_taxonomies:output\categories\index.html
. render_sources:output\pages\path-handlers.rst
. render_sources:output\pages\dr-nikolas-vendetta.rst
. render_sources:output\pages\creating-a-theme.rst
. render_sources:output\pages\charts.rst
. render_sources:output\pages\social_buttons.rst
. render_sources:output\pages\listings-demo.rst
. render_sources:output\pages\about-nikola.rst
. render_sources:output\pages\bootstrap-demo.rst
. render_sources:output\pages\extending.rst
. render_sources:output\pages\internals.rst
. render_sources:output\pages\handbook.rst
. render_sources:output\pages\quickref.rst
. render_sources:output\pages\quickstart.rst
. render_sources:output\posts\welcome-to-nikola.rst
. render_sources:output\pages\theming.rst
. scale_images:output\images\frontispiece.jpg
. scale_images:output\images\illus_001.jpg
. render_posts:timeline_changes
. render_posts:cache\pages\path_handlers.html
. render_posts:cache\pages\dr-nikolas-vendetta.html
[2021-04-03 09:43:36] WARNING: Nikola: In order to use the typogrify
filter, you must install the "typogrify" Python package.
. render_posts:cache\pages\creating-a-theme.html
. render_posts:cache\pages\charts.html
[2021-04-03 09:43:37] WARNING: Nikola: In order to use the Chart directive,
you must install the "pygal" Python package.
. render_posts:cache\pages\social_buttons.html
. render_posts:cache\pages\listings-demo.html
. render_posts:cache\pages\1.html
. render_posts:cache\pages\bootstrap-demo.html
. render_posts:cache\pages\extending.html
. render_posts:cache\pages\internals.html
. render_posts:cache\pages\manual.html
TaskError - taskid:render_posts:cache\pages\manual.html
PythonAction Error
Traceback (most recent call last):
File
"c:\users\longnx\appdata\local\programs\python\python39\lib\site-packages\doit\action.py",
line 437, in execute
returned_value = self.py_callable(*self.args, **kwargs)
File
"c:\users\longnx\appdata\local\programs\python\python39\lib\site-packages\nikola\post.py",
line 728, in compile
self.compile_html(
File
"c:\users\longnx\appdata\local\programs\python\python39\lib\site-packages\nikola\plugins\compile\rest\__init__.py",
line 151, in compile
output, error_level, deps, shortcode_deps = self.compile_string(data,
source, is_two_file, post, lang)
File
"c:\users\longnx\appdata\local\programs\python\python39\lib\site-packages\nikola\plugins\compile\rest\__init__.py",
line 134, in compile_string
output, error_level, deps, _ = rst2html(
File
"c:\users\longnx\appdata\local\programs\python\python39\lib\site-packages\nikola\plugins\compile\rest\__init__.py",
line 382, in rst2html
pub.publish(enable_exit_status=enable_exit_status)
File
"c:\users\longnx\appdata\local\programs\python\python39\lib\site-packages\docutils\core.py",
line 217, in publish
self.document = self.reader.read(self.source, self.parser,
File
"c:\users\longnx\appdata\local\programs\python\python39\lib\site-packages\docutils\readers\__init__.py",
line 71, in read
self.parse()
File
"c:\users\longnx\appdata\local\programs\python\python39\lib\site-packages\docutils\readers\__init__.py",
line 77, in parse
self.parser.parse(self.input, document)
File
"c:\users\longnx\appdata\local\programs\python\python39\lib\site-packages\docutils\parsers\rst\__init__.py",
line 191, in parse
self.statemachine.run(inputlines, document, inliner=self.inliner)
File
"c:\users\longnx\appdata\local\programs\python\python39\lib\site-packages\docutils\parsers\rst\states.py",
line 170, in run
results = StateMachineWS.run(self, input_lines, input_offset,
File
"c:\users\longnx\appdata\local\programs\python\python39\lib\site-packages\docutils\statemachine.py",
line 241, in run
context, next_state, result = self.check_line(
File
"c:\users\longnx\appdata\local\programs\python\python39\lib\site-packages\docutils\statemachine.py",
line 459, in check_line
return method(match, context, next_state)
File
"c:\users\longnx\appdata\local\programs\python\python39\lib\site-packages\docutils\parsers\rst\states.py",
line 2769, in underline
self.section(title, source, style, lineno - 1, messages)
File
"c:\users\longnx\appdata\local\programs\python\python39\lib\site-packages\docutils\parsers\rst\states.py",
line 327, in section
self.new_subsection(title, lineno, messages)
File
"c:\users\longnx\appdata\local\programs\python\python39\lib\site-packages\docutils\parsers\rst\states.py",
line 393, in new_subsection
newabsoffset = self.nested_parse(
File
"c:\users\longnx\appdata\local\programs\python\python39\lib\site-packages\docutils\parsers\rst\states.py",
line 281, in nested_parse
state_machine.run(block, input_offset, memo=self.memo,
File
"c:\users\longnx\appdata\local\programs\python\python39\lib\site-packages\docutils\parsers\rst\states.py",
line 196, in run
results = StateMachineWS.run(self, input_lines, input_offset)
File
"c:\users\longnx\appdata\local\programs\python\python39\lib\site-packages\docutils\statemachine.py",
line 241, in run
context, next_state, result = self.check_line(
File
"c:\users\longnx\appdata\local\programs\python\python39\lib\site-packages\docutils\statemachine.py",
line 459, in check_line
return method(match, context, next_state)
File
"c:\users\longnx\appdata\local\programs\python\python39\lib\site-packages\docutils\parsers\rst\states.py",
line 2769, in underline
self.section(title, source, style, lineno - 1, messages)
File
"c:\users\longnx\appdata\local\programs\python\python39\lib\site-packages\docutils\parsers\rst\states.py",
line 327, in section
self.new_subsection(title, lineno, messages)
File
"c:\users\longnx\appdata\local\programs\python\python39\lib\site-packages\docutils\parsers\rst\states.py",
line 393, in new_subsection
newabsoffset = self.nested_parse(
File
"c:\users\longnx\appdata\local\programs\python\python39\lib\site-packages\docutils\parsers\rst\states.py",
line 281, in nested_parse
state_machine.run(block, input_offset, memo=self.memo,
File
"c:\users\longnx\appdata\local\programs\python\python39\lib\site-packages\docutils\parsers\rst\states.py",
line 196, in run
results = StateMachineWS.run(self, input_lines, input_offset)
File
"c:\users\longnx\appdata\local\programs\python\python39\lib\site-packages\docutils\statemachine.py",
line 241, in run
context, next_state, result = self.check_line(
File
"c:\users\longnx\appdata\local\programs\python\python39\lib\site-packages\docutils\statemachine.py",
line 459, in check_line
return method(match, context, next_state)
File
"c:\users\longnx\appdata\local\programs\python\python39\lib\site-packages\docutils\parsers\rst\states.py",
line 2342, in explicit_markup
nodelist, blank_finish = self.explicit_construct(match)
File
"c:\users\longnx\appdata\local\programs\python\python39\lib\site-packages\docutils\parsers\rst\states.py",
line 2354, in explicit_construct
return method(self, expmatch)
File
"c:\users\longnx\appdata\local\programs\python\python39\lib\site-packages\docutils\parsers\rst\states.py",
line 2096, in directive
return self.run_directive(
File
"c:\users\longnx\appdata\local\programs\python\python39\lib\site-packages\docutils\parsers\rst\states.py",
line 2146, in run_directive
result = directive_instance.run()
File
"c:\users\longnx\appdata\local\programs\python\python39\lib\site-packages\nikola\plugins\compile\rest\gist.py",
line 71, in run
rawGist = (self.get_raw_gist(gistID))
File
"c:\users\longnx\appdata\local\programs\python\python39\lib\site-packages\nikola\plugins\compile\rest\gist.py",
line 52, in get_raw_gist
return requests.get(url).text
File
"c:\users\longnx\appdata\local\programs\python\python39\lib\site-packages\requests\api.py",
line 76, in get
return request('get', url, params=params, **kwargs)
File
"c:\users\longnx\appdata\local\programs\python\python39\lib\site-packages\requests\api.py",
line 61, in request
return session.request(method=method, url=url, **kwargs)
File
"c:\users\longnx\appdata\local\programs\python\python39\lib\site-packages\requests\sessions.py",
line 542, in request
resp = self.send(prep, **send_kwargs)
File
"c:\users\longnx\appdata\local\programs\python\python39\lib\site-packages\requests\sessions.py",
line 655, in send
r = adapter.send(request, **kwargs)
File
"c:\users\longnx\appdata\local\programs\python\python39\lib\site-packages\requests\adapters.py",
line 439, in send
resp = conn.urlopen(
File
"c:\users\longnx\appdata\local\programs\python\python39\lib\site-packages\urllib3\connectionpool.py",
line 696, in urlopen
self._prepare_proxy(conn)
File
"c:\users\longnx\appdata\local\programs\python\python39\lib\site-packages\urllib3\connectionpool.py",
line 964, in _prepare_proxy
conn.connect()
File
"c:\users\longnx\appdata\local\programs\python\python39\lib\site-packages\urllib3\connection.py",
line 359, in connect
conn = self._connect_tls_proxy(hostname, conn)
File
"c:\users\longnx\appdata\local\programs\python\python39\lib\site-packages\urllib3\connection.py",
line 500, in _connect_tls_proxy
return ssl_wrap_socket(
File
"c:\users\longnx\appdata\local\programs\python\python39\lib\site-packages\urllib3\util\ssl_.py",
line 432, in ssl_wrap_socket
ssl_sock = _ssl_wrap_socket_impl(sock, context, tls_in_tls)
File
"c:\users\longnx\appdata\local\programs\python\python39\lib\site-packages\urllib3\util\ssl_.py",
line 474, in _ssl_wrap_socket_impl
return ssl_context.wrap_socket(sock)
File "c:\users\longnx\appdata\local\programs\python\python39\lib\ssl.py",
line 500, in wrap_socket
return self.sslsocket_class._create(
File "c:\users\longnx\appdata\local\programs\python\python39\lib\ssl.py",
line 997, in _create
raise ValueError("check_hostname requires server_hostname")
ValueError: check_hostname requires server_hostname
########################################
render_posts:cache\pages\manual.html <stdout>:
--
You received this message because you are subscribed to the Google Groups
"nikola-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/nikola-discuss/dbb45e61-840a-4612-ae10-331cf95665efn%40googlegroups.com.