My web app has broken between M2 and M3, how do I run code cleanup in the Dart editor? I cannot seem to find a menu option anywhere. Nor can I invoke it through some other action (e.g., run analyzer). What am I missing?
Figured it out: right-click file, then select "Clean Up Source"
Related
I am working with Robot Framework using RED editor on Eclipse IDE. When i ran a Robot test case an error as shown in the screenshot has occurred
Upon tracing back my actions, I have noticed that RobotTempDir... got deleted from Temp folder. I restored that folder and ran the test case. Then it executed successfully.
In future there are chances that while cleaning temp folder contents, RobotTempDir... may get deleted unknowingly. Is there a way to redirect this RobotTempDir... contents to save in a different location?
I looked into the C:\Python36\Lib\site-packages\robot path and didn't find any files where i can change/update Robot temp folder details.
The TestRunnerAgent.py is not part of the Robot Framework application but instead comes with the RED plugin. It is part of their Robot Run functionality which allows it to retrieve information from Robot Framework while it is running.
This information is then displayed in the Eclipse Message Log panel or used when using the RED debugger functionality.
In my view this file is generated every time Eclipse is started and I think the only time this error would occur is when that file/folder is deleted while Eclipse is running. Restarting Eclipse should fix this.
TestRunnerAgent.py is custom listener which is attached to Robot process to report back to RED what is happening during test execution. For normal test runs,this is Execution View information,also Message Log stuff printed there. For Debug run, TestRunnerAgent.py allows to control execution process (breakpoint stop,stepping) and changing internals of Robot (state of variables).
It is embedded in RED package,and as you said, it is temporary placed in Temp dir for execution. If you would like to check source,either check jar file: org.robotframework.ide.core-functions-0.0.1-SNAPSHOT.jar or on GitHub: https://github.com/nokia/RED/tree/master/src/RobotFrameworkCore/org.robotframework.ide.core-functions/src/main/python/scripts
Back to your issue:
RED starts Robot execution with following command:
<selected python interpreter> -m robot.run --listener <path to TestRunnerAgent.py> <details what to run and other miscs>
There is no indication of error such error in TestRunnerAgent.py although there is in RobotLaunchConfigurationDelegate.java which tries to start Robot using interpreter in current Project configuration. I assume that there is something wrong in your env setup (either in RED or in OS)
I would suggest to check following:
check if you selected proper python interpreter with installed Robot (from Windows->Preferences-> RobotFramework ->Interpreters
check if your project looks similar as here: http://nokia.github.io/RED/help/user_guide/quick_start.html
you can try to use custom script to catch robot execution command and remove --listener part to validate if this is the culprit: http://nokia.github.io/RED/help/user_guide/launching/local_launch_scripting.html
there should be command in Console View - try to run it by yourself
I am currently doing a project in a fresh installation of Game Maker Studio, version 1.4.1499. When I attempt to build and run the project (using the run button, the run menu option, or by pressing F5), it comes up with the following output:
Asset Compile finished: 11:07:49 AM
-----------------------------------------------------------
executing C:\Users\User\AppData\Local\Temp\gm_ttt_64280\gm_ttt_91991\game.win
-----------------------------------------------------------
"C:\Users\User\AppData\Roaming\GameMaker-Studio\Runner.exe" -game "C:\Users\Juggernaut\AppData\Local\Temp\gm_ttt_64280\gm_ttt_91991\game.win"
RunnerLoadGame: C:\Users\User\AppData\Local\Temp\gm_ttt_64280\gm_ttt_91991\game.win
#########################################################################
####!!!!$$$$$$ pwd - C:\Users\User\AppData\Local\Temp\gm_ttt_64280\gm_ttt_91991\
#########################################################################
RunnerLoadGame() - C:\Users\User\AppData\Local\\game.win
Checking if INIFile C:\Users\User\AppData\Local\/options.ini Exists
!!!!No INI File C:\Users\User\AppData\Local\/options.ini
Reading File C:\Users\User\AppData\Local\\game.win
Error! not allowing save with filename 'C:\Users\User\AppData\Local\game.win'
FAILED to load File C:\Users\User\AppData\Local\\game.win
I do not know if this is a problem with the way I have set up Game Maker, the project itself, or something else, but any assistance will be appreciated.
Your problem is in the last 2 lines:
Error! not allowing save with filename
'C:\Users\User\AppData\Local\game.win' FAILED to load File
C:\Users\User\AppData\Local\game.win
Apparently you can't save the game with this filename. Try another filename, but I hardly think that's the problem. I think closing Gamemaker studio, and re-opening it with administrator rights (right mouse button, open as administrator). Could be that you don't have enough rights to write in the AppData folder.
Good luck!
I had this problem also. I fixed it by running the application as a admin. I hope it worked for you and yes this is a little bit a late answer..
Maybe I got simple questions so I googled it but I can't find answer.
I am using Pydev/Eclipse and I want to run the script within Console.
First I want to modify the startup of the session - it means some modules are loaded during start (math, numpy, scipy, etc...).
Where/how can I modify Pydev Console startup?
Secondly, I execute the script using righ-click on script file and "Run as -> Python Run" then it's executed within console and terminated. So I want to stay within Console and to be interactive and not be terminated.
How can I get such feature?
Thank you!
Best regards,
Peter
The startup configuration can be found in the PyDev preferences menu. The preferences can be found in the upper menubar under 'Window'.
Window -> Preferences -> PyDev -> Interactive Console
There you will find a big text input field with a label 'Initial interpreter commands'. Often it is allready in use and imports sys only to print the name and version number of the starting console.
The only solution I am aware of for staying connected with your script is to set a breakpoint at the end and start your script in debug mode. But maybe there is another way. To do so just double click at the left corner of the editor window with your script opened. A green dot will appear marking a breakpoint. Now right click an choose 'Debug As'. Your script will run till the line is reached where you have set the breakpoint.
Hope I could help.
I think that what you want is the interactive console. See: http://pydev.org/manual_adv_interactive_console.html
You can configure the initial commands in the preferences page.
I've just downloaded Aptana to do some web-development. I've downloaded the JsTestDriver plugin (javascript testing framework) which works fantastic, however there is one thing bugging me... In my run configuration of JsTestDriver i set it to run everytime i save my project. The funny thing is that the my run configuration is executed everytime i press a key... Does this mean that aptana saves my project everytime i make a single change to it? If so, how do I disable it? Running all my unit tests everytime i press a single key is kinda taxing on my system :P
Found it! Disable "Build Automatically" in Eclipse -> Workspace settings
I'm using the "Publish Web" action to deploy my web application. Is there a way to track it (see the progress) of this action?
Does the command line version report progress? Is there a better alternative?
THe output windows shows you progress, it is not a tradiotional progress bar but it tells you each step and gives you a folder by folder output of the upload progress.