Jason,

This is a bug that slipped in (a Python 2.6 incompatibility). We got a fix
in for 2.0.x but it never made it to the 1.7.x branch. We'll get a fix in
for the next point release.

-David

On Fri, Sep 26, 2014 at 7:51 PM, Jason Pernito <jpern...@gmail.com> wrote:

> Everything looks good except when running
>
> rb-site manage /path/to/site condensediffs
>
>
> Processing 210351 diffs for duplicates...
>
> This may take a while. It is safe to continue using Review Board while
> this is
> processing, but it may temporarily run slower.
>
> Traceback (most recent call last):
>   File "/usr/bin/rb-site", line 9, in <module>
>     load_entry_point('ReviewBoard==1.7.28', 'console_scripts', 'rb-site')()
>   File
> "/usr/lib/python2.6/site-packages/ReviewBoard-1.7.28-py2.6.egg/reviewboard/cmdline/rbsite.py",
> line 2170, in main
>     command.run()
>   File
> "/usr/lib/python2.6/site-packages/ReviewBoard-1.7.28-py2.6.egg/reviewboard/cmdline/rbsite.py",
> line 2087, in run
>     site.run_manage_command(args[0], args[1:])
>   File
> "/usr/lib/python2.6/site-packages/ReviewBoard-1.7.28-py2.6.egg/reviewboard/cmdline/rbsite.py",
> line 606, in run_manage_command
>     execute_manager(reviewboard.settings, [__file__, cmd] + params)
>   File
> "/usr/lib/python2.6/site-packages/Django-1.4.15-py2.6.egg/django/core/management/__init__.py",
> line 459, in execute_manager
>     utility.execute()
>   File
> "/usr/lib/python2.6/site-packages/Django-1.4.15-py2.6.egg/django/core/management/__init__.py",
> line 382, in execute
>     self.fetch_command(subcommand).run_from_argv(self.argv)
>   File
> "/usr/lib/python2.6/site-packages/Django-1.4.15-py2.6.egg/django/core/management/base.py",
> line 196, in run_from_argv
>     self.execute(*args, **options.__dict__)
>   File
> "/usr/lib/python2.6/site-packages/Django-1.4.15-py2.6.egg/django/core/management/base.py",
> line 232, in execute
>     output = self.handle(*args, **options)
>   File
> "/usr/lib/python2.6/site-packages/Django-1.4.15-py2.6.egg/django/core/management/base.py",
> line 371, in handle
>     return self.handle_noargs(**options)
>   File
> "/usr/lib/python2.6/site-packages/ReviewBoard-1.7.28-py2.6.egg/reviewboard/diffviewer/management/commands/condensediffs.py",
> line 60, in handle_noargs
>     info = FileDiff.objects.migrate_all(self._on_processed_filediff)
>   File
> "/usr/lib/python2.6/site-packages/ReviewBoard-1.7.28-py2.6.egg/reviewboard/diffviewer/managers.py",
> line 69, in migrate_all
>     processed_filediff_cb(filediff)
>   File
> "/usr/lib/python2.6/site-packages/ReviewBoard-1.7.28-py2.6.egg/reviewboard/diffviewer/management/commands/condensediffs.py",
> line 84, in _on_processed_filediff
>     delta_secs = (datetime.now() - self.start_time).total_seconds()
> AttributeError: 'datetime.timedelta' object has no attribute
> 'total_seconds'
>
> Please let me know what I am missing here.
>
> Thanks in advance for your help,
> -jason
>
> --
> Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
> ---
> Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
> ---
> Happy user? Let us know at http://www.reviewboard.org/users/
> ---
> You received this message because you are subscribed to the Google Groups
> "reviewboard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to reviewboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to