question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Demo not working out-of-the-box

See original GitHub issue

It looks like that there is an issue with the migrations for the demo. With the latest checkout I get:

$ python3 manage.py migrate
Traceback (most recent call last):
  File "manage.py", line 12, in <module>
    execute_from_command_line(sys.argv)
[....]
export/tests/core/migrations/0004_bookwithchapters.py", line 17, in <module>
    class Migration(migrations.Migration):
  File "/home/demo/Documents/repos/django-import-export/tests/core/migrations/0004_bookwithchapters.py", line 32, in Migration
    ('data', data_field)
NameError: name 'data_field' is not defined

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
josxcommented, Nov 11, 2021

@matthewhegarty testing and retesting all this I realize that there are a missing migration file, please check https://github.com/django-import-export/django-import-export/pull/1346

1reaction
matthewhegartycommented, Nov 9, 2021

Thank you for your input @josx - I’ve created a PR from your patch to resolve this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

imagenet demo not working out of the box · Issue #460 - GitHub
I have the same issue. Adding scenic/train_lib/transfer/__init__.py and reinstalling scenic solved my problem.
Read more >
CC3200-LAUNCHXL: Out of Box demo not working. - TI E2E
I recently got two CC3200-LAUNCHXL from TI, marked rev. 4.1, both LOT:052819V005. The Out of Box demo is not working on both. I...
Read more >
Demo will not work out of the box : PY-50237
Demo will not work out of the box. welcome.py will not run. Process finished with exit code 137 (interrupted by signal 9: SIGKILL)....
Read more >
Out of the box demo - Question - Mbed
Hi Sebastian,. Go to the "Get Started" section of the FRDM-K22F home page https://www.nxp.com/FRDM-K22F and download the "FRDM-K22F-QSP Quick ...
Read more >
DFU trigger - reinstall the out of the box demo on the PCA10059
Hello,. I have accidential removed the DFU bootloader on my PCA10059 dongel..... is there an image that I can write to the dongle...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found