default_ttl and default_hide read in as strings, not ints from conf file
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Burrow |
Fix Committed
|
Undecided
|
Eric Day |
Bug Description
Using the default burrowd.conf file, as provided with burrow, meaning that the server is loaded with a wsgi frontend and a sqlite :memory: backend, attempting to create a message causes the server to error.
Output follows (conf modified for port 8081 due to conflict):
woostert@
2011-07-12 12:35:18,356 - burrow.
2011-07-12 12:35:18,359 - burrow.
2011-07-12 12:35:18,359 - burrow.server - INFO - Waiting for all threads to exit
2011-07-12 12:35:18,359 - burrow.
woostert@
2011-07-12 12:35:29,684 - burrow.
File "/usr/lib/
result = self.applicatio
File "/usr/local/
return self._routes(*args, **kwargs)
File "/usr/lib/
response = self.app(environ, start_response)
File "/usr/lib/
resp = self.call_func(req, *args, **self.kwargs)
File "/usr/lib/
return self.func(req, *args, **kwargs)
File "/usr/local/
return method(req, **args)
File "/usr/lib/
return self.func(req, *args, **kw)
File "/usr/local/
attributes):
File "/usr/local/
ttl += int(time.time())
TypeError: cannot concatenate 'str' and 'int' objects
Traceback (most recent call last):
File "/usr/lib/
result = self.applicatio
File "/usr/local/
return self._routes(*args, **kwargs)
File "/usr/lib/
response = self.app(environ, start_response)
File "/usr/lib/
resp = self.call_func(req, *args, **self.kwargs)
File "/usr/lib/
return self.func(req, *args, **kwargs)
File "/usr/local/
return method(req, **args)
File "/usr/lib/
return self.func(req, *args, **kw)
File "/usr/local/
attributes):
File "/usr/local/
ttl += int(time.time())
TypeError: cannot concatenate 'str' and 'int' objects
2011-07-12 12:35:29,684 - burrow.
woostert@
As far as I can tell, this results from wsgi lines 71/72:
Where these should be:
Changed in burrow: | |
status: | New → Fix Committed |
assignee: | nobody → Eric Day (eday) |