-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Dangerous link detected Error in Dash Debug Window after upgrading from 2.14.2 to 2.15.0 #2743
Comments
I do have an I did do a quick try to give them a temporary value. This did not make the problem go away. My testing was not comprehensive or I might not understand the problem al together. |
dcc.Link.href is marked as required so I thought it was going to be always there and didn't put a check on that like the other ones in html. |
@ann-marie-ward could you please explain me the detail steps to avoid this 'Dangerous link error' ? Please see that I am new to software development , hence please do not presume about my software development knowledge ? I am getting this error when I try to save data table on web app to the csv. The error looks similar to what @ghaarsma posted in his comment. |
Hi @pat1510
and change it to:
If that doesn't work, could you please make a minimal example so I could run it, and see the error? |
I figured out where the trouble spot was (dynamic building of dcc.Links), after changing Thank you to everyone who responded and helped out solving the issue. |
html.A(html.Button('Download Data as Excel'), id='download-link',
href='/', download='your_file_name.xlsx',
target='_blank')
Should this code work ? Because it is still not working. Also when I click
on the button , I get another blank tab of the browser
…On Fri, 9 Feb 2024 at 21:11, ghaarsma ***@***.***> wrote:
I figured out where the trouble spot was (dynamic building of dcc.Links),
after changing href="" to href="/", we had no more issues in the Dash
Debug Window.
Thank you to everyone who responded and helped out solving the issue.
—
Reply to this email directly, view it on GitHub
<#2743 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ANX5J6PSVDPPHWI4TDNWO4LYSZ7H3AVCNFSM6AAAAABCW7E63KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZWGU2DAMBXG4>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
Regards,
Prasad C. Zende
+43-6642495138
|
@pat1510 |
Please see the attached file for your reference. Kindly have a look at it
…On Fri, 9 Feb 2024 at 22:59, Ann Marie Ward ***@***.***> wrote:
@pat1510 <https://github.com/pat1510>
The target='_blank' will open a blank browser tab
I don't get an error when I run your example. Can you make a complete
example that shows the error?
—
Reply to this email directly, view it on GitHub
<#2743 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ANX5J6OYHGTD7HHYTRGTZ73YS2L5BAVCNFSM6AAAAABCW7E63KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZWGY3DANJXGE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
Regards,
Prasad C. Zende
+43-6642495138
|
Hi @pat1510 I can't see your attachment. Can you please copy the code directly as a comment here? You can enclose the code with three back ticks so it's formatted correctly. |
@AnnMarieW I have added the code here as you suggested. |
In the last callback I see you are returning the csv data to the I recommend using the If you have any more questions, please feel free to ask them on the Dash Community Forum |
Hello All, thanks for the input. But I am still getting the same error. I may be doing something incorrect, could anyone look into my code and see what I am doing wrong?
|
@pat1510 Please ask your question on the Dash Community Forum. I'll be happy to help you over there. This issue is now closed. |
It worked, thanks for the help. If you ever write a book on Django
integration of Dash Plotly & Dockerizing the web app. Believe me I will be
the first one to buy that book. Once again thanks for the help.
…On Tue, 13 Feb 2024 at 14:52, Ann Marie Ward ***@***.***> wrote:
@pat1510 <https://github.com/pat1510> Please ask your question on the Dash
Community Forum <https://community.plotly.com/>. I'll be happy to help
you over there.
This issue is now closed.
—
Reply to this email directly, view it on GitHub
<#2743 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ANX5J6KI3XPNCPT7CEPXXI3YTNVZDAVCNFSM6AAAAABCW7E63KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNBRGU3DKNRQGU>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
Regards,
Prasad C. Zende
+43-6642495138
|
Meanwhile if it is possible for you , could you please share with me the
resources/ links/online courses for Django integration of Dash Plotly &
Dockerizing the web app?
…On Tue, 13 Feb 2024 at 16:28, Prasad Zende ***@***.***> wrote:
It worked, thanks for the help. If you ever write a book on Django
integration of Dash Plotly & Dockerizing the web app. Believe me I will be
the first one to buy that book. Once again thanks for the help.
On Tue, 13 Feb 2024 at 14:52, Ann Marie Ward ***@***.***>
wrote:
> @pat1510 <https://github.com/pat1510> Please ask your question on the Dash
> Community Forum <https://community.plotly.com/>. I'll be happy to help
> you over there.
>
> This issue is now closed.
>
> —
> Reply to this email directly, view it on GitHub
> <#2743 (comment)>, or
> unsubscribe
> <https://github.com/notifications/unsubscribe-auth/ANX5J6KI3XPNCPT7CEPXXI3YTNVZDAVCNFSM6AAAAABCW7E63KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNBRGU3DKNRQGU>
> .
> You are receiving this because you were mentioned.Message ID:
> ***@***.***>
>
--
Regards,
Prasad C. Zende
+43-6642495138
--
Regards,
Prasad C. Zende
+43-6642495138
|
@pat1510 That's a great topic for the forum - please ask over there 🙂 |
With Dash 2.14.2 all is good. After upgrade to 2.15.0, we receive a
Dangerous link detected::
in the Dash Debug Window.It looks like the actual website is running OK and functional and it is possible not affected by the reported JavaScript error.
Full Err Msg:
The text was updated successfully, but these errors were encountered: