Comments (1)
Made the changes docman suggested in irc, but now it crashes when I do a pour.
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/Django-1.3.1-py2.7.egg/django/core/servers/basehttp.py", line 284, in run
self.finish_response()
File "/usr/local/lib/python2.7/dist-packages/Django-1.3.1-py2.7.egg/django/core/servers/basehttp.py", line 324, in finish_response
self.write(data)
File "/usr/local/lib/python2.7/dist-packages/Django-1.3.1-py2.7.egg/django/core/servers/basehttp.py", line 403, in write
self.send_headers()
File "/usr/local/lib/python2.7/dist-packages/Django-1.3.1-py2.7.egg/django/core/servers/basehttp.py", line 467, in send_headers
self.send_preamble()
File "/usr/local/lib/python2.7/dist-packages/Django-1.3.1-py2.7.egg/django/core/servers/basehttp.py", line 385, in send_preamble
'Date: %s\r\n' % http_date()
File "/usr/lib/python2.7/socket.py", line 324, in write
self.flush()
File "/usr/lib/python2.7/socket.py", line 303, in flush
self._sock.sendall(view[write_offset:write_offset+buffer_size])
error: [Errno 32] Broken pipe
Exception happened during processing of request from ('127.0.0.1', 44111)
Traceback (most recent call last):
File "/usr/lib/python2.7/SocketServer.py", line 284, in _handle_request_noblock
self.process_request(request, client_address)
File "/usr/lib/python2.7/SocketServer.py", line 310, in process_request
self.finish_request(request, client_address)
File "/usr/lib/python2.7/SocketServer.py", line 323, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/usr/local/lib/python2.7/dist-packages/Django-1.3.1-py2.7.egg/django/core/servers/basehttp.py", line 570, in init
BaseHTTPRequestHandler.init(self, _args, *_kwargs)
File "/usr/lib/python2.7/SocketServer.py", line 641, in init
self.finish()
File "/usr/lib/python2.7/SocketServer.py", line 694, in finish
self.wfile.flush()
File "/usr/lib/python2.7/socket.py", line 303, in flush
self._sock.sendall(view[write_offset:write_offset+buffer_size])
error: [Errno 32] Broken pipe
2011-12-22 13:35:51,463 INFO (flowmanager) Starting flow: <Flow 0x4ef3a258: tap=kegboard.flow0 ticks=0 username='' max_idle=0:00:10>
2011-12-22 13:36:12,134 INFO (flowmanager) Flow has become too idle, ending: <Flow 0x4ef3a258: tap=kegboard.flow0 ticks=1742 username='' max_idle=0:00:10>
2011-12-22 13:36:12,135 INFO (flowmanager) Stopping flow: <Flow 0x4ef3a258: tap=kegboard.flow0 ticks=1742 username='' max_idle=0:00:10>
2011-12-22 13:36:12,143 INFO (drink-manager) Flow completed: flow_id=0x4ef3a258
2011-12-22 13:36:13,160 ERROR (service-thread) Uncaught exception in thread service-thread. Stack trace:
2011-12-22 13:36:13,193 ERROR (service-thread) File "/usr/local/lib/python2.7/dist-packages/kegbot-0.8.3-py2.7.egg/pykeg/core/util.py", line 113, in run
2011-12-22 13:36:13,194 ERROR (service-thread) self.ThreadMain()
2011-12-22 13:36:13,194 ERROR (service-thread)
2011-12-22 13:36:13,195 ERROR (service-thread) File "/usr/local/lib/python2.7/dist-packages/kegbot-0.8.3-py2.7.egg/pykeg/core/kb_threads.py", line 124, in ThreadMain
2011-12-22 13:36:13,195 ERROR (service-thread) self._Step(timeout=0.5)
2011-12-22 13:36:13,196 ERROR (service-thread)
2011-12-22 13:36:13,196 ERROR (service-thread) File "/usr/local/lib/python2.7/dist-packages/kegbot-0.8.3-py2.7.egg/pykeg/core/kb_threads.py", line 129, in _Step
2011-12-22 13:36:13,197 ERROR (service-thread) self._ProcessEvent(event)
2011-12-22 13:36:13,198 ERROR (service-thread)
2011-12-22 13:36:13,205 ERROR (service-thread) File "/usr/local/lib/python2.7/dist-packages/kegbot-0.8.3-py2.7.egg/pykeg/core/kb_threads.py", line 156, in _ProcessEvent
2011-12-22 13:36:13,206 ERROR (service-thread) cb(event)
2011-12-22 13:36:13,206 ERROR (service-thread)
2011-12-22 13:36:13,207 ERROR (service-thread) File "/usr/local/lib/python2.7/dist-packages/kegbot-0.8.3-py2.7.egg/pykeg/core/manager.py", line 462, in HandleFlowUpdateEvent
2011-12-22 13:36:13,207 ERROR (service-thread) self._HandleFlowEnded(event)
2011-12-22 13:36:13,208 ERROR (service-thread)
2011-12-22 13:36:13,210 ERROR (service-thread) File "/usr/local/lib/python2.7/dist-packages/kegbot-0.8.3-py2.7.egg/pykeg/core/manager.py", line 491, in _HandleFlowEnded
2011-12-22 13:36:13,210 ERROR (service-thread) spilled=spilled)
2011-12-22 13:36:13,212 ERROR (service-thread)
2011-12-22 13:36:13,213 ERROR (service-thread) File "/usr/local/lib/python2.7/dist-packages/kegbot-0.8.3-py2.7.egg/pykeg/core/backend.py", line 302, in RecordDrink
2011-12-22 13:36:13,214 ERROR (service-thread) duration=duration, auth_token=auth_token, spilled=spilled)
2011-12-22 13:36:13,215 ERROR (service-thread)
2011-12-22 13:36:13,215 ERROR (service-thread) File "/usr/local/lib/python2.7/dist-packages/kegbot-0.8.3-py2.7.egg/pykeg/web/api/krest.py", line 251, in RecordDrink
2011-12-22 13:36:13,216 ERROR (service-thread) return self.DoPOST(endpoint, models_pb2.Drink(), post_data=post_data)
2011-12-22 13:36:13,217 ERROR (service-thread)
2011-12-22 13:36:13,218 ERROR (service-thread) File "/usr/local/lib/python2.7/dist-packages/kegbot-0.8.3-py2.7.egg/pykeg/web/api/krest.py", line 173, in DoPOST
2011-12-22 13:36:13,219 ERROR (service-thread) return self._FetchResponse(endpoint, out_msg, params=params, post_data=post_data)
2011-12-22 13:36:13,220 ERROR (service-thread)
2011-12-22 13:36:13,221 ERROR (service-thread) File "/usr/local/lib/python2.7/dist-packages/kegbot-0.8.3-py2.7.egg/pykeg/web/api/krest.py", line 195, in _FetchResponse
2011-12-22 13:36:13,222 ERROR (service-thread) response_data = urlopen(url, data=encoded_post_data, timeout=FLAGS.krest_timeout).read()
2011-12-22 13:36:13,223 ERROR (service-thread)
2011-12-22 13:36:13,224 ERROR (service-thread) File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
2011-12-22 13:36:13,224 ERROR (service-thread) return _opener.open(url, data, timeout)
2011-12-22 13:36:13,225 ERROR (service-thread)
2011-12-22 13:36:13,226 ERROR (service-thread) File "/usr/lib/python2.7/urllib2.py", line 394, in open
2011-12-22 13:36:13,227 ERROR (service-thread) response = self._open(req, data)
2011-12-22 13:36:13,228 ERROR (service-thread)
2011-12-22 13:36:13,229 ERROR (service-thread) File "/usr/lib/python2.7/urllib2.py", line 412, in _open
2011-12-22 13:36:13,230 ERROR (service-thread) '_open', req)
2011-12-22 13:36:13,231 ERROR (service-thread)
2011-12-22 13:36:13,232 ERROR (service-thread) File "/usr/lib/python2.7/urllib2.py", line 372, in _call_chain
2011-12-22 13:36:13,233 ERROR (service-thread) result = func(*args)
2011-12-22 13:36:13,233 ERROR (service-thread)
2011-12-22 13:36:13,234 ERROR (service-thread) File "/usr/lib/python2.7/urllib2.py", line 1201, in http_open
2011-12-22 13:36:13,235 ERROR (service-thread) return self.do_open(httplib.HTTPConnection, req)
2011-12-22 13:36:13,236 ERROR (service-thread)
2011-12-22 13:36:13,236 ERROR (service-thread) File "/usr/lib/python2.7/urllib2.py", line 1174, in do_open
2011-12-22 13:36:13,237 ERROR (service-thread) r = h.getresponse(buffering=True)
2011-12-22 13:36:13,237 ERROR (service-thread)
2011-12-22 13:36:13,238 ERROR (service-thread) File "/usr/lib/python2.7/httplib.py", line 1027, in getresponse
2011-12-22 13:36:13,242 ERROR (service-thread) response.begin()
2011-12-22 13:36:13,243 ERROR (service-thread)
2011-12-22 13:36:13,244 ERROR (service-thread) File "/usr/lib/python2.7/httplib.py", line 407, in begin
2011-12-22 13:36:13,244 ERROR (service-thread) version, status, reason = self._read_status()
2011-12-22 13:36:13,248 ERROR (service-thread)
2011-12-22 13:36:13,248 ERROR (service-thread) File "/usr/lib/python2.7/httplib.py", line 365, in _read_status
2011-12-22 13:36:13,249 ERROR (service-thread) line = self.fp.readline()
2011-12-22 13:36:13,249 ERROR (service-thread)
2011-12-22 13:36:13,250 ERROR (service-thread) File "/usr/lib/python2.7/socket.py", line 447, in readline
2011-12-22 13:36:13,250 ERROR (service-thread) data = self._sock.recv(self._rbufsize)
2011-12-22 13:36:13,251 ERROR (service-thread)
2011-12-22 13:36:13,251 ERROR (service-thread) Error was: <class 'socket.timeout'>: timed out
2011-12-22 13:36:13,252 ERROR (service-thread) Exiting thread.
2011-12-22 13:36:14,052 ERROR (watchdog-thread) Thread service-thread died unexpectedly
2011-12-22 13:36:14,100 INFO (net-thread) got quit event, quitting
2011-12-22 13:36:14,100 INFO (eventhub-thread) got quit event, quitting
2011-12-22 13:36:14,101 INFO (watchdog-thread) got quit event, quitting
2011-12-22 13:36:14,102 INFO (heartbeat-thread) got quit event, quitting
2011-12-22 13:36:14,102 INFO (alarmmanager-thread) got quit event, quitting
2011-12-22 13:36:14,436 INFO (kegnet) Stopping server
2011-12-22 13:36:15,091 ERROR (main) Watchdog thread exited, quitting
2011-12-22 13:36:16,093 INFO (main) Stopping any remaining threads
2011-12-22 13:36:16,093 INFO (main) Stopping all service threads.
2011-12-22 13:36:16,094 INFO (main) All service threads stopped.
2011-12-22 13:36:16,095 INFO (main) Kegbot stopped.
from kegbot-server.
Related Issues (20)
- Update to Django 1.11 HOT 1
- API support for idempotency keys HOT 1
- Replace highcharts with another charting library HOT 1
- Test - ignore
- Deleting multiple drinks does not update stats and sessions
- Get project buildable again & release a new version HOT 19
- Update to Pipenv HOT 1
- Update to Python 3
- Update to Django 2
- Update docs links to point to readthedocs
- perform docker build as a pre-commit check HOT 1
- push new releases to Docker Hub
- Docker images for RaspberryPi HOT 2
- Fix the docker build for PRs
- Setting Debug = False (KEGBOT_ENV = production) breaks user uploaded images HOT 2
- Docker build fails due to cryptography dependency HOT 1
- Introduce a new (v2) api HOT 3
- feature request: make default drinker configurable in admin dashboard HOT 2
- Issue with "docker-compose up" HOT 1
- Media files do not load successfully HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kegbot-server.