alexmojaki / birdseye

Graphical Python debugger which lets you easily view the values of all evaluated expressions
https://birdseye.readthedocs.io
MIT License
1.65k stars 71 forks source link

http://localhost:7777/ipython_call rejected conection #77

Closed skoll43 closed 5 years ago

skoll43 commented 5 years ago

im extra virgin in programming haha and using on thonny, the thing is, the program open a browser windows and then, dont show how is supposed to, i even make:

  1. my private ip dmz, turn down smartscreen (windows) 1 .antivirus defender on all his options
  2. make exclusions for firewall, deactivated the firewall, changed the port to various numbers
  3. open manually the ports on router, i mean, how unsecure my notebook is supposed to be?! hahaha

image

packages in thonny:

  1. image
  2. image

the bottom of this, is that im trying to understand this code:

def tri_recursion(k):
  if(k>0):
    result = k+tri_recursion(k-2)
    print(result)
  else:
    result = 0
  return result

print("\n\nRecursion Example Results")
tri_recursion(6)

any help will be greatly appreciated, even links with google searches, I'm so lost haha

alexmojaki commented 5 years ago

You shouldn't have to change any security settings. The server is probably having trouble starting up and Thonny doesn't show server logs AFAIK. Try running birdseye or python -m birdseye in a command prompt outside Thonny, you may need to pip install birdseye first (I'm not sure if/how Thonny affects the system interpreter). Hopefully we can see some information to debug with then.

skoll43 commented 5 years ago

hey! from cmd works, normal python installation, back to normal security settings, thonny uses his bundled portable python enviroment as i understand Thank you for the commands !!!

alexmojaki commented 5 years ago

Glad it works. Can you open an issue with Thonny? We should probably be figuring out a way to see those server logs in Thonny and fix whatever problem is there.