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 "manage.py", line 15, in <module> | |
execute_from_command_line(sys.argv) | |
File "/root/.pyenv/versions/vagrant/lib/python2.7/site-packages/django/core/management/__init__.py", line 351, in execute_from_command_line | |
utility.execute() | |
File "/root/.pyenv/versions/vagrant/lib/python2.7/site-packages/django/core/management/__init__.py", line 343, in execute | |
self.fetch_command(subcommand).run_from_argv(self.argv) | |
File "/root/.pyenv/versions/vagrant/lib/python2.7/site-packages/django/core/management/commands/test.py", line 30, in run_from_argv | |
super(Command, self).run_from_argv(argv) | |
File "/root/.pyenv/versions/vagrant/lib/python2.7/site-packages/django/core/management/base.py", line 394, in run_from_argv |
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
<?xml version="1.0" encoding="utf-8"?> | |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" | |
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
<html> | |
<head> | |
<title>403 No Beer for You</title> | |
</head> | |
<body> | |
<h1>Error 403 No Beer for You</h1> | |
<p>No Beer for You</p> |
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
api_id = settings.INTERNAL_DEFAULTS['HOUZZ']['API_ID'] | |
api_token = settings.INTERNAL_DEFAULTS['HOUZZ']['API_TOKEN'] | |
api_username = settings.INTERNAL_DEFAULTS['HOUZZ']['API_USERNAME'] | |
api_url = settings.INTERNAL_DEFAULTS['HOUZZ']['API_URL'] | |
api_url += '?format=json&method=getOrders' | |
headers = {'X-HOUZZ-API-SSL-TOKEN': api_token, | |
'X-HOUZZ-API-USER-NAME': api_username, | |
'X-HOUZZ-API-APPNAME': api_id, | |
} |
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
import datetime | |
import itertools | |
with open('file.txt', 'r') as f: | |
read_data = f.read() | |
print 'Input {0}'.format(read_data) | |
a = [] | |
a = read_data.split('/') | |
a = [int(x) for x in a] | |
days = [] |
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
{ | |
u'transactions':[ | |
{ | |
'commodity_code':u'', | |
'volume':u'', | |
'volume_uom':u'', | |
'weight':u'', | |
u'reference_id':u'90304', | |
u'shipment':{ | |
u'carrier_id':'\'\\\'\\\\\\\'"u\\\\\\\\\\\\\\\'\\\\\\\\\\\\\\\'"\\\\\\\'\\\'\'', |
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
ERROR Unable to reach Sentry log server: 'module' object has no attribute 'sslwrap' (url: https://app.getsentry.com/api/41623/store/) | |
May 13 11:15:29 ufgtools app/web.2: Traceback (most recent call last): | |
May 13 11:15:29 ufgtools app/web.2: File "/app/.heroku/python/lib/python2.7/site-packages/raven/transport/threaded.py", line 159, in send_sync | |
May 13 11:15:29 ufgtools app/web.2: super(ThreadedHTTPTransport, self).send(data, headers) | |
May 13 11:15:29 ufgtools app/web.2: File "/app/.heroku/python/lib/python2.7/site-packages/raven/transport/http.py", line 49, in send | |
May 13 11:15:29 ufgtools app/web.2: ca_certs=self.ca_certs, | |
May 13 11:15:29 ufgtools app/web.2: File "/app/.heroku/python/lib/python2.7/site-packages/raven/utils/http.py", line 62, in urlopen | |
May 13 11:15:29 ufgtools app/web.2: return opener.open(url, data, timeout) | |
May 13 11:15:29 ufgtools app/web.2: File "/app/.heroku/python/lib/python2.7/site-packages/newrelic-2.50.0.39/newrelic/hooks/external_urllib2.py", line 15, in |