[Bug 944053] [NEW] rabbitvcs stalls

axeoth 944053 at bugs.launchpad.net
Thu Mar 1 14:59:55 UTC 2012


Public bug reported:

When launching (Xubuntu 12.04 updated) "rabbitvcs log" on terminal
prompt, in home folder (that is, no SVN and no GIT working copy), the
following message is displayed:

** WARNING **: Trying to register gtype 'GMountMountFlags' as enum when
in fact it is of type 'GFlags'

** WARNING **: Trying to register gtype 'GDriveStartFlags' as enum when in fact it is of type 'GFlags'
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/rabbitvcs/ui/log.py", line 1462, in <module>
    window = log_factory(paths[0], vcs=options.vcs)
  File "/usr/lib/pymodules/python2.7/rabbitvcs/ui/log.py", line 1446, in log_factory
    return classes_map[vcs](path)
KeyError: 'unknown'

Then, it simply stalls. No window, no prompt, nothing.

Fortunately, CTRL+C allows recovering prompt in terminal.

When typing "rabbitvcs log" in a terminal window inside a directory
containing a SVN working copy, it displays:

** WARNING **: Trying to register gtype 'GMountMountFlags' as enum when
in fact it is of type 'GFlags'

** WARNING **: Trying to register gtype 'GDriveStartFlags' as enum when
in fact it is of type 'GFlags'

but eventually, it opens the rabbitvcs (log) window and displays the
log.  However, after closing that window from the "x" button, the prompt
is not recovered, and pressing "CTRL+C" is needed in order to retrieve
it.

Finally, the rabbitvcs (log) window, while displayed, is not fully
functional. For example, trying to launch "Compare with previous
version" for a file changed with one commit, will result in displaying
no (meld) window, but instead in displaying (inside the terminal) the
following:

Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/rabbitvcs/ui/log.py", line 1296, in compare_previous_revision
    if len(self.revisions[0]["parents"]) > 0:
TypeError: object of type 'NoneType' has no len()

Thank you.

** Affects: python2.7 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python2.7 in Ubuntu.
https://bugs.launchpad.net/bugs/944053

Title:
  rabbitvcs stalls

Status in “python2.7” package in Ubuntu:
  New

Bug description:
  When launching (Xubuntu 12.04 updated) "rabbitvcs log" on terminal
  prompt, in home folder (that is, no SVN and no GIT working copy), the
  following message is displayed:

  ** WARNING **: Trying to register gtype 'GMountMountFlags' as enum
  when in fact it is of type 'GFlags'

  ** WARNING **: Trying to register gtype 'GDriveStartFlags' as enum when in fact it is of type 'GFlags'
  Traceback (most recent call last):
    File "/usr/lib/pymodules/python2.7/rabbitvcs/ui/log.py", line 1462, in <module>
      window = log_factory(paths[0], vcs=options.vcs)
    File "/usr/lib/pymodules/python2.7/rabbitvcs/ui/log.py", line 1446, in log_factory
      return classes_map[vcs](path)
  KeyError: 'unknown'

  Then, it simply stalls. No window, no prompt, nothing.

  Fortunately, CTRL+C allows recovering prompt in terminal.

  When typing "rabbitvcs log" in a terminal window inside a directory
  containing a SVN working copy, it displays:

  ** WARNING **: Trying to register gtype 'GMountMountFlags' as enum
  when in fact it is of type 'GFlags'

  ** WARNING **: Trying to register gtype 'GDriveStartFlags' as enum
  when in fact it is of type 'GFlags'

  but eventually, it opens the rabbitvcs (log) window and displays the
  log.  However, after closing that window from the "x" button, the
  prompt is not recovered, and pressing "CTRL+C" is needed in order to
  retrieve it.

  Finally, the rabbitvcs (log) window, while displayed, is not fully
  functional. For example, trying to launch "Compare with previous
  version" for a file changed with one commit, will result in displaying
  no (meld) window, but instead in displaying (inside the terminal) the
  following:

  Traceback (most recent call last):
    File "/usr/lib/pymodules/python2.7/rabbitvcs/ui/log.py", line 1296, in compare_previous_revision
      if len(self.revisions[0]["parents"]) > 0:
  TypeError: object of type 'NoneType' has no len()

  Thank you.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python2.7/+bug/944053/+subscriptions




More information about the foundations-bugs mailing list