#3727 closed defect (worksforme)
trac-admin fails
Reported by: | kain | Owned by: | daniel |
---|---|---|---|
Priority: | highest | Milestone: | |
Component: | admin/console | Version: | 0.10b1 |
Severity: | blocker | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
www:/var/trac# trac-admin /var/trac/ranktrend upgrade : No such file or directory
www:/var/trac# trac-admin /var/trac/ranktrend initenv : No such file or directory
debian 3.1
Attachments (0)
Change History (3)
comment:1 by , 18 years ago
follow-up: 3 comment:2 by , 18 years ago
I ran into this when trying to install trac on Fedora 5. The problem is that the scripts for trac-admin, tracd etc have a dos M character at the end of the "#!/usr/bin/env python" line.
Run dos2unix on the file and it works.
comment:3 by , 18 years ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Replying to mkane:
I ran into this when trying to install trac on Fedora 5. The problem is that the scripts for trac-admin, tracd etc have a dos M character at the end of the "#!/usr/bin/env python" line.
The zip packages were built on Windows, so they use Windows line endings. I've updated the TracDownload page to reflect that the zip downloads are intended for Windows. Linux or Unix users should use the .tar.gz file (which in general you should anyways since it preserves executable settings and it's smaller).
sorry, bad formatting, just to be clear:
www:/var/trac# trac-admin /var/trac/ranktrend initenv
: No such file or directory
www:/var/trac# trac-admin /var/trac/ranktrend upgrade
: No such file or directory