Comments you submit will be routed for moderation. If you have an account, please log in first.
Modify

Ticket #434 (closed defect: invalid)

Opened 20 months ago

Last modified 14 months ago

Permission denied: '/usr/lib/python2.6/site-packages/M2Crypto/PGP/__init__.pyc'

Reported by: htgoebel Owned by: htgoebel
Priority: normal Milestone: PyInstaller 2.0
Component: PyInstaller Version: develop
Severity: normal Keywords:
Cc:

Description (last modified by htgoebel) (diff)

My system (Mandriva 2010) does not install .pyc files for python-m2crypto, only the .py files are there.

When packaging a project requiring one of these modules, PyInstaller? fails with e.g. Permission denied: '/usr/lib/python2.6/site-packages/M2Crypto/PGP/__init__.pyc'. This is correct, since a normal user must not write there. And the real problem is the RPM, which is missing content.

Anyway we need to implement a work-around for such a case.

E.g. the file could be compiled into a temporary file.

This is the place to change:

  File "./Build.py", line 289, in assemble
    py_compile.compile(fnm[:-1])

Attachments

Change History

comment:1 Changed 16 months ago by htgoebel

  • Description modified (diff)

comment:2 Changed 16 months ago by htgoebel

  • Owner changed from matysek to htgoebel

comment:3 Changed 14 months ago by htgoebel

  • Status changed from new to closed
  • Resolution set to invalid

Invalid:

  1. At the time this ticket was created, there was no such code in the repo. (At least I can not find it today.)
  2. It is not reprocessable as of today.
  3. Code for handling this case is in PyInstaller? since approx. 2009-01-07.
View

Add a comment

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.