Traceback (most recent call last):


 "/srv/modoboa/instance/manage.py", line 22, in <module>

execute_from_command_line(sys.argv)


 "/srv/modoboa/env/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 364, in execute_from_command_line

utility.execute()


 "/srv/modoboa/env/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 356, in execute

self.fetch_command(subcommand).run_from_argv(self.argv)


 "/srv/modoboa/env/local/lib/python2.7/site-packages/subcommand/base.py", line 53, in run_from_argv

return super(SubcommandCommand, self).run_from_argv(argv)


 "/srv/modoboa/env/local/lib/python2.7/site-packages/django/core/management/base.py", line 283, in run_from_argv

self.execute(*args, **cmd_options)


 "/srv/modoboa/env/local/lib/python2.7/site-packages/django/core/management/base.py", line 330, in execute

output = self.handle(*args, **options)


 "/srv/modoboa/env/local/lib/python2.7/site-packages/subcommand/base.py", line 84, in handle

return command.run_from_argv(argv)


 "/srv/modoboa/env/local/lib/python2.7/site-packages/django/core/management/base.py", line 283, in run_from_argv

self.execute(*args, **cmd_options)


 "/srv/modoboa/env/local/lib/python2.7/site-packages/django/core/management/base.py", line 330, in execute

output = self.handle(*args, **options)


 "/srv/modoboa/env/local/lib/python2.7/site-packages/modoboa/admin/management/commands/subcommands/_mx.py", line 264, in handle

self.check_domain(domain, **options)


 "/srv/modoboa/env/local/lib/python2.7/site-packages/modoboa/admin/management/commands/subcommands/_mx.py", line 199, in check_domain

domain, "spf", ttl)


 "/srv/modoboa/env/local/lib/python2.7/site-packages/modoboa/dnstools/models.py", line 35, in get_or_create_for_domain

record.check_syntax(ttl)


 "/srv/modoboa/env/local/lib/python2.7/site-packages/modoboa/dnstools/models.py", line 70, in check_syntax

result = func(self.value)


 "/srv/modoboa/env/local/lib/python2.7/site-packages/modoboa/dnstools/lib.py", line 169, in check_spf_syntax

if part[0] in ["+", "-", "~", "?"]:
IndexError: string index out of range

Traceback (most recent call last):


 "slim/prune/export_model.py", line 123, in <module>

main()


 "slim/prune/export_model.py", line 88, in main

only_graph=True)


 "/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/paddleslim/prune/pruner.py", line 112, in prune

g = self._transform(self.idx_selector(scores, ratio))


 "/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/paddleslim/prune/idx_selector.py", line 57, in default_idx_selector

0]
# sort channels by the first convolution's score
IndexError: list index out of range
