Bug: Console errors on virgin install (2nd TB instance on same channel): Unexpected event profile-after-change, Can't find profile directory, Cannot load required OTR library etc.
Status: NEW
Priority: --
Created: 2021-08-04 14:07:23+00:00
Resolved: 2024-06-11 08:02:16+00:00

+++ This bug was initially created as a clone of Bug #1723973 +++
+++ This bug was initially created as a clone of Bug #1665421 +++

STR

1. install 2nd instance of 91.0b6 (32-bit) (seen on Win10) with an existing other instance of same channel in a different folder
3. open Error console (Ctrl+Shift+J)

Actual result
- Several console errors before doing anything (see below), e.g.
  - Unexpected event profile-after-change
  - Can't find profile directory
  - Cannot load required OTR library etc.

Expected result
- no console errors from a virgin install (even as 2nd instance in a new folder)

```
Unexpected event profile-after-change URLQueryStrippingListService.jsm:224
    observe resource://gre/modules/URLQueryStrippingListService.jsm:224
Error: Can't find profile directory. XULStore.jsm:66:15
    load resource://gre/modules/XULStore.jsm:66
    XULStore resource://gre/modules/XULStore.jsm:24
Calendar: Warning:  Using guessed timezone
  W. Europe Standard Time (UTC+0100/+0200).
This ZoneInfo timezone seems to match the operating system timezone this year.
This ZoneInfo timezone was chosen based on the operating system timezone
identifier "W. Europe Standard Time". CalTimezoneService.jsm:811
Unknown Collection "thunderbird/query-stripping" RemoteSettingsClient.jsm:160
    UnknownCollectionError resource://services-settings/RemoteSettingsClient.jsm:160
    sync resource://services-settings/RemoteSettingsClient.jsm:501
    InterpretGeneratorResume self-hosted:1482
    AsyncFunctionNext self-hosted:692
Trying to load C:\test\thunderbird-91.0b6.beta.en.2021-08-04C\libotr.dll OTRLib.jsm:64:11
Trying to load libotr.dll from system's standard library locations OTRLib.jsm:64:11
Trying to load libotr-5.dll from system's standard library locations OTRLib.jsm:64:11
Trying to load otr.5.dll from system's standard library locations OTRLib.jsm:64:11
Trying to load otr-5.dll from system's standard library locations OTRLib.jsm:64:11
Trying to load otr.dll from system's standard library locations OTRLib.jsm:64:11
Error: Cannot load required OTR library
    loadExternalOTRLib resource:///modules/OTRLib.jsm:109
    init resource:///modules/OTRLib.jsm:115
    once resource:///modules/OTR.jsm:117
    init resource:///modules/OTR.jsm:138
    init resource:///modules/OTRUI.jsm:265
OTR.jsm:126:15
Successfully loaded OpenPGP library rnp.dll version 0.15.1+git20210530.1af627eb.MZLA from C:\test\thunderbird-91.0b6.beta.en.2021-08-04C\rnp.dll RNPLib.jsm:92:15
SearchSettings: get: No settings file exists, new profile? DOMException: Could not open the file at C:\Users\Johndoe\AppData\Roaming\Thunderbird\Profiles\hi3yj5s1.default-beta-8\search.json.mozlz4 SearchSettings.jsm:108:18
Found 0 public keys and 0 secret keys (0 protected, 0 unprotected) RNPLib.jsm:288:15
This page uses the non standard property “zoom”. Consider using calc() in the relevant property values, or using “transform” along with “transform-origin: 0 0”. thunderbird
Some cookies are misusing the recommended “SameSite“ attribute 6
services.settings: thunderbird/url-classifier-skip-urls has signature disabled RemoteSettingsClient.jsm:1027
```