Opened 6 years ago

Last modified 6 years ago

#57086 assigned defect

pdb2pqr @2.1.1: pdb2pqr.py script fails to execute with 'bad interpreter'

Reported by: orbeckst (Oliver Beckstein) Owned by: jwhowarth
Priority: Normal Milestone:
Component: ports Version: 2.5.3
Keywords: Cc:
Port: pdb2pqr

Description

Running pdb2pqr -h fails with

/opt/local/bin/pdb2pqr:2: /opt/local/share/pdb2pqr/pdb2pqr.py: bad interpreter: /opt/local/Library/Frameworks/Python.framework/Versions/2.7/Re: no such file or directory

When I call the interpreter (which is hard-coded in the shebang line of /opt/local/share/pdb2pqr/pdb2pqr.py) explicitly

/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python  /opt/local/share/pdb2pqr/pdb2pqr.py -h

then it works.

It appears that there's a limitation to the length of the shebang line (although I could not find an authoritative source for FreeBSD or darwin/macOS).

Change History (2)

comment:1 Changed 6 years ago by jmroot (Joshua Root)

Owner: set to jwhowarth
Status: newassigned

comment:2 Changed 6 years ago by mf2k (Frank Schima)

Keywords: Python apbs removed
Note: See TracTickets for help on using tickets.