Opened 8 years ago

Closed 7 years ago

Last modified 7 years ago

#47140 closed defect (fixed)

pypi2port @133341 fails to run

Reported by: jmroot (Joshua Root) Owned by: gaurav@…
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc: mojca (Mojca Miklavec), ryandesign (Ryan Schmidt)
Port: pypi2port

Description

The #! is not on the first line in the script, so this happens:

% pypi2port
/opt/local/bin/pypi2port: line 18: 
Copyright (c) 2015, Gaurav Bansal
All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer 
in the documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS AS: File name too long
/opt/local/bin/pypi2port: line 23: import: command not found
/opt/local/bin/pypi2port: line 24: import: command not found
/opt/local/bin/pypi2port: line 25: import: command not found
/opt/local/bin/pypi2port: line 26: import: command not found
/opt/local/bin/pypi2port: line 27: import: command not found
/opt/local/bin/pypi2port: line 28: import: command not found
/opt/local/bin/pypi2port: line 29: try:: command not found
/opt/local/bin/pypi2port: line 30: import: command not found
/opt/local/bin/pypi2port: line 31: except: command not found
/opt/local/bin/pypi2port: line 32: import: command not found
/opt/local/bin/pypi2port: line 33: import: command not found
/opt/local/bin/pypi2port: line 34: import: command not found
/opt/local/bin/pypi2port: line 35: import: command not found
/opt/local/bin/pypi2port: line 36: import: command not found
/opt/local/bin/pypi2port: line 37: import: command not found
/opt/local/bin/pypi2port: line 38: import: command not found
/opt/local/bin/pypi2port: line 39: import: command not found
/opt/local/bin/pypi2port: line 42: syntax error near unexpected token `('
/opt/local/bin/pypi2port: line 42: `client = xmlrpclib.ServerProxy('http://pypi.python.org/pypi')’

Change History (3)

comment:1 Changed 7 years ago by ryandesign (Ryan Schmidt)

Cc: mojca@… ryandesign@… added
Resolution: fixed
Status: newclosed

Fixed in r141844.

Port updated in r142527.

comment:2 Changed 7 years ago by mojca (Mojca Miklavec)

I (was sure that I) fixed that, but apparently I forgot to commit it. Thank you, Ryan.

comment:3 Changed 7 years ago by ryandesign (Ryan Schmidt)

Yes, you committed r141844 to fix the script, and I committed r142527 to update the port to that revision. There's a couple other open pypi2port tickets that I haven't looked into yet...

Note: See TracTickets for help on using tickets.