no such table: useradmin_userprofile

瀏覽次數:24 次
跳到第一則未讀訊息

Suvro Banerjee

未讀,
2017年12月5日 上午8:40:552017/12/5
收件者:Hue-Users
Hi,

I am trying to install Hue on Mac. After I start the server and provide the username and password I get the following error (below)-

I am following the instruction from -


Getting the error at the step when running http://localhost:8000

Step 6: Run!
What you have to do on Terminal from the Hue folder is just

1
./build/env/bin/hue runserver

And point your browser to http://localhost:8000

Thanks, please help.

OperationalError at /accounts/login/

no such table: useradmin_userprofile
Request Method:POST
Request URL:http://localhost:8000/accounts/login/
Django Version:1.6.10
Exception Type:OperationalError
Exception Value:
no such table: useradmin_userprofile
Exception Location:/Users/bsuvro/hue/build/env/lib/python2.7/site-packages/Django-1.6.10-py2.7.egg/django/db/backends/sqlite3/base.py in execute, line 452
Python Executable:/Users/bsuvro/hue/build/env/bin/python2.7
Python Version:2.7.10

Romain Rigaux

未讀,
2017年12月5日 上午10:11:462017/12/5
收件者:Suvro Banerjee、Hue-Users
And after

.
/build/env/bin/hue syncdb
./build/env/bin/hue migrate

?

--
You received this message because you are subscribed to the Google Groups "Hue-Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hue-user+unsubscribe@cloudera.org.

Suvro Banerjee

未讀,
2017年12月5日 晚上11:38:312017/12/5
收件者:Hue-Users
Hi Romain,

I tried doing this but still got the same error posted earlier. Please help. Thanks.

1) ./build/env/bin/hue syncdb

The output:

Creating tables ...

Installing custom SQL ...

Installing indexes ...

Installed 0 object(s) from 0 fixture(s)


Synced:

 > django.contrib.auth

 > django_openid_auth

 > django.contrib.contenttypes

 > django.contrib.sessions

 > django.contrib.sites

 > django.contrib.staticfiles

 > django.contrib.admin

 > south

 > axes

 > about

 > filebrowser

 > help

 > impala

 > jobbrowser

 > metastore

 > proxy

 > rdbms

 > zookeeper

 > indexer

 > dashboard


Not synced (use migrations):

 - django_extensions

 - desktop

 - beeswax

 - hbase

 - jobsub

 - oozie

 - pig

 - search

 - security

 - spark

 - sqoop

 - useradmin

 - notebook



2) ./build/env/bin/hue migrate


The output-


INFO     Couldn't import snappy. Support for snappy compression disabled.

Running migrations for django_extensions:

- Nothing to migrate.

Traceback (most recent call last):

  File "./build/env/bin/hue", line 9, in <module>

    load_entry_point('desktop==4.1.0', 'console_scripts', 'hue')()

  File "/Users/bsuvro/hue/desktop/core/src/desktop/manage_entry.py", line 143, in entry

    execute_from_command_line(sys.argv)

  File "/Users/bsuvro/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 "/Users/bsuvro/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 "/Users/bsuvro/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 "/Users/bsuvro/hue/build/env/lib/python2.7/site-packages/Django-1.6.10-py2.7.egg/django/core/management/base.py", line 285, in execute

    output = self.handle(*args, **options)

  File "/Users/bsuvro/hue/build/env/lib/python2.7/site-packages/South-1.0.2-py2.7.egg/south/management/commands/migrate.py", line 111, in handle

    ignore_ghosts = ignore_ghosts,

  File "/Users/bsuvro/hue/build/env/lib/python2.7/site-packages/South-1.0.2-py2.7.egg/south/migration/__init__.py", line 214, in migrate_app

    raise exceptions.InconsistentMigrationHistory(problems)

south.exceptions.InconsistentMigrationHistory: Inconsistent migration history

The following options are available:

    --merge: will just attempt the migration ignoring any potential dependency conflicts.

回覆所有人
回覆作者
轉寄
0 則新訊息