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

Issues installing for the first time #104

Open
pmi123 opened this issue Dec 7, 2024 · 2 comments
Open

Issues installing for the first time #104

pmi123 opened this issue Dec 7, 2024 · 2 comments

Comments

@pmi123
Copy link

pmi123 commented Dec 7, 2024

I just installed the latest djang-crm on Ubuntu using Django-CRM documentation and I ran into a small problem. When I tried to execute
python manage.py runserver 0.0.0.0:8090
I got the error:
/usr/bin/env: ‘python\r’: No such file or directory

After a bit of Googling, I found the reason for the problem and a perl script to fix it. The file manage.py has CRLF characters (Windows) at the end of each line instead of just LF characters (i.e. the \r above). I have never had this problem with any Django code I have installed.

When someone is installing some code for the first time and runs into a problem like this with a command that should just work out of the box, it puts doubts in the mind of the new user that perhaps this code is not really ready for prime time. What other hidden gotchas are waiting?

I am not saying you have to cater to the Linux crowd (LF), or the Windows crowd (CRLF) or the Mac crowd (CR). I am just pointing out the issue and saying I have not run into this before. I do not know if there is a way to mitigate the issue, as people installing on a Mac will probably run into the same problem. Maybe different manage.py versions and a note to tell the user to use the appropriate one? Dumb idea, but the best I have right now.

@DjangoCRM
Copy link
Owner

Thanks for reporting.
Unfortunately I couldn't reproduce the error.
Works fine on Ubuntu.

@pmi123
Copy link
Author

pmi123 commented Dec 7, 2024

I used git clone to download the CRM code.

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

No branches or pull requests

2 participants