Ticket Change Details

Artifact ID: 999938c27ee77fa2d4e3518ac82ec22beba58ffbc651b7be1ebfbfadee64b705
Ticket: 1d0112d75bfbffc810301c3116ab9f5b2d89f501
wapp cannot be loaded in a slave interp
User & Date: mjanssen 2019-07-31 08:38:57

  1. Change icomment to:
    Currently wapp cannot be loaded in a slave interp or separate thread because there ::argv0 is not set.
    interp create wapp
    wapp eval {
      source ./wapp.tcl
      wapp-start {}
    Fails with:
    can't read "argv0": no such variable
        while executing
    "file normalize $argv0"
        (procedure "wappInt-http-readable-unsafe" line 20)
        invoked from within
    "wappInt-http-readable-unsafe sock7fd4a78a0290"
        invoked from within
    "catch [list wappInt-http-readable-unsafe $chan] msg"
  2. Change login to "mjanssen"
  3. Change mimetype to "text/x-fossil-wiki"
  4. Change severity to "Critical"
  5. Change status to "Open"
  6. Change title to "wapp cannot be loaded in a slave interp"
  7. Change type to "Code_Defect"