Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undocumented filename length limit of 100 characters #940

Open
fKunstner opened this issue Jul 12, 2024 · 0 comments
Open

Undocumented filename length limit of 100 characters #940

fKunstner opened this issue Jul 12, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@fKunstner
Copy link

Describe the bug
Submissions fail if they include files with names longer than 100 characters.

To Reproduce
Steps to reproduce the behavior:

  1. Create a new submission at https://arxiv.org/submit/

  2. Upload the following test files:

    • main.tex:

      \documentclass{article}
      \begin{document}
      \input{0000000000111111111122222222223333333333444444444455555555556666666666777777777788888888889999999999hi.tex}
      \end{document}
      
    • 0000000000111111111122222222223333333333444444444455555555556666666666777777777788888888889999999999hi.tex:

      hi
      
  3. Scroll down to uploaded files. The filename reads 0000000000111111111122222222223333333333444444444455555555556666666666777777777788888888889999999999 (missing hi.tex)

  4. Trying to compile results in a File not found

    ! LaTeX Error: File    `0000000000111111111122222222223333333333444444444455555555556666666666777777777788888888889999999999abcdef.tex' not found.
    

Expected behavior
This behavior is not unexpected in hindsight, but it is difficult to diagnose. The above submission can work locally, depending on the total path length.

The upload page should present a warning that file names have been truncated and need to be changed to <100 characters (including file extensions).

This should be documented in https://info.arxiv.org/help/faq/mistakes.html as it is not covered by the existing file name specific entries:

@fKunstner fKunstner added the bug Something isn't working label Jul 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant