Skip to content

Instantly share code, notes, and snippets.

def create_groundtruth_dict(name, datadict):
groundtruth = {
"type": "unknown", # TODO: See if that needs to be modified.
"version": 1.0,
"className": db.dataset._slugify(unicode(name)),
"groundTruth": {},
}
for r, cls in datadict.items():
if isinstance(r, unicode):
r = r.encode("UTF-8")
[acousticbrainz]
#host: acousticbrainz.org
host: localhost:8080
[user]
api_key=g8aRiPwAkiDa0bSPc2HyrzhTySFe3t1h61LmXOoh
#!/usr/bin/env python
import os
import distutils
try:
from setuptools import setup
except ImportError:
import warnings
warnings.warn(
* Debugger is active!
* Debugger pin code: 183-677-618
10.0.2.2 - - [07/Jul/2016 09:50:05] "GET /static/images/favicon-256.png HTTP/1.1" 304 -
10.0.2.2 - - [07/Jul/2016 09:50:13] "GET / HTTP/1.1" 200 -
10.0.2.2 - - [07/Jul/2016 09:50:13] "GET /static/build/main-db99ea9b8f.css HTTP/1.1" 304 -
10.0.2.2 - - [07/Jul/2016 09:50:13] "GET /static/images/navbar_logo.svg HTTP/1.1" 304 -
10.0.2.2 - - [07/Jul/2016 09:50:14] "GET /static/images/logo_big.svg HTTP/1.1" 304 -
10.0.2.2 - - [07/Jul/2016 09:50:14] "GET /static/images/mtg_upf.svg HTTP/1.1" 304 -
10.0.2.2 - - [07/Jul/2016 09:50:14] "GET /static/images/musicbrainz.svg HTTP/1.1" 304 -
10.0.2.2 - - [07/Jul/2016 09:50:14] "GET /static/build/common-0ded03976c.js HTTP/1.1" 304 -
DEBUG = False # set to False in production mode
# Additional files to watch to restart the development server
RELOAD_ON_FILES = ["webserver/static/build/rev-manifest.json"]
SECRET_KEY = "CHANGE_ME"
# DATABASES
# Primary database
{% if config['Eval_location']: %}
<div class="form-group">
<label class="col-sm-2 control-label">{{ form.evaluation_location.label.text }}</label>
<div class="col-sm-4">{{ form.evaluation_location(class="form-control", required="required") }}</div>
</div>
{% else : %}
{{ config['Eval_location'] }}
{% endif %}
Traceback (most recent call last):
File "/home/vagrant/acousticbrainz-server/db/testing.py", line 20, in setUp
self.reset_db()
File "/home/vagrant/acousticbrainz-server/db/testing.py", line 28, in reset_db
self.init_db()
File "/home/vagrant/acousticbrainz-server/db/testing.py", line 31, in init_db
db.run_sql_script(os.path.join(ADMIN_SQL_DIR, 'create_types.sql'))
File "/home/vagrant/acousticbrainz-server/db/__init__.py", line 17, in run_sql_script
connection.execute(sql.read())
File "build/bdist.linux-x86_64/egg/sqlalchemy/engine/base.py", line 906, in execute
Waf file upgraded
This is not the official binary.
The command used: python waf-light --tools=compat15,swig,doxygen
This was taken from https://waf.io/book/#_download_and_installation
Rejected:
Unable to find distroseries: unstable
Further error processing not possible because of a critical previous error.
gaia2 (2.4.3-1) unstable; urgency=low
* New upstream release
Checking signature on .changes
gpg: WARNING: unsafe ownership on configuration file `/home/kartik/.gnupg/gpg.conf'
gpg: no valid OpenPGP data found.
gpg: the signature could not be verified.
Please remember that the signature file (.sig or .asc)
should be the first file given on the command line.
No signature on /home/kartik/open_source/gaia2_2.4.3-1_amd64.changes.