Tuesday, January 3, 2017

Re: Django expat error

Hi I am getting same error I am using django 1.8

/home/vagrant/.virtualenvs/bmo-us-wealth/local/lib/python2.7/site-packages/environ/environ.py:572: UserWarning: not reading /home/vagrant/source/core/.env - it doesn't exist.
  warnings.warn("not reading %s - it doesn't exist." % env_file)
Operations to perform:
  Synchronize unmigrated apps: messages, icon_mixin, django_coverage, sekizai, import_export, treebeard, localflavor, style, link_mixin, title_mixin, haystack, mptt, staticfiles, button_mixin, djangocms_admin_style, sitemaps, multiselectfield, promote, insights, ckeditor, debug_toolbar, django_extensions, django_nose, image_cropping
  Apply all migrations: contact_us_plugin, horizontal_tab_plugin, tabs, share, resource_plugin, sites, captcha, banker_contact_grid, iframe_plugin, easy_thumbnails, send_message_plugin, category, resource, category_segment, accordion, mega_menu_plugin, sessions, contenttypes, feature_text, menus, banker_plugin, modal_plugin, image_plugin, grid_plugin, footer_plugin, page_section_target, locationcomponent, our_services_plugin, auth, call_us_plugin, card, text_plugin, carousel_plugin, button_component, casestudykeyword_plugin, admin, award_component, floodlight_plugin, djangocms_accordion, page_section_links, location_states, circle_component, banker, taggit, sticky_nav, solution_specialist, how_we_help_plugin, cms, stay_connected_form
Synchronizing apps without migrations:
  Creating tables...
    Running deferred SQL...
  Installing custom SQL...
Traceback (most recent call last):
  File "manage.py", line 10, in <module>
    execute_from_command_line(sys.argv)
  File "/home/vagrant/.virtualenvs/bmo-us-wealth/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 354, in execute_from_command_line
    utility.execute()
  File "/home/vagrant/.virtualenvs/bmo-us-wealth/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 346, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/home/vagrant/.virtualenvs/bmo-us-wealth/local/lib/python2.7/site-packages/django/core/management/base.py", line 394, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/home/vagrant/.virtualenvs/bmo-us-wealth/local/lib/python2.7/site-packages/django/core/management/base.py", line 445, in execute
    output = self.handle(*args, **options)
  File "/home/vagrant/.virtualenvs/bmo-us-wealth/local/lib/python2.7/site-packages/django/core/management/commands/migrate.py", line 179, in handle
    created_models = self.sync_apps(connection, executor.loader.unmigrated_apps)
  File "/home/vagrant/.virtualenvs/bmo-us-wealth/local/lib/python2.7/site-packages/django/core/management/commands/migrate.py", line 365, in sync_apps
    hide_empty=True,
  File "/home/vagrant/.virtualenvs/bmo-us-wealth/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 120, in call_command
    return command.execute(*args, **defaults)
  File "/home/vagrant/.virtualenvs/bmo-us-wealth/local/lib/python2.7/site-packages/django/core/management/base.py", line 445, in execute
    output = self.handle(*args, **options)
  File "/home/vagrant/.virtualenvs/bmo-us-wealth/local/lib/python2.7/site-packages/django/core/management/commands/loaddata.py", line 60, in handle
    self.loaddata(fixture_labels)
  File "/home/vagrant/.virtualenvs/bmo-us-wealth/local/lib/python2.7/site-packages/django/core/management/commands/loaddata.py", line 78, in loaddata
    self.serialization_formats = serializers.get_public_serializer_formats()
  File "/home/vagrant/.virtualenvs/bmo-us-wealth/local/lib/python2.7/site-packages/django/core/serializers/__init__.py", line 111, in get_public_serializer_formats
    _load_serializers()
  File "/home/vagrant/.virtualenvs/bmo-us-wealth/local/lib/python2.7/site-packages/django/core/serializers/__init__.py", line 153, in _load_serializers
    register_serializer(format, BUILTIN_SERIALIZERS[format], serializers)
  File "/home/vagrant/.virtualenvs/bmo-us-wealth/local/lib/python2.7/site-packages/django/core/serializers/__init__.py", line 71, in register_serializer
    module = importlib.import_module(serializer_module)
  File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
    __import__(name)
  File "/home/vagrant/.virtualenvs/bmo-us-wealth/local/lib/python2.7/site-packages/django/core/serializers/xml_serializer.py", line 9, in <module>
    from xml.sax.expatreader import ExpatParser as _ExpatParser
  File "/usr/lib/python2.7/xml/sax/expatreader.py", line 24, in <module>
    raise SAXReaderNotAvailable("expat not supported", None)
xml.sax._exceptions.SAXReaderNotAvailable: expat not supported 

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/799b65c4-11ea-40ce-987c-813a0e3fdfac%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment