typst / webapp-issues

Issue tracker for Typst's web app.
https://typst.app
11 stars 0 forks source link

Error on all file creations: _"The file name already exists in the project"_ #325

Open zouharvi opened 4 months ago

zouharvi commented 4 months ago

Description

Whenever I create a new file, I get the error that the file name already exists, even in a new blank document. Despite the error message, the file does get created. Happens on all file creation but renaming is fine.

Reproduction:

image

Info: It seems to be purely client-side issue since the error message fires before any request is made.

Reproduction URL

https://typst.app/project/pycuZQ9uk1igMzFNEeHDKb

Browsers

Firefox

OS

Linux

laurmaedje commented 4 months ago

That's very strange, I cannot reproduce it. This happens for all of your projects?

rohitanwar commented 4 months ago

yes the same issue happened to me in my project

zouharvi commented 4 months ago

Does not happen anymore for me. Did the webapp change or is the bug stochastic?

laurmaedje commented 3 months ago

I don't think anything related to this changed.

Andrew15-5 commented 3 months ago

I faced this bug today when I wanted to port my local project file-by-file (isn't there an archive/dir upload?).

So basically I have an import in the main file of a file that I am creating.

  1. Create a file (that is referenced)
  2. Error shows up

I tried a couple of times and each time I got the same error. I have no idea what exactly triggers it.

screenshot ![image](https://github.com/typst/webapp-issues/assets/37143421/8ae3b5be-bea7-4db9-b2d5-3f65fc9f841f)

I just tested, and it happens on a new project as well. I think that it will keep on showing this error on any file creation. So I guess I will have to wait when this thing will go away, if at all.

screenshot ![image](https://github.com/typst/webapp-issues/assets/37143421/86f93d51-7e1c-4bbb-9087-09fdc99a3971)