dawarich icon indicating copy to clipboard operation
dawarich copied to clipboard

GPX-Import from Basecamp generated gpx file failed

Open kho-git opened this issue 10 months ago • 0 comments

OS & Hardware DELL E7240 with ubuntu 24.04.1 LTS Version DarWarIch 0.23.5

Describe the bug Import "Hannover 29 1523.gpx" failed: no implicit conversion of String into Integer, stacktrace: /var/app/app/services/gpx/track_parser.rb:65:in dig' /var/app/app/services/gpx/track_parser.rb:65:in speed' /var/app/app/services/gpx/track_parser.rb:44:in create_point' /var/app/app/services/gpx/track_parser.rb:19:in block in call' /var/app/app/services/gpx/track_parser.rb:18:in each' /var/app/app/services/gpx/track_parser.rb:18:in with_index' /var/app/app/services/gpx/track_parser.rb:18:in call' /var/app/app/services/imports/create.rb:12:in call' /var/app/app/models/import.rb:17:in process!' /var/app/app/jobs/import_job.rb:10:in perform' /var/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/execution.rb:68:in block in _perform_job' /var/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:120:in block in run_callbacks' /var/app/vendor/bundle/ruby/3.3.0/gems/i18n-1.14.7/lib/i18n.rb:353:in with_locale' /var/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/translation.rb:9:in block (2 levels) in ' /var/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:129:in instance_exec' /var/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:129:in block in run_callbacks' /var/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/core_ext/time/zones.rb:65:in use_zone' /var/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/timezones.rb:9:in block (2 levels) in ' /var/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:129:in instance_exec' /var/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:129:in block in run_callbacks' /var/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:140:in run_callbacks' /var/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/execution.rb:67:in _perform_job' /var/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/instrumentation.rb:32:in _perform_job' /var/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/execution.rb:51:in perform_now' /var/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/instrumentation.rb:26:in block in perform_now' /var/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/railties/job_runtime.rb:13:in block in instrument' /var/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/instrumentation.rb:40:in block in instrument' /var/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in block in instrument' /var/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications/instrumenter.rb:58:in instrument' /var/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in instrument' /var/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/instrumentation.rb:39:in instrument' /var/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/railties/job_runtime.rb:11:in instrument' /var/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/instrumentation.rb:26:in perform_now' /var/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/logging.rb:32:in block in perform_now' /var/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/logging.rb:41:in tag_logger' /var/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/logging.rb:32:in perform_now' /var/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/execution.rb:29:in block in execute' /var/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:120:in block in run_callbacks' /var/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/railtie.rb:95:in block (4 levels) in ' /var/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/reloader.rb:77:in block in wrap' /var/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/execution_wrapper.rb:87:in wrap' /var/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/reloader.rb:74:in wrap' /var/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/railtie.rb:94:in block (3 levels) in ' /var/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:129:in instance_exec' /var/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:129:in block in run_callbacks' /var/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:140:in run_callbacks' /var/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/execution.rb:27:in execute' /var/app/vendor/bundle/ruby/3.3.0/gems/sidekiq-7.3.7/lib/active_job/queue_adapters/sidekiq_adapter.rb:10:in perform' /var/app/vendor/bundle/ruby/3.3.0/gems/sidekiq-7.3.7/lib/sidekiq/processor.rb:220:in execute_job' /var/app/vendor/bundle/ruby/3.3.0/gems/sidekiq-7.3.7/lib/sidekiq/processor.rb:185:in block (4 levels) in process' /var/app/vendor/bundle/ruby/3.3.0/gems/sidekiq-7.3.7/lib/sidekiq/middleware/chain.rb:180:in traverse' /var/app/vendor/bundle/ruby/3.3.0/gems/sidekiq-7.3.7/lib/sidekiq/middleware/chain.rb:183:in block in traverse' /var/app/vendor/bundle/ruby/3.3.0/gems/sidekiq-7.3.7/lib/sidekiq/job/interrupt_handler.rb:9:in call' /var/app/vendor/bundle/ruby/3.3.0/gems/sidekiq-7.3.7/lib/sidekiq/middleware/chain.rb:182:in traverse' /var/app/vendor/bundle/ruby/3.3.0/gems/sidekiq-7.3.7/lib/sidekiq/middleware/chain.rb:183:in block in traverse' /var/app/vendor/bundle/ruby/3.3.0/gems/sidekiq-7.3.7/lib/sidekiq/metrics/tracking.rb:26:in track' /var/app/vendor/bundle/ruby/3.3.0/gems/sidekiq-7.3.7/lib/sidekiq/metrics/tracking.rb:134:in call' /var/app/vendor/bundle/ruby/3.3.0/gems/sidekiq-7.3.7/lib/sidekiq/middleware/chain.rb:182:in traverse' /var/app/vendor/bundle/ruby/3.3.0/gems/sidekiq-7.3.7/lib/sidekiq/middleware/chain.rb:173:in invoke' /var/app/vendor/bundle/ruby/3.3.0/gems/sidekiq-7.3.7/lib/sidekiq/processor.rb:184:in block (3 levels) in process' /var/app/vendor/bundle/ruby/3.3.0/gems/sidekiq-7.3.7/lib/sidekiq/processor.rb:145:in block (6 levels) in dispatch' /var/app/vendor/bundle/ruby/3.3.0/gems/sidekiq-7.3.7/lib/sidekiq/job_retry.rb:118:in local' /var/app/vendor/bundle/ruby/3.3.0/gems/sidekiq-7.3.7/lib/sidekiq/processor.rb:144:in block (5 levels) in dispatch' /var/app/vendor/bundle/ruby/3.3.0/gems/sidekiq-7.3.7/lib/sidekiq/rails.rb:16:in block in call' /var/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/reloader.rb:77:in block in wrap' /var/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/execution_wrapper.rb:91:in wrap' /var/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/reloader.rb:74:in wrap' /var/app/vendor/bundle/ruby/3.3.0/gems/sidekiq-7.3.7/lib/sidekiq/rails.rb:15:in call' /var/app/vendor/bundle/ruby/3.3.0/gems/sidekiq-7.3.7/lib/sidekiq/processor.rb:139:in block (4 levels) in dispatch' /var/app/vendor/bundle/ruby/3.3.0/gems/sidekiq-7.3.7/lib/sidekiq/processor.rb:281:in stats' /var/app/vendor/bundle/ruby/3.3.0/gems/sidekiq-7.3.7/lib/sidekiq/processor.rb:134:in block (3 levels) in dispatch' /var/app/vendor/bundle/ruby/3.3.0/gems/sidekiq-7.3.7/lib/sidekiq/job_logger.rb:15:in call' /var/app/vendor/bundle/ruby/3.3.0/gems/sidekiq-7.3.7/lib/sidekiq/processor.rb:133:in block (2 levels) in dispatch' /var/app/vendor/bundle/ruby/3.3.0/gems/sidekiq-7.3.7/lib/sidekiq/job_retry.rb:85:in global' /var/app/vendor/bundle/ruby/3.3.0/gems/sidekiq-7.3.7/lib/sidekiq/processor.rb:132:in block in dispatch' /var/app/vendor/bundle/ruby/3.3.0/gems/sidekiq-7.3.7/lib/sidekiq/job_logger.rb:40:in prepare' /var/app/vendor/bundle/ruby/3.3.0/gems/sidekiq-7.3.7/lib/sidekiq/processor.rb:131:in dispatch' /var/app/vendor/bundle/ruby/3.3.0/gems/sidekiq-7.3.7/lib/sidekiq/processor.rb:183:in block (2 levels) in process' /var/app/vendor/bundle/ruby/3.3.0/gems/sidekiq-7.3.7/lib/sidekiq/processor.rb:182:in handle_interrupt' /var/app/vendor/bundle/ruby/3.3.0/gems/sidekiq-7.3.7/lib/sidekiq/processor.rb:182:in block in process' /var/app/vendor/bundle/ruby/3.3.0/gems/sidekiq-7.3.7/lib/sidekiq/processor.rb:181:in handle_interrupt' /var/app/vendor/bundle/ruby/3.3.0/gems/sidekiq-7.3.7/lib/sidekiq/processor.rb:181:in process' /var/app/vendor/bundle/ruby/3.3.0/gems/sidekiq-7.3.7/lib/sidekiq/processor.rb:86:in process_one' /var/app/vendor/bundle/ruby/3.3.0/gems/sidekiq-7.3.7/lib/sidekiq/processor.rb:76:in run' /var/app/vendor/bundle/ruby/3.3.0/gems/sidekiq-7.3.7/lib/sidekiq/component.rb:10:in watchdog' /var/app/vendor/bundle/ruby/3.3.0/gems/sidekiq-7.3.7/lib/sidekiq/component.rb:19:in block in safe_thread'

To Reproduce Steps to reproduce the behavior:

  1. Go to 'Import'
  2. Click on 'Import GPX'
  3. Select file from filesystem
  4. Import
  5. See error msg Expected behavior All points of gpx are imported

_dawarich_sidekiq_logs.txt _dawarich_app_logs.txt

Hannover 29 1523.gpx.txt

Screenshots If applicable, add screenshots to help explain your problem.

Logs If applicable, add logs from containers dawarich_app and dawarich_sidekiq to help explain your problem.

Additional context Import file "Hannover 29 1523.gpx" attached as "Hannover 29 1523.gpx.txt"

kho-git avatar Feb 06 '25 10:02 kho-git