firefox unable to run ./mach run after building
I am building the recent version of mozilla firefox on ubuntu 16.04LTS,
it built sucessfully after running ./mach bootstrap and thereafter running
, ./mach build
but when I try to open the ./mach run it keeps on giving the error
Error running mach:
['run']
The error occurred in code that was called by the mach command. This
is either a bug in the called code itself or in the way that mach is
calling it.
You should consider filing a bug for this issue.
If filing a bug, please include the full output of mach, including
this error message.
The details of the failure are as follows:
> > ImportError: No module named _sqlite3
File
"/home/suraj/Desktop/COPFinalAssignment/firefox-62.0.3/python/mozbuild/mozbuild/mach_commands.py",
line 868, in run
from mozprofile import Profile, Preferences File "/home/suraj/Desktop/COPFinalAssignment/firefox-62.0.3/build/mach_bootstrap.py",
line 365, in call
module = self._original_import(name, globals, locals, fromlist, level) File
"/home/suraj/Desktop/COPFinalAssignment/firefox-62.0.3/testing/mozbase/mozprofile/mozprofile/init.py",
line 17, in
from mozprofile.cli import * File "/home/suraj/Desktop/COPFinalAssignment/firefox-62.0.3/build/mach_bootstrap.py",
line 365, in call
module = self._original_import(name, globals, locals, fromlist, level) File
"/home/suraj/Desktop/COPFinalAssignment/firefox-62.0.3/testing/mozbase/mozprofile/mozprofile/cli.py",
line 18, in
from .profile import FirefoxProfile File "/home/suraj/Desktop/COPFinalAssignment/firefox-62.0.3/build/mach_bootstrap.py",
line 365, in call
module = self._original_import(name, globals, locals, fromlist, level) File
"/home/suraj/Desktop/COPFinalAssignment/firefox-62.0.3/testing/mozbase/mozprofile/mozprofile/profile.py",
line 20, in
from .permissions import Permissions File "/home/suraj/Desktop/COPFinalAssignment/firefox-62.0.3/build/mach_bootstrap.py",
line 365, in call
module = self._original_import(name, globals, locals, fromlist, level) File
"/home/suraj/Desktop/COPFinalAssignment/firefox-62.0.3/testing/mozbase/mozprofile/mozprofile/permissions.py",
line 14, in
import sqlite3 File "/home/suraj/Desktop/COPFinalAssignment/firefox-62.0.3/build/mach_bootstrap.py",
line 365, in call
module = self._original_import(name, globals, locals, fromlist, level) File "/usr/local/lib/python2.7/sqlite3/init.py", line 24,
in
from dbapi2 import * File "/home/suraj/Desktop/COPFinalAssignment/firefox-62.0.3/build/mach_bootstrap.py",
line 365, in call
module = self._original_import(name, globals, locals, fromlist, level) File "/usr/local/lib/python2.7/sqlite3/dbapi2.py", line 28,
in
from _sqlite3 import * File "/home/suraj/Desktop/COPFinalAssignment/firefox-62.0.3/build/mach_bootstrap.py",
line 365, in call
module = self._original_import(name, globals, locals, fromlist, level)
can anyone suggest what can I do in order to solve this issue, I have tried these all steps
- updated the python 2.7 version
- installed
libsqlite-dev
but that was of no use still giving the same error.
python python-2.7 firefox build sqlite3
add a comment |
I am building the recent version of mozilla firefox on ubuntu 16.04LTS,
it built sucessfully after running ./mach bootstrap and thereafter running
, ./mach build
but when I try to open the ./mach run it keeps on giving the error
Error running mach:
['run']
The error occurred in code that was called by the mach command. This
is either a bug in the called code itself or in the way that mach is
calling it.
You should consider filing a bug for this issue.
If filing a bug, please include the full output of mach, including
this error message.
The details of the failure are as follows:
> > ImportError: No module named _sqlite3
File
"/home/suraj/Desktop/COPFinalAssignment/firefox-62.0.3/python/mozbuild/mozbuild/mach_commands.py",
line 868, in run
from mozprofile import Profile, Preferences File "/home/suraj/Desktop/COPFinalAssignment/firefox-62.0.3/build/mach_bootstrap.py",
line 365, in call
module = self._original_import(name, globals, locals, fromlist, level) File
"/home/suraj/Desktop/COPFinalAssignment/firefox-62.0.3/testing/mozbase/mozprofile/mozprofile/init.py",
line 17, in
from mozprofile.cli import * File "/home/suraj/Desktop/COPFinalAssignment/firefox-62.0.3/build/mach_bootstrap.py",
line 365, in call
module = self._original_import(name, globals, locals, fromlist, level) File
"/home/suraj/Desktop/COPFinalAssignment/firefox-62.0.3/testing/mozbase/mozprofile/mozprofile/cli.py",
line 18, in
from .profile import FirefoxProfile File "/home/suraj/Desktop/COPFinalAssignment/firefox-62.0.3/build/mach_bootstrap.py",
line 365, in call
module = self._original_import(name, globals, locals, fromlist, level) File
"/home/suraj/Desktop/COPFinalAssignment/firefox-62.0.3/testing/mozbase/mozprofile/mozprofile/profile.py",
line 20, in
from .permissions import Permissions File "/home/suraj/Desktop/COPFinalAssignment/firefox-62.0.3/build/mach_bootstrap.py",
line 365, in call
module = self._original_import(name, globals, locals, fromlist, level) File
"/home/suraj/Desktop/COPFinalAssignment/firefox-62.0.3/testing/mozbase/mozprofile/mozprofile/permissions.py",
line 14, in
import sqlite3 File "/home/suraj/Desktop/COPFinalAssignment/firefox-62.0.3/build/mach_bootstrap.py",
line 365, in call
module = self._original_import(name, globals, locals, fromlist, level) File "/usr/local/lib/python2.7/sqlite3/init.py", line 24,
in
from dbapi2 import * File "/home/suraj/Desktop/COPFinalAssignment/firefox-62.0.3/build/mach_bootstrap.py",
line 365, in call
module = self._original_import(name, globals, locals, fromlist, level) File "/usr/local/lib/python2.7/sqlite3/dbapi2.py", line 28,
in
from _sqlite3 import * File "/home/suraj/Desktop/COPFinalAssignment/firefox-62.0.3/build/mach_bootstrap.py",
line 365, in call
module = self._original_import(name, globals, locals, fromlist, level)
can anyone suggest what can I do in order to solve this issue, I have tried these all steps
- updated the python 2.7 version
- installed
libsqlite-dev
but that was of no use still giving the same error.
python python-2.7 firefox build sqlite3
IIRC, in Python 2, the sqlite bindings aren't included in it, but are an extra library you have to install separately.
– Shawn
Nov 23 '18 at 11:11
add a comment |
I am building the recent version of mozilla firefox on ubuntu 16.04LTS,
it built sucessfully after running ./mach bootstrap and thereafter running
, ./mach build
but when I try to open the ./mach run it keeps on giving the error
Error running mach:
['run']
The error occurred in code that was called by the mach command. This
is either a bug in the called code itself or in the way that mach is
calling it.
You should consider filing a bug for this issue.
If filing a bug, please include the full output of mach, including
this error message.
The details of the failure are as follows:
> > ImportError: No module named _sqlite3
File
"/home/suraj/Desktop/COPFinalAssignment/firefox-62.0.3/python/mozbuild/mozbuild/mach_commands.py",
line 868, in run
from mozprofile import Profile, Preferences File "/home/suraj/Desktop/COPFinalAssignment/firefox-62.0.3/build/mach_bootstrap.py",
line 365, in call
module = self._original_import(name, globals, locals, fromlist, level) File
"/home/suraj/Desktop/COPFinalAssignment/firefox-62.0.3/testing/mozbase/mozprofile/mozprofile/init.py",
line 17, in
from mozprofile.cli import * File "/home/suraj/Desktop/COPFinalAssignment/firefox-62.0.3/build/mach_bootstrap.py",
line 365, in call
module = self._original_import(name, globals, locals, fromlist, level) File
"/home/suraj/Desktop/COPFinalAssignment/firefox-62.0.3/testing/mozbase/mozprofile/mozprofile/cli.py",
line 18, in
from .profile import FirefoxProfile File "/home/suraj/Desktop/COPFinalAssignment/firefox-62.0.3/build/mach_bootstrap.py",
line 365, in call
module = self._original_import(name, globals, locals, fromlist, level) File
"/home/suraj/Desktop/COPFinalAssignment/firefox-62.0.3/testing/mozbase/mozprofile/mozprofile/profile.py",
line 20, in
from .permissions import Permissions File "/home/suraj/Desktop/COPFinalAssignment/firefox-62.0.3/build/mach_bootstrap.py",
line 365, in call
module = self._original_import(name, globals, locals, fromlist, level) File
"/home/suraj/Desktop/COPFinalAssignment/firefox-62.0.3/testing/mozbase/mozprofile/mozprofile/permissions.py",
line 14, in
import sqlite3 File "/home/suraj/Desktop/COPFinalAssignment/firefox-62.0.3/build/mach_bootstrap.py",
line 365, in call
module = self._original_import(name, globals, locals, fromlist, level) File "/usr/local/lib/python2.7/sqlite3/init.py", line 24,
in
from dbapi2 import * File "/home/suraj/Desktop/COPFinalAssignment/firefox-62.0.3/build/mach_bootstrap.py",
line 365, in call
module = self._original_import(name, globals, locals, fromlist, level) File "/usr/local/lib/python2.7/sqlite3/dbapi2.py", line 28,
in
from _sqlite3 import * File "/home/suraj/Desktop/COPFinalAssignment/firefox-62.0.3/build/mach_bootstrap.py",
line 365, in call
module = self._original_import(name, globals, locals, fromlist, level)
can anyone suggest what can I do in order to solve this issue, I have tried these all steps
- updated the python 2.7 version
- installed
libsqlite-dev
but that was of no use still giving the same error.
python python-2.7 firefox build sqlite3
I am building the recent version of mozilla firefox on ubuntu 16.04LTS,
it built sucessfully after running ./mach bootstrap and thereafter running
, ./mach build
but when I try to open the ./mach run it keeps on giving the error
Error running mach:
['run']
The error occurred in code that was called by the mach command. This
is either a bug in the called code itself or in the way that mach is
calling it.
You should consider filing a bug for this issue.
If filing a bug, please include the full output of mach, including
this error message.
The details of the failure are as follows:
> > ImportError: No module named _sqlite3
File
"/home/suraj/Desktop/COPFinalAssignment/firefox-62.0.3/python/mozbuild/mozbuild/mach_commands.py",
line 868, in run
from mozprofile import Profile, Preferences File "/home/suraj/Desktop/COPFinalAssignment/firefox-62.0.3/build/mach_bootstrap.py",
line 365, in call
module = self._original_import(name, globals, locals, fromlist, level) File
"/home/suraj/Desktop/COPFinalAssignment/firefox-62.0.3/testing/mozbase/mozprofile/mozprofile/init.py",
line 17, in
from mozprofile.cli import * File "/home/suraj/Desktop/COPFinalAssignment/firefox-62.0.3/build/mach_bootstrap.py",
line 365, in call
module = self._original_import(name, globals, locals, fromlist, level) File
"/home/suraj/Desktop/COPFinalAssignment/firefox-62.0.3/testing/mozbase/mozprofile/mozprofile/cli.py",
line 18, in
from .profile import FirefoxProfile File "/home/suraj/Desktop/COPFinalAssignment/firefox-62.0.3/build/mach_bootstrap.py",
line 365, in call
module = self._original_import(name, globals, locals, fromlist, level) File
"/home/suraj/Desktop/COPFinalAssignment/firefox-62.0.3/testing/mozbase/mozprofile/mozprofile/profile.py",
line 20, in
from .permissions import Permissions File "/home/suraj/Desktop/COPFinalAssignment/firefox-62.0.3/build/mach_bootstrap.py",
line 365, in call
module = self._original_import(name, globals, locals, fromlist, level) File
"/home/suraj/Desktop/COPFinalAssignment/firefox-62.0.3/testing/mozbase/mozprofile/mozprofile/permissions.py",
line 14, in
import sqlite3 File "/home/suraj/Desktop/COPFinalAssignment/firefox-62.0.3/build/mach_bootstrap.py",
line 365, in call
module = self._original_import(name, globals, locals, fromlist, level) File "/usr/local/lib/python2.7/sqlite3/init.py", line 24,
in
from dbapi2 import * File "/home/suraj/Desktop/COPFinalAssignment/firefox-62.0.3/build/mach_bootstrap.py",
line 365, in call
module = self._original_import(name, globals, locals, fromlist, level) File "/usr/local/lib/python2.7/sqlite3/dbapi2.py", line 28,
in
from _sqlite3 import * File "/home/suraj/Desktop/COPFinalAssignment/firefox-62.0.3/build/mach_bootstrap.py",
line 365, in call
module = self._original_import(name, globals, locals, fromlist, level)
can anyone suggest what can I do in order to solve this issue, I have tried these all steps
- updated the python 2.7 version
- installed
libsqlite-dev
but that was of no use still giving the same error.
python python-2.7 firefox build sqlite3
python python-2.7 firefox build sqlite3
asked Nov 23 '18 at 9:12
Suraj SajeevSuraj Sajeev
1
1
IIRC, in Python 2, the sqlite bindings aren't included in it, but are an extra library you have to install separately.
– Shawn
Nov 23 '18 at 11:11
add a comment |
IIRC, in Python 2, the sqlite bindings aren't included in it, but are an extra library you have to install separately.
– Shawn
Nov 23 '18 at 11:11
IIRC, in Python 2, the sqlite bindings aren't included in it, but are an extra library you have to install separately.
– Shawn
Nov 23 '18 at 11:11
IIRC, in Python 2, the sqlite bindings aren't included in it, but are an extra library you have to install separately.
– Shawn
Nov 23 '18 at 11:11
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53443617%2ffirefox-unable-to-run-mach-run-after-building%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53443617%2ffirefox-unable-to-run-mach-run-after-building%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
IIRC, in Python 2, the sqlite bindings aren't included in it, but are an extra library you have to install separately.
– Shawn
Nov 23 '18 at 11:11