Modify

Opened 15 years ago

Closed 15 years ago

#6831 closed enhancement (fixed)

Great Theme but I need this to be 1020 px wide instead of 770

Reported by: clahti@… Owned by: Noah Kantrowitz
Priority: normal Component: CrystalxTheme
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

hello,

I am trying to modify this excellent theme to be wider, however once I make the changes and rezip this I get the following error:

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/Trac-0.11.6-py2.4.egg/trac/web/api.py", line 377, in send_error
    'text/html')
  File "/usr/lib/python2.4/site-packages/Trac-0.11.6-py2.4.egg/trac/web/chrome.py", line 738, in render_template
    template = self.load_template(filename, method=method)
  File "/usr/lib/python2.4/site-packages/Trac-0.11.6-py2.4.egg/trac/web/chrome.py", line 704, in load_template
    self.templates = TemplateLoader(self.get_all_templates_dirs(),
  File "/usr/lib/python2.4/site-packages/Trac-0.11.6-py2.4.egg/trac/web/chrome.py", line 440, in get_all_templates_dirs
    dirs += provider.get_templates_dirs()
  File "build/bdist.linux-i686/egg/themeengine/web_ui.py", line 39, in get_templates_dirs
  File "/usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/pkg_resources.py", line 881, in resource_filename
    return get_provider(package_or_requirement).get_resource_filename(
  File "/usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/pkg_resources.py", line 1352, in get_resource_filename
    return self._extract_resource(manager, zip_path)
  File "/usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/pkg_resources.py", line 1358, in _extract_resource
    last = self._extract_resource(
  File "/usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/pkg_resources.py", line 1406, in _extract_resource
    manager.extraction_error()  # report a user-friendly error
  File "/usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/pkg_resources.py", line 928, in extraction_error
    raise err
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/www/trac/.egg-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.


I am guessing the /usr/lib/python2.4/site-packages/TracCrystalXTheme-1.0-py2.4.egg file that I unzipped/changed/rezipped needs to be created using something other than standard zip? I am not a python guy so any gentle help would be appreciated. The only two files I have modified are crystalx.css and header.jpg

Attachments (0)

Change History (1)

comment:1 Changed 15 years ago by clahti@…

Resolution: fixed
Status: newclosed

I fixed this myself after figuring out how to recompile the egg

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Noah Kantrowitz.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.