Giter VIP home page Giter VIP logo

neo4j-django-tutorial's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

neo4j-django-tutorial's Issues

"message" : "No authorization header supplied.",

When i run the (python manage.py bootstrap)

neo4j.connection.OperationalError: Server returned unexpected response: 401{
"errors" : [ {
"message" : "No authorization header supplied.",
"code" : "Neo.ClientError.Security.AuthorizationFailed"
} ]
}

i know that I need to provide neo4j username and password how can provide information

Exception TypeError when migrating

Exception TypeError: "'NoneType' object is not callable" in <bound method DirectDriver.__del__ of <neo4j.v1.direct.DirectDriver object at 0x7f3b249a6bd0>> ignored

ImportError: No module named neo4j

when I run command python neo4jtut/manage.py syncdb, I am getting error:
File "/Users/Prashant/Documents/neo4j-django-tutorial/neo4jtut/apps/neo4japp/models.py", line 3, in
from neo4jtut import db
File "/Users/Prashant/Documents/neo4j-django-tutorial/neo4jtut/neo4jtut/db.py", line 3, in
from neo4j import contextmanager
ImportError: No module named neo4j

Why sqlite3 is still used in generic_settings.py?

In generic_settings.py, the following lines indicate that sqlite3 is the db backend, not neo4j.

DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': join(NEO4JTUT_ROOT, 'db/neo4jtut.sqlite'),
}
}

Is this a bug?
How to change it to neo4j?

sqlite3.OperationalError: no such table: neo4japp_movie

Hi @johanlundberg,

When i execute the command, python neo4jtut/manage.py bootstrap, I am getting the below error. Is there any file to load the sqlite3 database? Appreciate your help.

Traceback (most recent call last):
File "/Users/balajirajaram/anaconda/lib/python3.5/site-packages/django/db/backends/utils.py", line 64, in execute
return self.cursor.execute(sql, params)
File "/Users/balajirajaram/anaconda/lib/python3.5/site-packages/django/db/backends/sqlite3/base.py", line 337, in execute
return Database.Cursor.execute(self, query, params)
sqlite3.OperationalError: no such table: neo4japp_movie

Getting a traceback when trying to bootstrap

I have followed the tutorial and on doing the bootstrap I am getting the below traceback.

Am i Doing something wrong or its an issue.

(tutorialenv) m-mymachine:neo4j-django-tutorial suhail$ python neo4jtut/manage.py bootstrap
Traceback (most recent call last):
File "neo4jtut/manage.py", line 10, in
execute_from_command_line(sys.argv)
File "/Users/suhail/Workspace/neo4j/neo4j-django-tutorial/tutorialenv/lib/python3.6/site-packages/django/core/management/init.py", line 367, in execute_from_command_line
utility.execute()
File "/Users/suhail/Workspace/neo4j/neo4j-django-tutorial/tutorialenv/lib/python3.6/site-packages/django/core/management/init.py", line 359, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/Users/suhail/Workspace/neo4j/neo4j-django-tutorial/tutorialenv/lib/python3.6/site-packages/django/core/management/init.py", line 208, in fetch_command
klass = load_command_class(app_name, subcommand)
File "/Users/suhail/Workspace/neo4j/neo4j-django-tutorial/tutorialenv/lib/python3.6/site-packages/django/core/management/init.py", line 40, in load_command_class
module = import_module('%s.management.commands.%s' % (app_name, name))
File "/Users/suhail/Workspace/neo4j/neo4j-django-tutorial/tutorialenv/lib/python3.6/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 978, in _gcd_import
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "/Users/suhail/Workspace/neo4j/neo4j-django-tutorial/neo4jtut/neo4japp/management/commands/bootstrap.py", line 70, in
Command().handle()
File "/Users/suhail/Workspace/neo4j/neo4j-django-tutorial/neo4jtut/neo4japp/management/commands/bootstrap.py", line 50, in handle
raise e
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/contextlib.py", line 89, in exit
next(self.gen)
File "/Users/suhail/Workspace/neo4j/neo4j-django-tutorial/neo4jtut/neo4jtut/contextmanager.py", line 54, in _transaction
session.commit_transaction()
File "/Users/suhail/Workspace/neo4j/neo4j-django-tutorial/tutorialenv/lib/python3.6/site-packages/neo4j/v1/bolt.py", line 177, in commit_transaction
self.sync()
File "/Users/suhail/Workspace/neo4j/neo4j-django-tutorial/tutorialenv/lib/python3.6/site-packages/neo4j/v1/bolt.py", line 164, in sync
self.connection.sync()
File "/Users/suhail/Workspace/neo4j/neo4j-django-tutorial/tutorialenv/lib/python3.6/site-packages/neo4j/bolt/connection.py", line 421, in sync
count += self.fetch()
File "/Users/suhail/Workspace/neo4j/neo4j-django-tutorial/tutorialenv/lib/python3.6/site-packages/neo4j/bolt/connection.py", line 407, in fetch
response.on_failure(metadata or {})
File "/Users/suhail/Workspace/neo4j/neo4j-django-tutorial/tutorialenv/lib/python3.6/site-packages/neo4j/v1/bolt.py", line 222, in on_failure
raise self.error_class(metadata)
neo4j.v1.api.CypherError: 0 (of class java.lang.Long)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.