Merge lp:~terrycojones/tickery/update-to-latest-txrdq-806699 into lp:tickery
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Jamu Kakar | ||||
Approved revision: | 18 | ||||
Merged at revision: | 16 | ||||
Proposed branch: | lp:~terrycojones/tickery/update-to-latest-txrdq-806699 | ||||
Merge into: | lp:tickery | ||||
Diff against target: |
232 lines (+51/-58) 4 files modified
requirements-local.txt (+2/-0) tickery/adder.py (+21/-41) tickery/cache.py (+2/-2) tickery/service.py (+26/-15) |
||||
To merge this branch: | bzr merge lp:~terrycojones/tickery/update-to-latest-txrdq-806699 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jamu Kakar | Approve | ||
Esteve Fernandez | Approve | ||
Review via email: mp+67472@code.launchpad.net |
Description of the change
A bunch of small changes to make Tickery work with the latest txRDQ.
In running this I found (and fixed) a couple of other problems that
make no sense to me. The JSONRPC service receives str screennames (not
unicode) and passes them to the Tickery Twitter methods (which use
txFluidDB) which complain that the screennames are not unicode. So I
converted them. I don't know how the old code was managing to run,
but presumably something was different. I don't know why the JSONRPC
lib isn't giving us unicode screennames. Weird.
I also added a requirements-
now. It's just a record of things we will need to install locally
when we move to having a Fluidinfo Tickery development/deploy project
as well as a neutral (non-Fluidinfo specific) Tickery release.
[1]
I've reviewed the changes and I think I vaguely understand them (but
definitely not deeply). Anyway, before learning more I can't even
build Tickery:
$ make bin/pyjsbuild index.py
fab build_pyjs
[localhost] run: cd tickery/www && ../../pyjamas/
Fatal error: local() encountered an error (return code 127) while executing 'cd tickery/www && ../../pyjamas/ bin/pyjsbuild index.py'
Aborting.
make: *** [all] Error 1
Do you know what's going on here?