Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correctly generate logging files #206

Closed
stuartn60 opened this issue May 28, 2020 · 7 comments · Fixed by #210
Closed

Correctly generate logging files #206

stuartn60 opened this issue May 28, 2020 · 7 comments · Fixed by #210
Assignees
Milestone

Comments

@stuartn60
Copy link

Description of your problem

What steps will reproduce the problem?

  1. Start Spyder3
  2. Few seconds later the error message appears

What is the expected output? What do you see instead?
Attached error message

Please provide any additional information below

Versions and main components

  • Terminal Version: python3-tornado6 6.0.4-2.1 & python3-terminado 0.8.3-1.4
  • Spyder Version:4.1.3
  • Python Version: 3.8.3
  • Operating system: OpenSuse Tumbleweed
    spyder screen shot
    spyder-debug.log
@ccordoba12
Copy link
Member

ccordoba12 commented May 28, 2020

Please read with care the message above: we need the logs generated by Spyder terminal, not the ones coming from Spyder itself, to debug this.

@stuartn60
Copy link
Author

How do I start the terminal in debug mode to obtain the server logs? (sorry to be a bit naive on this)

@ccordoba12
Copy link
Member

Simply start Spyder in debug mode and the files mentioned in the message should be generated automatically (I think) in your current working directory.

@stuartn60
Copy link
Author

stuartn60 commented May 28, 2020

Thanks ... did that ... I sent the only file that appeared! ran the command:
spyder3 --debug-info verbose --debug-output file

@stuartn60
Copy link
Author

For information: from pypi.org/project/spyder-terminal ... found the issue by running ...
python3 -m spyder_terminal.server --port 8071
... missing colorlogs ... python3-colorlogs ... along with dependencies python3-capturer, python3-humanfriendly, python3-verboselogs
... spyder-terminal log files still missing after running ...
spyder3 --debug-info verbose --debug-output file

@ccordoba12
Copy link
Member

.. missing colorlogs ... python3-colorlogs ... along with dependencies python3-capturer, python3-humanfriendly, python3-verboselogs

Please report that to your the distro maintainer for this package.

@ccordoba12
Copy link
Member

@steff456, I think we need to connect the generation of logging files here with the function get_debug_level from Spyder and not with DEV (as it is right now, if I'm not mistaken).

@ccordoba12 ccordoba12 changed the title Terminal server could not be located at http://127.0.0.1/8071 Correctly generate logging files Jun 1, 2020
@ccordoba12 ccordoba12 added this to the Sprint June milestone Jun 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants