WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: qbittorrent doesn't start  (Read 2481 times)

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
qbittorrent doesn't start
« on: November 08, 2010, 05:14:43 PM »
tc@box1:~$ qbittorrent
terminate called after throwing an instance of 'std::runtime_error'
  what():  locale::facet::_S_create_c_locale name not valid
Aborted
tc@box1:~$
dCore user

Offline Arslan S.

  • Hero Member
  • *****
  • Posts: 825
Re: qbittorrent doesn't start
« Reply #1 on: November 09, 2010, 05:11:29 AM »
this is not a problem with qbittorrent it looks to be a problem with libstdc++

see this simple program gives exactly the same error for all locales other than "C" and "POSIX"

program creates a locale object with system default preference and prints the name of it
Code: [Select]
#include <iostream>
#include <locale>

using namespace std;

int main()
{
    locale loc("");

    cout << "System locale: " << loc.name() << endl;

    return 0;
}

output of test program
Code: [Select]
tc@box:~/Desktop/c++_locale_test/bin/Debug$ locale -a
C
POSIX
it_IT
it_IT.iso88591
it_IT.iso885915@euro
it_IT@euro
tc@box:~/Desktop/c++_locale_test/bin/Debug$ echo $LANG
C
tc@box:~/Desktop/c++_locale_test/bin/Debug$ ./c\+\+_locale_test
System locale: C
tc@box:~/Desktop/c++_locale_test/bin/Debug$ export LANG=it_IT
tc@box:~/Desktop/c++_locale_test/bin/Debug$ ./c\+\+_locale_test
terminate called after throwing an instance of 'std::runtime_error'
  what():  locale::facet::_S_create_c_locale name not valid
Aborted

here is a similar problem which states in the end that libstdc++ must be compiled with --enable-clocale=gnu i think
http://groups.google.com/group/gnu.gcc.help/browse_thread/thread/99d874aed6b46fdd?pli=1
« Last Edit: November 09, 2010, 05:23:22 AM by Arslan S. »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14819
Re: qbittorrent doesn't start
« Reply #2 on: November 09, 2010, 06:08:07 AM »
As per my notes, it was compiled with --enable-clocale=gnu...

Offline vinnie

  • Hero Member
  • *****
  • Posts: 1187
  • HandMace informatic works
Re: qbittorrent doesn't start
« Reply #3 on: February 09, 2011, 12:39:50 PM »
I have same problem