Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot start Carla, loadlocale.c related error #623

Closed
smrg-lm opened this issue Apr 25, 2018 · 17 comments
Closed

Cannot start Carla, loadlocale.c related error #623

smrg-lm opened this issue Apr 25, 2018 · 17 comments
Labels
Milestone

Comments

@smrg-lm
Copy link

smrg-lm commented Apr 25, 2018

Hi

I don't know if this is a bug but for pre-compiled Linux binaries on newer oses Carla throws:

Carla: loadlocale.c:130: _nl_intern_locale_data: Assertion `cnt < (sizeof (_nl_value_type_LC_TIME) / sizeof (_nl_value_type_LC_TIME[0]))' failed.
Aborted (core dumped)

I believe could be the same problem as here:

junegunn/fzf#350 (comment)

Emptying LANG makes it to work as suggested in the comments.

@falkTX
Copy link
Owner

falkTX commented Apr 26, 2018

so you get this issue when using the carla's pre-built binaries? (from github releases)
or do you also get the issue when using carla packages from your distro?

@smrg-lm
Copy link
Author

smrg-lm commented Apr 26, 2018

I've switched to 18.04 vanilla, not using packages as they are not available yet, precompiled from here.

@falkTX
Copy link
Owner

falkTX commented Apr 27, 2018

what packages do you refer to, that are not available?
(if it's about kxstudio, it has been ready for 18.04 since a few weeks)

but ok, I will try the pre-compiled packages on a 18.04 when I get the chance.
hopefully I can reproduce it there.

@smrg-lm
Copy link
Author

smrg-lm commented Apr 27, 2018

Using the .deb from the web page I saw the repo that has jack was not on bionic and it generated a dependency problem, that's why I thought it was not ready and purged it. I will try it again tomorrow. However, this locale issue with pre-compiled Carla happened out of the box in Kubuntu.

@falkTX falkTX added the bug label Jun 8, 2018
@falkTX falkTX added this to the 2.0-beta7 milestone Jun 8, 2018
@falkTX falkTX changed the title Carla: loadlocale.c Cannot start Carla, loadlocale.c related error Jun 8, 2018
@gergol
Copy link

gergol commented Jun 11, 2018

Dont want to spam, but maybe it helps. I have the same error here using precompiled version (Carla_2.0-beta6-linux64) on ubuntu 18.04.

@ywaby
Copy link

ywaby commented Jun 19, 2018

Temporary solution

export LANG=C

falkTX pushed a commit that referenced this issue Jul 3, 2018
Attempting to get around #623
@falkTX
Copy link
Owner

falkTX commented Jul 3, 2018

I built new binaries that likely resolve this issue.
Download them from https://github.com/falkTX/Carla/releases/tag/1.9.8c

Please test and let me know if they work for you, or not.
(Only relevant for those that had the issue before)

This is the last issue to be fixed for a new beta release.

@falkTX falkTX closed this as completed in f95f81f Jul 16, 2018
@Spleenico
Copy link

Hi, I am not the original poster but I have the same issue.
I've tested your updated binaries but unfortunately no cigar. Thanks anyhow.
Cheers,
Spleenico

spleenico@spleenico-XPS-L322X:~/Downloads/Carla_2.0-beta6-linux64$ ./Carla
Carla: loadlocale.c:130: _nl_intern_locale_data: Assertion `cnt < (sizeof (_nl_value_type_LC_TIME) / sizeof (_nl_value_type_LC_TIME[0]))' failed.
Aborted (core dumped)

@falkTX
Copy link
Owner

falkTX commented Jul 21, 2018

Yeah, those binaries did nothing.
I was able to reproduce the issue, and then the fix.
New release is ready to go, I will upload binaries soon.

@Spleenico
Copy link

@falkTX
Great, thanks in advance!

@falkTX
Copy link
Owner

falkTX commented Jul 21, 2018

alright, please test with the new release binaries. at https://github.com/falkTX/Carla/releases/tag/v1.9.9
tomorrow I will try to write the release notes

@Spleenico
Copy link

Spleenico commented Jul 22, 2018

Thanks Filipe,

This is what I get with Carla_2.0-beta7-linux64:

spleenico@spleenico-XPS-L322X:~/Downloads/Carla_2.0-beta7-linux64$ ./Carla
Carla self-contained executable 1.9.8 (2.0-beta6), based on UnZipSFX.
Launching: '/tmp/carla/carla'
Traceback (most recent call last):
  File "/usr/share/cx-freeze-common/initscripts/Console3.py", line 27, in <module>
  File "build-carla/src/carla", line 22, in <module>

@falkTX
Copy link
Owner

falkTX commented Jul 22, 2018

That happens when missing dependencies. I guess Qt4 libs?

@Spleenico
Copy link

Spleenico commented Jul 22, 2018

Thanks to this thread: #629, I saw that python3-pyqt4 was missing.
Likely a general issue with Ubuntu 18.04.

Now Carla fires normally.
Thanks!

@falkTX
Copy link
Owner

falkTX commented Jul 22, 2018

You dont actually need python-pyqt, just Qt4.
The binaries I publish include python inside.

@smrg-lm
Copy link
Author

smrg-lm commented Jul 23, 2018

I apologize, can't try it now.

@jmico
Copy link

jmico commented Nov 27, 2018

I couldn't run the precompiled binary of RC2, RC1 nor beta7 on a fresh install of Ubuntu 18.04:

~/Carla_2.0-RC2-linux64$ ./Carla
Carla self-contained executable 1.9.11 (2.0-RC1), based on UnZipSFX.
Launching: '/tmp/carla/carla'
Traceback (most recent call last):
  File "/usr/share/cx-freeze-common/initscripts/Console3.py", line 27, in <module>
  File "build-carla/src/carla", line 22, in <module>

After I found this thread I tried to find and install the missing dependencies (as seems that Ubuntu 18.04 does not include Qt4 libraries by default). The minimal install that get Carla running is:

$ sudo apt install libqt4-svg

which also installs in my fresh system:

The following NEW packages will be installed:
  libmng2 libmysqlclient20 libqt4-dbus libqt4-declarative libqt4-network libqt4-script libqt4-sql
  libqt4-sql-mysql libqt4-svg libqt4-xml libqt4-xmlpatterns libqtcore4 libqtdbus4 libqtgui4
  mysql-common qdbus qt-at-spi qtchooser qtcore4-l10n
0 upgraded, 19 newly installed, 0 to remove and 4 not upgraded.

I wouldn't call this a Carla bug, but It is a pity that the precompiled doesn't run on new systems, specially when it is the easier way to get audio stuff working on Linux (both Carla and the tar.gz).

Is it feasible to include those dependencies into the package? Is it good idea? Now I have an AppImage Qtractor, and... mmm.... a snap calculator. What about just a notice on the README?

...
I love to jam on Carla. Thanks for your amazing work :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants