Traceback (most recent call last):

 "manage.py", line 10, in <module>
execute_from_command_line(sys.argv)

 "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 385, in execute_from_command_line
utility.execute()

 "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 377, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)

 "/usr/local/lib/python2.7/dist-packages/django/core/management/base.py", line 288, in run_from_argv
self.execute(*args, **options.__dict__)

 "/usr/local/lib/python2.7/dist-packages/django/core/management/base.py", line 338, in execute
output = self.handle(*args, **options)

 "/usr/local/lib/python2.7/dist-packages/cms/management/commands/subcommands/base.py", line 24, in handle
handle_command.handle(*args[1:], **options)

 "/usr/local/lib/python2.7/dist-packages/django/core/management/base.py", line 533, in handle
return self.handle_noargs(**options)

 "/usr/local/lib/python2.7/dist-packages/cms/management/commands/subcommands/delete_orphaned_plugins.py", line 45, in handle_noargs
instance.delete()

 "/usr/local/lib/python2.7/dist-packages/cms/models/pluginmodel.py", line 467, in delete
super(CMSPlugin, self).delete(*args, **kwargs)

 "/usr/local/lib/python2.7/dist-packages/mptt/models.py", line 864, in delete
super(MPTTModel, self).delete(*args, **kwargs)

 "/usr/local/lib/python2.7/dist-packages/django/db/models/base.py", line 739, in delete
collector.delete()

 "/usr/local/lib/python2.7/dist-packages/django/db/models/deletion.py", line 284, in delete
sender=model, instance=obj, using=self.using

 "/usr/local/lib/python2.7/dist-packages/django/db/transaction.py", line 339, in __exit__
connection.commit()

 "/usr/local/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 176, in commit
self._commit()

 "/usr/local/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 145, in _commit
return self.connection.commit()

 "/usr/local/lib/python2.7/dist-packages/django/db/utils.py", line 94, in __exit__
six.reraise(dj_exc_type, dj_exc_value, traceback)

 "/usr/local/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 145, in _commit
return self.connection.commit()django.db.utils.IntegrityError: update or delete on table "cms_cmsplugin" violates foreign key constraint "cms_custo_cmsplugin_ptr_id_29d26ee24934e6fb_fk_cms_cmsplugin_id" on table "cms_custom_accordionitem"
Traceback (most recent call last):


 "/tmp/fast-export/hg-fast-export.py", line 529, in <module>

notes=options.notes,encoding=encoding,fn_encoding=fn_encoding))


 "/tmp/fast-export/hg-fast-export.py", line 405, in hg2git

if not verify_heads(ui,repo,heads_cache,force,branchesmap):


 "/tmp/fast-export/hg-fast-export.py", line 364, in verify_heads

sha1=get_git_sha1(sanitized_name)


 "/tmp/fast-export/hg2git.py", line 110, in get_git_sha1

l=subprocess.check_output(["git", "rev-parse", "--verify", "--quiet", ref])


 "/usr/lib64/python2.7/subprocess.py", line 212, in check_output

process = Popen(stdout=PIPE, *popenargs, **kwargs)


 "/usr/lib64/python2.7/subprocess.py", line 390, in __init__

errread, errwrite)


 "/usr/lib64/python2.7/subprocess.py", line 1025, in _execute_child

raise child_exception
TypeError: execv() arg 2 must contain only strings
