Can't insert spaces in code editors - editor

Since i recently installed CodeBlocks, I can't insert spaces in codeblocks, codelite or mysql-workbench editors.
When i press space the editor interprets it as a completion key unless there is no word to complete.
The only way to insert a blank space is to press "Supper+Space".
I tried to remove CodeBlocks and CodeLite but the problem persists in Mysql Workbench.
Configuration :
uname -a :
Linux slxpc 3.2.0-57-generic #87-Ubuntu SMP Tue Nov 12 21:35:10 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
cat /proc/version
Linux version 3.2.0-57-generic (buildd#toyol) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #87-Ubuntu SMP Tue Nov 12 21:35:10 UTC 2013
mysql-workbench --version
MySQL Workbench CE (GPL) 6.0.8 11354 build 833
CodeBlocks version : 10.05
FYI : I don't have this problem in geany and leafpad.

The common base for these 2 editors (codelite / codeblocks) is that both are using wxWidgets as their underlying GUI toolkit.
So its probably related to this fact.
You failed to mention 2 important details:
Your keyboard layout ( I assume that you don't use standard keyboard )
Your codelite version
I can advise you for codelite
Upgrade to the latest version of codelite (which uses a much more recent of wxWidgets). You won't find the latest version of codelite in Ubuntu's repositories since its using an up-to-date version of wxWidgets which is not included by Ubuntu's packagers, you can however, find it in codelite's repository: codelite download page
Once installed, it should fix your problem. If the problem persists, change the code completion keyboard shortcut to something else (e.g. Ctrl-ENTER) from Settings -> Keyboard Shortcut
If both methods fails, you can always switch to work with standard keyboard
HTH,
Eran

Related

How to get clang-format 14 on osx?

~/ brew upgrade clang-format
Warning: clang-format 11.0.1 already installed
Seems clang-format only versions upto 11 is supported on osx 10.15.7. However, we can see 14 already supported on ubuntu or debian, ref https://apt.llvm.org/
So how to install version 14 on osx?
LLVM (and by extension clang-format) 14 is in a development branch and hasn't released yet. You would have to compile clang from source to actually get it. And even then it would be an incomplete possibly broken version since it's a development branch.

Getting "Unusable Erlang runtime system!" when trying to run on Amazon Linux 2

I am compiling an elixir app on Ubuntu 18.04 in github actions and trying to run it in an Amazon Linux 2 system and I get the error "Unusable Erlang runtime system! This is likely due to being compiled for another system than the host is running"
I checked to make sure both were running on an x86_64 system and that does appear to be the case.
Github Actions Ubuntu uname: Linux fv-az21-804 5.4.0-1036-azure #38~18.04.1-Ubuntu SMP Wed Jan 6 18:26:30 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Amazon Linux 2 uname: Linux ip-172-10-201-177.ec2.internal 4.14.209-160.339.amzn2.x86_64 #1 SMP Wed Dec 16 22:44:04 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
OTP Version: 23.2.1
Elixir Version: 1.11.3
I am at a loss as to what could be going on. Any thoughts?
This is usually the case when there is a mismatch of Erlang versions.
Scenario:
Building with alpine-elixir:1.7.3
Served with alpine:latest
Try and see if the Erlang version is consistent.
The OP asks in the comments:
Is it possible the problem is in the libc mismatch between ubuntu using glibc and alpine using musl?
That is a possible root cause indeed. The test would be to compile it using the same libc.

How to fix version problems with TeXLive & tlmgr

I installed TeXLive following the instructions here and here, and the installer told me that I am installing the 2020 version:
Loading http://mirror.koddos.net/CTAN/systems/texlive/tlnet/tlpkg/texlive.tlpdb
Installing TeX Live 2020 from: http://mirror.koddos.net/CTAN/systems/texlive/tlnet (verified)
...
However, asking tex --version returns me:
TeX 3.14159265 (TeX Live 2017/Debian)
kpathsea version 6.2.3
Copyright 2017 D.E. Knuth.
There is NO warranty. Redistribution of this software is
covered by the terms of both the TeX copyright and
the Lesser GNU General Public License.
For more information about these matters, see the file
named COPYING and the TeX source.
Primary author of TeX: D.E. Knuth.
I changed the repository for tlmgr as suggested here:
sudo tlmgr option repository ftp://tug.org/historic/systems/texlive/2017/tlnet-final
But now is gives me errors that 2017 is no longer supported.
Which is the reason that I cannot install packages:
~$ tlmgr update --self
(running on Debian, switching to user mode!)
TeX Live 2017 is frozen forever and will no
longer be updated. This happens in preparation for a new release.
If you're interested in helping to pretest the new release (when
pretests are available), please read http://tug.org/texlive/pretest.html.
Otherwise, just wait, and the new release will be ready in due time.
tlmgr: package repository ftp://tug.org/historic/systems/texlive/2017/tlnet-final (verified)
tlmgr: no self-updates for tlmgr available.
and
~$ tlmgr install nicefrac
(running on Debian, switching to user mode!)
TeX Live 2017 is frozen forever and will no
longer be updated. This happens in preparation for a new release.
If you're interested in helping to pretest the new release (when
pretests are available), please read http://tug.org/texlive/pretest.html.
Otherwise, just wait, and the new release will be ready in due time.
tlmgr: package repository ftp://tug.org/historic/systems/texlive/2017/tlnet-final (verified)
tlmgr install: package nicefrac not present in repository.
tlmgr: action install returned an error; continuing.
tlmgr: An error has occurred. See above messages. Exiting.
How do I install the 2020 version of TeX or how can I properly use tlmgr without getting these errors?

Taking Update in svn results in Encoded Data in whole project

I'm working in a project which uses SVN. New SVN checkout works fine and whenever i get an update, it builds successfully but when i run the project it shows this Encoded Data opening any page shows this same thing.
Don't know what's happening. I tried changing the version of svn similar with the one in my team member's Pc where the project is running completely fine. but the Issue is still Same.
Initial version of svn
TortoiseSVN 1.9.2, Build 26806 - 64 Bit , 2015/09/22 18:33:30
Subversion 1.9.2, -release
apr 1.5.2
apr-util 1.5.4
serf 1.3.8
OpenSSL 1.0.2d 9 Jul 2015
zlib 1.2.8
SQLite 3.8.11.1
Downgraded version as the one in my team member's pc
TortoiseSVN 1.8.10, Build 26129 - 64 Bit , 2014/12/17 19:35:51
Subversion 1.8.11, -release
apr 1.5.1
apr-util 1.5.4
serf 1.3.8
OpenSSL 1.0.1j 15 Oct 2014
zlib 1.2.8
In Both version this issue is continuing. Please help if anyone have the solution or have ever faced such issue. Unable to find similar issue on google too.

Function 'xsltParseStylesheetDoc' not found in [libxml2.so]

This error comes up in Redhat Enterprise Linux Server 5.4 - 64 bit.
Linux rhl-64-tibbr5 2.6.18-164.el5 #1 SMP Tue Aug 18 15:51:48 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
There is also this error in the stack trace.
uninitialized constant Nokogiri::VERSION_INFO
More version details:
jruby-1.4.0RC1
ruby/gems/1.8/gems/activesupport-2.3.4
Any idea?
After wasting a few hours on this issue, we realized we didn't need nokogiri in our application. So we got it rid of it and these errors disappeared.
Note: these errors show up only on a 64 bit Linux machine ( like RHEL, Oracle Linux etc.,). We didn't see any errors with 32-bit operating systems ( both Win and Linux)
I faced similar errors when using Nokogiri with JRuby 1.4.0 (and higher). What turned out to be the problem was that the machine was 64-bit but the JRE that JRuby ended up using was 32-bit. Ensuring that JRuby was run using a 64-bit JRE on a 64-bit machine solved the issues for me.
Some specifics in this blog post.

Resources