hzlifeng1 / difftestplatform Goto Github PK
View Code? Open in Web Editor NEW基于python编写的代码变更覆盖率平台
基于python编写的代码变更覆盖率平台
Traceback (most recent call last):
File "H:\soft\Python\lib\site-packages\django\db\backends\utils.py", line 84, in _execute
return self.cursor.execute(sql, params)
File "H:\soft\Python\lib\site-packages\django\db\backends\mysql\base.py", line 71, in execute
return self.cursor.execute(query, args)
File "H:\soft\Python\lib\site-packages\MySQLdb\cursors.py", line 206, in execute
res = self._query(query)
File "H:\soft\Python\lib\site-packages\MySQLdb\cursors.py", line 312, in _query
db.query(q)
File "H:\soft\Python\lib\site-packages\MySQLdb\connections.py", line 224, in query
_mysql.connection.query(self, query)
MySQLdb._exceptions.IntegrityError: (1364, "Field 'pwd' doesn't have a default value")
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "manage.py", line 15, in
execute_from_command_line(sys.argv)
File "H:\soft\Python\lib\site-packages\django\core\management_init_.py", line 381, in execute_from_command_line
utility.execute()
File "H:\soft\Python\lib\site-packages\django\core\management_init_.py", line 375, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "H:\soft\Python\lib\site-packages\django\core\management\base.py", line 323, in run_from_argv
self.execute(*args, **cmd_options)
File "H:\soft\Python\lib\site-packages\django\contrib\auth\management\commands\createsuperuser.py", line 61, in execute
return super().execute(*args, **options)
File "H:\soft\Python\lib\site-packages\django\core\management\base.py", line 364, in execute
output = self.handle(*args, **options)
File "H:\soft\Python\lib\site-packages\django\contrib\auth\management\commands\createsuperuser.py", line 156, in handle
self.UserModel._default_manager.db_manager(database).create_superuser(**user_data)
File "H:\soft\Python\lib\site-packages\django\contrib\auth\models.py", line 162, in create_superuser
return self._create_user(username, email, password, **extra_fields)
File "H:\soft\Python\lib\site-packages\django\contrib\auth\models.py", line 145, in _create_user
user.save(using=self._db)
File "H:\soft\Python\lib\site-packages\django\contrib\auth\base_user.py", line 66, in save
super().save(*args, **kwargs)
File "H:\soft\Python\lib\site-packages\django\db\models\base.py", line 741, in save
force_update=force_update, update_fields=update_fields)
File "H:\soft\Python\lib\site-packages\django\db\models\base.py", line 779, in save_base
force_update, using, update_fields,
File "H:\soft\Python\lib\site-packages\django\db\models\base.py", line 870, in _save_table
result = self._do_insert(cls._base_manager, using, fields, update_pk, raw)
File "H:\soft\Python\lib\site-packages\django\db\models\base.py", line 908, in _do_insert
using=using, raw=raw)
File "H:\soft\Python\lib\site-packages\django\db\models\manager.py", line 82, in manager_method
return getattr(self.get_queryset(), name)(*args, **kwargs)
File "H:\soft\Python\lib\site-packages\django\db\models\query.py", line 1186, in _insert
return query.get_compiler(using=using).execute_sql(return_id)
File "H:\soft\Python\lib\site-packages\django\db\models\sql\compiler.py", line 1332, in execute_sql
cursor.execute(sql, params)
File "H:\soft\Python\lib\site-packages\django\db\backends\utils.py", line 99, in execute
return super().execute(sql, params)
File "H:\soft\Python\lib\site-packages\django\db\backends\utils.py", line 67, in execute
return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
File "H:\soft\Python\lib\site-packages\django\db\backends\utils.py", line 76, in _execute_with_wrappers
return executor(sql, params, many, context)
File "H:\soft\Python\lib\site-packages\django\db\backends\utils.py", line 84, in _execute
return self.cursor.execute(sql, params)
File "H:\soft\Python\lib\site-packages\django\db\utils.py", line 89, in exit
raise dj_exc_value.with_traceback(traceback) from exc_value
File "H:\soft\Python\lib\site-packages\django\db\backends\utils.py", line 84, in _execute
return self.cursor.execute(sql, params)
File "H:\soft\Python\lib\site-packages\django\db\backends\mysql\base.py", line 71, in execute
return self.cursor.execute(query, args)
File "H:\soft\Python\lib\site-packages\MySQLdb\cursors.py", line 206, in execute
res = self._query(query)
File "H:\soft\Python\lib\site-packages\MySQLdb\cursors.py", line 312, in _query
db.query(q)
File "H:\soft\Python\lib\site-packages\MySQLdb\connections.py", line 224, in query
_mysql.connection.query(self, query)
django.db.utils.IntegrityError: (1364, "Field 'pwd' doesn't have a default value")
ERROR: Could not find a version that satisfies the requirement bootstrap3 (from versions: none)
ERROR: No matching distribution found for bootstrap3
这个大佬你用的啥版本
注册后,进行登录,报错:django.db.utils.ProgrammingError: (1146, "Table 'difftest.django_session' doesn't exist")
是否可以提供一下Table 'difftest.django_session的表呢
提示如下:
Running setup.py install for mysqlclient ... error
ERROR: Complete output from command /usr/bin/python -u -c 'import setuptools, tokenize;file='"'"'/private/var/folders/y_/h82y00gs07750nb_vf4zkcmr0000gq/T/pip-install-VKHv3N/mysqlclient/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /private/var/folders/y_/h82y00gs07750nb_vf4zkcmr0000gq/T/pip-record-_eO6Mu/install-record.txt --single-version-externally-managed --compile:
ERROR: /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'long_description_content_type'
File "/Users/mac/Desktop/DiffTestPlats/DiffTestPlatform/urls.py", line 18, in
from CodeDiff import views
File "/Users/mac/Desktop/DiffTestPlats/CodeDiff/views.py", line 5, in
from CodeDiff.util.run_diff import RunDiff
File "/Users/mac/Desktop/DiffTestPlats/CodeDiff/util/run_diff.py", line 6, in
from git import Repo
ModuleNotFoundError: No module named 'git'
(venv) macdeMacBook-Pro-6:DiffTestPlats mac$
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.