Opened 4 years ago

Closed 4 years ago

#12117 closed (duplicate)

Silently ignoring of import errors in models module.

Reported by: lorien Owned by: nobody
Component: Database layer (models, ORM) Version: 1.1
Severity: Keywords: ImportError, exception, import, models
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


If I have application which has like:

from foo import Bar # Will raise ImportError

and foo package does not exist then validate will not report any error message but syncdb will not create any table for my application because of import error in the begining of

I think that proper behavior in such case is to report something :-)

Attachments (0)

Change History (1)

comment:1 Changed 4 years ago by kmtracey

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

We already have #11696 tracking this.

Add Comment

Modify Ticket

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

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

Note: See TracTickets for help on using tickets.