[GH-ISSUE #242] TypeError: coercing to Unicode: need string or buffer, Domain found #203

Closed
opened 2026-02-26 09:36:31 +03:00 by kerem · 0 comments
Owner

Originally created by @ThomasWaldmann on GitHub (Dec 29, 2015).
Original GitHub issue: https://github.com/nsupdate-info/nsupdate.info/issues/242

Traceback (most recent call last):
  File "/srv/nsupdate.info/env/bin/django-admin.py", line 5, in <module>
    management.execute_from_command_line()
  File "/srv/nsupdate.info/env/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 385, in execute_from_command_line
    utility.execute()
  File "/srv/nsupdate.info/env/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 377, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/srv/nsupdate.info/env/local/lib/python2.7/site-packages/django/core/management/base.py", line 288, in run_from_argv
    self.execute(*args, **options.__dict__)
  File "/srv/nsupdate.info/env/local/lib/python2.7/site-packages/django/core/management/base.py", line 338, in execute
    output = self.handle(*args, **options)
  File "/srv/nsupdate.info/repo/nsupdate/management/commands/hosts.py", line 156, in handle
    host = h.name + "." + h.domain
TypeError: coercing to Unicode: need string or buffer, Domain found
Originally created by @ThomasWaldmann on GitHub (Dec 29, 2015). Original GitHub issue: https://github.com/nsupdate-info/nsupdate.info/issues/242 ``` Traceback (most recent call last): File "/srv/nsupdate.info/env/bin/django-admin.py", line 5, in <module> management.execute_from_command_line() File "/srv/nsupdate.info/env/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 385, in execute_from_command_line utility.execute() File "/srv/nsupdate.info/env/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 377, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "/srv/nsupdate.info/env/local/lib/python2.7/site-packages/django/core/management/base.py", line 288, in run_from_argv self.execute(*args, **options.__dict__) File "/srv/nsupdate.info/env/local/lib/python2.7/site-packages/django/core/management/base.py", line 338, in execute output = self.handle(*args, **options) File "/srv/nsupdate.info/repo/nsupdate/management/commands/hosts.py", line 156, in handle host = h.name + "." + h.domain TypeError: coercing to Unicode: need string or buffer, Domain found ```
kerem closed this issue 2026-02-26 09:36:31 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nsupdate.info-nsupdate-info#203
No description provided.