Edgewall Software

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#11821 closed defect (cantfix)

IOError: [Errno 24] Too many open files: '/usr/lib/python2.6/site-packages/trac/locale/en_US/LC_MESSAGES/messages.mo'

Reported by: velladurai.p Owned by:
Priority: normal Milestone:
Component: general Version: 0.12.5
Severity: normal Keywords:
Cc: support@… Branch:
Release Notes:
API Changes:
Internal Changes:


How to Reproduce

While doing a GET operation on /changeset, Trac issued an internal error.

(please provide additional details here)

Request parameters:

{'format': u'zip',
 'new': u'11171',
 'new_path': u'/letscareer/branches/in',
 'old': u'11039',
 'old_path': u'/letscareer/branches/in'}

User agent: Mozilla/5.0 (X11; Linux x86_64; rv:26.0) Gecko/20100101 Firefox/26.0

System Information

Trac 0.12.5
Agilo 0.9.7
Babel 0.9.4
Docutils 0.11
Genshi 0.6 (without speedups)
mod_python 3.3.1
Pygments 1.4
pysqlite 2.4.1
Python 2.6.9 (unknown, Mar 28 2014, 00:06:37)
[GCC 4.8.2 20131212 (Red Hat 4.8.2-7)]
setuptools 0.6
SQLite 3.7.17
Subversion 1.8.8 (r1568071)
jQuery 1.4.4

Enabled Plugins

agilo 0.9.7

Python Traceback

Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 525, in _dispatch_request
  File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 246, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python2.6/site-packages/trac/versioncontrol/web_ui/changeset.py", line 349, in process_request
    self._render_zip(req, filename, repos, data)
  File "/usr/lib/python2.6/site-packages/trac/versioncontrol/web_ui/changeset.py", line 770, in _render_zip
    change != Changeset.DELETE and new_node.can_view(req.perm):
  File "/usr/lib/python2.6/site-packages/trac/versioncontrol/api.py", line 1067, in can_view
    in perm(self.resource)
  File "/usr/lib/python2.6/site-packages/trac/perm.py", line 553, in has_permission
    return self._has_permission(action, resource)
  File "/usr/lib/python2.6/site-packages/trac/perm.py", line 567, in _has_permission
    check_permission(action, perm.username, resource, perm)
  File "/usr/lib/python2.6/site-packages/trac/perm.py", line 454, in check_permission
  File "/usr/lib/python2.6/site-packages/trac/versioncontrol/svn_authz.py", line 168, in check_permission
    repos = rm.get_repository(resource.parent.id)
  File "/usr/lib/python2.6/site-packages/trac/versioncontrol/api.py", line 525, in get_repository
    db = self.env.get_db_cnx() # prevent possible deadlock, see #4465
  File "/usr/lib/python2.6/site-packages/trac/env.py", line 329, in get_db_cnx
    return get_read_db(self)
  File "/usr/lib/python2.6/site-packages/trac/db/api.py", line 91, in get_read_db
    or DatabaseManager(env).get_connection())
  File "/usr/lib/python2.6/site-packages/trac/db/api.py", line 154, in get_connection
    return self._cnx_pool.get_cnx(self.timeout or None)
  File "/usr/lib/python2.6/site-packages/trac/db/pool.py", line 233, in get_cnx
    return _backend.get_cnx(self._connector, self._kwargs, timeout)
  File "/usr/lib/python2.6/site-packages/trac/db/pool.py", line 150, in get_cnx
  File "/usr/lib/python2.6/site-packages/trac/util/translation.py", line 193, in gettext
    if not self.isactive:
  File "/usr/lib/python2.6/site-packages/trac/util/translation.py", line 179, in isactive
    self.activate(get_locale(), env_path)
  File "/usr/lib/python2.6/site-packages/trac/util/translation.py", line 147, in activate
    t = Translations.load(locale_dir, locale or 'en_US')
  File "/usr/lib/python2.6/site-packages/babel/support.py", line 309, in load
    return cls(fileobj=open(filename, 'rb'), domain=domain)
IOError: [Errno 24] Too many open files: '/usr/lib/python2.6/site-packages/trac/locale/en_US/LC_MESSAGES/messages.mo'

Attachments (0)

Change History (2)

comment:1 by Jun Omae, 8 years ago

Cc: support@… added
Resolution: cantfix
Status: newclosed

PluginIssue (AgiloForScrum) or upgrade Babel to 0.9.6.

comment:2 by anonymous, 8 years ago

@jomae: thanks for the cc
@reporter: can you try and disable Agilo completely and see if you still get this error?

Modify Ticket

Change Properties
Set your email in Preferences
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) to the specified user.

Add Comment

E-mail address and name can be saved in the Preferences .
Note: See TracTickets for help on using tickets.