Skip to content
Tcl Source Code History Of Ticket 55a02f20ec10f1bf
Login

History Of Ticket 55a02f20ec10f1bf

Artifacts Associated With Ticket 55a02f20ec10f1bf

  1. Ticket change [2c26eab512] (rid 202987) by apnadkarni on 2022-08-06 06:06:09:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/x-markdown"
    4. comment initialized to:
      Tilde expansion in file commands use `env(HOME)`. At startup this is initialized from the `HOME` env variable or via `HOMEDRIVE` and `HOMEPATH` if `HOME` is not set. However, under some circumstances none of these are set on Windows, examples being when the program is started from the task scheduler or as a service and the corresponding user account has not logged in. This causes tilde expansion to fail.
      
      The proposed fix is to fallback to initializing `HOME` with the `USERPROFILE` env var if the current method fails. This seems to exist in all cases.
      
      Classifying as bug so no TIP required :-) Please note any objections here.
      
    5. foundin initialized to: "8.6"
    6. is_private initialized to: "0"
    7. login: "apnadkarni"
    8. priority initialized to: "5 Medium"
    9. resolution initialized to: "None"
    10. severity initialized to: "Minor"
    11. status initialized to: "Open"
    12. submitter initialized to: "apnadkarni"
    13. subsystem initialized to: "08. Environment Variables"
    14. title initialized to:
      Failure to set HOME when run via task scheduler or service (Windows)
      
    15. type initialized to: "Bug"
  2. Ticket change [16713cf32d] (rid 203647) by jan.nijtmans on 2022-09-02 13:55:59:

    1. assignee changed to: "apnadkarni"
    2. icomment: "No objection at all"
    3. login: "jan.nijtmans"
    4. mimetype: "text/x-fossil-wiki"
  3. Ticket change [5b41eb42b8] (rid 203719) by apnadkarni on 2022-09-05 16:29:57:

    1. closedate changed to: "2459828.18747272"
    2. closer changed to: "apnadkarni"
    3. login: "apnadkarni"
    4. mimetype: "text/plain"
    5. status changed to: "Closed"
  4. Ticket change [3d0b468025] (rid 203735) by jan.nijtmans on 2022-09-06 06:47:37:

    1. closedate changed to: "2459828.78307625"
    2. closer changed to: "jan.nijtmans"
    3. icomment: "Fixed [291cf17e4aea05fc|here]. Thanks!"
    4. login: "jan.nijtmans"
    5. mimetype: "text/x-fossil-wiki"
    6. resolution changed to: "Fixed"