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.

Please rename aux.py

See original GitHub issue

Unfortunately Microsoft OneDrive has completely absurd restrictions on file/folder names. In particular it does not allow files containing the character sequence “aux.” in their filename.

PySCF contains one file that conflicts with this restriction, namely the file pyscf/agf2/aux.py.

This leads to the situation that when someone clones/copies the pyscf source to some folder on their PC that is synced with OneDrive. The sync completely stop.

Now, I agree that this should be considered a bug in OneDrive and be fixed there, but this is unfortunately incredibly unlikely.

So I please as the PySCF developers to slightly change the name of pyscf/agf2/aux.py, to maybe to pyscf/agf2/aux_space.py.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:23
  • Comments:10 (1 by maintainers)

github_iconTop GitHub Comments

28reactions
TNTworkscommented, Dec 14, 2021

Now, I agree that this should be considered a bug in OneDrive and be fixed there

No, this is not a bug, but a feature. This is a well-known limitation of NTFS. AUX as a filename with any extension is forbidden by design.

21reactions
harryvedercicommented, Dec 14, 2021

Maybe send a patch to the OneDrive repo? Oh waaait… That’s not how Microsoft operates, is it?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Please rename aux.py - Hacker News
If a user sent `{s gotmail`, it would play the `gotmail.wav` file on the computer of each person currently in the chat room....
Read more >
Hacker News - Please rename aux.py (to avoid Microsoft... | Facebook
Please rename aux.py (to avoid Microsoft OneDrive file name restrictions) ... In particular it does not allow files containing the character sequence "aux....
Read more >
Hacker News on Twitter: "Please rename https://t.co/VQS1FmSQa9 ...
Please rename aux.py · Issue #1119 · pyscf/pyscf. Unfortunately Microsoft OneDrive has completely absurd restrictions on file/folder names.
Read more >
Checkout fails when encountering filename Aux.js
After renaming the file, the checkout step works and continues on to our NPM tasks. 2018-10-17T08:00:13.2606898Z ##[command]git checkout --progress --force ...
Read more >
Why can't I name a folder or file 'CON' in Windows? - Super User
So are PRN , AUX , NUL , LPT1 and others. ... You can rename it without using any special software, ... C:\con...
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