django-latexify
django-latexify copied to clipboard
Not a directory
I have installed latexify as described in the readme, and it seems to be succesfull. But when I add latexify to installed apps and try to run the server I get the following error:
Unhandled exception in thread started by <function wrapper at 0x7fa214ae0050>
Performing system checks...
System check identified no issues (0 silenced).
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/django/utils/autoreload.py", line 227, in wrapper
fn(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/django/core/management/commands/runserver.py", line 128, in inner_run
self.check_migrations()
File "/usr/local/lib/python2.7/dist-packages/django/core/management/base.py", line 422, in check_migrations
executor = MigrationExecutor(connections[DEFAULT_DB_ALIAS])
File "/usr/local/lib/python2.7/dist-packages/django/db/migrations/executor.py", line 20, in __init__
self.loader = MigrationLoader(self.connection)
File "/usr/local/lib/python2.7/dist-packages/django/db/migrations/loader.py", line 52, in __init__
self.build_graph()
File "/usr/local/lib/python2.7/dist-packages/django/db/migrations/loader.py", line 203, in build_graph
self.load_disk()
File "/usr/local/lib/python2.7/dist-packages/django/db/migrations/loader.py", line 107, in load_disk
for name in os.listdir(directory):
OSError: [Errno 20] Not a directory: '/usr/local/lib/python2.7/dist-packages/django_'
Can you please indicate what Django version you're using? The traceback doesn't give much information on what is going on or if it's due to the app.
Sorry about the lag of information. I'm running Django 1.11.3 in python 2.7.13 on Xubuntu 17.04. Do you need additional output?
Seems to be working fine for me using Django 1.11.3 and python 2.7.13. See the working example I just pushed with the same versions here.
I get the exact same error when running your example code. The problem also occurs in python 3.5.
Are you using a virtual environment? Can you please git fetch & pull the branch and do the following:
source latexify_test_env/bin/activate
cd latex
python manage.py runserver
Then in your browser, open 127.0.0.1:8000
.
@kvedes Please let me know if you are still having the issue.
I got exact same error too: OSError: [Errno 20] Not a directory python 2.7.13 django 1.10 mac os