Hello!
When loading openhab 2 in the log:
2017-03-10 15:38:18.782 [INFO ] [ding.astro.handler.AstroThingHandler] - Scheduled astro job-daily-sun at midnight for thing astro:sun:local
2017-03-10 15:38:18.822 [INFO ] [ding.astro.handler.AstroThingHandler] - Scheduled astro job-positional with interval of 300 seconds for thing astro:sun:local
2017-03-10 15:38:18.861 [INFO ] [ding.astro.handler.AstroThingHandler] - Scheduled astro job-daily-sun at midnight for thing astro:sun:local
2017-03-10 15:38:18.866 [INFO ] [ding.astro.handler.AstroThingHandler] - Scheduled astro job-positional with interval of 300 seconds for thing astro:sun:local
2017-03-10 15:38:19.554 [ERROR] [.astro.internal.job.AbstractDailyJob] - Unable to store Job : 'astro:sun:local.job-event-start-set#event', because one already exists with this identification.
org.quartz.ObjectAlreadyExistsException: Unable to store Job : 'astro:sun:local.job-event-start-set#event', because one already exists with this identification.
at org.quartz.simpl.RAMJobStore.storeJob(RAMJobStore.java:279)[106:org.eclipse.smarthome.core.scheduler:0.9.0.201703060943]
at org.quartz.simpl.RAMJobStore.storeJobAndTrigger(RAMJobStore.java:251)[106:org.eclipse.smarthome.core.scheduler:0.9.0.201703060943]
at org.quartz.core.QuartzScheduler.scheduleJob(QuartzScheduler.java:886)[106:org.eclipse.smarthome.core.scheduler:0.9.0.201703060943]
at org.quartz.impl.StdScheduler.scheduleJob(StdScheduler.java:249)[106:org.eclipse.smarthome.core.scheduler:0.9.0.201703060943]
at org.openhab.binding.astro.internal.job.AbstractDailyJob.schedule(AbstractDailyJob.java:105)[208:org.openhab.binding.astro:2.1.0.201703092339]
at org.openhab.binding.astro.internal.job.AbstractDailyJob.scheduleEvent(AbstractDailyJob.java:72)[208:org.openhab.binding.astro:2.1.0.201703092339]
at org.openhab.binding.astro.internal.job.AbstractDailyJob.scheduleRange(AbstractDailyJob.java:58)[208:org.openhab.binding.astro:2.1.0.201703092339]
at org.openhab.binding.astro.internal.job.DailyJobSun.schedulePlanetEvents(DailyJobSun.java:33)[208:org.openhab.binding.astro:2.1.0.201703092339]
at org.openhab.binding.astro.internal.job.AbstractDailyJob.executeJob(AbstractDailyJob.java:47)[208:org.openhab.binding.astro:2.1.0.201703092339]
at org.openhab.binding.astro.internal.job.AbstractBaseJob.execute(AbstractBaseJob.java:40)[208:org.openhab.binding.astro:2.1.0.201703092339]
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)[106:org.eclipse.smarthome.core.scheduler:0.9.0.201703060943]
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)[106:org.eclipse.smarthome.core.scheduler:0.9.0.201703060943]
2017-03-10 15:38:19.669 [ERROR] [.astro.internal.job.AbstractDailyJob] - Unable to store Job : 'astro:sun:local.job-event-end-set#event', because one already exists with this identification.
org.quartz.ObjectAlreadyExistsException: Unable to store Job : 'astro:sun:local.job-event-end-set#event', because one already exists with this identification.
at org.quartz.simpl.RAMJobStore.storeJob(RAMJobStore.java:279)[106:org.eclipse.smarthome.core.scheduler:0.9.0.201703060943]
The first and second lines are repeated twice.
Errors about events do not appear at every boot,
For the test, rebooted 3 times, 2 times error, 1 not.
Tried an astro to add through a file and through the paperUI. The result is the same.
astro.things:
astro:sun:local [geolocation="52.4546,103.8195", interval=60]
astro.items:
Group gAstro
Number sun_elevation "elevation [%.2f °]" <sun> (gAstro) { channel="astro:sun:local:position#elevation" }
DateTime sun_astrodawn "astrodawn[%1$tH:%1$tM]" <sunrise> (gAstro) { channel="astro:sun:local:astroDawn#start" }
DateTime sun_rise "rise[%1$tH:%1$tM]" <sunrise> (gAstro) { channel="astro:sun:local:rise#start" }
DateTime sun_noon "noon[%1$tH:%1$tM]" <sun> (gAstro) { channel="astro:sun:local:noon#start" }
DateTime sun_set "set[%1$tH:%1$tM]" <sunset> (gAstro) { channel="astro:sun:local:set#start" }
DateTime sun_night "night[%1$tH:%1$tM]" <moon> (gAstro) { channel="astro:sun:local:night#start" }
String season_name "season name [MAP(season.map):%s]" (gAstro) { channel="astro:sun:local:season#name" }
DateTime season_spring "spring [%1$td.%1$tm.%1$tY %1$tH:%1$tM]" <rain> (gAstro) { channel="astro:sun:local:season#spring" }
DateTime season_summer "summer [%1$td.%1$tm.%1$tY %1$tH:%1$tM]" <garden> (gAstro) { channel="astro:sun:local:season#summer" }
DateTime season_autumn "autumn [%1$td.%1$tm.%1$tY %1$tH:%1$tM]" <wind> (gAstro) { channel="astro:sun:local:season#autumn" }
DateTime season_winter "winter [%1$td.%1$tm.%1$tY %1$tH:%1$tM]" <climate-on>(gAstro) { channel="astro:sun:local:season#winter" }
Help get rid of errors.
Thank you!