question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

"Projects > Recent" always opens last project

See original GitHub issue

Description

What steps will reproduce the problem?

  • Create 2+ projects
  • Click Projects:recent
  • Select any except top
  • Frustrate 😄

Versions

  • Spyder version: 4.0.0b4
  • Python version: 3.7.3
  • Qt version: 5.12.4
  • PyQt5 version: 5.12.3
  • Operating System: Linux 4.19.0-5-amd64

Dependencies

pygments >=2.0    :  2.4.2 (OK)
qdarkstyle >=2.6.4:  2.7 (OK)
sphinx >=0.6.6    :  2.1.2 (OK)
psutil >=0.3      :  5.6.3 (OK)
pyls >=0.27.0     :  v0.28.1 (OK)
nbconvert >=4.0   :  5.6.0 (OK)
pandas >=0.13.1   :  None (NOK)
numpy >=1.7       :  None (NOK)
sympy >=0.7.3     :  None (NOK)
cython >=0.21     :  None (NOK)
qtconsole >=4.5.2 :  4.5.2 (OK)
IPython >=4.0     :  7.7.0 (OK)
matplotlib >=2.0.0:  None (NOK)
pylint >=0.25     :  2.3.1 (OK)

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
jnsebgosselincommented, Nov 8, 2019

Sorry for reviving this closed thread, but I would like to understand why it was not working previously with lambda _, p=project: self.open_project(path=p).

p=project creates a new variable p local to the lambda and computed when the lambda is defined so it should work and actually, it does work when I test it locally… so I do not understand.

Any ideas?

Besides, this is the solution that is endorsed by the official FAQ : https://docs.python.org/3/faq/programming.html#why-do-lambdas-defined-in-a-loop-with-different-values-all-return-the-same-result

Also: https://stackoverflow.com/a/2295372/4481445

1reaction
ccordoba12commented, Aug 14, 2019

@dalthviz, please verify if this is the case or not.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to prevent open last projects when IntelliJ IDEA starts?
Settings -> General -> Startup/shutdown -> Reopen last project on startup. Share.
Read more >
How do I stop Rider reloading the last project when reopening?
To cancel loading a project at startup, hit the Cancel button on the loading progress dialog.
Read more >
Unreal Engine Always Load Last Project FIX - YouTube
In this tutorial, I'll show you how to turn off the Always Load Last Project feature inside of Unreal Engine.My new Unreal Engine...
Read more >
Unreal Engine 5 - FIX 'Always load last project on startup ...
Does Unreal launcher no longer open after checking “ Open last project automatically ” option ? How to fix this is explained in...
Read more >
Launcher alwasy starts the last project - Unreal Engine Forums
Open the editor, then go “File”->“Open project…”, you will get a popup project browser, where you can uncheck that “Load last opened project...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found