okfn-brasil / gastos_abertos

Código principal do projeto Gastos Abertos.
GNU Affero General Public License v3.0
9 stars 7 forks source link

Error trying to run fab importdata #107

Closed lpirola closed 9 years ago

lpirola commented 9 years ago

After following instructions to install when i try to run fab run_local importdata this error occurs:

Importing Revenue Codes from: ../gastos_abertos_dados/doc/Codificacao_de_Receitas_2013.txt Done. Traceback (most recent call last): File "utils/import_revenue.py", line 139, in insert_all(**args) File "utils/import_revenue.py", line 86, in insert_all if cache not in code: TypeError: 'in ' requires string as left operand, not dict

Fatal error: local() encountered an error (return code 1) while executing ' python utils/import_revenue_codes.py python utils/import_revenue.py data/receitas_min.csv 100 '

Aborting. local() encountered an error (return code 1) while executing ' python utils/import_revenue_codes.py python utils/import_revenue.py data/receitas_min.csv 100

Trying to run on ubuntu.