Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Support
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
C
CoopStarter Data
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 3
    • Issues 3
    • List
    • Boards
    • Labels
    • Milestones
  • Merge Requests 1
    • Merge Requests 1
  • Packages
    • Packages
    • Container Registry
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Commits
  • Issue Boards
  • Startin blox
    • A
      applications
  • Coop Starter
  • CoopStarter Data
  • Issues
  • #8

Closed
Open
Opened Nov 01, 2019 by Poggioli@Alice-P
  • Report abuse
Report abuse

Problem on installation

At this point : https://git.happy-dev.fr/startinblox/applications/coop-starter/coopstarter-data#initialising-the-database, we have a problem without easy fix.

Following all the installation, we have an error on this commandpython manage.py loaddata ../venv/lib/python3.6/site-packages/coopstarter_data/fixtures/*.json
Here is the error :
coopstarter_data.models.DoesNotExist: Problem installing fixture '/home/atila/Bureau/testdoc/coopstarter/../venv/lib/python3.6/site-packages/coopstarter_data/fixtures/resources.json': Review matching query does not exist.

Our fix is to clone coopstarter-data module in our machine, create a symbolic link to the root af the project, to go in models.py, comment from the ligne 240 to 323 and start again this command : python manage.py loaddata ../venv/lib/python3.6/site-packages/coopstarter_data/fixtures/*.json and decomment model.py.

Tiring, isn't it? Somebody have a better solution ?

Edited Nov 01, 2019 by Benoit Alessandroni
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
0
Labels
None
Assign labels
  • View project labels
Reference: startinblox/applications/coop-starter/coopstarter-data#8