:) I had manually removed all tables but those two... it worked now.
Well... first it silently stopped. Then I wrote "puts counter" so I would
know on which line and "puts file.path" to get access to the file being
processed.
The line preventing it from finishing is around here (the snippet starts on
line 2896):
"7288","2011/08/30","Tttttttttt Pagamento","Liabilities:Funds:Retirement
Plan","R$","-88.468","false","true","","R$-88.47"
"7288","2011/08/30","Tttttttttt Pagamento","Liabilities:Funds:Retirement
Plan","R$","-1965.95","false","true","","R$-1965.95"
"7288","2011/08/30","Tttttttttt Pagamento","Liabilities:Funds:Retirement
Plan","""B PGBL F10""","103.59","false","true","","103.59 ""B PGBL F10""
{R$4.2701032918} [2011/08/30]"
"7288","2011/08/30","Tttttttttt Pagamento","Liabilities:Funds:Emergency
Reserve","R$","-196.595","false","true","","R$-196.60"
"7297","2011/08/30","Tttttttttt Pagamento","Future
Assets:FGTS:Tttttttttt","R$","786.38","false","false","","R$786.38"
I included some lines before and after the last one processed so you could
have and idea of what happened. I believe there could be something to do
with the cost processing but I'm not sure. I have a plane to catch so I
wont be able to modify my ledger file to see if it would pass this line.
I have a very limited ruby knowledge, do you have any idea of what is going
on now?
Thanks,
Raphael
On Sunday, March 18, 2012 11:57:12 PM UTC-3, Peter Keen wrote:
>
> On Sun, Mar 18, 2012 at 7:46 PM, Raphael Lorenzeto
> <[email protected]> wrote:
> > I cannot find those files on my system so what can I do? Is there any
> kind
> > of cache I can clear??
>
> The easiest way to clear them out is to `dropdb` and `createdb` again.
> The long answer is that there are two tables in the ledger database,
> one named `schema_changes` and another called `user_schema_changes`.
> These keep track of the schema migrations (add columns, add tables,
> etc) that ledger_web has run since you created the database. To ensure
> everything starts fresh, you should probably just drop and recreate.
> This isn't ideal but you shouldn't ever have to do it again once you
> have ledger_web up and running.
>
> --Pete
>
>