Title: IPRangeList() => TypeError: expected string or bytes-like object, got 'list' · Issue #26 · bd808/python-iptools · GitHub
Open Graph Title: IPRangeList() => TypeError: expected string or bytes-like object, got 'list' · Issue #26 · bd808/python-iptools
X Title: IPRangeList() => TypeError: expected string or bytes-like object, got 'list' · Issue #26 · bd808/python-iptools
Description: I am optionally using this (to time save a local DHCP address allocation and guess work) and I get this when I run: django-admin check auth admin as I am configuring the Admin Site for Development & Local environments. File "D:\Code\Code...
Open Graph Description: I am optionally using this (to time save a local DHCP address allocation and guess work) and I get this when I run: django-admin check auth admin as I am configuring the Admin Site for Development ...
X Description: I am optionally using this (to time save a local DHCP address allocation and guess work) and I get this when I run: django-admin check auth admin as I am configuring the Admin Site for Development ...
Opengraph URL: https://github.com/bd808/python-iptools/issues/26
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"IPRangeList() =\u003e TypeError: expected string or bytes-like object, got 'list'","articleBody":"I am optionally using this (to time save a local DHCP address allocation and guess work) and I get this when I run:\r\n\r\n`django-admin check auth admin` as I am configuring the Admin Site for Development \u0026 Local environments. \r\n\r\n```python\r\n File \"D:\\Code\\Code Institute\\dash-and-do-github\\dash_and_do\\settings\\__init__.py\", line 7, \r\n in \u003cmodule\u003e from .development import *\r\n File \"D:\\Code\\Code Institute\\dash-and-do-github\\dash_and_do\\settings\\development.py\", line 53, \r\n in \u003cmodule\u003e INTERNAL_IPS = IpRangeList(['127.0.0.1/24', '192.168.0.0/16'])\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File \"D:\\Code\\Code Institute\\dash-and-do-github\\venv\\Lib\\site-packages\\iptools\\__init__.py\", line 414, \r\n in __init__ self.ips = tuple(map(IpRange, args))\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File \"D:\\Code\\Code Institute\\dash-and-do-github\\venv\\Lib\\site-packages\\iptools\\__init__.py\", line 141, \r\n in __init__ elif ipv4.validate_cidr(start):\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File \"D:\\Code\\Code Institute\\dash-and-do-github\\venv\\Lib\\site-packages\\iptools\\ipv4.py\", line 257, \r\n in validate_cidr if _CIDR_RE.match(s):\r\n ^^^^^^^^^^^^^^^^^\r\nTypeError: expected string or bytes-like object, got 'list'\r\n```","author":{"url":"https://github.com/iPoetDev","@type":"Person","name":"iPoetDev"},"datePublished":"2023-08-15T15:47:14.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/26/python-iptools/issues/26"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:dddd5f07-b51a-5c47-7228-6e9666ce718e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EA82:27A700:2391533:318D409:69694521 |
| html-safe-nonce | ab1eac8b2e84f6038a311ac468e7ad7c1267a01a21aa494c6208053fff30b5b8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQTgyOjI3QTcwMDoyMzkxNTMzOjMxOEQ0MDk6Njk2OTQ1MjEiLCJ2aXNpdG9yX2lkIjoiMzQ1MjA5NzM1NjI1MTA4ODE2MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 057d35d10667d3a2810d8da0b6b9b678718f92457a8eee8592ee50f0c8540bc0 |
| hovercard-subject-tag | issue:1851697774 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/bd808/python-iptools/26/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ed505d6cadcae829589c5359fae7cee0259c775ed3283e20af9b6dee7e9970bd/bd808/python-iptools/issues/26 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ed505d6cadcae829589c5359fae7cee0259c775ed3283e20af9b6dee7e9970bd/bd808/python-iptools/issues/26 |
| og:image:alt | I am optionally using this (to time save a local DHCP address allocation and guess work) and I get this when I run: django-admin check auth admin as I am configuring the Admin Site for Development ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | iPoetDev |
| hostname | github.com |
| expected-hostname | github.com |
| None | 54182691a21263b584d2e600b758e081b0ff1d10ffc0d2eefa51cf754b43b51d |
| turbo-cache-control | no-preview |
| go-import | github.com/bd808/python-iptools git https://github.com/bd808/python-iptools.git |
| octolytics-dimension-user_id | 6469 |
| octolytics-dimension-user_login | bd808 |
| octolytics-dimension-repository_id | 4294228 |
| octolytics-dimension-repository_nwo | bd808/python-iptools |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 4294228 |
| octolytics-dimension-repository_network_root_nwo | bd808/python-iptools |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | d69ac0477df0f87da03b8b06cebd187012d7a930 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width