[MacPorts] #23402: duplicity: OverflowError: signed integer is greater than maximum

MacPorts noreply at macports.org
Mon Mar 12 01:48:55 PDT 2012


#23402: duplicity: OverflowError: signed integer is greater than maximum
------------------------------------+---------------------------------------
  Reporter:  trejkaz@…              |       Owner:  singingwolfboy@…           
      Type:  defect                 |      Status:  reopened                   
  Priority:  Normal                 |   Milestone:                             
 Component:  ports                  |     Version:  1.8.2                      
Resolution:                         |    Keywords:                             
      Port:  duplicity              |  
------------------------------------+---------------------------------------
Changes (by avelo@…):

  * status:  closed => reopened
  * resolution:  fixed =>


Comment:

 I get the same traceback with latest duplicity 0.6.18.  Apparently, they
 occurs when I try to restore or fetch some files under /private/var
 directory. All other directories in HDD restore ok.

 At the bottom of this message I've pasted the end of the trace.
 Full trace is at: http://pastebin.com/YKBxHPSj
 Duply exclude file is here (Just in case it could help):
 http://pastebin.com/EBfKuDsJ

 Thanks in advance

 ----
 Making directory
 /Volumes/RestoreDisk/private/var/db/launchd.db/com.apple.launchd
 Writing db/launchd.db/com.apple.launchd/overrides.plist of type reg
 Writing db/launchd.db/com.apple.launchd.peruser.0 of type dir
 Making directory
 /Volumes/RestoreDisk/private/var/db/launchd.db/com.apple.launchd.peruser.0
 Writing db/launchd.db/com.apple.launchd.peruser.0/overrides.plist of type
 reg
 Writing db/launchd.db/com.apple.launchd.peruser.212 of type dir
 Making directory
 /Volumes/RestoreDisk/private/var/db/launchd.db/com.apple.launchd.peruser.212
 Writing db/launchd.db/com.apple.launchd.peruser.212/overrides.plist of
 type reg
 Writing db/launchd.db/com.apple.launchd.peruser.26 of type dir
 Making directory
 /Volumes/RestoreDisk/private/var/db/launchd.db/com.apple.launchd.peruser.26
 Writing db/launchd.db/com.apple.launchd.peruser.26/overrides.plist of type
 reg
 Writing db/launchd.db/com.apple.launchd.peruser.4294967294 of type dir
 Making directory
 /Volumes/RestoreDisk/private/var/db/launchd.db/com.apple.launchd.peruser.4294967294
 Writing db/launchd.db/com.apple.launchd.peruser.4294967294/overrides.plist
 of type reg
 Removing still remembered temporary file /tmp/duplicity-slm38W-tempdir
 /mktemp-soPJOo-4
 Removing still remembered temporary file /tmp/duplicity-slm38W-tempdir
 /mktemp-GTvmhs-13
 Removing still remembered temporary file /tmp/duplicity-slm38W-tempdir
 /mkstemp-XO5dl5-1
 Removing still remembered temporary file /tmp/duplicity-slm38W-tempdir
 /mktemp-IqefJe-3
 Traceback (most recent call last):
   File "/opt/local/bin/duplicity", line 1391, in <module>
     with_tempdir(main)
   File "/opt/local/bin/duplicity", line 1384, in with_tempdir
     fn()
   File "/opt/local/bin/duplicity", line 1318, in main
     restore(col_stats)
   File "/opt/local/bin/duplicity", line 623, in restore
     restore_get_patched_rop_iter(col_stats)):
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/duplicity/patchdir.py", line 524, in Write_ROPaths
     ITR( ropath.index, ropath )
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/duplicity/lazy.py", line 335, in __call__
     last_branch.fast_process, args)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/duplicity/robust.py", line 37, in check_common_error
     return function(*args)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/duplicity/patchdir.py", line 577, in fast_process
     ropath.copy( self.base_path.new_index( index ) )
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/duplicity/path.py", line 443, in copy
     self.copy_attribs(other)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/duplicity/path.py", line 448, in copy_attribs
     util.maybe_ignore_errors(lambda: os.chown(other.name,
 self.stat.st_uid, self.stat.st_gid))
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/duplicity/util.py", line 65, in maybe_ignore_errors
     return fn()
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/duplicity/path.py", line 448, in <lambda>
     util.maybe_ignore_errors(lambda: os.chown(other.name,
 self.stat.st_uid, self.stat.st_gid))
 OverflowError: signed integer is greater than maximum

-- 
Ticket URL: <https://trac.macports.org/ticket/23402#comment:5>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list