Hello

So I setup a review site with memcache settings. Reading:
http://www.review-board.org/docs/manual/dev/admin/installation/linux/,
I got it installed but when I go to view diff - the , it fails. If I
just use file based caching, then I can see the diff. On closer
inspection, after cleanly installing the latest cmemcache i.e 0.95, I
run its test suite:

~/Downloads/cmemcache-0.95$ python test.py
ip 127.0.0.1 port 11211
memcached not running, starting one (pid 26577)
<module '_cmemcache' from '/usr/lib/python2.5/site-packages/_cmemcache.so'>
testing <StringClient object at 0x82197d0> version $Revision: 431 $
        from <module 'cmemcache' from
'/home/rnadhani/Downloads/cmemcache-0.95/cmemcache.py'>
[not...@1240607505.466746] mcm_storage_cmd():3339: unable to store
value: Operation now in progress: add
[not...@1240607505.466885] mcm_storage_cmd():3339: unable to store
value: Operation now in progress: replace
[w...@1240607505.467494] mcm_server_stats():3027: unknown stat
variable: pointer_size
F
======================================================================
FAIL: test_memcache (__main__.TestCmemcache)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test.py", line 254, in test_memcache
    self._test_base(cmemcache, cmemcache.StringClient(self.servers), ok=1)
  File "test.py", line 132, in _test_base
    self.failUnlessEqual(len(stats), 1)
AssertionError: 0 != 1

----------------------------------------------------------------------
Ran 1 test in 0.507s

FAILED (failures=1)

>>>>

So something wrong with my installation of memcache? Any suggested version?

Configuring the logging settings, I get this in my log:

2009-04-24 14:25:19,444 - INFO - Log file for Review Board v1.0beta2
2009-04-24 14:25:19,582 - DEBUG - Generating diff viewer page for filediff id 2
2009-04-24 14:25:19,583 - DEBUG - Begin: Generating diff file info for
diffset id 2
2009-04-24 14:25:19,585 - DEBUG - End: Generating diff file info for
diffset id 2
2009-04-24 14:25:19,585 - DEBUG - Generating diff file info for
diffset id 2 took 0.2107 seconds
2009-04-24 14:25:19,587 - DEBUG - Begin: Generating diff file info for
diffset id 2, filediff 2
2009-04-24 14:25:19,588 - INFO - Cache miss for key
127.0.0.1:diff-sidebyside-hl-2.


-- 
Ritesh
http://www.riteshn.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To post to this group, send email to reviewboard@googlegroups.com
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to