Edgewall Software

Ticket #3727 (closed defect: worksforme)

Opened 2 years ago

Last modified 2 years ago

trac-admin fails

Reported by: kain Owned by: daniel
Priority: highest Milestone:
Component: admin/console Version: 0.10b1
Severity: blocker Keywords:
Cc:

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

Change History

  Changed 2 years ago by anonymous

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

follow-up: ↓ 3   Changed 2 years ago by 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.

Run dos2unix on the file and it works.

in reply to: ↑ 2   Changed 2 years ago by mgood

  • status changed from new to closed
  • resolution set to worksforme

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).

Add/Change #3727 (trac-admin fails)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
to The owner will change from daniel. Next status will be 'closed'
 
Note: See TracTickets for help on using tickets.