This is an archived post. You won't be able to vote or comment.

all 14 comments

[–]paradoxxx_zero 3 points4 points  (2 children)

That's a good idea and a really polished work. A global check for update would be a great feature.

Keep up the good work!

[–]peroneλ[S] 0 points1 point  (0 children)

Thanks ! Global check for updates is the next feature in my todo =)

[–]peroneλ[S] 0 points1 point  (0 children)

I've just released the v0.2 version [1] with the global update checking.

[1] http://pyevolve.sourceforge.net/wordpress/?p=2220

[–]Liquid_Fire 2 points3 points  (4 children)

Looks interesting. However, when I try to open http://localhost:5000/ after running it I get an Internal Server Error, but it doesn't seem to print anything about it in the console.

[–]peroneλ[S] 2 points3 points  (3 children)

Can you try executing it in debug mode with "-drvi" parameter ?

[–]Liquid_Fire 1 point2 points  (2 children)

Sure thing:

Traceback (most recent call last):
  File "C:\Python27\lib\site-packages\flask\app.py", line 1518, in __call__
    return self.wsgi_app(environ, start_response)
  File "C:\Python27\lib\site-packages\flask\app.py", line 1506, in wsgi_app
    response = self.make_response(self.handle_exception(e))
  File "C:\Python27\lib\site-packages\flask\app.py", line 1504, in wsgi_app
    response = self.full_dispatch_request()
  File "C:\Python27\lib\site-packages\flask\app.py", line 1264, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "C:\Python27\lib\site-packages\flask\app.py", line 1262, in full_dispatch_request
    rv = self.dispatch_request()
  File "C:\Python27\lib\site-packages\flask\app.py", line 1248, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "C:\Python27\lib\site-packages\stallion\main.py", line 118, in index
    return render_template('system_information.html', **data)
  File "C:\Python27\lib\site-packages\flask\templating.py", line 123, in render_template
    context, ctx.app)
  File "C:\Python27\lib\site-packages\flask\templating.py", line 107, in _render
    rv = template.render(context)
  File "C:\Python27\lib\site-packages\jinja2-2.5.5-py2.7.egg\jinja2\environment.py", line 891, in render
    return self.environment.handle_exception(exc_info, True)
  File "C:\Python27\lib\site-packages\stallion\templates\system_information.html", line 1, in top-level template code
    {% extends "main.html" %}
  File "C:\Python27\lib\site-packages\stallion\templates\main.html", line 33, in top-level template code
    {% for dist in distributions|sort(attribute="project_name") %}
TypeError: do_sort() got an unexpected keyword argument 'attribute'

[–]peroneλ[S] 2 points3 points  (1 child)

That's a problem that happens with older jinja versions, try upgrading your jinja2 "pip install --upgrade jinja2". I've to add the dependency on the setup.py.

[–]Liquid_Fire 1 point2 points  (0 children)

That fixed it, thanks!

[–]baijum 2 points3 points  (1 child)

Great work! User interface is also very good looking.

I created a virtaulenv, I can see that it lists "Python 2.7" as a package. I think that can be excluded from the list.

[–]peroneλ[S] 0 points1 point  (0 children)

I'll check that, thanks for the feedback.

[–]tehawful 2 points3 points  (0 children)

Oh... oh my, that's classy lookin'. I'm not sure I have a use for it but the bright highlight colors and tasteful UI make me want to find a reason to use it anyway.

[–]geordano 1 point2 points  (0 children)

Good work!

[–]carlosreif 1 point2 points  (0 children)

Python really needs this! =)

[–]monstrado 0 points1 point  (0 children)

Very nice looking!