Peter,

I'm having this issue:

/Library/Ruby/Gems/1.8/gems/sequel-3.33.0/lib/sequel/extensions/migration.rb:620:in
 
`get_applied_migrations': Applied migration files not in file system: 
20111226193500_add_pay_period.rb, 20120304192700_add_last_updated.rb 
(Sequel::Migrator::Error)
from 
/Library/Ruby/Gems/1.8/gems/sequel-3.33.0/lib/sequel/extensions/migration.rb:582:in
 
`initialize'
from 
/Library/Ruby/Gems/1.8/gems/sequel-3.33.0/lib/sequel/extensions/migration.rb:351:in
 
`new'
from 
/Library/Ruby/Gems/1.8/gems/sequel-3.33.0/lib/sequel/extensions/migration.rb:351:in
 
`run'
from 
/Library/Ruby/Gems/1.8/gems/sequel-3.33.0/lib/sequel/extensions/migration.rb:335:in
 
`apply'
from 
/Library/Ruby/Gems/1.8/gems/ledger_web-1.4.3/lib/ledger_web/db.rb:23:in 
`run_migrations'
from 
/Library/Ruby/Gems/1.8/gems/ledger_web-1.4.3/lib/ledger_web/db.rb:11:in 
`connect'
from /Library/Ruby/Gems/1.8/gems/ledger_web-1.4.3/lib/ledger_web/app.rb:14
from 
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in
 
`gem_original_require'
from 
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in
 
`require'
from /Library/Ruby/Gems/1.8/gems/ledger_web-1.4.3/lib/ledger_web.rb:10
from 
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in
 
`gem_original_require'
from 
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in
 
`require'
from /Library/Ruby/Gems/1.8/gems/ledger_web-1.4.3/bin/ledger_web:7
from /usr/bin/ledger_web:19:in `load'
from /usr/bin/ledger_web:19

My .ledger_web/config.rb file only contains:

LedgerWeb::Config.new do |config|
  config.set :database_url, "postgres://postgres:malo82tu@localhost/ledger"
  config.set :ledger_bin_path,    "/Users/Raphael/Scripts/ledger/ledger"
end

and there is nothing else on that folder.

I remember using the 20111226193500_add_pay_period and 
the 20120304192700_add_last_updated before updating. I executed gem 
uninstall, removed all files related to ledger_web and did a gem_install 
twice and the error persists.

I cannot find those files on my system so what can I do? Is there any kind 
of cache I can clear??

Thanks,
Raphael

On Sunday, March 18, 2012 11:08:23 PM UTC-3, Peter Keen wrote:
>
> On Sun, Mar 18, 2012 at 7:01 PM, Raphael Lorenzeto
> <[email protected]> wrote:
> > Great Peter!
> >
> > I'll download and compile this version and try it out.
>
> Cool. Let me know how it goes!
>
> > By the way, I am using PostgreSQL 9.1, Ruby 1.8.7 and Ledger next branch.
> >
> > If you could shine some light on why my tables have all empty lines I'll 
> be
> > grateful!
>
> I saw that exact symptom when implementing ledger_web but I don't
> remember what I did to resolve it. When you next run it, would you be
> willing to share your logs and your ledger_web config? I suspect that
> the format string that ledger_web uses to dump the ledger isn't quite
> right for the next branch. I sadly haven't kept my ledger version up
> to date because my machine is severely memory constrained.
>
> --Pete
>
>

Reply via email to