Run current line in Spyder 3.3.3 not working - spyder

The shortcut keys to run the current line and advance (Shift+Return) in Spyder is not working. I have checked the preferences and the binding I want is there. Any suggestions on why Shift+Return is not working? I am using Spyder 3.3.3 on Windows 78 (64 bit).
The soluitions here:
How to run current line in Spyder 3.5( ctrl +f10 not working)
are not working for me. My preference settings are below.

(Spyder maintainer here) Please read the screenshot you posted above with care. Shift+Return is not used for running the current line and advance, but to run the current cell and advance to the next one. If you don't know what a cell is in Spyder, you can read about it here.
To run lines, you need to use the shortcut named "run selection".

Related

Code folding is not saved in Spyder 5.1.5

I use code folding in Spyder but after file saving, closing and opening the code is present but code folding is lost. However break points are saved. How to avoid loosing the code folding?
I use Spyder 5.1.5 with WinPython 3.9.5.0 and the programs are used without installation on Win10Pro version 21H1.
(Spyder maintainer here) Sorry but we don't have that functionality in Spyder, i.e. Spyder doesn't save folded regions in files before closing them.

The Cytoscape v3.9.0 application does not start

I have a question regarding Cytoscape. I just downloaded the newest version (v3.9.0) for Windows, but I am not able to open the actual application. Before I used v3.6.1 which ran perfectly fine, but I want to make use of the KEGGscape app which requires Cytoscape v3.8.0 or higher.
I have deleted the previous installation of Cytoscape, as well as made sure the cache was cleared. In addition, I downloaded the correct version of Java (Java version 11) and checked the system requirements with the script available on the website, which summarised: "Succes! You are ready to run Cytoscape 3.9.0."
So I am not exactly sure what I am missing and why it is not starting and hope anyone can help.
Thank you in advance.
Kind regards,
Sorry to hear you are having problems. When you say it doesn't start, does it correctly install, and the application doesn't start when you double-click it, or does the installer never start? If it's the former -- Cytoscape installs, but doesn't start, you could try opening up a console window and run cytoscape.bat from the directory that you installed it. That should give us more information about what the problem is. There should also be a file called framework-cytoscape.log in the CytoscapeConfiguration\3\ directory in your home. That will give us more information also.
-- scooter

Delphi Can't load package the specified module cannot be found

Delphi 10.3
Windows 10
I am trying to install the TDataSet component for Advantage Database. I have already installed it to my laptop without any trouble. The laptop has the same systems.
On my desktop I get the error Can't load package... the specified module cannot be found.
I have searched for answers for hours. Others with the same problem have solved it with path adjustments. The modules do exist and are on the search path. I even added it to the system environment variable. That was not necessary on the laptop. There is only one .dcp package that is not a regular system file and it compiles to the standard Public\Embarcadero...\dcp directory.
After hours of searching I'm ready to give up. Any new ideas?
The required section contains:
adsd103Rio.dcp, //I triple checked the spelling
dcldb.dcp,
designide.dcp,
rtl.dcp,
vcl.dcp
Any new ideas?
Gary
i had same issue. spent hours on this.
Here is the solution that worked for me:
go to this thread:
Can't load package %s error while installing a package
Look for answer that starts with this:
Run Process Monitor from http://SysInternals.com and set the filters to intercept only file operations ( toolbar rightmost buttons ) of your Delphi IDE process (check the process name in TaskManager or shortcut properties (it is bds.exe for Delphi XE2), then add the filter similar to Include / Process Name / Ends With / bds.exe ).
Run as a administrator, it works for me.
copy all your components in below path:
C:\Users\Public\Documents\Embarcadero\Studio\20.0\Bpl
This advise has really solved problem on my side!
I had same issue. please copy all your components in below path:
C:\Users\Public\Documents\Embarcadero\Studio\20.0\Bpl

Spyder - show call stack in variable explorer

I know this question has been asked previously, but the questions I have found were asked several years ago and so I suspect Spyder has undergone updates in this period.
Is it possible yet to view the call-stack for recursive programs in Spyder (for python) as it is in VS Code, for example?
If so, please can someone guide me as to how this is done
Thank you
Yes you can do it thanks to python debugger (pbd) inside Spyder. At least this works from Spyder 2.7 but maybe earlier. In Spyder (checked for Spyder 2.7; and Spyder 3.3.3. with Python 3.6.8., 64bits, PyQt5 5.12, Windows 7) you can use ipbd in debugging mode in the ipython console. There are 3 commands to navigate in the stack:
w(here): it returns the call stack on iPython console with all levels
u(p): it goes one level up in the stack debugging, and updates the variables explorer, so you see now only the variables that apply to that stack level. It also updates the arrow debug pointer in the script editor.
d(own): the same than "up" but down

How do i open text editor using a command line on Cloud9?

I am new at RoR .. i am using Cloud9 IDE for building my application, i would like to know the command line to open the text editor.
I have tried Gedit but it doesn't work.
Thank you.
You first need to change what your editor is pointing to. Then you can just type the shortcut to open the editor. For instance since you are using RoR I am going to assume you are on a Mac. If you wanted to change it to say VIM. Now I obviously don't know where you have cloud9 installed since you left that out. You would need to change the portion of the syntax below after "EDITOR" and point to Cloud9 instead of VIM. I hope this helps, if you have any questions or would like to give more details I could help you further.
echo "export EDITOR=/usr/bin/vim" >> ~/.zshrc
If you are using the hosted cloud9 than it's not possible right now to open a file in cloud9. We have a prototype of this feature and are planning to release this asap.

Resources