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

Spyder fails to start on light mode because of check_updates code #2619

Closed
stonebig opened this issue Aug 15, 2015 · 9 comments
Closed

Spyder fails to start on light mode because of check_updates code #2619

stonebig opened this issue Aug 15, 2015 · 9 comments
Assignees
Labels
Milestone

Comments

@stonebig
Copy link
Contributor

when launching spyder_light on Python3.4/PyQt5.5.0/Jupyter4/spyder-3.0.0dev, i get this strange error:

Traceback (most recent call last):
  File "python-3.4.3.amd64\lib\site-packages\spyderlib\spyder.py", line 3103, in main
    mainwindow = run_spyder(app, options, args)
  File "python-3.4.3.amd64\lib\site-packages\spyderlib\spyder.py", line 2999, in run_spyder
    main.post_visible_setup()
  File "python-3.4.3.amd64\lib\site-packages\spyderlib\spyder.py", line 1308, in post_visible_setup
    self.check_updates()
  File "python-3.4.3.amd64\lib\site-packages\spyderlib\spyder.py", line 2900, in check_updates
    self.check_updates_action.setDisabled(True)
AttributeError: 'NoneType' object has no attribute 'setDisabled'

on a side-note, I would be happy if the check_update was disabled per default

@stonebig stonebig changed the title issue in spyder_light ? issue in spyder_light (with check_updates code) ? Aug 15, 2015
@stonebig
Copy link
Contributor Author

the problem goes away if I un-clicked the "check for updates" via a Spyder normal session

@ccordoba12
Copy link
Member

@goanpeca, please take a look at this one. It should be an easy fix :-)

@ccordoba12 ccordoba12 changed the title issue in spyder_light (with check_updates code) ? Spyder fails to start on light mode because of check_updates code Aug 15, 2015
@goanpeca
Copy link
Member

Will do!


@stonebig I understand, but the idea of the check for updates is to drive the community into the newest version possible, we receive a lot of questions from people still in 2.2.x ....

Disabling it by default really does not help in this direction.

@spyder-ide/core-developers?

@ccordoba12
Copy link
Member

I agree with @goanpeca, but I also understand @stonebig, given that he is a packager. Let's leave for another issue though.

@goanpeca
Copy link
Member

ok

@stonebig
Copy link
Contributor Author

can you confirm me the line of code that decides the default initial behavior is in main.py the check_updates_on_startup = True ? ok, it is.

I'll change the default initial behaviour to 'False' for my sub-case, as I think it's important.

@goanpeca
Copy link
Member

@stonebig
Copy link
Contributor Author

thanks!

@goanpeca
Copy link
Member

👍

@ccordoba12 ccordoba12 modified the milestones: V3.0beta3, v3.0 Dec 19, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants