What version of Django are you running?
On Fri, Jul 26, 2019, 7:34 AM abhijithez <abhijithez@gmail.com> wrote:
Hi All,--I have created a Django Project that is working fine on local desktop but when I am starting the same on linux server using python manage.py runserver it shows the following:$python manage.py runserverWatching for file changes with StatReloaderPerforming system checks...System check identified no issues (0 silenced).Traceback (most recent call last):File "manage.py", line 21, in <module>main()File "manage.py", line 17, in mainexecute_from_command_line(sys.argv)File "/home/mluser/anaconda3/lib/python3.5/site-packages/django/core/managemen t/__init__.py", line 381, in execute_from_command_lineutility.execute()File "/home/mluser/anaconda3/lib/python3.5/site-packages/django/core/managemen t/__init__.py", line 375, in executeself.fetch_command(subcommand).run_from_argv(self.argv)File "/home/mluser/anaconda3/lib/python3.5/site-packages/django/core/managemen t/base.py", line 323, in run_from_argvself.execute(*args, **cmd_options)File "/home/mluser/anaconda3/lib/python3.5/site-packages/django/core/managemen t/commands/runserver.py", line 60, in executesuper().execute(*args, **options)File "/home/mluser/anaconda3/lib/python3.5/site-packages/django/core/managemen t/base.py", line 364, in executeoutput = self.handle(*args, **options)File "/home/mluser/anaconda3/lib/python3.5/site-packages/django/core/managemen t/commands/runserver.py", line 95, in handleself.run(**options)File "/home/mluser/anaconda3/lib/python3.5/site-packages/django/core/managemen t/commands/runserver.py", line 102, in runautoreload.run_with_reloader(self.inner_run, **options)File "/home/mluser/anaconda3/lib/python3.5/site-packages/django/utils/autorelo ad.py", line 587, in run_with_reloaderstart_django(reloader, main_func, *args, **kwargs)File "/home/mluser/anaconda3/lib/python3.5/site-packages/django/utils/autorelo ad.py", line 572, in start_djangoreloader.run(django_main_thread)File "/home/mluser/anaconda3/lib/python3.5/site-packages/django/utils/autorelo ad.py", line 290, in runself.run_loop()File "/home/mluser/anaconda3/lib/python3.5/site-packages/django/utils/autorelo ad.py", line 296, in run_loopnext(ticker)File "/home/mluser/anaconda3/lib/python3.5/site-packages/django/utils/autorelo ad.py", line 336, in tickfor filepath, mtime in self.snapshot_files():File "/home/mluser/anaconda3/lib/python3.5/site-packages/django/utils/autorelo ad.py", line 352, in snapshot_filesfor file in self.watched_files():File "/home/mluser/anaconda3/lib/python3.5/site-packages/django/utils/autorelo ad.py", line 251, in watched_filesyield from iter_all_python_module_files()File "/home/mluser/anaconda3/lib/python3.5/site-packages/django/utils/autorelo ad.py", line 103, in iter_all_python_module_filesreturn iter_modules_and_files(modules, frozenset(_error_files))File "/home/mluser/anaconda3/lib/python3.5/site-packages/django/utils/autorelo ad.py", line 116, in iter_modules_and_filesif module.__name__ == '__main__':File "/home/mluser/anaconda3/lib/python3.5/site-packages/py/_apipkg.py", line 171, in __getattribute__return getattr(getmod(), name)File "/home/mluser/anaconda3/lib/python3.5/site-packages/py/_error.py", line 4 3, in __getattr__raise AttributeError(name)AttributeError: __name__What could be the issue?
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/b2e867f4-3d12-4a5e-b035-cabc7419e294%40googlegroups.com.
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CANfN%3DK97Xge0BRLvfXvaSUCzExXLNRqVJqSx3%3DsZPe3qYm7cAw%40mail.gmail.com.
No comments:
Post a Comment