Coder Social home page Coder Social logo

Comments (8)

charettes avatar charettes commented on June 29, 2024

Hi @caneta! I should be able to investigate this forward in the next few days, sorry for the delay.

from django-mutant.

caneta avatar caneta commented on June 29, 2024

No problem...Take your time and thank you!

from django-mutant.

charettes avatar charettes commented on June 29, 2024

I think I found the issue, I'm looking into it.

from django-mutant.

charettes avatar charettes commented on June 29, 2024

I could reproduce the failure with your provided projet and this commit fixed it.

from django-mutant.

caneta avatar caneta commented on June 29, 2024

I would like to try it but...have you removed the possibility to install development version trough pip?
I get the following:

[user@localhost]$ sudo pip install --upgrade --no-deps django-mutant==dev
Downloading/unpacking django-mutant==dev
  Could not find a version that satisfies the requirement django-mutant==dev (from versions: 0.0.1, 0.0.2, 0.0.3.1, 0.0.3, 0.1.0, 0.1.1)
Cleaning up...
No distributions matching the version for django-mutant==dev
Storing complete log in /root/.pip/pip.log

from django-mutant.

charettes avatar charettes commented on June 29, 2024

Install it from source instead:

pip install -e git://github.com/charettes/django-mutant.git#egg=django-mutant.

from django-mutant.

caneta avatar caneta commented on June 29, 2024

Ok, I will give it a try!

from django-mutant.

caneta avatar caneta commented on June 29, 2024

Unfortunately it does not work yet if you fill a mutant table with some geometry!
It works in recreating mutant tables, but not in filling them...I get:

[user@host mutfix_proj]$ ./manage.py syncdb
Syncing...
Creating tables ...
Creating table auth_permission
Creating table auth_group_permissions
Creating table auth_group
Creating table auth_user_groups
Creating table auth_user_user_permissions
Creating table auth_user
Creating table django_content_type
Creating table django_session
Creating table django_site
Creating table south_migrationhistory
Creating table mutant_modeldefinition
Creating table mutant_basedefinition
Creating table mutant_orderingfielddefinition
Creating table mutant_uniquetogetherdefinition_field_defs
Creating table mutant_uniquetogetherdefinition
Creating table mutant_fielddefinition
Creating table mutant_fielddefinitionchoice
Creating table mutant_geometryfielddefinition
Creating table mutant_decimalfielddefinition
Creating table mutant_charfielddefinition
Creating table mutfix_test_shapefile

You just installed Django's auth system, which means you don't have any superusers defined.
Would you like to create one now? (yes/no): no
Installing custom SQL ...
Installing indexes ...
DeserializationError: Problem installing fixture '/home/user/mutfix_proj/mutfix_test/fixtures/initial_data.json': 1_test has no field named u'the_geom'

I don't understand why, because the table is recreated correctly with the 'the_geom' column...

from django-mutant.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.