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.

`Create` button does not do anything

See original GitHub issue

How to reproduce the behaviour

After following the tutorial and setting up the localhost server, I logged in and tried to create a toy sequence labeling project, and then when I click Create nothing happens. I see no errors on the terminal windows either.

I saw an issue that was closed a couple days ago with the same problem but I have no idea what the solution was.

Your Environment

  • Operating System: macOS BigSur 11.6
  • Python Version Used: 3.8.0
  • When you install doccano: yesterday
  • How did you install doccano (Heroku button etc): pip within a venv environement

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:18 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
4tikhonovcommented, Sep 17, 2022

This issue is related to the CORS headers, @slkh . It works if you’ll add your domain name in .env file, for example, doccano.org: CSRF_TRUSTED_ORIGINS=doccano.org and expose this variable in the backend specification located in docker-compose.prod.yml:

    environment:
      CSRF_TRUSTED_ORIGINS: "${CSRF_TRUSTED_ORIGINS}"
1reaction
Hironsancommented, Jul 25, 2022

But I’d really like for it to work without docker and get the issue fixed. 😃

I think so. I found I need to improve logging to find where is the problem.

Anyway, thank you for reporting the issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Solved: "Create" button doesn't work to create issues
Solved: Recently, when we try to manually create an issue by clicking the "Create" button, it doesn't work. We don't know exactly when...
Read more >
Can I make a <button> not submit a form? - Stack Overflow
Set it to type="button" to produce a button that doesn't submit the form. ... You can make it do nothing by setting a...
Read more >
How to Fix Issue with Create Button not Showing Up in Roblox ...
In this Roblox scripting scripts tutorial, we will show you what to do in case your Create Button is missing or is not...
Read more >
Create button doesn't work - Odoo
Hi, I'm trying to open a treeview from an action button. I can see the view ok but the create button doesn't work....
Read more >
Insert a button - Microsoft Support
If you know how to write code, you can use a button to perform more sophisticated actions or to do things that are...
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