Is there a way to reset all warnings/errors in a Xcode 4 project? Xcode 4 shows me errors and warnings e.g. Unused variable 'pageType' which is has been removed weeks ago or 'XXXXViewController' undeclared (first use in this function) which was only for testing purposes and has also gone.
I can't find any options how to get rid of these messages!
Andy tips? Thank you!
Probably time to remove the project's derived data. Open the organizer, then the Projects tab. Select your project then hit the delete button next to the derived data path (to the right). Confirm and let it re-index your project.
Related
Adobe RoboHelp 2020 Trial Version:
The list of available output presets is also missing Responsive HTML5, and Mobile App.
I did have a problem with the PDF output geneation. Error message advised to install Java runtime, as it was missing. After Java installation, PDF genearated. But its bookmarks did not work at all.
I have worked laboriously at learning how to use the RoboHelp; and also took several days to create my project. I desperately need to generate CHM output for a Windows program that I developed. I was devastated when I finally went to generate CHM output/Microsoft HTML Help, it was not on thelist of presets.
That said, I am at wits end, having searched for potential solutions. Can someone please suggest a solution?
Also the Adobe RoboHelp 2020 Trial Version contains the functionality to generate CHM help files.
To add and output the Microsoft HTML Help (CHM) in your presets, click the + icon in the Outputs panel as shown in the screenshot below.
Select Type Microsoft HTML Help
Enter a short Name like CHM
After that it is available for permanent use, e.g. in the Quick Generate window.
I updated RH 2020.
I selected the Microsoft HTML Help preset
I configured the preset: I selected the TOC file. I specified the output folder, which is on a different drive than the project folder. (I knew that it could not be in the location whose parent folder was the project folder.)
Then I clicked the command button to generate the CHM. The progress display continuously indicated the various task that were being performed during the generation process.
Ultimately, I clicked the View Output button. The program displayed an error message indicating that the CHM filed could not be opened. I checked the output designation folder; and, the file existed. However, it was only 1 KB. I double-clicked the CHM file; but, the same error message appeared as when I attempted to open the file from within RoboHelp.
As an aside, I tried he same process with RoboHelp’s sample project, i.e., Compass Travel. And, wouldn’t you know it? The CHM file did properly generate and display; even the bookmarks functioned as expected.
That said, I had mentioned in the original post that I had generated a PDF output. But, the bookmarks did not worked.
Clarification:
The H 1 bookmarks display. However, clicking anyone of the them results in nothing. Whereas most of the H 1 folders have several H 2 subfolders; and there existed two H-3 level items.
We are using Progress OpenEdge 10.2A for years and for the last 4 months we begin to receive unknown error messages from our customers.
We call our .w files using lines as follows:
RUN VALUE(myPath + "myProgram.r") PERSISTENT SET myPrograms[i].
Normally the same program calls work without any problem, but on rare occasions, the program window seems to get unresponsive, but in fact when we look at the windows taskbar, there is another entry in the taskbar which is a prowin32.exe window having title "Error". But when selected, there seems to have no visible window attached to it.
When we close it from the taskbar using Close Window option, it appears again in the taskbar 6-7 times again and then whole prowin32 session restarts.
We could not identify the error since it does not show any message or any error number.
If you encounter such a problem, I'd like to know how you solved it.
If not, it would be appreciated if you direct me to the way to solve the problem.
Edit 1:
After adding -errorstack -debugalert -clientlog myLogFile.log to my startup parameters, myLogFile.log is generated. The below part is written when the error occured.
**Unable to realise TEXT myText. (4025)
** ABL Debug-Alert Stack Trace **
--> enable_UI c:\myFolder\myFile1.r (c:\myFolder\myFile1.r) at line 21014
c:\myFolder\myFile1.r (c:\myFolder\myFile1.r) at line 14858
USER-INTERFACE-TRIGGER c:\myFolder\myFile2.r (c:\myFolder\myFile2.r) at line 2905
0) OpenEdge 10.2a is ancient, obsolete and unsupported. You should have moved to a modern release 10 years ago. At the very minimum you should be on 10.2b08. Do you also refuse to update Windows? OpenEdge 12 is the current release. It is possible, perhaps even likely, that unanticipated changes in Windows or other aspects of the environment are causing your problem. Progress is never going to update 10.2a to accommodate that sort of thing. You are just prolonging the agony by staying on an obsolete release.
1) What changed in your code or your environment 4 months ago?
2) You can get a stack trace for the extra prowin32 session by running proGetStack. That should help to explain what was launched, what the error is and why another 6-7 start after you kill it. Open a "proenv" window as "Administrator" and run proGetStack (you can get the process id from taskmgr).
proenv> proGetStack 123456
The stack trace will appear in the working directory of the target process. That is usually the same directory that proenv is in but it is possible that the application changes it so you might have to go hunting for it. (Administrator proenv windows sometimes do not start in %wrkdir%, you may also need to cd /d %wrkdir%)
3) If they are not already present you should add -debugalert and -errorstack to your client startup parameters. -clientlog logfileName.log would probably also be helpful.
4) Examine your code base for bits that invoke prowin32 sub-processes. There are many ways to do this such as OS-COMMAND, INPUT THROUGH or via Windows DLL calls. Directly invoking prowin32 can be found by searching for that string but it might also be indirect invocations via a BAT file or other technique.
5) if you have a repeatable way to produce the error then you could also add the 4GLTrace log entry type either at startup or in the code when you get to the proper point: https://documentation.progress.com/output/ua/OpenEdge_latest/index.html#page/dpspr/log-entry-types-(-logentrytypes).html
My issue is that when I try to make 5 projects (which is the firebase-spark limit), it won't let me because it thinks I have 5 already. But I only have 4, I think. When I view it on console there's only 4.
Also when I view on the command line it says 4 as well.
Turns out that it takes 2 weeks for projects to update their command line tools, but the good news is they gave me 10 more free projects for submitting a help ticket.
So if you delete a lot of projects and expect to replace them instantly you're gonna have to wait a little while first.
I use squish-4.2.2 for testing GUI of our tool and use purecov.i386_linux2.7.3 for covering them. Our tools are based on qt-4.7.4_qsci version of QT. After building our tools in Purecov mode, when we run our tests, they fail if tests contain operation with "popsup menu". Purecov cannot generate the result *.pcv file. Also I would like to note that our tools do not fail when they are run without Squish, however "Popsup Menu" opens not earlier than after 30-60 seconds (in normal mode it is done during 1-2 seconds).
So I have 2 issues:
1. when tests are run with Squish, they fail when tests contain operation with "Menu" item;
2. Purecov does not generate *.pcv file when tests fail.
I tried to find some interesting things on your site for resolving those problems, but I couldn't find anything related to my issues.
In my opinion, Squish failed because when I try to open "Menu" item, GUI runs faster than its logic part, and after opening "Menu" item, Squish considers that operation is done and kills my tool.
Could you please tell me what I can do with my tests or tools for resolving those problems?
Thanks.
I had a similar issue in the past, with clicking menus from my app.
I hope this helps you also!
Example:
I wanted to open a "File" menu, followed by a sub-menu (which is pop-up) "New". When I'm in record mode of Squish, Squish records the following code in python:
activateItem(waitForObjectItem(":MainWindowForm.m_poMainMenu_QMenuBar", "File"))
activateItem(waitForObjectItem(":MainWindowForm.menuFile_QMenu", "New..."))
Now, this didn't worked all the time, honestly I didn't managed to understand why :).
But, I found on their site, this a possible solution. So, I've replaced Symbolic names from the code above, and created a function that calls the objects after Real name properties:
def callMenu(menu_name, submenu_name):
activateItem(waitForObjectItem("{type='QMenuBar' visible='true'}", menu_name))
activateItem(waitForObjectItem("{type='QMenu' title='%s'}" % menu_name, submenu_name))
After I made this change, the tests run smooth, without anymore problems (at least from the menu side).
I'm working with Xcode4 and Route-me project.
I'm creating my project and including dependencies on RouteMe like the
"Embedding guide" explains (https://github.com/route-me/route-me/wiki/Embedding-Guide).
The problem is XCode4 isn't able to autocomplete RouteMe names. Momentarily
in the *.h or *.m I can write "RMMa" and editor suggests me
"RMMapView" but later it never appears again.
It seems like the files scanning for later autocompleting fails.
Anybody has suffer the same issues like me?
Thanks in advance.
Try step 3 of this answer: “lexical or preprocessor issue file not found ” in Xcode 4
3 - Create a group call "Indexing headers" in your project and drag the
headers to this group, DO NOT add to
any targets when prompted.