Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

261
Views
Error at Remote Debugging in Eclipse

I am trying to debug an application remotely in Eclipse. When I start debugging, the application is deployed and the gdbserver is started on the target. This seems to work automatically without any mistakes, but then following error occurs:

'Launching helloworld Build(GNU)' has encountered a problem.

Could not determine GDB version using command: /usr/bin/gdb --version

When I expand <<Details in Eclipse this is shown:

Could not determine GDB version using command: /usr/bin/gdb --version

Fatal Python error: Py_Initialize: Unable to get the locale encoding

ImportError: No module named 'encodings'

In a console on the target /usr/bin/gdb --version is showing me the version and when I open a Python shell I can import encodings without errors.

Does anybody know where this error comes from? I wasn't sure about how to tag this question since I have no clue in which area the solution will be.

What I tried so far:

  • In Eclipse/Debug Configurations: Commands to execute before application: Several export commands to Python.
  • Same in /etc/profile.
  • bitbake -e python | grep "^PACKAGES=" : Inserted every python package into my image recipe via IMAGE_INSTALL_append.
  • [...]
over 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!