Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid identifier (TZInfo::InvalidTimezoneIdentifier) error after upgrade to 2.0.3 #48

Open
bustikiller opened this issue Aug 17, 2018 · 0 comments

Comments

@bustikiller
Copy link

bustikiller commented Aug 17, 2018

I am experiencing an error after updating the clockwork gem from 2.0.2 to 2.0.3:

app/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/lib/tzinfo/zoneinfo_data_source.rb:208:in `load_timezone_info': Invalid identifier (TZInfo::InvalidTimezoneIdentifier)
	from /app/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/lib/tzinfo/timezone.rb:92:in `get'
	from /app/vendor/bundle/ruby/2.5.0/gems/clockwork-2.0.3/lib/clockwork/event.rb:20:in `convert_timezone'
	from /app/vendor/bundle/ruby/2.5.0/gems/clockwork-2.0.3/lib/clockwork/event.rb:24:in `run_now?'
	from /app/vendor/bundle/ruby/2.5.0/gems/clockwork-2.0.3/lib/clockwork/manager.rb:163:in `block in events_to_run'
	from /app/vendor/bundle/ruby/2.5.0/gems/clockwork-2.0.3/lib/clockwork/manager.rb:163:in `select'
	from /app/vendor/bundle/ruby/2.5.0/gems/clockwork-2.0.3/lib/clockwork/manager.rb:163:in `events_to_run'
	from /app/vendor/bundle/ruby/2.5.0/gems/clockwork-2.0.3/lib/clockwork/manager.rb:133:in `tick'
	from /app/vendor/bundle/ruby/2.5.0/gems/clockwork-2.0.3/lib/clockwork/manager.rb:123:in `block (2 levels) in run_tick_loop'
	from /app/vendor/bundle/ruby/2.5.0/gems/clockwork-2.0.3/lib/clockwork/manager.rb:121:in `synchronize'
	from /app/vendor/bundle/ruby/2.5.0/gems/clockwork-2.0.3/lib/clockwork/manager.rb:121:in `block in run_tick_loop'

Tested with Ruby versions: 2.5.0 and 2.5.1

I can reproduce this locally (Ubuntu 16.04) running bundle exec clockwork config/clock.rb. This does not happen with version 2.0.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant