View Issue Details

IDProjectCategoryView StatusLast Update
0004425Talerobsolete componentpublic2016-04-15 15:14
ReporterChristian Grothoff Assigned ToFlorian Dold Resolution deadline
ImplementerReviewer 
Release signed byDeployed by 
VerifierCommunicator 
Data protection authority notification requiredNo  
CSIRT notification requiredNo  
Estimated effort (hours)Actual effort (hours)0 
Fast-trackNo
Work packagenone
PrioritynormalSeverityblockReproducibilityalways
Status closedResolutionfixed 
Platformi7OSDebian GNU/LinuxOS Versionsqueeze
Product Version0.0 
Target Version0.0Fixed in Version0.0 
Summary0004425: cannot start bank
DescriptionI manually created 'talerbank' using createdb. Still I get this:

grothoff@firefly:~/deployment$ taler-bank-manage serve-http
2016-04-15 16:48:59,450 settings INFO secret key not configured in TALER_BANK_SECRET_KEY env variable, generating random secret
2016-04-15 14:48:59,570 provide_accounts ERROR Please create DB before running the bank
grothoff@firefly:~/deployment$ taler-bank-manage createdb
2016-04-15 16:50:30,302 settings INFO secret key not configured in TALER_BANK_SECRET_KEY env variable, generating random secret
Database already exists
grothoff@firefly:~/deployment$ taler-bank-manage serve-http
2016-04-15 16:50:32,598 settings INFO secret key not configured in TALER_BANK_SECRET_KEY env variable, generating random secret
2016-04-15 14:50:32,727 provide_accounts ERROR Please create DB before running the bank
TagsNo tags attached.

Required notifications

Address or linkRemarkAdded byNotifiedActions

Activities

Florian Dold

2016-04-15 15:02

manager   ~0010487

Fixed in 887ccd5. The error reporting was simply false. The database exists, but some django-internal tables not.

The serve-http command now automatically runs django migrate (which creates django's tables).

Florian Dold

2016-04-15 15:07

manager   ~0010488

Note that the error reporting in the bank is still funky in some places, we often swallow error messages of generic exceptions classes and output our own, misguided error message for it.

Issue History

Date ModifiedUsernameFieldChange
2016-04-15 14:52Christian GrothoffNew Issue
2016-04-15 14:52Christian GrothoffStatusnew => assigned
2016-04-15 14:52Christian GrothoffAssigned To => Florian Dold
2016-04-15 15:02Florian DoldNote Added: 0010487
2016-04-15 15:02Florian DoldStatusassigned => informing
2016-04-15 15:02Florian DoldResolutionopen => fixed
2016-04-15 15:07Florian DoldNote Added: 0010488
2016-04-15 15:14Christian GrothoffStatusinforming => closed
2016-04-15 15:14Christian GrothoffFixed in Version => 0.0
2022-08-23 18:26Christian GrothoffCategorybank (demonstrator) => py bank (demonstrator, obsolete)
2023-12-03 00:23Christian GrothoffCategorypy bank (demonstrator, obsolete) => obsolete componet
2023-12-11 19:08Florian DoldCategoryobsolete componet => obsolete component