Code

Opened 5 months ago

Closed 5 months ago

#21433 closed Uncategorized (duplicate)

Stupid error handling in translation which block to solve error :)

Reported by: anonymous Owned by: nobody
Component: Internationalization Version: 1.5
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

See this code:

if status != STATUS_OK:

os.unlink(potfile)
raise CommandError(

"errors happened while running msgmerge\n%s" % errors)

Why we delete invalid *.pot file - how to find error after it?
os.unlink(potfile)

This file should be save for analysis!

Attachments (0)

Change History (1)

comment:1 Changed 5 months ago by bmispelon

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to duplicate
  • Status changed from new to closed

Hi,

Please choose your words more carefully when opening a ticket (Django is made by volunteer contributors, none of which would appreciate being called "stupid") [1].

As for your issue, it's already been reported in #17008. You'll note that this ticket has been fixed and made it to the 1.6 release.

[1] https://www.djangoproject.com/conduct/

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.