Error while saving launch configuration in Eclipse - eclipse-plugin

I have some JUnit files that I need to find coverage.
I installed the EclEmma plugin and I chose the Coverage configurations.
Then in the "Class Path" I selected the 'User Entries' and then selected the "Add folder" radio button, then I selected the source of my project and pressed 'Apply' button.
The Eclipse shows an error message like this:
exception occurred while saving launch configuration - Permission Denied
Reason :- Couldn't write launch configurations.
Anyone came across the error before?
Currently I'm launching the project from my current user account in CentOS-6.
Which file I need to update to avoid Permission Denied Error?

Related

IAR Source Browse Log errors

My vendor provided IAR project for my MCU (*eww, *dep, etc)
I`m observing the error in Source Browser Log in IAR Embedded Workbench. Logs:
Source Browse Log created.
Launching source browser
Failed to read the build nodes from the project.
Failed to generate browse indexing file.
Terminating source browser...
Unable to find pbw file
Is the problem is the absence of the pbw file or something else?
Thank you in advance
This is resolved when the project you try to browse is marked as active. Right click in project name in workspace viewer and click 'Set as active' and rebuild the project.
Bests,
Imanol

SonarLint - Invalid binding message in intellij

I have installed the intellij/sonarlint plug in, and connected it to the sonarcloud successfully and selected a project. but i get the following error in intellij Event log:
1:04 PM SonarLint - Invalid binding
Project bound to an invalid remote project
Can someone help? Thank you - Sheida
The following way always resolved this problem for me:
Open up your Sonarlint Project Configuration
Click on "configure the connection..."
Click on "Update binding"
Simple as it is it seems to just ask for verification of the known projects and their configuration settings.

JProfiler Error: The IDE could not locate the selected class

I am facing a problem in J Profiler when I click on view source I get some error saying The IDE could not locate the selected class and unable to view source.
Edit the session settings, select the "Application Settings" tab, select the "Source path" radio button in the "Java File Path" section, and add your source file roots there.
An alternative is to start the profiling session from your IDE (with the appropriate JProfiler plugin), then the source code navigation will be in the IDE and you don't have to configure anything.

Debugging in OpenERP 7.0

How to do debug in OpenERP v7?
In previous versions of OpenERP, it was easy to debug. But in the latest version it's tough to debug.
To debug your OpenERP+python code in eclipse, start eclipse (helios/indigo only) in debug perspective and follow the given steps:
1: Stop your openERP running server by pressing "ctr+c".
2: In eclipse go to Menu "Run/Debug Configurations". In configuration window under "Python Run", create new debug configuration(Double click on 'Python Run').
3: After creating new debug configuration follow the given steps:
3.1: In "Main" tab under "Project", select the "server" project or folder (in which Openerp Server resides) from your workspace.
3.2: Write location of 'openerp-server' under "Main Module".
Ex: ${workspace_loc:server/openerp-server}.
3.3: In "Arguments" tab under "Program Arguments", click on button "Variables" and new window will appear.
3.4: Then create new "Variable" by clicking on "Edit Variables" button and new window will appear.
3.5: Press on "New" button and give your addons path as value.
Ex: --addons ../addons,../your_module_path
3.6: Press Ok in all the opened windows and then "Apply".
4: Now into "PyDev Package Explorer" view go to 6.1/server and right click on "openerp-server" file, Select 'Debug As --> Python Run'.
5: Now in "Console" you can see your server has been started.
6: Now open your .py file which you want to debug and set a break-point.
7: Now start your module's form from 'gtk' or 'web-client' and execution will stop when execution will reach to break-point.
8: Now enjoy by debugging your code by pressing "F5, F6, F7" and you can see value of your variables.
You can refer following link: Debug OpenERP Code from Eclipse
Go to Administrator(in right top corner) in that click on About OpenERP in that you will find a link Activate the Developer Mode.
or
you can add a parameterdebug in of URL like
http://localhost:8069/?debug
both the way will let you open the developer mode.
You can also use the Odoo Debug pro chrome extension to toggle the developer mode using the keyboard shortcuts.
To debug openERP 7 from eclipse just Stop openERP server and rename the main file named openerp-server.py.From "Run/Debug Configurations" make a new configuration selecting Project and main module such as ${workspace_loc:openerp7/src/openerp-server.py} then press Apply.After that /openerp7/src/openerp-server.py 'Debug As --> Python Run' using new configuration.Server is running where pydev debugger is also started.Now run 'gtk' or 'web-client'.Then select the python file of that module where want to debug and give breakpoints.That's all.
Debugging is quite simple in interface.
For Programmers
By Default when you login to openerp, your url will look something like this
http://localhost:7373/?db=Test_July_25#menu_id=107&action=97
Edit the url and add debug=&
localhost:7373/?debug=&db=Test_July_25#menu_id=107&action=97
For Functional Users
Navigate mouse to top right corner and select About OpenERP
Now Activate Debug Mode
You Should be done now with interface debugging.
For Code Debugging (along with arya's method these images may help you)
You can use browse button to select the project and the openerp server file
Finally place breakpoints in your code where ever necessary
Navigate through
administrator(top Right)>>about OpenERP
Dialog Open Click on Activate Developer mode
Their is more complexity and less control by adding more fancy tools try and go low level and use python pdb and if you are debug geek then use winpdb with pdb which gives extreme contorl over your code navigation.
And for simple value abd flow use print or pprint module from python.
Bests.
Start debug mode on browser ??
In URL you can type ?debug after web
OR
go to About OpenERP select Activate Developer Mode
If You want to debug from eclipse then
go to PyDev Package Explorer --> openerp(odoo) --> Right click on openerp-server file
Select Debug as --> Python Run
It will ask for change current perspective from PyDev to Debug click "Yes" and its Done
Activate the Debug mode and use some print statements to debug the variable values

Building with MSBuild "ASPNETCOMPILER : error ASPRUNTIME: Request failed."

I get this error
"ASPNETCOMPILER : error ASPRUNTIME: Request failed."
Done executing task "AspNetCompiler"
-- FAILED.
Done executing task "CallTarget" -- FAILED.
(default target) (1) -> (Website
target) -> ASPNETCOMPILER : error
ASPRUNTIME: Request failed.
I'm trying to build my project using
the solution
Example:
MSBUILD \\dev\mysolution.sln
I really don't know what this means or how to fix it. Is there a spot where I can find more information through detailed error logs?
This was a tuff Mother F-er.
What was going on and not being said was the computer I was on didn't trust the assemblies I was using on another computer....We all could have got that from the error right? Anyways, there is a fun little tool called, .NET Framework 2.0 Software Development Kit. Once this kit was installed and downloaded I ran an application called, .NET Framework 2.0 Configuration. In this tool I selected
Runtime Security Policy <--
Once selected in the right pane I selected
"Adjust Zone Security"
Once this is selected I choose
"Make changes to this computer." Click Next
On the next screen click "Local Intranet" and move the trust arrow up to "Full Trust" I did it for Trusted Sites also.
Easy enough right? Now we can all build across the network using MSBuild. Yeahh.