Skip to content

TypeError: 'buffer' does not have the buffer interface  #101

@mfenner1

Description

@mfenner1

Hi folks,

I don't have a better way to communicate with the project, so the following may be user error on my part and not a bug. But, here's what's going on:

(Morning of July 18) I grabbed the development branches of repo-handler and cvsanaly:

git clone -b develop git://github.com/SoftwareIntrospectionLab/repositoryhandler.git
git clone -b develop git://github.com/SoftwareIntrospectionLab/cvsanaly.git

I installed them (python setup.py install for both)

I moved into a downloaded project directory (which I successfully processed with the msr2011 tagged repohandler/cvsanaly):

cd voldemort

I fired up cvsanaly (results follow my question):

mfenner [663] % cvsanaly2 --db-driver sqlite -d ../tmpdb/vold3.db

Any thoughts on the following error? Database problem? Threading/execution problem? Other? I'll try to dig into.

Best,
Mark

results:

% cvsanaly2 --db-driver sqlite -d ../tmpdb/vold3.db
Parsing log for /voldemort (git)
Warning: Detected empty branch 'master', it'll be ignored
Warning: Detected empty branch 'li-r1106', it'll be ignored
Warning: Detected empty branch 'li-r1104', it'll be ignored
Warning: Detected empty branch 'li-r1028', it'll be ignored
Warning: Detected empty branch 'release-081', it'll be ignored
Warning: Detected empty branch 'release-0802', it'll be ignored
Warning: Detected empty branch 'release-0801', it'll be ignored
Warning: Detected empty branch 'release-080', it'll be ignored
Warning: Detected empty branch 'li-r1008', it'll be ignored
Warning: Detected empty branch 'release-070', it'll be ignored
Warning: Detected empty branch 'li-r1006', it'll be ignored
Warning: Detected empty branch 'release-060', it'll be ignored
Warning: Detected empty branch 'socketpool', it'll be ignored
Warning: Detected empty branch 'li-rel-926', it'll be ignored
Database looks empty, removing cache file /home/mfenner/.cvsanaly2/cache/git:__github.com_voldemort_voldemort.git
Exception in thread Thread-3:
Traceback (most recent call last):
File "/usr/lib64/python2.7/threading.py", line 530, in __bootstrap_inner
self.run()
File "/usr/lib64/python2.7/threading.py", line 483, in run
self.__target(_self.__args, *_self.__kwargs)
File "/usr/lib64/python2.7/site-packages/cvsanaly-2.4-py2.7.egg/pycvsanaly2/DBProxyContentHandler.py", line 56, in __reader
templog.foreach(commit_cb, self.order)
File "/usr/lib64/python2.7/site-packages/cvsanaly-2.4-py2.7.egg/pycvsanaly2/DBTempLog.py", line 176, in foreach
io = BytesIO(obj)
TypeError: 'buffer' does not have the buffer interface

Executing extensions

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions