Hi.
I want to migrate from wordpress 3.9.6 to mezzanine. I just installed
mezzanine and I exported the wordpress posts and pages and, when trying to
import the xml I get the following error:
/home/ark/corriente/venv/lib/python3.4/site-packages/mezzanine/utils/conf.py
:52: UserWarning: You haven't defined the ALLOWED_HOSTS settings, which
Django 1.5 requires. Will fall back to the domains configured as sites.
warn("You haven't defined the ALLOWED_HOSTS settings, which "
/home/ark/corriente/venv/lib/python3.4/site-packages/mezzanine/utils/conf.py:60:
UserWarning: TIME_ZONE setting is not set, using closest match: US/Eastern
warn("TIME_ZONE setting is not set, using closest match: %s" % tz)
/home/ark/corriente/venv/lib/python3.4/site-packages/feedparser.py:346:
DeprecationWarning: To avoid breaking existing software while fixing issue
310, a temporary mapping has been created from `updated_parsed` to
`published_parsed` if `updated_parsed` doesn't exist. This fallback will be
removed in a future version of feedparser.
DeprecationWarning)
Traceback (most recent call last):
File "manage.py", line 28, in <module>
execute_from_command_line(sys.argv)
File "/home/ark/corriente/venv/lib/python3.4/site-packages/django/core/
management/__init__.py", line 399, in execute_from_command_line
utility.execute()
File "/home/ark/corriente/venv/lib/python3.4/site-packages/django/core/
management/__init__.py", line 392, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/home/ark/corriente/venv/lib/python3.4/site-packages/django/core/
management/base.py", line 242, in run_from_argv
self.execute(*args, **options.__dict__)
File "/home/ark/corriente/venv/lib/python3.4/site-packages/django/core/
management/base.py", line 285, in execute
output = self.handle(*args, **options)
File "/home/ark/corriente/venv/lib/python3.4/site-packages/mezzanine/blog/
management/base.py", line 167, in handle
self.handle_import(options)
File "/home/ark/corriente/venv/lib/python3.4/site-packages/mezzanine/blog/
management/commands/import_wordpress.py", line 64, in handle_import
pub_date = datetime.fromtimestamp(mktime(pub_date))
TypeError: Tuple or struct_time argument required
Thanks for any help provided.
--
You received this message because you are subscribed to the Google Groups
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.