Trying the simple example from documentation throw a TypeError
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Burrow |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I am trying the simple example from the documentation and I am getting this error :
004434
2011-04-26 14:35:15,166 - burrow.
File "/usr/local/
result = self.applicatio
File "/Users/
return self._routes(*args, **kwargs)
File "/usr/local/
response = self.app(environ, start_response)
File "/usr/local/
resp = self.call_func(req, *args, **self.kwargs)
File "/usr/local/
return self.func(req, *args, **kwargs)
File "/Users/
return method(req, **args)
File "/usr/local/
return self.func(req, *args, **kw)
File "/Users/
attributes):
File "/Users/
ttl += int(time.time())
TypeError: cannot concatenate 'str' and 'int' objects
2011-04-26 14:35:15,166 - burrow.
I am guessing it's a simple 'casting' problem.
Related branches
- Eric Day (community): Approve
-
Diff: 14 lines (+2/-2)1 file modifiedburrow/frontend/wsgi.py (+2/-2)
Changed in burrow: | |
status: | New → Fix Committed |
milestone: | none → 2011.3 |
assignee: | nobody → Chmouel Boudjnah (chmouel) |
Changed in burrow: | |
assignee: | Chmouel Boudjnah (chmouel) → nobody |
What I mean the simple example from the documentation is :
launching burrowd :
chmouel. boudjnah@ tapouz: burrow/ lp771500/ bin$ ./burrowd ../etc/burrowd.conf backend. sqlite - DEBUG - Module created frontend. wsgi - DEBUG - Module created frontend. wsgi - INFO - Listening on 0.0.0.0:8080 frontend. wsgi - DEBUG - (17891) wsgi starting up on http:// 0.0.0.0: 8080/
2011-04-26 14:38:28,085 - burrow.
2011-04-26 14:38:28,147 - burrow.
2011-04-26 14:38:28,154 - burrow.
2011-04-26 14:38:28,154 - burrow.server - INFO - Waiting for all threads to exit
2011-04-26 14:38:28,157 - burrow.
and creating a message :
chmouel. boudjnah@ tapouz: burrow/ lp771500/ bin$ echo "data" | ./burrow create_message test_queue message_1
2011-04-26 14:38:59,289 - burrow.backend.http - DEBUG - Module created
Internal Server Error