Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError: 'module' object has no attribute 'register' #1

Open
justmytwospence opened this issue Aug 28, 2015 · 1 comment
Open

Comments

@justmytwospence
Copy link

Using Pelican 3.6.6 and Python 3.4.3 I get the following error. (Maybe its Python 3 causing the problem?)

Traceback (most recent call last):
  File "/Users/sgb/.virtualenvs/blog/bin/pelican", line 11, in <module>
    sys.exit(main())
  File "/Users/sgb/.virtualenvs/blog/lib/python3.4/site-packages/pelican/__init__.py", line 386, in main
    pelican, settings = get_instance(args)
  File "/Users/sgb/.virtualenvs/blog/lib/python3.4/site-packages/pelican/__init__.py", line 380, in get_instance
    return cls(settings), settings
  File "/Users/sgb/.virtualenvs/blog/lib/python3.4/site-packages/pelican/__init__.py", line 57, in __init__
    self.init_plugins()
  File "/Users/sgb/.virtualenvs/blog/lib/python3.4/site-packages/pelican/__init__.py", line 84, in init_plugins
    plugin.register()
AttributeError: 'module' object has no attribute 'register'
@jo-tham
Copy link
Owner

jo-tham commented Oct 19, 2015

sorry @justmytwospence, I missed this notification. Any luck since then?

org_pandoc_reader was set tested on python 3.4 and 3.5, but pelican 3.5.0

looks like 3.6 changed how plugins register

If you have time to make a PR for this I'd gladly review. Otherwise, I will put it on my list to update soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants