generic ('error', '') from smart server on commit of large file

Bug #544518 reported by Vernon Cole
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
Confirmed
Low
Unassigned

Bug Description

Just finished editing a short (7 minute) video on my newly installed Lucid laptop.
Backing up the project to my Jaunty server next door (wireless link) using bzr. The laptop is carrying a checkout.
[Note: the chmod below is to work around a different bug caused by transferring a file from an NTSF volume.]
v v v v v v
vernon@dlc-ubuntu:~/bzr/vernons$ bzr status
modified:
  WGU/LUT-1.odp
  WGU/links.odt*
unknown:
  WGU/LUT1-vdc.avi
vernon@dlc-ubuntu:~/bzr/vernons$ cd WGU
vernon@dlc-ubuntu:~/bzr/vernons/WGU$ bzr add *.avi
adding WGU/LUT1-vdc.avi
vernon@dlc-ubuntu:~/bzr/vernons/WGU$ chmod -x links.odt
vernon@dlc-ubuntu:~/bzr/vernons/WGU$ bzr add *.avi
vernon@dlc-ubuntu:~/bzr/vernons/WGU$ bzr status
added:
  WGU/LUT1-vdc.avi
modified:
  WGU/LUT-1.odp
vernon@dlc-ubuntu:~/bzr/vernons/WGU$ bzr commit -m "second try"
<email address hidden>'s password:
Unable to load plugin 'rebase'. It requested API version (1, 13, 0) of module <module 'bzrlib' from '/usr/lib/python2.6/dist-packages/bzrlib/__init__.pyc'> but the minimum exported version is (2, 1, 0), and the maximum is (2, 1, 0)
Committing to: bzr+ssh://<email address hidden>/shares/vernons/
modified WGU/LUT-1.odp
added WGU/LUT1-vdc.avi
bzr: ERROR: bzrlib.errors.ErrorFromSmartServer: Error received from smart server: ('error', '')

*** Bazaar has encountered an internal error. This probably indicates a
    bug in Bazaar. You can help us fix it by filing a bug report at
        https://bugs.launchpad.net/bzr/+filebug
    attaching the crash file
        /home/vernon/.cache/crash/bzr-20100322202941-3622.crash
    and including a description of the problem.

    The crash file is plain text and you can inspect or edit it to remove
    private information.
vernon@dlc-ubuntu:~/bzr/vernons/WGU$ ssh <email address hidden>
<email address hidden>'s password:
Linux star.vernonscomputershop.com 2.6.28-16-server #57-Ubuntu SMP Wed Nov 11 10:48:29 UTC 2009 i686

The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.

To access official Ubuntu documentation, please visit:
http://help.ubuntu.com/

  System information as of Mon Mar 22 14:50:01 MDT 2010

  System load: 0.42 Swap usage: 4% Users logged in: 0
  Usage of /: 33.6% of 36.83GB Temperature: 35 C
  Memory usage: 7% Processes: 93

  Graph this data and manage this system at https://landscape.canonical.com/

2 packages can be updated.
0 updates are security updates.

No mail.
Last login: Sat Mar 20 21:27:49 2010 from 192.168.1.102
vernon@star:~$ bzr version
Unable to load plugin 'rebase'. It requested API version (1, 13, 0) of module <module 'bzrlib' from '/usr/lib/python2.6/dist-packages/bzrlib/__init__.pyc'> but the minimum exported version is (2, 1, 0), and the maximum is (2, 1, 0)
Bazaar (bzr) 2.1.0
  Python interpreter: /usr/bin/python 2.6.2
  Python standard library: /usr/lib/python2.6
  Platform: Linux-2.6.28-16-server-i686-with-Ubuntu-9.04-jaunty
  bzrlib: /usr/lib/python2.6/dist-packages/bzrlib
  Bazaar configuration: /home/vernon/.bazaar
  Bazaar log file: /home/vernon/.bzr.log

Copyright 2005, 2006, 2007, 2008, 2009 Canonical Ltd.
http://bazaar-vcs.org/

bzr comes with ABSOLUTELY NO WARRANTY. bzr is free software, and
you may use, modify and redistribute it under the terms of the GNU
General Public License version 2 or later.

Bazaar is part of the GNU Project to produce a free operating system.

vernon@star:~$ exit
logout
Connection to star.vernonscomputershop.com closed.
vernon@dlc-ubuntu:~/bzr/vernons/WGU$ bzr versiono
bzr: ERROR: unknown command "versiono"
vernon@dlc-ubuntu:~/bzr/vernons/WGU$ bzr version
Bazaar (bzr) 2.1.0
  Python interpreter: /usr/bin/python 2.6.5
  Python standard library: /usr/lib/python2.6
  Platform: Linux-2.6.32-16-generic-i686-with-Ubuntu-10.04-lucid
  bzrlib: /usr/lib/python2.6/dist-packages/bzrlib
  Bazaar configuration: /home/vernon/.bazaar
  Bazaar log file: /home/vernon/.bzr.log

Copyright 2005, 2006, 2007, 2008, 2009 Canonical Ltd.
http://bazaar-vcs.org/

bzr comes with ABSOLUTELY NO WARRANTY. bzr is free software, and
you may use, modify and redistribute it under the terms of the GNU
General Public License version 2 or later.

Bazaar is part of the GNU Project to produce a free operating system.
^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^
P.S. -- it ran a LONG time before the crash. The video is about 300 MB in size.
--
Vernon

Revision history for this message
Vernon Cole (vernondcole) wrote :
Revision history for this message
Martin Pool (mbp) wrote :

Hi Vernon,

I think this is because the server is running out of memory trying to process the commit. There is at least a bug here that you should get a sensible message.

Can you please see if there is a traceback in the .bzr.log file on the server?

bzr is not really intended for backing up video files; I suggest you look at duplicity instead.

summary: - Error from smart server with large file...
- crash/bzr-20100322202941-3622.crash
+ generic ('error', '') from smart server on commit of large file
Changed in bzr:
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Vernon Cole (vernondcole) wrote :

Why didn't I think of that? Looks like you nailed it. Next-to-last entry.
--
Vernon

Revision history for this message
Martin Packman (gz) wrote :

There's been a lot of work done on memory improvements in newer Bazaar releases, this particular error reporting problem has been handled in bug 722416, and the master bug is for the general class of memory issues.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.