https://labs.parabola.nu/https://labs.parabola.nu/favicon.ico?15367742552019-04-06T22:56:09ZParabola Issue TrackerPackages - Bug #2267: [icedove] cannot add email accountshttps://labs.parabola.nu/issues/2267?journal_id=118912019-04-06T22:56:09Zdllud
<ul></ul><p>I can confirm this bug. I get the exact same error on my machine. The regular Thunderbird build from Mozilla has no such issue. An Icedove specific patch seems to be breaking something.</p> Packages - Bug #2267: [icedove] cannot add email accountshttps://labs.parabola.nu/issues/2267?journal_id=118992019-04-07T17:32:55Zktsukik
<ul></ul><p>it actually looks like icedove was abandoned in 2017, in favor of thunderbird. icedove was debians project based on thunderbird, but it looks like they did not continue development. i was unaware at the time of installation</p>
<p>[[<a class="external" href="https://wiki.debian.org/Icedove/Devel">https://wiki.debian.org/Icedove/Devel</a>]] (last updated 2017)</p>
<p>[[<a class="external" href="https://en.wikipedia.org/wiki/Mozilla_software_rebranded_by_Debian#Icedove">https://en.wikipedia.org/wiki/Mozilla_software_rebranded_by_Debian#Icedove</a>]] (notes on debranding back to thunderbird in debian stable in 2017)</p>
<p>so this issue can probably be closed up, unless there is active development of icedove, which i cannot confirm</p> Packages - Bug #2267: [icedove] cannot add email accountshttps://labs.parabola.nu/issues/2267?journal_id=120122019-04-17T13:49:52Zfreemor
<ul></ul><p>our Icedove is built from the current-ish thunderbird source. <br />Icedove on Parabola is far from abandoned.</p>
<p>I'll double check that this issue still exists since Icedove would have been rebuild against the latest ICU</p>
<p>If the issue remains I'll mark it as confirmed</p> Packages - Bug #2267: [icedove] cannot add email accountshttps://labs.parabola.nu/issues/2267?journal_id=120132019-04-17T14:39:19Zbill-auger
<ul></ul><p>people often have that confusion, being under the impression that iceweasel, icedove were debian projects, as something notably distinct from mozilla</p>
<p>just for the record, the debian iceweasel and icedove were never more than re-branded mozilla releases (mainly just a different name and logo) - that was done only to avoid presumed tradmemark conflicts - they really did not qualify as distinct software projects - all that debian "abandoned" was those names and logos after the tradmemark issue was resolved - the software was always exactly the same as mozilla</p>
<p>parabola and (and other distros such as connochaetos) were coincidentally using the same names and logos as debian; but the parabola iceweasel and icedove have always been significantly different from the vanilla mozilla releases, and therefore, significantly different from the former debian packages</p> Packages - Bug #2267: [icedove] cannot add email accountshttps://labs.parabola.nu/issues/2267?journal_id=120142019-04-17T16:05:11Zfreemor
<ul><li><strong>Status</strong> changed from <i>unconfirmed</i> to <i>confirmed</i></li></ul><p>I can confirm that this is indeed still the case.</p>
<p>From the error console in Icedove:<br /><pre>
NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIMsgMailSession.topmostMsgWindow] AccountManager.js:689
AddMailAccount chrome://messenger/content/AccountManager.js:689:3
CreateNewAccountTB chrome://messenger/content/msgAccountCentral.js:289:5
onclick chrome://messenger/content/msgAccountCentral.xul:1:1
</pre></p> Packages - Bug #2267: [icedove] cannot add email accountshttps://labs.parabola.nu/issues/2267?journal_id=120152019-04-17T16:10:29Zfreemor
<ul></ul><p>May be tangentally related to this error/warning thrown at startup:<br /><pre>
[Exception... "Component returned failure code: 0x804b000a (NS_ERROR_MALFORMED_URI) [nsIPrefBranch.getComplexValue]" nsresult: "0x804b000a (NS_ERROR_MALFORMED_URI)" location: "JS frame :: resource:///modules/mailnewsMigrator.js :: MigrateDefaultCharsets :: line 180" data: no]
-- Exception object --
+ toString (function) 3 lines
+ name (string) 'NS_ERROR_MALFORMED_URI'
+ message (string) 'Component returned failure code: 0x804b000a (NS_ERROR_MALFORMED_URI) [nsIPrefBranch.getComplexValue]'
+ result (number) 2152398858
+ filename (string) 'resource:///modules/mailnewsMigrator.js'
+ lineNumber (number) 180
+ columnNumber (number) 0
+ data (object) null
+ stack (string) 254 chars
+ location (object) JS frame :: resource:///modules/mailnewsMigrator.js :: MigrateDefaultCharsets :: line 180
*
-- Stack Trace --
MigrateDefaultCharsets@resource:///modules/mailnewsMigrator.js:180:24
migrateMailnews@resource:///modules/mailnewsMigrator.js:34:5
OnLoadMessenger@chrome://messenger/content/msgMail3PaneWindow.js:406:3
onload@chrome://messenger/content/messenger.xul:1:1
</pre></p> Packages - Bug #2267: [icedove] cannot add email accountshttps://labs.parabola.nu/issues/2267?journal_id=129502019-09-09T04:32:42Zisacdaavid
<ul></ul><p>still broken</p> Packages - Bug #2267: [icedove] cannot add email accountshttps://labs.parabola.nu/issues/2267?journal_id=130042019-09-26T17:25:27Zarojas0609coredump@autistici.org
<ul></ul><p>Hi, I have the same issue in a Parabola systemd/LXDE Beta installation:</p>
<pre><code class="shell syntaxhl">JavaScript error: chrome://messenger/content/AccountManager.js, line 689: NS_ERROR_FAILURE: Component returned failure code: 0x80004005 <span class="o">(</span>NS_ERROR_FAILURE<span class="o">)</span> <span class="o">[</span>nsIMsgMailSession.topmostMsgWindow]
</code></pre> Packages - Bug #2267: [icedove] cannot add email accountshttps://labs.parabola.nu/issues/2267?journal_id=130092019-09-27T01:25:34Zbill-auger
<ul></ul><p>theres not much point in fixing v60 now that v68 is out - maybe this bug will vanish on its own by moving forward</p>
<p>i synchronized the PKGBUILD with arch today and started a build but the patches need re-working - i will push the pending changes to abslibre anyways</p>
<p>initially it is the search-engines patch; which is always a pain and has changed significantly in >= v68 - the obvious question to ask is: "why does a mail client need a search engine?" - o/c the obvious answer is "it doesnt - it is not a web browser" - i would expect this friction with seamonkey if and when that moves up to v68; but for icedove, i would suggest disabling that feature if possible - presumably, it would fall-back to launching the system web browser for clicking URLs; so i doubt any important functionality would be lost</p> Packages - Bug #2267: [icedove] cannot add email accountshttps://labs.parabola.nu/issues/2267?journal_id=130422019-10-01T04:59:27Zbill-auger
<ul><li><strong>Assignee</strong> set to <i>bill-auger</i></li></ul><p>the "add accounts" GUI seems to be working as expected with v68 - the hideous theming bug went away also - the build i have now is unpatched with mozilla branding though; so it still needs some work before being icedove proper</p> Packages - Bug #2267: [icedove] cannot add email accountshttps://labs.parabola.nu/issues/2267?journal_id=131312019-10-24T02:54:23ZMegver83megver83@parabola.nu
<ul></ul><p>For some reason I started to get this problem too, after (accidentally) I almost remove my whole /home</p>
<p>Hope that Icedove v68 fixes this</p> Packages - Bug #2267: [icedove] cannot add email accountshttps://labs.parabola.nu/issues/2267?journal_id=133742019-11-18T00:50:30Zoaken-source
<ul><li><strong>Assignee</strong> changed from <i>bill-auger</i> to <i>oaken-source</i></li><li><strong>Status</strong> changed from <i>confirmed</i> to <i>in progress</i></li></ul><p>icedove 68.2.2 is in [libre].<br />how's it looking?</p> Packages - Bug #2267: [icedove] cannot add email accountshttps://labs.parabola.nu/issues/2267?journal_id=133752019-11-18T01:06:47Zdllud
<ul></ul><p>Nice. I would love to try it right now, but unfortunately I cannot upgrade because icedove now depends on icu >=65.1-2 while iceweasel still depends on icu<65. I will give it a shot once a new iceweasel build comes out.</p> Packages - Bug #2267: [icedove] cannot add email accountshttps://labs.parabola.nu/issues/2267?journal_id=133762019-11-18T01:21:21Zbill-auger
<ul></ul><p>the latest build 68.2.2-2.parabola1 has the same problem; but the error moved to line 789 - probably the important thing to note here is that this bug was not present when i built this last month, but that was maybe because i did not apply any patches or branding (essentially i had the mozilla thunderbird)</p>
<pre>
JavaScript error: chrome://messenger/content/AccountManager.js, line 789: NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIMsgMailSession.topmostMsgWindow]
</pre> Packages - Bug #2267: [icedove] cannot add email accountshttps://labs.parabola.nu/issues/2267?journal_id=133772019-11-18T01:24:53ZMegver83megver83@parabola.nu
<ul></ul><p>I tried the new version but I still get the error</p> Packages - Bug #2267: [icedove] cannot add email accountshttps://labs.parabola.nu/issues/2267?journal_id=133792019-11-18T01:29:54Zbill-auger
<ul></ul><p>BTW we (I) messed up with the epoch - pacman will see the icedove 68.2.2-2.parabola1 as a downgrade, and -Syu wont install it - if anyone wants to try this today a manual step is needed before upgrading fully</p>
<pre>
# pacman -Sy icedove && pacman -Su
</pre> Packages - Bug #2267: [icedove] cannot add email accountshttps://labs.parabola.nu/issues/2267?journal_id=134162019-11-22T18:34:53Zdllud
<ul></ul><p>I've just updated to 68.2.2 and I can confirm that the error is still there.<br />I also tried 68.2.2 from Mozilla and the email account creation window opens on it.<br />As bill-auger pointed out, this seems to come from one of the Parabola patches.</p> Packages - Bug #2267: [icedove] cannot add email accountshttps://labs.parabola.nu/issues/2267?journal_id=139922020-04-04T02:55:52Zeliotime3000eliotime_31@hotmail.com
<ul></ul><p>Same bug with Icedove 68.2.2 in x86_64 version.</p> Packages - Bug #2267: [icedove] cannot add email accountshttps://labs.parabola.nu/issues/2267?journal_id=139932020-04-04T16:12:09Zpks40
<ul></ul><p>tl;dr: In line 491 of <code>thunderbird-68.2.2/comm/mailnews/base/prefs/content/accountUtils.js</code>, replace <code>else if (...)</code> by <code>else</code> to make it work.</p>
<p>Full version:<br />Hi everyone, I found (and kinda solved) the problem causing this bug. In the Thunderbird sources, file <code>thunderbird-68.2.2/comm/mailnews/base/prefs/content/accountUtils.js</code> in line 491 (part of the function <code>msgNewMailAccount()</code>), the name "thunderbird" is hardcoded:<br /><pre>
if (existingWindow) {
existingWindow.focus();
} else if (AppConstants.MOZ_APP_NAME == "thunderbird") {
// disabling modal for the time being, see 688273 REMOVEME
window.openDialog(
"chrome://messenger/content/accountcreation/emailWizard.xul",
"AccountSetup",
"chrome,titlebar,centerscreen",
{ msgWindow, okCallback, extraData }
);
}
</pre><br />Compiling it with MOZ_APP_NAME set to "icedove", as we do (see <code>icedove-68.2/patches/icedove/Icedove-branding.patch</code>), then causes the bug.</p>
<p>There is an easy workaround: One just needs to replace the "thunderbird" by "icedove" in line 491, or replace the <code>else if (...)</code> by just an <code>else</code>. When doing so, everything works as expected.</p>
<p>Of course, this workaround is kinda ugly -- why is "thunderbird" hardcoded there in the first place? I did a little bit of research and found out: The conditional was introduced into upstream Thunderbird in Bugzilla bug no. 1338795, see <a class="external" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1338795">https://bugzilla.mozilla.org/show_bug.cgi?id=1338795</a>. In this issue, some functionality that was used only by Thunderbird was moved from <code>comm/mailnews/</code> (which has code shared by Thunderbird and SeaMonkey) to <code>comm/mail/</code> (the directory for Thunderbird code). <code>msgNewMailAccount()</code> opens the "Email Wizard" Window, which is part of this moved functionality.<br />Even though SeaMonkey does not call <code>msgNewMailAccount()</code>, the developers were afraid that the function <em>could</em> be called from outside Thunderbird (see comment no. 5 in the Bugzilla bug), and thus introduced the bad hardcoded check.<br />I don't understand why they introduced this check though: there are lots of functions in source files in <code>comm/mailnews/</code> which rely on functionality in Thunderbird, but this doesn't matter for SeaMonkey, since all references to these functions are disabled when not building Thunderbird. So this check is simply not needed.</p>
<p>Thus, I see this as a bug in Thunderbird and will open an issue on Bugzilla (there are lots of functions in <code>comm/mailnews/</code> which could/should be moved into <code>/comm/mail/</code> ... well, maybe they'll do that as well). Hopefully, the change will make its way into upstream Thunderbird in a few versions, and we won't need a workaround any more.</p>
<p>Until this happens, we should add a patch replacing the <code>else if (...)</code> in by <code>else</code>.</p> Packages - Bug #2267: [icedove] cannot add email accountshttps://labs.parabola.nu/issues/2267?journal_id=139942020-04-04T16:42:28Zoaken-source
<ul></ul><p>Thank you fol solving this! I will prepare a patch and rebuild the package tonight.<br />If you do create a bug upstream, please link it here, so that we can keep track of that progress</p> Packages - Bug #2267: [icedove] cannot add email accountshttps://labs.parabola.nu/issues/2267?journal_id=139952020-04-04T18:20:33Zblacklung
<ul></ul><p>Thank you so much! You rock!!</p> Packages - Bug #2267: [icedove] cannot add email accountshttps://labs.parabola.nu/issues/2267?journal_id=139972020-04-04T18:50:18Zpks40
<ul></ul><p>oaken-source, could you also take care of the branding issue in <a class="issue tracker-1 status-2 priority-3 priority-default closed" title="Bug: [icedove] Update branding files (fixed)" href="https://labs.parabola.nu/issues/2668">#2668</a> when rebuilding? Thanks a lot!</p> Packages - Bug #2267: [icedove] cannot add email accountshttps://labs.parabola.nu/issues/2267?journal_id=140202020-04-05T22:47:55Zbill-auger
<ul></ul><p>pks40 -</p>
<p>thanks a lot for investigating this - if you open a bug<br />report upstream about this, please do add a link to this ticket</p> Packages - Bug #2267: [icedove] cannot add email accountshttps://labs.parabola.nu/issues/2267?journal_id=140412020-04-06T15:28:57Zoaken-source
<ul><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li><li><strong>Status</strong> changed from <i>in progress</i> to <i>fixed</i></li></ul><p>icedove-68.6 is out and should fix this.<br />Thanks again!</p> Packages - Bug #2267: [icedove] cannot add email accountshttps://labs.parabola.nu/issues/2267?journal_id=140692020-04-08T12:37:07Zpks40
<ul></ul><p>I just opened a bug in Bugzilla: <a class="external" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1628296">https://bugzilla.mozilla.org/show_bug.cgi?id=1628296</a><br />Let's hope that helps ...</p>