Skip to content

v3.11.0-RC1: can't load openstudio-standards on Ubuntu #5543

@jmarrec

Description

@jmarrec

Description

I reverted openstudio-gems to v3.11.0-alfa3 so I could build the OS SDK v3.11.0-rc1 installers... only for windows and mac.

I kept the ubuntu ones that used openstudio-gems v3.11.0-RC2 except that one is broken. Amongst other things, it reverted the temporary workaround I had which was to pull openstudio-standards from git to avoid a unicode regex lookbehind that was making it impossible to load openstudio-standards via the CLI.

This issue is created mostly so it's recorded for anyone that comes to report the same issue.

Current Behavior

./bin/openstudio -e "require 'openstudio-standards'"
terminate called after throwing an instance of 'RubyException'
  what():  SyntaxError: :/ruby/3.2.0/gems/openstudio-standards-0.8.4/lib/openstudio-standards/btap/costing/daylighting_sensor_control_costing.rb:8: invalid character property name {L}: /(?<=\p{L})(?=\d)/
Aborted (core dumped)

Expected Behavior

It should work.

Steps to reproduce

./bin/openstudio -e "require 'openstudio-standards'"

Possible Solution

Operating System affected

No response

Environment

Ubuntu

Version of OpenStudio

3.11.0-rc1

Context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions