This file contains 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 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") |
This file contains 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
[acousticbrainz] | |
#host: acousticbrainz.org | |
host: localhost:8080 | |
[user] | |
api_key=g8aRiPwAkiDa0bSPc2HyrzhTySFe3t1h61LmXOoh |
This file contains 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
#!/usr/bin/env python | |
import os | |
import distutils | |
try: | |
from setuptools import setup | |
except ImportError: | |
import warnings | |
warnings.warn( |
This file contains 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
* 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 - |
This file contains 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
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 |
This file contains 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
{% 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 %} |
This file contains 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 "/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 |
This file contains 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
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 |
This file contains 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
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 |
This file contains 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
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. |
NewerOlder