What are loggerhead's requirements?
Howdy.
I've been playing around with loggerhead today and have been a little annoyed at the lack of documentation about what its requirements are.
I'm currently on Centos 5...
# bzr --version
Bazaar (bzr) 2.1.0
Python interpreter: /usr/bin/python 2.4.3
Python standard library: /usr/lib/python2.4
Platform: Linux-2.
bzrlib: /usr/lib/
'Surprisingly', loggerhead isn't doing very well.
I've checked out the latest revision of trunk... 403 and when navigating to http://
ERROR:loggerhea
Traceback (most recent call last):
File "/opt/loggerhea
return self.applicatio
File "/usr/lib/
return self.applicatio
File "/opt/loggerhea
return app(environ, start_response)
File "/opt/loggerhea
return BranchesFromTra
File "/opt/loggerhea
return self.app_
File "/opt/loggerhea
return c(environ, start_response)
File "/opt/loggerhea
vals.
File "/opt/loggerhea
return {
AttributeError: 'module' object has no attribute 'dumps'
Same issue with the 1.17 release.
1.10 does a little better for me, There, all of the changes and diffs work fine. I only get errors when navigating to something like http://
ERROR:loggerhea
Traceback (most recent call last):
File "/opt/loggerhea
return self.applicatio
File "/usr/lib/
return self.applicatio
File "/opt/loggerhea
return app(environ, start_response)
File "/opt/loggerhea
return BranchesFromTra
File "/opt/loggerhea
return self.app_
File "/opt/loggerhea
return c(environ, start_response)
File "/opt/loggerhea
vals.
File "/opt/loggerhea
return {
AttributeError: 'module' object has no attribute 'dumps'
There's been no real difference going back to bzr 2.0.4.
Do you have any suggestions on how to get a nice working loggerhead?
Thanks for reading.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- loggerhead Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Joseph Price
- Solved:
- 2010-04-01
- Last query:
- 2010-04-01
- Last reply:
- 2010-03-31
That's very messed up -- what does "python -c 'import marshal; print marshal.dumps'" say?
The marshal module is built in to Python, so I don't know what could be wrong here other than your Python install being broken.
Joseph Price (pricechild) said : | #2 |
# python -c 'import marshal; print marshal.dumps'
<built-in function dumps>
Think I got myself a little confused up above with errors between the 3 versions I've been trying. The error with 1.10 is when trying to view files... AttributeError: 'module' object has no attribute 'ProgressBarStack'. Yep, that's deprecated and removed now in trunk. I'll ignore that.
However, still having issues with 1.17 or trunk. Same as the error in my first post.
Joseph Price (pricechild) said : | #3 |
So just to clarify...
Only issue now is when trying to view diffs.
ERROR:loggerhea
Traceback (most recent call last):
File "/root/
return self.applicatio
File "/usr/lib/
return self.applicatio
File "/root/
return app(environ, start_response)
File "/root/
return BranchesFromTra
File "/root/
return self.app_
File "/root/
return c(environ, start_response)
File "/root/
vals.
File "/root/
return {
AttributeError: 'module' object has no attribute 'dumps'
Joseph Price (pricechild) said : | #4 |
Ah fixed...
I was simply missing simplejson. loggerhead was pulling in json instead which I guess didn't provide what was wanted.
That'll teach me to double check I've satisfied the README...