question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Hue make apps failing to complete due to desktop.db error

See original GitHub issue

I am using Ubuntu 16.04 amd64 and after using the command make apps in the hue directory, I am getting the following error.

Installed /home/maffsojah/hue/desktop/libs/notebook/src make[2]: Leaving directory '/home/maffsojah/hue/desktop/libs/notebook' --- Regenerating database at /home/maffsojah/hue/desktop/desktop.db --- Syncing/updating database at /home/maffsojah/hue/desktop/desktop.db [09/Jan/2017 12:10:24 +0000] settings DEBUG DESKTOP_DB_TEST_NAME SET: /home/maffsojah/hue/desktop/desktop-test.db [09/Jan/2017 12:10:24 +0000] settings DEBUG DESKTOP_DB_TEST_USER SET: hue_test Traceback (most recent call last): File "/home/maffsojah/hue/build/env/bin/hue", line 9, in <module> load_entry_point('desktop==3.11.0', 'console_scripts', 'hue')() File "/home/maffsojah/hue/desktop/core/src/desktop/manage_entry.py", line 59, in entry execute_from_command_line(sys.argv) File "/home/maffsojah/hue/build/env/lib/python2.7/site-packages/Django-1.6.10-py2.7.egg/django/core/management/__init__.py", line 399, in execute_from_command_line utility.execute() File "/home/maffsojah/hue/build/env/lib/python2.7/site-packages/Django-1.6.10-py2.7.egg/django/core/management/__init__.py", line 392, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "/home/maffsojah/hue/build/env/lib/python2.7/site-packages/Django-1.6.10-py2.7.egg/django/core/management/base.py", line 242, in run_from_argv self.execute(*args, **options.__dict__) File "/home/maffsojah/hue/build/env/lib/python2.7/site-packages/Django-1.6.10-py2.7.egg/django/core/management/base.py", line 284, in execute self.validate() File "/home/maffsojah/hue/build/env/lib/python2.7/site-packages/Django-1.6.10-py2.7.egg/django/core/management/base.py", line 310, in validate num_errors = get_validation_errors(s, app) File "/home/maffsojah/hue/build/env/lib/python2.7/site-packages/Django-1.6.10-py2.7.egg/django/core/management/validation.py", line 34, in get_validation_errors for (app_name, error) in get_app_errors().items(): File "/home/maffsojah/hue/build/env/lib/python2.7/site-packages/Django-1.6.10-py2.7.egg/django/db/models/loading.py", line 196, in get_app_errors self._populate() File "/home/maffsojah/hue/build/env/lib/python2.7/site-packages/Django-1.6.10-py2.7.egg/django/db/models/loading.py", line 78, in _populate self.load_app(app_name) File "/home/maffsojah/hue/build/env/lib/python2.7/site-packages/Django-1.6.10-py2.7.egg/django/db/models/loading.py", line 99, in load_app models = import_module('%s.models' % app_name) File "/home/maffsojah/hue/build/env/lib/python2.7/site-packages/Django-1.6.10-py2.7.egg/django/utils/importlib.py", line 40, in import_module __import__(name) File "/home/maffsojah/hue/desktop/core/src/desktop/models.py", line 42, in <module> from desktop.lib.exceptions_renderable import PopupException File "/home/maffsojah/hue/desktop/core/src/desktop/lib/exceptions_renderable.py", line 28, in <module> import desktop.lib.django_util File "/home/maffsojah/hue/desktop/core/src/desktop/lib/django_util.py", line 40, in <module> import desktop.lib.thrift_util File "/home/maffsojah/hue/desktop/core/src/desktop/lib/thrift_util.py", line 25, in <module> import sasl File "/home/maffsojah/hue/build/env/lib/python2.7/site-packages/sasl-0.1.1-py2.7-linux-x86_64.egg/sasl/__init__.py", line 1, in <module> from sasl.saslwrapper import * File "/home/maffsojah/hue/build/env/lib/python2.7/site-packages/sasl-0.1.1-py2.7-linux-x86_64.egg/sasl/saslwrapper.py", line 7, in <module> import _saslwrapper ImportError: /home/maffsojah/hue/build/env/lib/python2.7/site-packages/sasl-0.1.1-py2.7-linux-x86_64.egg/_saslwrapper.so: undefined symbol: _ZTVNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEE Makefile:93: recipe for target '/home/maffsojah/hue/desktop/desktop.db' failed make[1]: *** [/home/maffsojah/hue/desktop/desktop.db] Error 1 make[1]: Leaving directory '/home/maffsojah/hue/desktop' Makefile:149: recipe for target 'desktop' failed make: *** [desktop] Error 2

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
drag0nglasscommented, Jul 24, 2018

Finally figure this out. That is, to make apps, the ini configuration file in desktop/conf/ shall be the same as the default template. Simply run rm -f desktop/conf/*.ini && cp desktop/conf/pseudo-distributed.ini.tmpl desktop/conf/pseudo-distributed.ini before make apps will do the job.

0reactions
maffsojahcommented, Aug 6, 2018

Hi @drag0nglass, I have failed to reproduce the issue since I am no longer using that setup. If this has worked for you on the same issue then your solution should close the issue. I’ll wait for your update before proceeding.

Read more comments on GitHub >

github_iconTop Results From Across the Web

HUE 2.5.0 setup failing - Google Groups
Is this the right doc or do we have some doc for CDH 4.6 HUE ? ... in the doc exactly but looks...
Read more >
Hue Troubleshooting - Cloudera Documentation
Connection failed error when accessing the Search app (Solr) from ... Hue Load Balancer does not start due to lengthy BalancerMember Route.
Read more >
Hue Database 111 Error - mysql - Stack Overflow
I have been trying to set up hue to an external mysql database & it fails with below error when I try to...
Read more >
Hue Installation Guide
Hue applications are collected into a desktop-style environment and delivered as a ... Commands that do not require root permission have a $...
Read more >
Integrate Custom SQL Databases with Hue's New Query Editors
I need to know what do I need to do to make HUE aware on the drill-jdbc-driver?? can anyone help I appreciate the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found