svoop / aipp

AIP parser to convert AIP publications to AIXM or OFMX
https://bitcetera.com
MIT License
10 stars 2 forks source link

ERROR: uninitialized constant AIPP::LF::Helpers::Base #23

Closed chssn closed 3 years ago

chssn commented 3 years ago

Hey,

Not sure if you're still developing this however, when I'm trying to run "aip2ofmx -r LF" I am getting the error

"ERROR: uninitialized constant AIPP::LF::Helpers::Base"

Full backtrace is below

chris@vps:~/aipp$ aip2ofmx -r LF -e -v
/var/lib/gems/2.7.0/gems/aixm-0.3.10/lib/aixm/shortcuts.rb:8: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
/var/lib/gems/2.7.0/gems/aixm-0.3.10/lib/aixm/component/timetable.rb:38: warning: The called method `initialize' is defined here
/var/lib/gems/2.7.0/gems/aixm-0.3.10/lib/aixm/shortcuts.rb:8: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
/var/lib/gems/2.7.0/gems/aixm-0.3.10/lib/aixm/document.rb:39: warning: The called method `initialize' is defined here
Reading config.yml
Reading region LF
Reading fixture fixtures/AD-2.yml
Reading fixture fixtures/AD-3.1.yml
Reading fixture fixtures/AD-1.3.yml
Reading border borders/france_atlantic_coast.geojson
/var/lib/gems/2.7.0/gems/aixm-0.3.10/lib/aixm/shortcuts.rb:8: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
/var/lib/gems/2.7.0/gems/aixm-0.3.10/lib/aixm/xy.rb:26: warning: The called method `initialize' is defined here
Reading border borders/france_mediterranean_coast.geojson
Reading border borders/france_atlantic_territorial_sea.geojson
Reading border borders/france_ecrins_national_park.geojson
Reading helper helpers/navigational_aid.rb
ERROR: uninitialized constant AIPP::LF::Helpers::Base

Frame number: 0/8
Frame type: class

From: /var/lib/gems/2.7.0/gems/aipp-0.2.6/lib/aipp/regions/LF/helpers/navigational_aid.rb:11 :

     6:         def navigational_aid_from(tds, source:, sections:)
     7:           NavigationalAid.new(tds, source: source, sections: sections).build
     8:         end
     9:
    10:         class NavigationalAid
 => 11:           include AIPP::LF::Helpers::Base
    12:
    13:           # Map atypical navigational aid denominations
    14:           NAVIGATIONAL_AIDS = {
    15:             'vor' => 'vor',
    16:             'dme' => 'dme',

NameError: uninitialized constant AIPP::LF::Helpers::Base
from /var/lib/gems/2.7.0/gems/aipp-0.2.6/lib/aipp/regions/LF/helpers/navigational_aid.rb:11:in `<class:NavigationalAid>'
[1] pry(AIPP::LF::Helpers::NavigationalAid::NavigationalAid)>

Running aipp v0.2.6 Ruby v2.7.0p0 Ubuntu 20.04.1

Thanks

svoop commented 3 years ago

Sorry, no support here, this is a tool I develop for OFM only.