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

Crash on wordpress import #1819

Closed
ralsina opened this issue Jun 13, 2015 · 0 comments
Closed

Crash on wordpress import #1819

ralsina opened this issue Jun 13, 2015 · 0 comments
Assignees
Labels
Milestone

Comments

@ralsina
Copy link
Member

ralsina commented Jun 13, 2015

Doing another issue, I get this on importing the user's dump:

Traceback (most recent call last):
  File "/home/ralsina/.virtualenvs/nikola/local/lib/python2.7/site-packages/doit-0.28.0-py2.7.egg/doit/doit_cmd.py", line 165, in run
    return command.parse_execute(args)
  File "/home/ralsina/.virtualenvs/nikola/local/lib/python2.7/site-packages/doit-0.28.0-py2.7.egg/doit/cmd_base.py", line 122, in parse_execute
    return self.execute(params, args)
  File "/home/ralsina/Desktop/proyectos/nikola/master/nikola/plugin_categories.py", line 125, in execute
    self._execute(options, args)
  File "/home/ralsina/Desktop/proyectos/nikola/master/nikola/plugins/command/import_wordpress.py", line 162, in _execute
    self.import_posts(channel)
  File "/home/ralsina/Desktop/proyectos/nikola/master/nikola/plugins/command/import_wordpress.py", line 512, in import_posts
    self.process_item(item)
  File "/home/ralsina/Desktop/proyectos/nikola/master/nikola/plugins/command/import_wordpress.py", line 506, in process_item
    self.import_item(item, wordpress_namespace, 'posts')
  File "/home/ralsina/Desktop/proyectos/nikola/master/nikola/plugins/command/import_wordpress.py", line 484, in import_item
    content = self.transform_content(content)
  File "/home/ralsina/Desktop/proyectos/nikola/master/nikola/plugins/command/import_wordpress.py", line 369, in transform_content
    content = self.transform_code(content)
  File "/home/ralsina/Desktop/proyectos/nikola/master/nikola/plugins/command/import_wordpress.py", line 350, in transform_code
    content = self.code_re3.sub(replacement, content)
  File "/home/ralsina/Desktop/proyectos/nikola/master/nikola/plugins/command/import_wordpress.py", line 341, in replacement
    code = m.group(2)
IndexError: no such group
@ralsina ralsina added this to the v7.5.2 milestone Jun 13, 2015
@ralsina ralsina self-assigned this Jun 13, 2015
ralsina added a commit that referenced this issue Jun 13, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant