python / cpython

The Python programming language
https://www.python.org
Other
63.19k stars 30.26k forks source link

Corrupted .rsrc file #36299

Closed 640f2210-380e-401d-9f25-064299c70f36 closed 22 years ago

640f2210-380e-401d-9f25-064299c70f36 commented 22 years ago
BPO 532855
Nosy @jackjansen

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields: ```python assignee = 'https://github.com/jackjansen' closed_at = created_at = labels = ['OS-mac'] title = 'Corrupted .rsrc file' updated_at = user = 'https://bugs.python.org/brianl' ``` bugs.python.org fields: ```python activity = actor = 'jackjansen' assignee = 'jackjansen' closed = True closed_date = None closer = None components = ['macOS'] creation = creator = 'brianl' dependencies = [] files = [] hgrepos = [] issue_num = 532855 keywords = [] message_count = 2.0 messages = ['9851', '9852'] nosy_count = 2.0 nosy_names = ['jackjansen', 'brianl'] pr_nums = [] priority = 'normal' resolution = 'fixed' stage = None status = 'closed' superseder = None type = None url = 'https://bugs.python.org/issue532855' versions = ['Python 2.2'] ```

640f2210-380e-401d-9f25-064299c70f36 commented 22 years ago

The Mac/Resources/error.rsrc file is corrupted in the 2.2.1c1 tarball. The one in the HEAD of CVS is fine.

make install in Mac/OSX dies when applesingle.py raises an "Unknown AppleSingle magic number" error.

The Unix file command reports errors.rsrc is an .hqx file (should be data).

Replacing file with the one from CVS solves the problem.

jackjansen commented 22 years ago

Logged In: YES user_id=45365

Fixed in 1.4.20.1. bundle.rsrc was also checked in in BinHex form in stead of as AppleSingle, this has also been fixed.