Giter Site home page Giter Site logo

Comments (9)

a7md0 avatar a7md0 commented on July 28, 2024 5

I have forked the project, and apply a fix. Have not tested that yet
https://github.com/a7md0/pystun

from pystun.

5vbz3r0 avatar 5vbz3r0 commented on July 28, 2024 1

Same issue in Python 3.7.3

Traceback (most recent call last):
  File "<pyshell#4>", line 1, in <module>
    stun.get_ip_info()
  File "C:\Tools\Python37\lib\site-packages\stun\__init__.py", line 253, in get_ip_info
    stun_host=stun_host, stun_port=stun_port)
  File "C:\Tools\Python37\lib\site-packages\stun\__init__.py", line 186, in get_nat_type
    _initialize()
  File "C:\Tools\Python37\lib\site-packages\stun\__init__.py", line 93, in _initialize
    dictValToAttr.update({items[i][1]: items[i][0]})
TypeError: 'dict_items' object is not subscriptable

from pystun.

sujaldev avatar sujaldev commented on July 28, 2024 1

I think pystun3 still works, also why does github keep sending me notifications regarding this issue I don't think I ever interacted in this thread

from pystun.

jfdelgad avatar jfdelgad commented on July 28, 2024

Same issue here, using Python 3.6

from pystun.

jmurrayufo avatar jmurrayufo commented on July 28, 2024

Same issue under 3.7

from pystun.

kodeine avatar kodeine commented on July 28, 2024

same issue here

from pystun.

smed79 avatar smed79 commented on July 28, 2024

Python 3.7.2

$ pystun
Traceback (most recent call last):
  File "/usr/bin/pystun", line 11, in <module>
    load_entry_point('pystun==0.1.0', 'console_scripts', 'pystun')()
  File "/usr/lib/python3.7/site-packages/stun/cli.py", line 55, in main
    stun_port=options.stun_port
  File "/usr/lib/python3.7/site-packages/stun/__init__.py", line 253, in get_ip_info
    stun_host=stun_host, stun_port=stun_port)
  File "/usr/lib/python3.7/site-packages/stun/__init__.py", line 186, in get_nat_type
    _initialize()
  File "/usr/lib/python3.7/site-packages/stun/__init__.py", line 93, in _initialize
    dictValToAttr.update({items[i][1]: items[i][0]})
TypeError: 'dict_items' object does not support indexing

from pystun.

Noob-A avatar Noob-A commented on July 28, 2024

python 3.8, same

from pystun.

Noob-A avatar Noob-A commented on July 28, 2024

bruh, this lib is dead

from pystun.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.