POT Generation infinite loop with some files (follows gnome-clock issue #448)
To continue with the issue raised for gnome-clocks
, DL was unable to refresh the POT file (gnome-clocks.po-ui.master.pot
) using the master
branch.
Updating stats for gnome-clocks.master...
2023-11-29 19:19:05,569 - PID:101121 - damnedlies - INFO - generate_pot_file in models: Refreshing POT files for ‘master’ in repository ‘gnome-clocks’
^CTraceback (most recent call last):
File "/damned-lies/damnedlies/./manage.py", line 10, in <module>
execute_from_command_line(sys.argv)
File "/damned-lies/venv/lib64/python3.11/site-packages/django/core/management/__init__.py", line 442, in execute_from_command_line
utility.execute()
File "/damned-lies/venv/lib64/python3.11/site-packages/django/core/management/__init__.py", line 436, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/damned-lies/venv/lib64/python3.11/site-packages/django/core/management/base.py", line 412, in run_from_argv
self.execute(*args, **cmd_options)
File "/damned-lies/venv/lib64/python3.11/site-packages/django/core/management/base.py", line 458, in execute
output = self.handle(*args, **options)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/damned-lies/damnedlies/stats/management/commands/update-stats.py", line 70, in handle
self.update_branches(module.branch_set.all())
File "/damned-lies/damnedlies/stats/management/commands/update-stats.py", line 99, in update_branches
branch.update_statistics(self.force_stats, checkout=checkout)
File "/damned-lies/damnedlies/stats/models.py", line 628, in update_statistics
changed_status, diff = utils.pot_diff_status(previous_pot, potfile)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/damned-lies/damnedlies/stats/utils.py", line 468, in pot_diff_status
result_all, result_add_only = potdiff.diff(str(pota), str(potb))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/damned-lies/damnedlies/stats/potdiff.py", line 133, in diff
while i < len(res1) and j < len(res2):
^^^^^^^^^
KeyboardInterrupt
New logs were added in e25e4029.