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

Can't clone pyobjus on Windows, MS-DOS reserved word as a folder #44

Open
KeyWeeUsr opened this issue Nov 9, 2018 · 2 comments
Open
Labels

Comments

@KeyWeeUsr
Copy link
Contributor

git clone https://github.com/kivy/pyobjus

Cloning into 'pyobjus'...
remote: Enumerating objects: 219, done.
remote: Counting objects: 100% (219/219), done.
remote: Compressing objects: 100% (146/146), done.
emote: Total 1944 (delta 146), reused 131 (Receiving objects:  98% (190delta 72), pack-reused 1725
Receiving objects: 100% (1944/1944), 763.17 KiB | 0 bytes/s, done.
Resolving deltas: 100% (1221/1221), done.
Checking connectivity... done.
fatal: cannot create directory at 'objc_classes/aux': Invalid argument
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry the checkout with 'git checkout -f HEAD'

This is happening due to aux being a reserved MS-DOS word and the only workaround is very annoying. In case we want people to contribute to PyOBJus from Windows (e.g. docs if not the code) we'll need to rename it. That folder is most likely used on one of the iOS things hopefully only under Plyer, but I guess that something would also be available under Kivy-iOS, so it'll break things and I don't have any iOS device to test it with.

@KeyWeeUsr KeyWeeUsr added the bug label Nov 9, 2018
@pakal
Copy link

pakal commented Jun 5, 2022

Same problem here, adding Pyobjus for example to Poetry conf breaks operations on Windows, because Poetry will naturally checkout dependencies (even those for other platforms) to perform dependency resolution.

This is a nasty limitation of Windows, but renaming this "aux/" folder in the source tree would solve it easily.

@brentpicasso
Copy link

Catching up on this. Some ideas:

Can this folder be renamed without breaking iOS?
Can the folder be deleted in advance during the installation process, before windows complains about it?
Could the folder be named aux_rename and then renamed to aux, if installing on a non-windows environment?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants