Home Forums Hortonworks Sandbox NotImplementedError at /accounts/login/

Tagged: 

This topic contains 6 replies, has 4 voices, and was last updated by  Gokulkrishna Surapureddy 1 month ago.

  • Creator
    Topic
  • #29130

    I just re-downloaded VirtualBox-4.2.16-86992-Win.exe and Hortonworks+Sandbox+1.3+VirtualBox+RC6.ova, but the first thing that happens after I go to http://127.0.0.1:8888/ and click Start is a page is displayed with this error: NotImplementedError at /accounts/login/ — so I can’t work with File Browser, etc.

    It was working fine two days ago. The only thing that’s happened since then is Oracle VirtualBox-4.2.16-86992-Win.exe came out, but I’ve tried using the previous version of Virtual Box and the error still occurs.

    I just got introduced to Hortonworks and Sandbox at 2013 Hadoop Summit and took George Trujillo’s Hadoop Essentials class, and would love to practice what I learned, but this has me stopped in my tracks. Can someone help? Manish is on vacation and I don’t want to bother him, and George doesn’t seem to be getting my emails.

    robert.lingard@gmail.com
    408-218-6241

    Since there’s more space, here are the headers for the rest of the error text, which is voluminous:

    NotImplementedError at /accounts/login/
    Request Method: GET
    Request URL: http://127.0.0.1:8000/accounts/login/?next=/about/
    Django Version: 1.2.3
    Exception Type: NotImplementedError
    Exception Value:
    Exception Location: /usr/lib/hue/build/env/lib/python2.6/site-packages/Django-1.2.3-py2.6.egg/django/contrib/auth/models.py in save, line 427
    Python Executable: /usr/bin/python2.6
    Python Version: 2.6.6
    Python Path:

Viewing 6 replies - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.

  • Author
    Replies
  • #60830

    I am also facing the same issue. currently i am using Hortonworks_sandbox2.1

    Traceback:
    File “/usr/lib/hue/build/env/lib/python2.6/site-packages/Django-1.2.3-py2.6.egg/django/core/handlers/base.py” in get_response
    100. response = callback(request, *callback_args, **callback_kwargs)
    File “/usr/lib/hue/desktop/core/src/desktop/auth/views.py” in dt_login
    114. login(request, user)
    File “/usr/lib/hue/build/env/lib/python2.6/site-packages/Django-1.2.3-py2.6.egg/django/contrib/auth/__init__.py” in login
    69. user.save()
    File “/usr/lib/hue/build/env/lib/python2.6/site-packages/Django-1.2.3-py2.6.egg/django/contrib/auth/models.py” in save
    427. raise NotImplementedError

    Exception Type: NotImplementedError at /accounts/login/
    Exception Value:

    One of the django developer suggested me to upgrade from Django 1.2 to Django 1.7 and make changes in models.py at location “/usr/lib/hue/build/env/lib/python2.6/site-packages/Django-1.2.3-py2.6.egg/django/contrib/auth/models.py”

    models.py should be modified in such a way that it should authenticate the user first, and then login.

    I think hortonworks should upgrade from django 1.2 to django 1.7 and consider these changes.
    Please let me know if am wrong or if these changes are already implemented in the new version of sandbox.

    Thanks,
    Gokul S

    Collapse
    #56687

    Jack
    Participant

    I’m now receiving this exact same message for reasons that I don’t know or understand. The exception location is Exception Location: /usr/lib/hue/build/env/lib/python2.6/site-packages/Django-1.2.3-py2.6.egg/django/contrib/auth/models.py in save, line 427

    The “solution” is to reload everything? I’ve done a great deal of work and it’s start over because it’s a weird message that comes up every once in a while? I think this sandbox is a great thing, but have never worked the Django (not my interest), but should I take it on out of self defense?

    Collapse
    #29211

    tedr
    Moderator

    Hi Robert,

    Thanks for letting us know that you got it working.

    Ted.

    Collapse
    #29183

    I re-downloaded and re-installed Oracle VM VirtualBox Manager twice, the first time I selected repair without success, but the second time I selected remove. This was much more lengthy, and it required the process to be repeated again to install Oracle VM VirtualBox Manager after removing it, but something different happened after I clicked on the green Start arrow: the Hortonworks Sandbox Registration page appeared. After filling it out and submitting, the Sandbox welcome page appeared, and then after I clicked Start, the Sandbox appeared including File Browser and I was in business again.

    I found that both the pre-existing and the new graphics for Hortonworks Sandbox 1.3 and 1.3_1 were displayed on the left panel, but I removed them and went through the steps to import the appliance.

    Also, I kept the 1.9gb Hortonworks Sandbox 1.3 file in a separate folder from the Oracle VM VirtualBox Manager until it was through installing.

    So the solution was to remove Oracle VM VirtualBox Manager, not just repair, and then reinstall Oracle VM VirtualBox Manager; then import the hortonworks Sandbox appliance.

    I went through the steps we followed in George’s Hadoop Essentials class demo at the 2013 Hadoop Summit successfully. Then I closed the appliance, closed the VirtualBox, closed the browser window in Chrome that had the File Browser; and then re-opened everything to make sure it opened up but this time without the Registration page, and it did; and then I went through the demo successfully.

    Needless to say, this is a huge relief – but I’ll say so anyway, this a huge relief, it lets me go forward to practice what I learned, so thanks very much!!

    Collapse
    #29180

    I did this but when I selected the appliance and clicked the green Start arrow I got an error message: Cannot access the kernel driver! Make sure the kernel module has been loaded successfully.

    I will re-download and install the Oracel VM VirtualBox Manager and then import the appliance again.

    By the way, when I install the Oracle VM VirtualBox Manager, Hortonworks Sandbox 1.3 already appears in the left-hand panel. I haven’t been going through the separate steps to install the appliance because it was already there. Should I remove it first?

    There is also an appliance called Windows XP in the left hand panel. I.e., the left hand panel isn’t blank, it has two appliances, Windows XP and Hortonworks Sandbox 1.3 already displayed when Oracle VM VirtualBox Manager finishes installing. Should I remove them and then import Hortonworks Sandbox 1.3?

    Collapse
    #29175

    tedr
    Moderator

    Hi Robert,

    Occasionally we get some strange errors like this because the import of the appliance didn’t go well, can you try importing it again? And just to be sure when you import it you are using the ‘file->import appliance’ menu item correct?

    Thanks,
    Ted.

    Collapse
Viewing 6 replies - 1 through 6 (of 6 total)