I have three logical design files. When I try to open them, Power designer throws an error message: Sybase power designer can not open the specified file. But there are no details at the error message so I can not understand what causes the problem and how can I fix it? Are there any log file of Power Designer about this issue? or do you know how can I open these files.
kind regards
Related
I have been getting this error for the past few weeks while programming in C. I'm confused on how to fix this since the error doesn't tell me where the error is coming from. Why can the compiler not open the output file?
Your bonus.exe file is busy due to some reason. Create a new project and try. Seems like you are working on Visual Studio. Close the application and reload also can fix your issue. This is not compilation issue rather build and link issue while it try to create bonux.exe second time it failed because your previous bonus.exe file is still busy. Also go to task manager and try to kill bonus.exe. That will also fix your issue.
I get following error when I am trying to open my .cs file of design.
There is no editor available for filename.cs Make sure the application for the file type (.cs) is installed
I was working in .cs file and system suddenly restarted. When I restart, I got above error.
I have tried to open .cs file in different tools. In Notepad++, I get NULL. In all other tools like notepad and wordpad etc, I get file blank.
It shows file size 291 KB. As this file was important, I need to recover it somehow.
Can anybody suggest me way to achieve this?
If you have not used tools such as git or subversion I recommand to use windows restore point.
Else I think that you should use application for recovery such as GoBack.
Themes.res file is not opening.
What do i do ?
However, the app is working.
The exception that I am getting on the console while opening the file is:
java.lang.NullPointerException
at com.codename1.ui.util.Resources.createImage(Resources.java:936)
at com.codename1.ui.util.EditableResources.createImage(EditableResources.java:2332)
at com.codename1.ui.util.Resources.loadFont(Resources.java:1119)
at com.codename1.ui.util.EditableResources.loadFont(EditableResources.java:1932)
at com.codename1.ui.util.EditableResources.openFileWithXMLSupport(EditableResources.java:426)
at com.codename1.designer.ResourceEditorView$LoadResourceFileAction.exectute(ResourceEditorView.java:4112)
at com.codename1.ui.resource.util.BlockingAction.run(BlockingAction.java:88)
at java.lang.Thread.run(Unknown Source)
Is there any way I can recover this file / data ?
First verify that the file isn't a 0 size file, if it got corrupted to that level you will need to restore from backup. This hasn't happened for us in years as far as I know but its always a risk.
Next make sure you didn't remove/rename any ttf fonts that might be used by the theme, this is a common cause for failures in the designer.
Next we need to see the actual error and to do that we need to run the designer from command line using:
java -jar ~/.codenameone/designer_1.jar
(code for Mac/Linux replace ~ with your home directory and reverse the slashes for Windows).
Now try to open the resource file and see if you get an exception in the console. Assuming you do we will know more about it and might be able to help you recover your data.
We are currently migrating to new XML based format which should become the default soon.
When I compile I often get the following error:
Error 28
Error : DEP0500 : The folder "C:\Code\Cloud\SolutionFolder\ProjectFolder\bin\Debug\AppX" could not be deleted.
Access to the path 'C:\Code\Cloud\SolutionFolder\ProjectFolder\bin\Debug\AppX\ControlsProject.Controls\Themes' is denied.
If I close down Visual Studio (2012 RC) I can delete the folder and recompile so I'm assuming VS is locking the file for some reason. Has anyone else experienced this? Has anyone found a fix?
Here is what you're probably looking for. Seems like you have two options - either re-create the solution file or use Process Explorer to close existing handles to the locked path.
Here's another option that worked for me - reset your VS settings.
http://socialeboladev.wordpress.com/2013/02/21/dep0500-and-dep1000-errors-when-deploying-windows-store-apps-from-vs/
I'm handling this problem using LockHunter.
Download LockHunter at http://lockhunter.com/download.htm.
Create a shortcut to the AppX folder on your desktop.
Whenever AppX is locked in Visual Studio open the shortcut to AppX.
Right-click AppX and select "What is locking this folder". This will open LockHunter.
In LockHunter click "Unlock it!".
After unlocking AppX go back to Visual Studio and compile/run the project.
I want to change a particular entry in a trace file. How can I do it?
I have received a set of trace files which were run on the prod server. From these I was trying to get a set of RML files to replay the load on a different environment. To change the .trc files to RML files I ran readtrace.exe
However, readtrace did not output RML files. Looking at the logs I see the following error
06/06/12 15:43:20.914 [0X0000060C] SPID: 118 Seq: 50736293 [Error: 110003][State: 0][Abs Char: 233][Seq: 0] SYNTAX ERROR: String is
missing proper closing quote near (Char Pos: 0x139 Byte Pos: 0x272)
It then clearly shows the entry which is causing this error. While I have sent the bug to the dev team and the fix will go out in the next release, I need to use the current trace file to generate and replay the load. Thus I want to fix the particular entry in the trace file which is causing this error.
Is it possible? I tried opening the trace file in wordpad but wordpad crashed, not surprising that given the trace file is 250MB. Trying to install Vim and see if I can open and change the trace file there, but was wondering if anyone knew of an easier method to do this.
I could not find a way to do this, so finally going the expected way of requesting for a new server side trace, which is taken after the fix has been put.
Before that I did try to load the trace files into a table, then load in profiler and then change the values which I needed and generate a new trace file, but crticial events needed for RML generation are lost when you load to profiler. I also opened a smaller trace file in wordpad and found that I could not edit the contents as there was binary content as well and it wasnt clear what text editing would achieve.
Thus in the end, the only way to get a trace which can generate RML files was to fix the bad query in the code and push the fix and then take the trace once again.