jupyterlab-drawio icon indicating copy to clipboard operation
jupyterlab-drawio copied to clipboard

'_xsrf' argument missing from POST

Open Honghe opened this issue 7 years ago • 24 comments

Environment:

  • Ubuntu 16.04
  • Jupyter 4.4.0
  • jupyterlab 0.32.1
  • notebook 5.5.0
  • jupyterlab-drawio v0.2.0

Phenomenon

When export .dio file to other format, '_xsrf' argument missing from POST error occurs in new tab http://localhost:8888/export

Honghe avatar Jun 12 '18 15:06 Honghe

Same here

kent119 avatar Jun 21 '18 02:06 kent119

This happens for me when I try to Save, Save As, or Export from the inner drawio menu:

screenshot_2018-08-16 drawing1 xml - jupyterlab

Environment

  • Ubuntu 16.04
  • Jupyter 4.3.0
  • jupyterlab 0.33.12
  • notebook 5.0.0
  • jupyterlab-drawio v0.3.0
  • browsers
    • Firefox 61.0.1
    • Chromium 68.0.3440.75

clayadavis avatar Aug 16 '18 21:08 clayadavis

I'm having the same issue when trying to save or export.

Environment:

  • Windows 10 64 bit
  • Jupyter core 4.4.0
  • Jupyterlab 0.34.9
  • Browser: Chrome 69.0.3497.92

robertritz avatar Sep 18 '18 08:09 robertritz

Hi all, we haven't hooked up the "inner" drawio menu. In fact, we need to map the actions to the jupyterlab-env actions. The save button of jupyterlab should work though.

PR's very welcome!

wolfv avatar Sep 21 '18 08:09 wolfv

Using the jupyterlab menu, the "export diagram as svg" option is very limited, i.e. none of the usual options like background transparency etc. Is there any plan to extend this functionality?

fdan avatar Apr 03 '19 22:04 fdan

Same, problem, any update?

[W 10:05:34.972 LabApp] 403 POST /save (::1): '_xsrf' argument missing from POST [W 10:05:34.973 LabApp] 403 POST /save (::1) 2.00ms referer=http://localhost:8888/lab

mrciolino avatar Jul 10 '19 15:07 mrciolino

Same problem here: 403 : Forbidden The error was: '_xsrf' argument missing from POST

plrgt avatar Aug 28 '19 23:08 plrgt

Same problem here.

stefansimik avatar Oct 05 '19 22:10 stefansimik

Same problem here: 403 : Forbidden The error was: '_xsrf' argument missing from POST

What is wrong?

Kekewxy avatar Oct 31 '19 18:10 Kekewxy

Same problem. Is there an alternative way to include these diagrams in an actual notebook?

awa5114 avatar Nov 02 '19 15:11 awa5114

Same problem here.

qiqiming avatar Nov 07 '19 08:11 qiqiming

Bug is still there. But FWIW saving the .dio file from within Jupyter own save menu (not drawio) works. You can also export to SVG in that menu,

aryasenna avatar Dec 24 '19 11:12 aryasenna

same problem here

DavidConradMcD avatar Feb 19 '20 03:02 DavidConradMcD

same problem here

zhenyuwei99 avatar Feb 25 '20 12:02 zhenyuwei99

Seems like latest release (Apr 2020) still has this export issue

o0oBluePhoenixo0o avatar May 09 '20 18:05 o0oBluePhoenixo0o

Seems like latest release (Apr 2020) still has this export issue

Yep, still has it... Just fresh installed DrawIO for first time today, issue still exists.

DamynChipman avatar May 18 '20 02:05 DamynChipman

Same here. BTW by the "save as SVG" in the jupyter lab file option, it works partly. However some text does not show in the diagrams.

hydrogencl avatar Jun 04 '20 10:06 hydrogencl

Same problem here. Have any solution?

Turboaa avatar Jul 05 '20 02:07 Turboaa

same problem here。。。

zpliu1126 avatar Aug 09 '20 07:08 zpliu1126

Screenshot (74)

Still get this problem: 403 Forbidden: The error was '_xsrf' argument missing from POST when click on Save, Save as... or Export.... Any solutions? Thanks in advance.

LintangWisesa avatar Nov 02 '20 08:11 LintangWisesa

Same problem here.

KaixuanDai avatar Nov 12 '20 13:11 KaixuanDai

Same problem. Is there any eta on the solution?

cvanelteren avatar Jan 27 '21 11:01 cvanelteren

Well, as far as I can tell, you can just take a screenshot and insert into the notebook with Markdown.

BexTuychiev avatar Apr 06 '21 13:04 BexTuychiev

I switched to the desktop version which turned out pretty nice!

On Tue, 6 Apr 2021 at 15:50, Bex @.***> wrote:

Well, as far as I can tell, you can just take a screenshot and insert into the notebook with Markdown.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/QuantStack/jupyterlab-drawio/issues/24#issuecomment-814135976, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEUVDV6DN6YQXZKMVH6APX3THMGTDANCNFSM4FESOCRQ .

--

cvanelteren avatar Apr 06 '21 14:04 cvanelteren