wxMaxima assertion failed: “lang == wxLANGUAGE_DEFAULT”












1














Installed wxmaxima from the ubuntu 18.04 repository after a fresh install of ubuntu. However I get the following error:



An assertion failed:

../src/common/intl.cpp(1071): assert "lang == wxLANGUAGE_DEFAULT" failed
in IsAvailable(): No info for a valid language?


The backtrace is as follows:



wxLocale::IsAvailable(int)
MyApp::OnInit()
wxEntry(int&, wchar_t**)
main
__libc_start_main
_start


Unticking Show this dialog next time doesn't help. The warning shows up next time again. If I click Continue wxmaxima works normally. Help required so that this warning doesn't show up every time I open wxmaxima.










share|improve this question
























  • Hi, on looking at the source code in intl.cpp, I see that wxMaxima looks at the environment variables LC_ALL, LC_CTYPE, and LANG to determine the value of lang. What is the output of echo LC_ALL=$LC_ALL LC_CTYPE=$LC_CTYPE LANG=$LANG on your system?
    – Robert Dodier
    Nov 24 '18 at 17:13










  • The output of echo LC_ALL=$LC_ALL LC_CTYPE=$LC_CTYPE LANG=$LANG is LC_ALL= LC_CTYPE= LANG=en_IN
    – ASarkar
    Nov 26 '18 at 4:29












  • @RobertDodier: Supprisingly the output of locale command is LANG=en_IN LANGUAGE=en_US LC_CTYPE="en_IN" LC_NUMERIC="en_IN" LC_TIME="en_IN" LC_COLLATE=en_IN.utf8 LC_MONETARY="en_IN" LC_MESSAGES="en_IN" LC_PAPER="en_IN" LC_NAME="en_IN" LC_ADDRESS="en_IN" LC_TELEPHONE="en_IN" LC_MEASUREMENT="en_IN" LC_IDENTIFICATION="en_IN" LC_ALL=
    – ASarkar
    Nov 26 '18 at 4:34












  • OK, thanks for this information. It appears that only LANG has a value on your system (namely en_IN) and not LC_ALL nor LC_CTYPE. Given that, my advice is to change the value of LANG. Can you launch wxMaxima from a terminal? If so, try: LANG=en_US wxmaxima or export LANG=en_US; wxmaxima My guess is that wxMaxima doesn't know what to do with en_IN.
    – Robert Dodier
    Nov 26 '18 at 4:49












  • Okay. Even before I tried to follow your advice, I had installed wxmaxima version 17.10.1 by downloading and compiling from source. This version didn't have the above problem. I had also uninstalled the ubuntu version 18.02.0.
    – ASarkar
    Nov 27 '18 at 13:05


















1














Installed wxmaxima from the ubuntu 18.04 repository after a fresh install of ubuntu. However I get the following error:



An assertion failed:

../src/common/intl.cpp(1071): assert "lang == wxLANGUAGE_DEFAULT" failed
in IsAvailable(): No info for a valid language?


The backtrace is as follows:



wxLocale::IsAvailable(int)
MyApp::OnInit()
wxEntry(int&, wchar_t**)
main
__libc_start_main
_start


Unticking Show this dialog next time doesn't help. The warning shows up next time again. If I click Continue wxmaxima works normally. Help required so that this warning doesn't show up every time I open wxmaxima.










share|improve this question
























  • Hi, on looking at the source code in intl.cpp, I see that wxMaxima looks at the environment variables LC_ALL, LC_CTYPE, and LANG to determine the value of lang. What is the output of echo LC_ALL=$LC_ALL LC_CTYPE=$LC_CTYPE LANG=$LANG on your system?
    – Robert Dodier
    Nov 24 '18 at 17:13










  • The output of echo LC_ALL=$LC_ALL LC_CTYPE=$LC_CTYPE LANG=$LANG is LC_ALL= LC_CTYPE= LANG=en_IN
    – ASarkar
    Nov 26 '18 at 4:29












  • @RobertDodier: Supprisingly the output of locale command is LANG=en_IN LANGUAGE=en_US LC_CTYPE="en_IN" LC_NUMERIC="en_IN" LC_TIME="en_IN" LC_COLLATE=en_IN.utf8 LC_MONETARY="en_IN" LC_MESSAGES="en_IN" LC_PAPER="en_IN" LC_NAME="en_IN" LC_ADDRESS="en_IN" LC_TELEPHONE="en_IN" LC_MEASUREMENT="en_IN" LC_IDENTIFICATION="en_IN" LC_ALL=
    – ASarkar
    Nov 26 '18 at 4:34












  • OK, thanks for this information. It appears that only LANG has a value on your system (namely en_IN) and not LC_ALL nor LC_CTYPE. Given that, my advice is to change the value of LANG. Can you launch wxMaxima from a terminal? If so, try: LANG=en_US wxmaxima or export LANG=en_US; wxmaxima My guess is that wxMaxima doesn't know what to do with en_IN.
    – Robert Dodier
    Nov 26 '18 at 4:49












  • Okay. Even before I tried to follow your advice, I had installed wxmaxima version 17.10.1 by downloading and compiling from source. This version didn't have the above problem. I had also uninstalled the ubuntu version 18.02.0.
    – ASarkar
    Nov 27 '18 at 13:05
















1












1








1







Installed wxmaxima from the ubuntu 18.04 repository after a fresh install of ubuntu. However I get the following error:



An assertion failed:

../src/common/intl.cpp(1071): assert "lang == wxLANGUAGE_DEFAULT" failed
in IsAvailable(): No info for a valid language?


The backtrace is as follows:



wxLocale::IsAvailable(int)
MyApp::OnInit()
wxEntry(int&, wchar_t**)
main
__libc_start_main
_start


Unticking Show this dialog next time doesn't help. The warning shows up next time again. If I click Continue wxmaxima works normally. Help required so that this warning doesn't show up every time I open wxmaxima.










share|improve this question















Installed wxmaxima from the ubuntu 18.04 repository after a fresh install of ubuntu. However I get the following error:



An assertion failed:

../src/common/intl.cpp(1071): assert "lang == wxLANGUAGE_DEFAULT" failed
in IsAvailable(): No info for a valid language?


The backtrace is as follows:



wxLocale::IsAvailable(int)
MyApp::OnInit()
wxEntry(int&, wchar_t**)
main
__libc_start_main
_start


Unticking Show this dialog next time doesn't help. The warning shows up next time again. If I click Continue wxmaxima works normally. Help required so that this warning doesn't show up every time I open wxmaxima.







maxima wxmaxima






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 24 '18 at 17:05









Robert Dodier

10.9k11633




10.9k11633










asked Nov 21 '18 at 15:38









ASarkar

276




276












  • Hi, on looking at the source code in intl.cpp, I see that wxMaxima looks at the environment variables LC_ALL, LC_CTYPE, and LANG to determine the value of lang. What is the output of echo LC_ALL=$LC_ALL LC_CTYPE=$LC_CTYPE LANG=$LANG on your system?
    – Robert Dodier
    Nov 24 '18 at 17:13










  • The output of echo LC_ALL=$LC_ALL LC_CTYPE=$LC_CTYPE LANG=$LANG is LC_ALL= LC_CTYPE= LANG=en_IN
    – ASarkar
    Nov 26 '18 at 4:29












  • @RobertDodier: Supprisingly the output of locale command is LANG=en_IN LANGUAGE=en_US LC_CTYPE="en_IN" LC_NUMERIC="en_IN" LC_TIME="en_IN" LC_COLLATE=en_IN.utf8 LC_MONETARY="en_IN" LC_MESSAGES="en_IN" LC_PAPER="en_IN" LC_NAME="en_IN" LC_ADDRESS="en_IN" LC_TELEPHONE="en_IN" LC_MEASUREMENT="en_IN" LC_IDENTIFICATION="en_IN" LC_ALL=
    – ASarkar
    Nov 26 '18 at 4:34












  • OK, thanks for this information. It appears that only LANG has a value on your system (namely en_IN) and not LC_ALL nor LC_CTYPE. Given that, my advice is to change the value of LANG. Can you launch wxMaxima from a terminal? If so, try: LANG=en_US wxmaxima or export LANG=en_US; wxmaxima My guess is that wxMaxima doesn't know what to do with en_IN.
    – Robert Dodier
    Nov 26 '18 at 4:49












  • Okay. Even before I tried to follow your advice, I had installed wxmaxima version 17.10.1 by downloading and compiling from source. This version didn't have the above problem. I had also uninstalled the ubuntu version 18.02.0.
    – ASarkar
    Nov 27 '18 at 13:05




















  • Hi, on looking at the source code in intl.cpp, I see that wxMaxima looks at the environment variables LC_ALL, LC_CTYPE, and LANG to determine the value of lang. What is the output of echo LC_ALL=$LC_ALL LC_CTYPE=$LC_CTYPE LANG=$LANG on your system?
    – Robert Dodier
    Nov 24 '18 at 17:13










  • The output of echo LC_ALL=$LC_ALL LC_CTYPE=$LC_CTYPE LANG=$LANG is LC_ALL= LC_CTYPE= LANG=en_IN
    – ASarkar
    Nov 26 '18 at 4:29












  • @RobertDodier: Supprisingly the output of locale command is LANG=en_IN LANGUAGE=en_US LC_CTYPE="en_IN" LC_NUMERIC="en_IN" LC_TIME="en_IN" LC_COLLATE=en_IN.utf8 LC_MONETARY="en_IN" LC_MESSAGES="en_IN" LC_PAPER="en_IN" LC_NAME="en_IN" LC_ADDRESS="en_IN" LC_TELEPHONE="en_IN" LC_MEASUREMENT="en_IN" LC_IDENTIFICATION="en_IN" LC_ALL=
    – ASarkar
    Nov 26 '18 at 4:34












  • OK, thanks for this information. It appears that only LANG has a value on your system (namely en_IN) and not LC_ALL nor LC_CTYPE. Given that, my advice is to change the value of LANG. Can you launch wxMaxima from a terminal? If so, try: LANG=en_US wxmaxima or export LANG=en_US; wxmaxima My guess is that wxMaxima doesn't know what to do with en_IN.
    – Robert Dodier
    Nov 26 '18 at 4:49












  • Okay. Even before I tried to follow your advice, I had installed wxmaxima version 17.10.1 by downloading and compiling from source. This version didn't have the above problem. I had also uninstalled the ubuntu version 18.02.0.
    – ASarkar
    Nov 27 '18 at 13:05


















Hi, on looking at the source code in intl.cpp, I see that wxMaxima looks at the environment variables LC_ALL, LC_CTYPE, and LANG to determine the value of lang. What is the output of echo LC_ALL=$LC_ALL LC_CTYPE=$LC_CTYPE LANG=$LANG on your system?
– Robert Dodier
Nov 24 '18 at 17:13




Hi, on looking at the source code in intl.cpp, I see that wxMaxima looks at the environment variables LC_ALL, LC_CTYPE, and LANG to determine the value of lang. What is the output of echo LC_ALL=$LC_ALL LC_CTYPE=$LC_CTYPE LANG=$LANG on your system?
– Robert Dodier
Nov 24 '18 at 17:13












The output of echo LC_ALL=$LC_ALL LC_CTYPE=$LC_CTYPE LANG=$LANG is LC_ALL= LC_CTYPE= LANG=en_IN
– ASarkar
Nov 26 '18 at 4:29






The output of echo LC_ALL=$LC_ALL LC_CTYPE=$LC_CTYPE LANG=$LANG is LC_ALL= LC_CTYPE= LANG=en_IN
– ASarkar
Nov 26 '18 at 4:29














@RobertDodier: Supprisingly the output of locale command is LANG=en_IN LANGUAGE=en_US LC_CTYPE="en_IN" LC_NUMERIC="en_IN" LC_TIME="en_IN" LC_COLLATE=en_IN.utf8 LC_MONETARY="en_IN" LC_MESSAGES="en_IN" LC_PAPER="en_IN" LC_NAME="en_IN" LC_ADDRESS="en_IN" LC_TELEPHONE="en_IN" LC_MEASUREMENT="en_IN" LC_IDENTIFICATION="en_IN" LC_ALL=
– ASarkar
Nov 26 '18 at 4:34






@RobertDodier: Supprisingly the output of locale command is LANG=en_IN LANGUAGE=en_US LC_CTYPE="en_IN" LC_NUMERIC="en_IN" LC_TIME="en_IN" LC_COLLATE=en_IN.utf8 LC_MONETARY="en_IN" LC_MESSAGES="en_IN" LC_PAPER="en_IN" LC_NAME="en_IN" LC_ADDRESS="en_IN" LC_TELEPHONE="en_IN" LC_MEASUREMENT="en_IN" LC_IDENTIFICATION="en_IN" LC_ALL=
– ASarkar
Nov 26 '18 at 4:34














OK, thanks for this information. It appears that only LANG has a value on your system (namely en_IN) and not LC_ALL nor LC_CTYPE. Given that, my advice is to change the value of LANG. Can you launch wxMaxima from a terminal? If so, try: LANG=en_US wxmaxima or export LANG=en_US; wxmaxima My guess is that wxMaxima doesn't know what to do with en_IN.
– Robert Dodier
Nov 26 '18 at 4:49






OK, thanks for this information. It appears that only LANG has a value on your system (namely en_IN) and not LC_ALL nor LC_CTYPE. Given that, my advice is to change the value of LANG. Can you launch wxMaxima from a terminal? If so, try: LANG=en_US wxmaxima or export LANG=en_US; wxmaxima My guess is that wxMaxima doesn't know what to do with en_IN.
– Robert Dodier
Nov 26 '18 at 4:49














Okay. Even before I tried to follow your advice, I had installed wxmaxima version 17.10.1 by downloading and compiling from source. This version didn't have the above problem. I had also uninstalled the ubuntu version 18.02.0.
– ASarkar
Nov 27 '18 at 13:05






Okay. Even before I tried to follow your advice, I had installed wxmaxima version 17.10.1 by downloading and compiling from source. This version didn't have the above problem. I had also uninstalled the ubuntu version 18.02.0.
– ASarkar
Nov 27 '18 at 13:05














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
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53415580%2fwxmaxima-assertion-failed-lang-wxlanguage-default%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
















draft saved

draft discarded




















































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.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • 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.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53415580%2fwxmaxima-assertion-failed-lang-wxlanguage-default%23new-answer', 'question_page');
}
);

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







Popular posts from this blog

404 Error Contact Form 7 ajax form submitting

How to know if a Active Directory user can login interactively

TypeError: fit_transform() missing 1 required positional argument: 'X'