[Django] #34703: TypeError: unhashable type: Netmiko Django

11 views
Skip to first unread message

Django

unread,
Jul 8, 2023, 3:02:34 PM7/8/23
to django-...@googlegroups.com
#34703: TypeError: unhashable type: Netmiko Django
-----------------------------------------+------------------------
Reporter: adityaprayas | Owner: nobody
Type: Bug | Status: new
Component: Uncategorized | Version: 4.2
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-----------------------------------------+------------------------
While using netmiko inside django autoreloader fails
Traceback (most recent call last):
File diff-comp/diffcomp/manage.py", line 22, in <module>
main()
File diff-comp/diffcomp/manage.py", line 18, in main
execute_from_command_line(sys.argv)
File diff-comp/lib/python3.9/site-
packages/django/core/management/__init__.py", line 442, in
execute_from_command_line
System check identified no issues (0 silenced).
utility.execute()
File diff-comp/lib/python3.9/site-
packages/django/core/management/__init__.py", line 436, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File diff-comp/lib/python3.9/site-
packages/django/core/management/base.py", line 412, in run_from_argv
self.execute(*args, **cmd_options)
File diff-comp/lib/python3.9/site-
packages/django/core/management/commands/runserver.py", line 74, in
execute
super().execute(*args, **options)
File diff-comp/lib/python3.9/site-
packages/django/core/management/base.py", line 458, in execute
output = self.handle(*args, **options)
File diff-comp/lib/python3.9/site-
packages/django/core/management/commands/runserver.py", line 111, in
handle
self.run(**options)
File diff-comp/lib/python3.9/site-
packages/django/core/management/commands/runserver.py", line 118, in run
autoreload.run_with_reloader(self.inner_run, **options)
File diff-comp/lib/python3.9/site-packages/django/utils/autoreload.py",
line 671, in run_with_reloader
start_django(reloader, main_func, *args, **kwargs)
File diff-comp/lib/python3.9/site-packages/django/utils/autoreload.py",
line 660, in start_django
reloader.run(django_main_thread)
File diff-comp/lib/python3.9/site-packages/django/utils/autoreload.py",
line 344, in run
self.run_loop()
File diff-comp/lib/python3.9/site-packages/django/utils/autoreload.py",
line 350, in run_loop
next(ticker)
File diff-comp/lib/python3.9/site-packages/django/utils/autoreload.py",
line 390, in tick
for filepath, mtime in self.snapshot_files():
File diff-comp/lib/python3.9/site-packages/django/utils/autoreload.py",
line 411, in snapshot_files
for file in self.watched_files():
File diff-comp/lib/python3.9/site-packages/django/utils/autoreload.py",
line 304, in watched_files
yield from iter_all_python_module_files()
File diff-comp/lib/python3.9/site-packages/django/utils/autoreload.py",
line 120, in iter_all_python_module_files
return iter_modules_and_files(modules, frozenset(_error_files))
TypeError: unhashable type: 'Configuration

--
Ticket URL: <https://code.djangoproject.com/ticket/34703>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Jul 8, 2023, 3:48:32 PM7/8/23
to django-...@googlegroups.com
#34703: TypeError: unhashable type: Netmiko Django
-------------------------------+--------------------------------------
Reporter: adityaprayas | Owner: nobody
Type: Bug | Status: closed
Component: Uncategorized | Version: 4.2
Severity: Normal | Resolution: needsinfo

Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------
Changes (by Mariusz Felisiak):

* status: new => closed
* resolution: => needsinfo


Old description:

New description:

--

Comment:

Hi, I don't think you've explained the issue in enough detail to confirm a
bug in Django. Please reopen the ticket if you can debug your issue and
provide details about why and where Django is at fault. At first glance,
it looks like an issue in `netmiko`. If you're having trouble
understanding how Django works, see
TicketClosingReasons/UseSupportChannels for ways to get help.

--
Ticket URL: <https://code.djangoproject.com/ticket/34703#comment:1>

Django

unread,
Sep 12, 2024, 8:17:11 AM9/12/24
to django-...@googlegroups.com
#34703: TypeError: unhashable type: Netmiko Django
------------------------------+--------------------------------------
Reporter: adityaprayas | Owner: nobody
Type: Bug | Status: closed
Component: Utilities | Version: 4.2
Severity: Normal | Resolution: duplicate
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
------------------------------+--------------------------------------
Changes (by Tim Graham):

* component: Uncategorized => Utilities
* resolution: needsinfo => duplicate

Comment:

This is analyzed in more detail and determined "invalid" in #35085.
--
Ticket URL: <https://code.djangoproject.com/ticket/34703#comment:2>
Reply all
Reply to author
Forward
0 new messages