Skip to content

[script - bigshot] Gtk error when running in headless mode #2296

Description

@bradmorton

Script Name

bigshot.lic

Bug Report

When running bigshot in a headless environment (i.e., using Profanity frontend via SSH), the script exits with an error related to Gtk.

Steps to reproduce:

  • Sign in Gemstone character using Profanity FE
  • ;exec $bigshot_headless = true
  • ;bigshot

Expected Behavior

If $bigshot_headless is defined, bigshot should run without any dependencies on Gtk as long as ;bigshot setup is not run.

Current Behavior

Steps to reproduce:

  • Sign in Gemstone character using Profanity FE
  • ;exec $bigshot_headless = true
  • ;bigshot

Error:

--- Lich: error: uninitialized constant Lich::Common::Bigshot::Gtk
bigshot:942:in '<class:Bigshot>' 
bigshot:941:in 'Lich::Common#_script'

Possible Solution

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions