Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Cannot Reproduce
    • Affects Version/s: 0.5
    • Fix Version/s: None
    • Component/s: library
    • Security Level: Public
    • Labels:
      None
    • Environment:
      all

      Description

      A lot of print statements are left around the python client library which breaks WSGI - including when you connect.

      No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

        Hide
        farshid Farshid Ghods (Inactive) added a comment -

        there are print statements only when there is an exception.

        were you using pycouchtests ?

        Show
        farshid Farshid Ghods (Inactive) added a comment - there are print statements only when there is an exception. were you using pycouchtests ?
        Hide
        farshid Farshid Ghods (Inactive) added a comment -

        ./couchbase/couchbaseclient.py: print ex
        ./couchbase/couchbaseclient.py: print ex
        ./couchbase/couchbaseclient.py: print ex
        ./couchbase/httplib2/_init_.py: print "connect: (%s, %s)" % (self.host, self.port)
        ./couchbase/httplib2/_init_.py: print 'connect fail:', (self.host, self.port)
        ./couchbase/migrator/migrator_couchbase.py: print 'unable to set key

        {0}'.format(str(record['id']))
        ./couchbase/utils/couchbase-migrator.py: print "Error: %s\n" % err
        ./couchbase/utils/couchbase-migrator.py: print """\
        ./couchbase/utils/couchbase-migrator.py: print "Sources:"
        ./couchbase/utils/couchbase-migrator.py: print " " + source['type']
        ./couchbase/utils/couchbase-migrator.py: print " " + source['example']
        ./couchbase/utils/couchbase-migrator.py: print
        ./couchbase/utils/couchbase-migrator.py: print
        ./couchbase/utils/couchbase-migrator.py: print "Destinations:"
        ./couchbase/utils/couchbase-migrator.py: print " " + destination['type']
        ./couchbase/utils/couchbase-migrator.py: print " " + destination['example']
        ./couchbase/utils/couchbase-migrator.py: print
        ./couchbase/utils/couchbase-migrator.py: print 'migrated {0}

        items'.format(count)
        ./couchbase/utils/pycouchtest.py: def print_stats(self):
        ./couchbase/utils/pycouchtest.py: print msg.format(self._thread_id, self._stats["total_time"] / self._stats["samples"],
        ./couchbase/utils/pycouchtest.py: parser.print_help()
        ./couchbase/utils/pycouchtest.py: worker.print_stats()
        ./couchbase/utils/pycouchtest.py: print ""

        Show
        farshid Farshid Ghods (Inactive) added a comment - ./couchbase/couchbaseclient.py: print ex ./couchbase/couchbaseclient.py: print ex ./couchbase/couchbaseclient.py: print ex ./couchbase/httplib2/_ init _.py: print "connect: (%s, %s)" % (self.host, self.port) ./couchbase/httplib2/_ init _.py: print 'connect fail:', (self.host, self.port) ./couchbase/migrator/migrator_couchbase.py: print 'unable to set key {0}'.format(str(record ['id'] )) ./couchbase/utils/couchbase-migrator.py: print "Error: %s\n" % err ./couchbase/utils/couchbase-migrator.py: print """\ ./couchbase/utils/couchbase-migrator.py: print "Sources:" ./couchbase/utils/couchbase-migrator.py: print " " + source ['type'] ./couchbase/utils/couchbase-migrator.py: print " " + source ['example'] ./couchbase/utils/couchbase-migrator.py: print ./couchbase/utils/couchbase-migrator.py: print ./couchbase/utils/couchbase-migrator.py: print "Destinations:" ./couchbase/utils/couchbase-migrator.py: print " " + destination ['type'] ./couchbase/utils/couchbase-migrator.py: print " " + destination ['example'] ./couchbase/utils/couchbase-migrator.py: print ./couchbase/utils/couchbase-migrator.py: print 'migrated {0} items'.format(count) ./couchbase/utils/pycouchtest.py: def print_stats(self): ./couchbase/utils/pycouchtest.py: print msg.format(self._thread_id, self._stats ["total_time"] / self._stats ["samples"] , ./couchbase/utils/pycouchtest.py: parser.print_help() ./couchbase/utils/pycouchtest.py: worker.print_stats() ./couchbase/utils/pycouchtest.py: print ""
        Hide
        ingenthr Matt Ingenthron added a comment -

        Discussion with Farshid indicated this is no longer an issue. Oli, please clarify if there's something we need to address here. Thanks!

        Show
        ingenthr Matt Ingenthron added a comment - Discussion with Farshid indicated this is no longer an issue. Oli, please clarify if there's something we need to address here. Thanks!

          People

          • Assignee:
            farshid Farshid Ghods (Inactive)
            Reporter:
            oliland Oli Kingshott
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes