So aktualisieren Sie eine Datei in python ei

Sind wir mit trac. In unserem setup haben wir ein problem, das gelöst im repository. Also ich hab die Feste Datei commit_update.py aus dem repository, und ich brauche, um es zu platzieren in Trac-0.12-py2.6.ei.

Als ei-ist nur ein ziped reichte ich nur entpackt, verändert die Datei und ziped wieder. Nach dem Neustart trac, ich habe eine Fehlermeldung:

ExtractionError: Can't extract file(s) to egg cache

The following error occurred while trying to extract file(s) to the Python egg 
cache:

    [Errno 20] Not a directory

The Python egg cache directory is currently set to: 

    /var/trac/plugin-cache

Perhaps your account does not have write access to this directory?  You can 
change the cache directory by setting the PYTHON_EGG_CACHE environment
variable to point to an accessible directory.

Ich verstehe nicht ganz, warum bekam ich diese Fehlermeldung, denn ich bin mit trac-Instanz unter www-data und es ist der Besitzer des plugin-cache.

Schätzen Ideen.

InformationsquelleAutor bessarabov | 2010-09-17

Schreibe einen Kommentar