Major Python upgrade

17 views
Skip to first unread message

Lars Bjørndal

unread,
May 18, 2023, 8:03:56 AM5/18/23
to nikola-discuss
After upgrading Python from 3.10 to 3.11, I got error from `nikola build`

ERROR: Task 'render_posts:cache/pages/index.html' saving success:
Dependent file
'/usr/lib/python3.10/site-packages/nikola/data/themes/base/templates/post_list_directive.tmpl'
does not exist

The current Nikola version is Nikola v8.2.3, running on Fedora 37.

What's the best way to solve the problem?

Thanks, Lars

Roberto Alsina

unread,
May 18, 2023, 9:17:34 AM5/18/23
to nikola-...@googlegroups.com
You probably need to rebuild Nikola, since it's still built against 3.10

--
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 nikola-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/nikola-discuss/m3cz2xalsp.fsf%40dalen.lamasti.net.

Lars Bjørndal

unread,
May 18, 2023, 1:24:37 PM5/18/23
to nikola-...@googlegroups.com
On Thu, May 18, 2023 at 10:16:42AM -0300, Roberto Alsina wrote:
> You probably need to rebuild Nikola, since it's still built against 3.10

I ended up deleting the output folder + cache and .doit.db.

Lars

> On Thu, May 18, 2023 at 9:03 AM Lars Bjørndal <[1]la...@lamasti.net> wrote:
>
> After upgrading Python from 3.10 to 3.11, I got error from `nikola build`
>
> ERROR: Task 'render_posts:cache/pages/index.html' saving success:
> Dependent file
> '/usr/lib/python3.10/site-packages/nikola/data/themes/base/templates/
> post_list_directive.tmpl'
> does not exist
>
> The current Nikola version is Nikola v8.2.3, running on Fedora 37.
>
> What's the best way to solve the problem?
>
> Thanks, Lars
>
> --
> 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 [2]nikola-discus...@googlegroups.com.
> To view this discussion on the web visit [3]https://groups.google.com/d/
> msgid/nikola-discuss/m3cz2xalsp.fsf%40dalen.lamasti.net.
>
> --
> 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 [4]nikola-discus...@googlegroups.com.
> To view this discussion on the web visit [5]https://groups.google.com/d/msgid/
> nikola-discuss/
> CALXDAfq%3DmSw4uEXEU4v9i-anWVrPFwCA6eYLjoWRzi%3Dqg1_iDQ%40mail.gmail.com.
>
> References:
>
> [1] mailto:la...@lamasti.net
> [2] mailto:nikola-discuss%2Bunsu...@googlegroups.com
> [3] https://groups.google.com/d/msgid/nikola-discuss/m3cz2xa...@dalen.lamasti.net
> [4] mailto:nikola-discus...@googlegroups.com
> [5] https://groups.google.com/d/msgid/nikola-discuss/CALXDAfq=mSw4uEXEU4v9i-anWVrPFwCA6eYLjoWRzi=qg1...@mail.gmail.com?utm_medium=email&utm_source=footer
Reply all
Reply to author
Forward
0 new messages