ValueError: filedescriptor out of range in select() #300

Closed
mlowicki opened this Issue Aug 12, 2012 · 2 comments

Comments

Projects
None yet
2 participants

Traceback (most recent call last):

File "/home/mlowicki/regexpinspector/505a469/eggs/Django-1.4-py2.5.egg/django/core/handlers/base.py", line 111, in get_response
response = callback(request, _callback_args, *_callback_kwargs)

File "/home/mlowicki/regexpinspector/505a469/regexpinspector/views.py", line 8, in index
context_instance = RequestContext(request, {}))

File "/home/mlowicki/regexpinspector/505a469/eggs/Django-1.4-py2.5.egg/django/shortcuts/init.py", line 20, in render_to_response
return HttpResponse(loader.render_to_string(_args, *_kwargs), **httpresponse_kwargs)

File "/home/mlowicki/regexpinspector/505a469/eggs/Django-1.4-py2.5.egg/django/template/loader.py", line 176, in render_to_string
return t.render(context_instance)

File "/home/mlowicki/regexpinspector/505a469/eggs/Django-1.4-py2.5.egg/django/template/base.py", line 140, in render
return self._render(context)

File "/home/mlowicki/regexpinspector/505a469/eggs/Django-1.4-py2.5.egg/django/template/base.py", line 134, in _render
return self.nodelist.render(context)

File "/home/mlowicki/regexpinspector/505a469/eggs/Django-1.4-py2.5.egg/django/template/base.py", line 823, in render
bit = self.render_node(node, context)

File "/home/mlowicki/regexpinspector/505a469/eggs/Django-1.4-py2.5.egg/django/template/base.py", line 837, in render_node
return node.render(context)

File "/home/mlowicki/regexpinspector/505a469/eggs/Django-1.4-py2.5.egg/django/template/loader_tags.py", line 123, in render
return compiled_parent._render(context)

File "/home/mlowicki/regexpinspector/505a469/eggs/Django-1.4-py2.5.egg/django/template/base.py", line 134, in _render
return self.nodelist.render(context)

File "/home/mlowicki/regexpinspector/505a469/eggs/Django-1.4-py2.5.egg/django/template/base.py", line 823, in render
bit = self.render_node(node, context)

File "/home/mlowicki/regexpinspector/505a469/eggs/Django-1.4-py2.5.egg/django/template/base.py", line 837, in render_node
return node.render(context)

File "/home/mlowicki/regexpinspector/505a469/eggs/Django-1.4-py2.5.egg/django/template/loader_tags.py", line 62, in render
result = block.nodelist.render(context)

File "/home/mlowicki/regexpinspector/505a469/eggs/Django-1.4-py2.5.egg/django/template/base.py", line 823, in render
bit = self.render_node(node, context)

File "/home/mlowicki/regexpinspector/505a469/eggs/Django-1.4-py2.5.egg/django/template/base.py", line 837, in render_node
return node.render(context)

File "/home/mlowicki/regexpinspector/505a469/eggs/django_compressor-1.2-py2.5.egg/compressor/templatetags/compress.py", line 147, in render
return self.render_compressed(context, self.kind, self.mode, forced=forced)

File "/home/mlowicki/regexpinspector/505a469/eggs/django_compressor-1.2-py2.5.egg/compressor/templatetags/compress.py", line 107, in render_compressed
rendered_output = self.render_output(compressor, mode, forced=forced)

File "/home/mlowicki/regexpinspector/505a469/eggs/django_compressor-1.2-py2.5.egg/compressor/templatetags/compress.py", line 120, in render_output
return compressor.output(mode, forced=forced)

File "/home/mlowicki/regexpinspector/505a469/eggs/django_compressor-1.2-py2.5.egg/compressor/base.py", line 230, in output
content = self.filter_input(forced)

File "/home/mlowicki/regexpinspector/505a469/eggs/django_compressor-1.2-py2.5.egg/compressor/base.py", line 192, in filter_input
for hunk in self.hunks(forced):

File "/home/mlowicki/regexpinspector/505a469/eggs/django_compressor-1.2-py2.5.egg/compressor/base.py", line 170, in hunks
value = self.filter(value, **options)

File "/home/mlowicki/regexpinspector/505a469/eggs/django_compressor-1.2-py2.5.egg/compressor/base.py", line 219, in filter
content = filter_func(**kwargs)

File "/home/mlowicki/regexpinspector/505a469/eggs/django_compressor-1.2-py2.5.egg/compressor/filters/base.py", line 120, in input
filtered, err = proc.communicate(self.content.encode('utf8'))

File "/usr/lib/python2.5/subprocess.py", line 670, in communicate
return self._communicate(input)

File "/usr/lib/python2.5/subprocess.py", line 1209, in _communicate
rlist, wlist, xlist = select.select(read_set, write_set, [])

ValueError: filedescriptor out of range in select()

I've just deployed project to remote server I got this one. I'm compressing only two files. When I launch Closure compiler from the console it works like a charm but through django_compressor I get exception. Unfortunately only py2.5 is supported...

Owner

diox commented May 25, 2014

django-compressor 1.3 dropped support for python 2.5.

@diox diox closed this May 25, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment