triaquae / crazymonitor Goto Github PK
View Code? Open in Web Editor NEW用python写的分布式监控软件
用python写的分布式监控软件
安装了 django 1.9, redis, mysql
python manage.py makemigrations
结果python manage.py migrate 抛异常了:
File "manage.py", line 10, in
execute_from_command_line(sys.argv)
File "/home/even/env/djang1.9/local/lib/python2.7/site-packages/django/core/management/init.py", line 350, in execute_from_command_line
utility.execute()
File "/home/even/env/djang1.9/local/lib/python2.7/site-packages/django/core/management/init.py", line 342, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/home/even/env/djang1.9/local/lib/python2.7/site-packages/django/core/management/base.py", line 348, in run_from_argv
self.execute(_args, *_cmd_options)
File "/home/even/env/djang1.9/local/lib/python2.7/site-packages/django/core/management/base.py", line 399, in execute
output = self.handle(_args, *_options)
File "/home/even/env/djang1.9/local/lib/python2.7/site-packages/django/core/management/commands/migrate.py", line 200, in handle
executor.migrate(targets, plan, fake=fake, fake_initial=fake_initial)
File "/home/even/env/djang1.9/local/lib/python2.7/site-packages/django/db/migrations/executor.py", line 92, in migrate
self._migrate_all_forwards(plan, full_plan, fake=fake, fake_initial=fake_initial)
File "/home/even/env/djang1.9/local/lib/python2.7/site-packages/django/db/migrations/executor.py", line 121, in _migrate_all_forwards
state = self.apply_migration(state, migration, fake=fake, fake_initial=fake_initial)
File "/home/even/env/djang1.9/local/lib/python2.7/site-packages/django/db/migrations/executor.py", line 198, in apply_migration
state = migration.apply(state, schema_editor)
File "/home/even/env/djang1.9/local/lib/python2.7/site-packages/django/db/migrations/migration.py", line 123, in apply
operation.database_forwards(self.app_label, schema_editor, old_state, project_state)
File "/home/even/env/djang1.9/local/lib/python2.7/site-packages/django/db/migrations/operations/models.py", line 359, in database_forwards
getattr(new_model._meta, self.option_name, set()),
File "/home/even/env/djang1.9/local/lib/python2.7/site-packages/django/db/backends/base/schema.py", line 318, in alter_unique_together
self._delete_composed_index(model, fields, {'unique': True}, self.sql_delete_unique)
File "/home/even/env/djang1.9/local/lib/python2.7/site-packages/django/db/backends/mysql/schema.py", line 87, in _delete_composed_index
return super(DatabaseSchemaEditor, self)._delete_composed_index(model, fields, *args)
File "/home/even/env/djang1.9/local/lib/python2.7/site-packages/django/db/backends/base/schema.py", line 341, in _delete_composed_index
columns = [model._meta.get_field(field).column for field in fields]
File "/home/even/env/djang1.9/local/lib/python2.7/site-packages/django/db/models/options.py", line 582, in get_field
raise FieldDoesNotExist('%s has no field named %r' % (self.object_name, field_name))
django.core.exceptions.FieldDoesNotExist: ActionCondtion has no field named u'severity'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.