This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Traceback (most recent call last): | |
| File "djangotest/manage.py", line 14, in <module> | |
| execute_manager(settings) | |
| File "/app/lib/python2.7/site-packages/django/core/management/__init__.py", line 459, in execute_manager | |
| utility.execute() | |
| File "/app/lib/python2.7/site-packages/django/core/management/__init__.py", line 382, in execute | |
| self.fetch_command(subcommand).run_from_argv(self.argv) | |
| File "/app/lib/python2.7/site-packages/django/core/management/base.py", line 196, in run_from_argv | |
| self.execute(*args, **options.__dict__) | |
| File "/app/lib/python2.7/site-packages/django/core/management/base.py", line 232, in execute |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def set_locale_decorator(func): | |
| import locale | |
| if locale.getdefaultlocale()[0] == 'en_GB': | |
| def curr_conv(string): | |
| major_num = ''.join(string.split(',')) | |
| return major_num |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def set_locale(locale_string): | |
| def __curr_conv_from_gb(string): | |
| major_num = ''.join(string.split(',')) | |
| return major_num | |
| __gb_delim = ',' | |
| def __curr_conv_from_de(string): | |
| major_num = string.replace('.', '').replace(',', '.') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from django.db import models | |
| class Tblauthorization(models.Model): | |
| admin = models.ForeignKey(Tbluser) | |
| user = models.ManyToMany(Tbluser) | |
| class Meta: | |
| db_table = u'tblauthorization' | |
| class Tblcalendar(models.Model): | |
| user = models.ForeignKey(Tbluser) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| (51, 9): Key(['mod1', 'shift'], 3), | |
| (100, 9): Key(['mod1', 'shift'], d), | |
| (65480, 8): Key(['mod1'], F11), | |
| (53, 65): Key(['mod4', 'shift'], 5), | |
| (65289, 8): Key(['mod1'], Tab), | |
| (49, 65): Key(['mod4', 'shift'], 1), | |
| (32, 9): Key(['mod1', 'shift'], space), | |
| (116, 9): Key(['mod1', 'shift'], t), | |
| (54, 8): Key(['mod1'], 6), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from django.db import models | |
| class Tbluser(models.Model): | |
| """ | |
| Models the user table and provides the admin interface with the | |
| niceties it needs. | |
| """ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def help(q): | |
| import webbrowser | |
| import os | |
| from subprocess import call | |
| if webbrowser.open('www.qtile.org'): | |
| return |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def cmd_restart(self): | |
| """ | |
| Restart qtile using the execute command. | |
| """ | |
| try: | |
| for group in self.groupMap: | |
| for window in self.groupMap[group].windows: | |
| print window | |
| except Exception as e: | |
| print e |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| *** QTILE REPORT 2012-03-31 22:55:45.719969 | |
| Message: Server Error: BadWindow | |
| bad_value: 11143424 | |
| major_opcode: 20 | |
| minor_opcode: 0 | |
| Traceback (most recent call last): | |
| File "/usr/lib/python2.7/site-packages/libqtile/manager.py", line 1113, in _xpoll | |
| r = h(e) | |
| File "/usr/lib/python2.7/site-packages/libqtile/manager.py", line 1330, in handle_MapRequest | |
| c = self.manage(w) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| libqtile/window.py: except (xcb.xproto.BadWindow, xcb.xproto.BadAccess): | |
| libqtile/window.py: except (xcb.xproto.BadWindow, xcb.xproto.BadAccess): | |
| libqtile/window.py: except AttributeError: | |
| libqtile/window.py: except (xcb.xproto.BadWindow, xcb.xproto.BadAccess): | |
| libqtile/sh.py: except (IOError, ImportError): | |
| libqtile/sh.py: except command.CommandError: | |
| libqtile/sh.py: except ValueError: | |
| libqtile/sh.py: except SyntaxError, v: | |
| libqtile/sh.py: except command.CommandException, val: | |
| libqtile/sh.py: return "Command exception: %s\n"%val |