Nikola 7.7.7 - error on import_wordpress plugin

23 views
Skip to first unread message

Andy Cowling

unread,
Mar 29, 2016, 9:43:45 AM3/29/16
to nikola-discuss
Currently a Jekyll user but playing with Nikola 7.7.7 after I noted the wonderful Lanyon theme had been ported. Nikola has certainly come a _long_ way since I last looked a couple of years ago. Kudos to all involved.

I am particularly interested in the Emacs/org-mode integration and the incremental build.

Everything works fine but I get an irritating error from the import_wordpress plugin although it doesn't stop me building a Nikola site.

Nikola 7.7.7 installed in a virtualenv with Python 3.3.2 on Lenovo T420 running RedHat Linux 7 (Linux 3.10.0-327.10.1.el7.x86_64 #1 SMP Tue Feb 16 03:54:13 PST 2016 x86_64 x86_64 x86_64 GNU/Linux)

Didn't log a GitHib issue as I'm sure this is 'UIdiotic user error' but thought I'd let you know.

Google showed me some similar-ish Yapsy bug reports concerning Unicode but setting LC_ALL and LANG to en_US.UTF-8 didn't help.

The offending plugin exists and is readable although ironically I have no need for it :-)

$ ls -l <snip>/nikola-777/lib/python3.3/site-packages/nikola/plugins/command/import_wordpress.py
-rw-rw-r--. 1 andy andy 49724 Mar 29 10:38 /home/andy/Snakepit/nikola-777/lib/python3.3/site-packages/nikola/plugins/command/import_wordpress.py

Thanks for any help

Debug output with NIKOLA_DEBUG=1

(nikola-777)[<user>@<pc> nikola-blog]$ nikola --version
[2016-03-29T13:27:38Z] DEBUG: yapsy: PluginFileLocator walks (recursively) into directory: /home/andy/Snakepit/nikola-777/lib/python3.3/site-packages/nikola/plugins
[2016-03-29T13:27:38Z] DEBUG: yapsy: __init__.py is not a valid plugin for strategy info_ext
[2016-03-29T13:27:38Z] DEBUG: yapsy: basic_import.py is not a valid plugin for strategy info_ext
[2016-03-29T13:27:38Z] DEBUG: yapsy: __init__.py is not a valid plugin for strategy info_ext
[2016-03-29T13:27:38Z] DEBUG: yapsy: bootswatch_theme.py is not a valid plugin for strategy info_ext
[2016-03-29T13:27:38Z] DEBUG: yapsy: check.py is not a valid plugin for strategy info_ext
[2016-03-29T13:27:38Z] DEBUG: yapsy: console.py is not a valid plugin for strategy info_ext
[2016-03-29T13:27:38Z] DEBUG: yapsy: deploy.py is not a valid plugin for strategy info_ext
[2016-03-29T13:27:38Z] DEBUG: yapsy: github_deploy.py is not a valid plugin for strategy info_ext
[2016-03-29T13:27:38Z] DEBUG: yapsy: import_wordpress.py is not a valid plugin for strategy info_ext
[2016-03-29T13:27:38Z] DEBUG: yapsy: init.py is not a valid plugin for strategy info_ext
[2016-03-29T13:27:38Z] DEBUG: yapsy: install_theme.py is not a valid plugin for strategy info_ext
[2016-03-29T13:27:38Z] DEBUG: yapsy: new_page.py is not a valid plugin for strategy info_ext
[2016-03-29T13:27:38Z] DEBUG: yapsy: new_post.py is not a valid plugin for strategy info_ext
[2016-03-29T13:27:38Z] DEBUG: yapsy: orphans.py is not a valid plugin for strategy info_ext
[2016-03-29T13:27:38Z] DEBUG: yapsy: plugin.py is not a valid plugin for strategy info_ext
[2016-03-29T13:27:38Z] DEBUG: yapsy: serve.py is not a valid plugin for strategy info_ext
[2016-03-29T13:27:38Z] DEBUG: yapsy: status.py is not a valid plugin for strategy info_ext
[2016-03-29T13:27:38Z] DEBUG: yapsy: theme.py is not a valid plugin for strategy info_ext
[2016-03-29T13:27:38Z] DEBUG: yapsy: version.py is not a valid plugin for strategy info_ext
[2016-03-29T13:27:38Z] DEBUG: yapsy: PluginFileLocator found a candidate:
    /home/andy/Snakepit/nikola-777/lib/python3.3/site-packages/nikola/plugins/command/auto.plugin
[2016-03-29T13:27:38Z] DEBUG: yapsy: PluginFileLocator found a candidate:
    /home/andy/Snakepit/nikola-777/lib/python3.3/site-packages/nikola/plugins/command/bootswatch_theme.plugin
[2016-03-29T13:27:38Z] DEBUG: yapsy: PluginFileLocator found a candidate:
    /home/andy/Snakepit/nikola-777/lib/python3.3/site-packages/nikola/plugins/command/check.plugin
[2016-03-29T13:27:39Z] DEBUG: yapsy: PluginFileLocator found a candidate:
    /home/andy/Snakepit/nikola-777/lib/python3.3/site-packages/nikola/plugins/command/console.plugin
[2016-03-29T13:27:39Z] DEBUG: yapsy: PluginFileLocator found a candidate:
    /home/andy/Snakepit/nikola-777/lib/python3.3/site-packages/nikola/plugins/command/deploy.plugin
[2016-03-29T13:27:39Z] DEBUG: yapsy: PluginFileLocator found a candidate:
    /home/andy/Snakepit/nikola-777/lib/python3.3/site-packages/nikola/plugins/command/github_deploy.plugin
[2016-03-29T13:27:39Z] DEBUG: yapsy: PluginFileLocator found a candidate:
    /home/andy/Snakepit/nikola-777/lib/python3.3/site-packages/nikola/plugins/command/import_wordpress.plugin
[2016-03-29T13:27:39Z] DEBUG: yapsy: PluginFileLocator found a candidate:
    /home/andy/Snakepit/nikola-777/lib/python3.3/site-packages/nikola/plugins/command/init.plugin
[2016-03-29T13:27:39Z] DEBUG: yapsy: PluginFileLocator found a candidate:
    /home/andy/Snakepit/nikola-777/lib/python3.3/site-packages/nikola/plugins/command/install_theme.plugin
[2016-03-29T13:27:39Z] DEBUG: yapsy: PluginFileLocator found a candidate:
    /home/andy/Snakepit/nikola-777/lib/python3.3/site-packages/nikola/plugins/command/new_page.plugin
[2016-03-29T13:27:39Z] DEBUG: yapsy: PluginFileLocator found a candidate:
    /home/andy/Snakepit/nikola-777/lib/python3.3/site-packages/nikola/plugins/command/new_post.plugin
[2016-03-29T13:27:39Z] DEBUG: yapsy: PluginFileLocator found a candidate:
    /home/andy/Snakepit/nikola-777/lib/python3.3/site-packages/nikola/plugins/command/orphans.plugin
[2016-03-29T13:27:39Z] DEBUG: yapsy: PluginFileLocator found a candidate:
    /home/andy/Snakepit/nikola-777/lib/python3.3/site-packages/nikola/plugins/command/plugin.plugin
[2016-03-29T13:27:39Z] DEBUG: yapsy: PluginFileLocator found a candidate:
    /home/andy/Snakepit/nikola-777/lib/python3.3/site-packages/nikola/plugins/command/rst2html.plugin
[2016-03-29T13:27:39Z] DEBUG: yapsy: PluginFileLocator found a candidate:
    /home/andy/Snakepit/nikola-777/lib/python3.3/site-packages/nikola/plugins/command/serve.plugin
[2016-03-29T13:27:39Z] DEBUG: yapsy: PluginFileLocator found a candidate:
    /home/andy/Snakepit/nikola-777/lib/python3.3/site-packages/nikola/plugins/command/status.plugin
[2016-03-29T13:27:39Z] DEBUG: yapsy: PluginFileLocator found a candidate:
    /home/andy/Snakepit/nikola-777/lib/python3.3/site-packages/nikola/plugins/command/theme.plugin
[2016-03-29T13:27:39Z] DEBUG: yapsy: PluginFileLocator found a candidate:
    /home/andy/Snakepit/nikola-777/lib/python3.3/site-packages/nikola/plugins/command/version.plugin
[2016-03-29T13:27:39Z] DEBUG: yapsy: __init__.py is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: livereload.js is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: __init__.cpython-33.pyc is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: __init__.py is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: rst2html.tmpl is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: __init__.cpython-33.pyc is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: __init__.cpython-33.pyc is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: bootswatch_theme.cpython-33.pyc is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: check.cpython-33.pyc is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: console.cpython-33.pyc is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: deploy.cpython-33.pyc is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: github_deploy.cpython-33.pyc is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: import_wordpress.cpython-33.pyc is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: init.cpython-33.pyc is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: install_theme.cpython-33.pyc is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: new_page.cpython-33.pyc is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: new_post.cpython-33.pyc is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: orphans.cpython-33.pyc is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: plugin.cpython-33.pyc is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: serve.cpython-33.pyc is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: status.cpython-33.pyc is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: theme.cpython-33.pyc is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: version.cpython-33.pyc is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: __init__.py is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: html.py is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: ipynb.py is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: pandoc.py is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: php.py is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: PluginFileLocator found a candidate:
    /home/andy/Snakepit/nikola-777/lib/python3.3/site-packages/nikola/plugins/compile/html.plugin
[2016-03-29T13:27:39Z] DEBUG: yapsy: PluginFileLocator found a candidate:
    /home/andy/Snakepit/nikola-777/lib/python3.3/site-packages/nikola/plugins/compile/ipynb.plugin
[2016-03-29T13:27:39Z] DEBUG: yapsy: PluginFileLocator found a candidate:
    /home/andy/Snakepit/nikola-777/lib/python3.3/site-packages/nikola/plugins/compile/markdown.plugin
[2016-03-29T13:27:39Z] DEBUG: yapsy: PluginFileLocator found a candidate:
    /home/andy/Snakepit/nikola-777/lib/python3.3/site-packages/nikola/plugins/compile/pandoc.plugin
[2016-03-29T13:27:39Z] DEBUG: yapsy: PluginFileLocator found a candidate:
    /home/andy/Snakepit/nikola-777/lib/python3.3/site-packages/nikola/plugins/compile/php.plugin
[2016-03-29T13:27:39Z] DEBUG: yapsy: PluginFileLocator found a candidate:
    /home/andy/Snakepit/nikola-777/lib/python3.3/site-packages/nikola/plugins/compile/rest.plugin
[2016-03-29T13:27:39Z] DEBUG: yapsy: __init__.py is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: mdx_gist.py is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: mdx_nikola.py is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: mdx_podcast.py is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: PluginFileLocator found a candidate:
    /home/andy/Snakepit/nikola-777/lib/python3.3/site-packages/nikola/plugins/compile/markdown/mdx_gist.plugin
[2016-03-29T13:27:39Z] DEBUG: yapsy: PluginFileLocator found a candidate:
    /home/andy/Snakepit/nikola-777/lib/python3.3/site-packages/nikola/plugins/compile/markdown/mdx_nikola.plugin
[2016-03-29T13:27:39Z] DEBUG: yapsy: PluginFileLocator found a candidate:
    /home/andy/Snakepit/nikola-777/lib/python3.3/site-packages/nikola/plugins/compile/markdown/mdx_podcast.plugin
[2016-03-29T13:27:39Z] DEBUG: yapsy: __init__.cpython-33.pyc is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: mdx_gist.cpython-33.pyc is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: mdx_nikola.cpython-33.pyc is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: mdx_podcast.cpython-33.pyc is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: __init__.py is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: chart.py is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: doc.py is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: gist.py is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: listing.py is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: media.py is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: post_list.py is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: slides.py is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: soundcloud.py is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: thumbnail.py is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: vimeo.py is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: youtube.py is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: PluginFileLocator found a candidate:
    /home/andy/Snakepit/nikola-777/lib/python3.3/site-packages/nikola/plugins/compile/rest/chart.plugin
[2016-03-29T13:27:39Z] DEBUG: yapsy: PluginFileLocator found a candidate:
    /home/andy/Snakepit/nikola-777/lib/python3.3/site-packages/nikola/plugins/compile/rest/doc.plugin
[2016-03-29T13:27:39Z] DEBUG: yapsy: PluginFileLocator found a candidate:
    /home/andy/Snakepit/nikola-777/lib/python3.3/site-packages/nikola/plugins/compile/rest/gist.plugin
[2016-03-29T13:27:39Z] DEBUG: yapsy: PluginFileLocator found a candidate:
    /home/andy/Snakepit/nikola-777/lib/python3.3/site-packages/nikola/plugins/compile/rest/listing.plugin
[2016-03-29T13:27:39Z] DEBUG: yapsy: PluginFileLocator found a candidate:
    /home/andy/Snakepit/nikola-777/lib/python3.3/site-packages/nikola/plugins/compile/rest/media.plugin
[2016-03-29T13:27:39Z] DEBUG: yapsy: PluginFileLocator found a candidate:
    /home/andy/Snakepit/nikola-777/lib/python3.3/site-packages/nikola/plugins/compile/rest/post_list.plugin
[2016-03-29T13:27:39Z] DEBUG: yapsy: PluginFileLocator found a candidate:
    /home/andy/Snakepit/nikola-777/lib/python3.3/site-packages/nikola/plugins/compile/rest/slides.plugin
[2016-03-29T13:27:39Z] DEBUG: yapsy: PluginFileLocator found a candidate:
    /home/andy/Snakepit/nikola-777/lib/python3.3/site-packages/nikola/plugins/compile/rest/soundcloud.plugin
[2016-03-29T13:27:39Z] DEBUG: yapsy: template.txt is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: PluginFileLocator found a candidate:
    /home/andy/Snakepit/nikola-777/lib/python3.3/site-packages/nikola/plugins/compile/rest/thumbnail.plugin
[2016-03-29T13:27:39Z] DEBUG: yapsy: PluginFileLocator found a candidate:
    /home/andy/Snakepit/nikola-777/lib/python3.3/site-packages/nikola/plugins/compile/rest/vimeo.plugin
[2016-03-29T13:27:39Z] DEBUG: yapsy: PluginFileLocator found a candidate:
    /home/andy/Snakepit/nikola-777/lib/python3.3/site-packages/nikola/plugins/compile/rest/youtube.plugin
[2016-03-29T13:27:39Z] DEBUG: yapsy: __init__.cpython-33.pyc is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: chart.cpython-33.pyc is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: doc.cpython-33.pyc is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: gist.cpython-33.pyc is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: listing.cpython-33.pyc is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: media.cpython-33.pyc is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: post_list.cpython-33.pyc is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: slides.cpython-33.pyc is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: soundcloud.cpython-33.pyc is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: thumbnail.cpython-33.pyc is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: vimeo.cpython-33.pyc is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: youtube.cpython-33.pyc is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: __init__.cpython-33.pyc is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: html.cpython-33.pyc is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: ipynb.cpython-33.pyc is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: pandoc.cpython-33.pyc is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: php.cpython-33.pyc is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: __init__.py is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: scan_posts.py is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: PluginFileLocator found a candidate:
    /home/andy/Snakepit/nikola-777/lib/python3.3/site-packages/nikola/plugins/misc/scan_posts.plugin
[2016-03-29T13:27:39Z] DEBUG: yapsy: __init__.cpython-33.pyc is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: scan_posts.cpython-33.pyc is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: __init__.py is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: archive.py is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: authors.py is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: bundles.py is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: copy_assets.py is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: copy_files.py is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: galleries.py is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: gzip.py is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: indexes.py is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: listings.py is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: pages.py is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: posts.py is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: py3_switch.py is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: redirect.py is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: robots.py is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: rss.py is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: scale_images.py is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: sources.py is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: tags.py is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: PluginFileLocator found a candidate:
    /home/andy/Snakepit/nikola-777/lib/python3.3/site-packages/nikola/plugins/task/archive.plugin
[2016-03-29T13:27:39Z] DEBUG: yapsy: PluginFileLocator found a candidate:
    /home/andy/Snakepit/nikola-777/lib/python3.3/site-packages/nikola/plugins/task/authors.plugin
[2016-03-29T13:27:39Z] DEBUG: yapsy: PluginFileLocator found a candidate:
    /home/andy/Snakepit/nikola-777/lib/python3.3/site-packages/nikola/plugins/task/bundles.plugin
[2016-03-29T13:27:39Z] DEBUG: yapsy: PluginFileLocator found a candidate:
    /home/andy/Snakepit/nikola-777/lib/python3.3/site-packages/nikola/plugins/task/copy_assets.plugin
[2016-03-29T13:27:39Z] DEBUG: yapsy: PluginFileLocator found a candidate:
    /home/andy/Snakepit/nikola-777/lib/python3.3/site-packages/nikola/plugins/task/copy_files.plugin
[2016-03-29T13:27:39Z] DEBUG: yapsy: PluginFileLocator found a candidate:
    /home/andy/Snakepit/nikola-777/lib/python3.3/site-packages/nikola/plugins/task/galleries.plugin
[2016-03-29T13:27:39Z] DEBUG: yapsy: PluginFileLocator found a candidate:
    /home/andy/Snakepit/nikola-777/lib/python3.3/site-packages/nikola/plugins/task/gzip.plugin
[2016-03-29T13:27:39Z] DEBUG: yapsy: PluginFileLocator found a candidate:
    /home/andy/Snakepit/nikola-777/lib/python3.3/site-packages/nikola/plugins/task/indexes.plugin
[2016-03-29T13:27:39Z] DEBUG: yapsy: PluginFileLocator found a candidate:
    /home/andy/Snakepit/nikola-777/lib/python3.3/site-packages/nikola/plugins/task/listings.plugin
[2016-03-29T13:27:39Z] DEBUG: yapsy: PluginFileLocator found a candidate:
    /home/andy/Snakepit/nikola-777/lib/python3.3/site-packages/nikola/plugins/task/pages.plugin
[2016-03-29T13:27:39Z] DEBUG: yapsy: PluginFileLocator found a candidate:
    /home/andy/Snakepit/nikola-777/lib/python3.3/site-packages/nikola/plugins/task/posts.plugin
[2016-03-29T13:27:39Z] DEBUG: yapsy: PluginFileLocator found a candidate:
    /home/andy/Snakepit/nikola-777/lib/python3.3/site-packages/nikola/plugins/task/py3_switch.plugin
[2016-03-29T13:27:39Z] DEBUG: yapsy: PluginFileLocator found a candidate:
    /home/andy/Snakepit/nikola-777/lib/python3.3/site-packages/nikola/plugins/task/redirect.plugin
[2016-03-29T13:27:39Z] DEBUG: yapsy: PluginFileLocator found a candidate:
    /home/andy/Snakepit/nikola-777/lib/python3.3/site-packages/nikola/plugins/task/robots.plugin
[2016-03-29T13:27:39Z] DEBUG: yapsy: PluginFileLocator found a candidate:
    /home/andy/Snakepit/nikola-777/lib/python3.3/site-packages/nikola/plugins/task/rss.plugin
[2016-03-29T13:27:39Z] DEBUG: yapsy: PluginFileLocator found a candidate:
    /home/andy/Snakepit/nikola-777/lib/python3.3/site-packages/nikola/plugins/task/scale_images.plugin
[2016-03-29T13:27:39Z] DEBUG: yapsy: PluginFileLocator found a candidate:
    /home/andy/Snakepit/nikola-777/lib/python3.3/site-packages/nikola/plugins/task/sitemap.plugin
[2016-03-29T13:27:39Z] DEBUG: yapsy: PluginFileLocator found a candidate:
    /home/andy/Snakepit/nikola-777/lib/python3.3/site-packages/nikola/plugins/task/sources.plugin
[2016-03-29T13:27:39Z] DEBUG: yapsy: PluginFileLocator found a candidate:
    /home/andy/Snakepit/nikola-777/lib/python3.3/site-packages/nikola/plugins/task/tags.plugin
[2016-03-29T13:27:39Z] DEBUG: yapsy: __init__.py is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: __init__.cpython-33.pyc is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: __init__.cpython-33.pyc is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: archive.cpython-33.pyc is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: authors.cpython-33.pyc is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: bundles.cpython-33.pyc is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: copy_assets.cpython-33.pyc is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: copy_files.cpython-33.pyc is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: galleries.cpython-33.pyc is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: gzip.cpython-33.pyc is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: indexes.cpython-33.pyc is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: listings.cpython-33.pyc is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: pages.cpython-33.pyc is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: posts.cpython-33.pyc is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: py3_switch.cpython-33.pyc is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: redirect.cpython-33.pyc is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: robots.cpython-33.pyc is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: rss.cpython-33.pyc is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: scale_images.cpython-33.pyc is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: sources.cpython-33.pyc is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: tags.cpython-33.pyc is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: __init__.py is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: jinja.py is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: mako.py is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: PluginFileLocator found a candidate:
    /home/andy/Snakepit/nikola-777/lib/python3.3/site-packages/nikola/plugins/template/jinja.plugin
[2016-03-29T13:27:39Z] DEBUG: yapsy: PluginFileLocator found a candidate:
    /home/andy/Snakepit/nikola-777/lib/python3.3/site-packages/nikola/plugins/template/mako.plugin
[2016-03-29T13:27:39Z] DEBUG: yapsy: __init__.cpython-33.pyc is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: jinja.cpython-33.pyc is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: mako.cpython-33.pyc is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: __init__.cpython-33.pyc is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: basic_import.cpython-33.pyc is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: PluginFileLocator walks (recursively) into directory: /home/andy/devel/nikola-blog/plugins
[2016-03-29T13:27:39Z] DEBUG: yapsy: __init__.py is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: requirements-nonpy.txt is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: orgmode.py is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: conf.py.sample is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: init.el is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: PluginFileLocator found a candidate:
    /home/andy/devel/nikola-blog/plugins/orgmode/orgmode.plugin
[2016-03-29T13:27:39Z] DEBUG: yapsy: README.md is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: macros.org is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: orgmode.cpython-33.pyc is not a valid plugin for strategy info_ext
[2016-03-29T13:27:39Z] DEBUG: yapsy: PluginFileLocator skips /home/andy/.nikola/plugins (not a directory)
[2016-03-29T13:27:39Z] DEBUG: Nikola: Not loading unneeded compiler ipynb
[2016-03-29T13:27:39Z] DEBUG: Nikola: Not loading unneeded compiler ipynb
[2016-03-29T13:27:39Z] DEBUG: Nikola: Not loading unneeded compiler pandoc
[2016-03-29T13:27:39Z] DEBUG: Nikola: Not loading unneeded compiler php
[2016-03-29T13:27:39Z] DEBUG: Nikola: Not loading unneeded compiler php
[2016-03-29T13:27:39Z] ERROR: yapsy: Unable to import plugin: /home/andy/Snakepit/nikola-777/lib/python3.3/site-packages/nikola/plugins/command/import_wordpress
Traceback (most recent call last):
  File "/home/andy/Snakepit/nikola-777/lib/python3.3/site-packages/yapsy/PluginManager.py", line 488, in loadPlugins
    candidate_module = imp.load_module(plugin_module_name,plugin_file,candidate_filepath+".py",("py","r",imp.PY_SOURCE))
  File "/home/andy/Snakepit/nikola-777/lib64/python3.3/imp.py", line 175, in load_module
    return load_source(name, filename, file)
  File "/home/andy/Snakepit/nikola-777/lib64/python3.3/imp.py", line 114, in load_source
    _LoadSourceCompatibility(name, pathname, file).load_module(name)
  File "<frozen importlib._bootstrap>", line 586, in _check_name_wrapper
  File "<frozen importlib._bootstrap>", line 1024, in load_module
  File "<frozen importlib._bootstrap>", line 1005, in load_module
  File "<frozen importlib._bootstrap>", line 562, in module_for_loader_wrapper
  File "<frozen importlib._bootstrap>", line 870, in _load_module
  File "<frozen importlib._bootstrap>", line 313, in _call_with_frames_removed
  File "/home/andy/Snakepit/nikola-777/lib/python3.3/site-packages/nikola/plugins/command/import_wordpress.py", line 90, in <module>
    class CommandImportWordpress(Command, ImportMixin):
  File "/home/andy/Snakepit/nikola-777/lib/python3.3/site-packages/nikola/plugins/command/import_wordpress.py", line 637, in CommandImportWordpress
    code_re1 = re.compile(r'\[code.* lang.*?="(.*?)?".*\](.*?)\[/code\]', re.DOTALL | re.MULTILINE)
  File "/home/andy/Snakepit/nikola-777/lib64/python3.3/re.py", line 214, in compile
    return _compile(pattern, flags)
  File "/home/andy/Snakepit/nikola-777/lib64/python3.3/re.py", line 281, in _compile
    p = sre_compile.compile(pattern, flags)
  File "/home/andy/Snakepit/nikola-777/lib64/python3.3/sre_compile.py", line 498, in compile
    code = _code(p, flags)
  File "/home/andy/Snakepit/nikola-777/lib64/python3.3/sre_compile.py", line 483, in _code
    _compile(code, p.data, flags)
  File "/home/andy/Snakepit/nikola-777/lib64/python3.3/sre_compile.py", line 75, in _compile
    elif _simple(av) and op is not REPEAT:
  File "/home/andy/Snakepit/nikola-777/lib64/python3.3/sre_compile.py", line 362, in _simple
    raise error("nothing to repeat")
sre_constants.error: nothing to repeat
Nikola v7.7.7

Chris Warrick

unread,
Mar 29, 2016, 9:49:08 AM3/29/16
to Nikola—Discuss
On 29 March 2016 at 15:43, Andy Cowling <andy...@gmail.com> wrote:
> Currently a Jekyll user but playing with Nikola 7.7.7 after I noted the
> wonderful Lanyon theme had been ported. Nikola has certainly come a _long_
> way since I last looked a couple of years ago. Kudos to all involved.
>
> I am particularly interested in the Emacs/org-mode integration and the
> incremental build.
>
> Everything works fine but I get an irritating error from the
> import_wordpress plugin although it doesn't stop me building a Nikola site.
>
> Nikola 7.7.7 installed in a virtualenv with Python 3.3.2 on Lenovo T420
> running RedHat Linux 7 (Linux 3.10.0-327.10.1.el7.x86_64 #1 SMP Tue Feb 16
> 03:54:13 PST 2016 x86_64 x86_64 x86_64 GNU/Linux)
>
> Didn't log a GitHib issue as I'm sure this is 'UIdiotic user error' but
> thought I'd let you know.
>
> Google showed me some similar-ish Yapsy bug reports concerning Unicode but
> setting LC_ALL and LANG to en_US.UTF-8 didn't help.
>
> The offending plugin exists and is readable although ironically I have no
> need for it :-)
>
> $ ls -l
> <snip>/nikola-777/lib/python3.3/site-packages/nikola/plugins/command/import_wordpress.py
> -rw-rw-r--. 1 andy andy 49724 Mar 29 10:38
> /home/andy/Snakepit/nikola-777/lib/python3.3/site-packages/nikola/plugins/command/import_wordpress.py
>
> Thanks for any help
>
> Debug output with NIKOLA_DEBUG=1
>
> (nikola-777)[<user>@<pc> nikola-blog]$ nikola --version
> [snip]
> --
> 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.
> For more options, visit https://groups.google.com/d/optout.

It looks like a bug in Python 3.3’s regular expression parser. If you
can, please try upgrading your Python (which can be problematic; make
sure not to overwrite your system Python that lives in /usr!)
Otherwise, you could just remove the WordPress importer and the
associated .pyc file, and hopefully the error will disappear.

Sorry for the inconvenience, and have fun with Nikola!

--
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16

Roberto Alsina

unread,
Mar 29, 2016, 9:51:03 AM3/29/16
to nikola-discuss
Ahhhh that error. Do what Chris said. Also, for the record, it was issue 1857: https://github.com/getnikola/nikola/issues/1857



Andy Cowling

unread,
Mar 29, 2016, 9:59:13 AM3/29/16
to nikola-discuss, ral...@kde.org
Thanks for the lightning response. 

As RH7 often lags the latest versions of popular packages, I tend to favour building stuff myself and previously tried to install Python 3.4 but ran into some irritating compatibility problems so reverted to the bundled 3.3

Removing the WP plugin proved to be a great workaround.
Reply all
Reply to author
Forward
0 new messages