Under unix if you attempt to run APT remotely and do not have your DISPLAY variable set correctly, you will get this message:
Unable to locate the application' 'edu.stsci.hst.apt.controller.HstAptController' must be public and have a 'public static void main(String)' method.
For the most part, you can use APT without any Internet connection. You will only need a connection during submission, for Phase I address lookup, for a few of the help web pages, and for certain tool functions such as catalog overlays in Aladin. When you first start APT, it will check and display a message if there is a newer version of APT available. If you are not connected at the time, this check is not done.
APT will save proposal information in a sub-directory if the user preference is set to do so. You can set the preference by going to Edit>Preferences. Note that in Phase II mode, there are many support files that will be created and stored in the same directory with the proposal so we generally recommend a separate directory.
Proposal information is validated when it is read in from the proposal file.In cases where there are a large number of observations defined this validation can take several minutes, especially on slower machines. During the proposal open and validation, an activity bar will display to show the progress.
If you cut and pasted from an e-mail message you may have a blank line at the top of the file. Please ensure the first line starts with "<?xml". If this was not the problem, please do not start from scratch. We quite likely will be able to fix the problem. Send e-mail to email@example.com.
If you print to file while in the Help or the Visit Planner, the file is written by default to a directory where the code was installed. Instead of merely giving a file name, fully specify the path where you want the file to be saved.
Workaround: So far we have only seen this symptom on RHEL 5 machines running the KDE windowing system. The workaround is to use the GNOME windows system while running APT. Please let us know if you have this problem and tell us the version of Linux you are running. (65922)
In the Hierarchical Editor (the tree like view on the left hand side) you can highlight an entry and then delete it using Edit>Delete from the menu above (or by right clicking the entry and selecting Delete from the context sensitive menu). If you would like to move an entry within the list, you can use the Cut and Paste options from the menu or you can drag and drop.
You can select multiple entries by control clicking on several, or shift clicking at the top and bottom of a range of entries to be selected.Then you can use the cut and paste (or copy and paste) options under the Edit menu to move or copy the entries. (Drag and drop will not work for multiple entries.)
For more information please see the video called Editing with the Tree Editor.
The most likely reason is that a pop up box has been lost behind another window. Minimize all your windows and you will probably find it.
Some pop-up dialogs that are displayed for the purpose of editing proposal fields (e.g. POS TARGS from the mini-spreadsheet) do not have a labeled button to close the dialog and save changes. To close the dialog and save changes simply close the window.
You are probably having memory problems. Click on Help>Show Memory Monitor>GC (garbage collect) and then save your proposal and exit APT. Please see the APT Memory Issues page for more details.
On a Mac you should use apple-click in place of cntl-click for multiselecting individual items. (There are two other functional differences on the Mac. The Preferences and the Quit options are under a menu called "APT".)
Open Windows is not being maintained so it doesn't handle Java well. Most of the problems we have seen are cosmetic, but if you find you cannot work around a problem, try CDE instead. The most confusing one is that when you first open a proposal you cannot edit any field until you touch a scroll bar.
Workaround: This problem appears sporatically, but is more common when you are running APT remotely. It is benign and usually fixed by opening and closing folders in the tree. (54274)
You can reach the STScI address web page using the "Update This Address" button in APT. Your changes will take effect right away (simply redo the lookup in APT). The one exception is changes to e-mail addresses which are confirmed via e-mail before going into affect as a security measure.
Enter part of your name and hit return. If you are not in the resulting list you can reach the STScI address web page with the "Add New Address" button. After adding a new address please redo the lookup in APT.
Attention: Before reading further, first ensure you have APT 21.0.1 or higher. Previous versions can no longer connect to STScI.
Depending on your institution's computer security measures (firewalls, blocked ports, etc.), you may initially have trouble retrieving investigator addresses from our database. Since it would be best to discover and fix any communication problems well before the Phase I deadline, please follow these steps to diagnose and fix communication problems.
If you searched for "smith" but then chose the wrong Smith, simply click on the lookup button next to the Last Name field.
Attention: Before reading further, first ensure you have APT 21.0.1 or higher. Previous versions can no longer connect to STScI.
Depending on your institution's computer security measures (firewalls, blocked ports, etc.), you may initially have trouble while using APT. This could include:
- Not seeing some of the documentation which is hosted here.
- Not being able to retrieve investigator addresses from our database.
- Not being able to submit the proposal.
Since it would be best to discover any communication problems well before the Phase I deadline, here are the steps to diagnose and fix communication problems.
There are several ways to share your Phase I proposal with your colleagues depending on whether you want them to simply provide comments or actually edit the proposal. For instance, you can:
- Send them the .apt proposal file with the coverpage information, Co-Is and Observation Summary.They can bring up the file in APT, edit information and send it back.
- Send them the source document (like a Word or Framemaker document), which contains your scientific justification etc. Then they can edit the document and send it back.
- Generate and send them the PDF file, which combines the data you input with APT and your attachment (Use the APT option File>Export.). They can make comments and you can make the changes in your original files.
When you open a previously submitted proposal you see the proposal number it was assigned when it was submitted. If you would like to start a new proposal starting with the old one as a template, go to the Submit Tool and click on "Clear ID#".
Symptom: You start with the LaTeX template for your scientific justification. Then you convert it to PDF. This looks and prints fine. But after you combine the scientific justification with the coverpage information you typed into APT, the resulting PDF file doesn't print properly.It looks fine on the screen, but when printed, some or all of the text is missing (some people lose all the text, some just lose the math symbols). Not everyone has this problem, it depends on exactly how you converted to PDF.
Explanation 1: When APT merges the scientific justification with the rest of the proposal information, the result is a single PDF Version 1.4 file (regardless of whether your PDF file was 1.4 or 1.3). The resulting PDF 1.4 file is only fully compatible for printing with Acrobat 5.0 or higher (APT uses your local copy of Acrobat for display and printing). Note that some people have been able to work around the problem by embedding fonts or using ps2pdf13, but this has not worked for everyone.
Solution 1: Even though you can't print your complete APT proposal using your local Acrobat 3 or 4, we will be able to print it here for the TAC using Acrobat 5. If you want to print the complete proposal as the TAC will see it, download the free Acrobat Reader:
Then use the File>Export option to save the PDF file and print it using the Acrobat Reader.
Alternative Solution 1: Note that on Solaris and Linux APT's PDF Preview tool uses "acroread" to launch the PDF viewer. If "acroread" as defined on your system is earlier than Acrobat 5, you can redefine "acroread" for yourself to point towards a later version installed elsewhere on your system.
Explanation 2: We have had reports from Mac users of attachments that started out as LaTeX files having missing math symbols in the printout as well as on screen even if the viewer is Acrobat Reader 5 or higher. The issue here appears to be the Apple Preview tool. If you use Apple Preview as your default PDF viewer then APT will use it when you press the PDF Preview button in APT. If you then save a PDF file from Apple Preview you will not see the problem in your own copy of the combined PDF, but anyone you give it to who does not have Apple Preview will have problems reading your draft. Please note that the problem here is only with the draft you create with APT's PDF Preview for sending around. Apple Preview is not used in the submission process.
Solution 2: There are two options for creating readable drafts for your Co-Is. You could change your default PDF viewer to Adobe Acrobat, or you could skip using the PDF Preview option in APT and use APT's "File>Export>Export PDF to Proposal Directory". The latter option does not use your default PDF viewer.
Workaround: If this happens to you please submit without an attachment and contact firstname.lastname@example.org. We will arrange to get your attachment via e-mail. (52887)
Updating an old Phase I Proposal:
Yes, but only if it was written in APT (Cycle 12 was the first to use APT) . Just use Open from the File menu.
Send an email to email@example.com and provide the PI name and Title and we will verify and forward the XML file to you.
When you open a proposal which was submitted in a previous cycle you probably will see the proposal number it was submitted under. To clear the old ID simply update the Cycle number on the Proposal Information form.
For general Phase II information see Resources for Phase II Proposal Development
Open your Phase I proposal using APT and then click on the Phase I -> Phase II button on the tool bar.If the button is not active, make sure that you have your proposal selected in the hierarchical editor.
The order of visits of a SEQ WITHIN visit requirement cannot be specified. Instead, APT orders the visits in numerical order. (47683)
Clicking on a header generally sorts by that field. But clicking on Exposure Time does not. It toggles the little up/down arrow but does nothing else. (62526)
Because of the way APT communicates with the Orbit Planner engine, you may initially be asked a question like: "Do you want the application "APT.app" to accept incoming network connections?" We recommend that you deny external connections. The system should then remember that answer and not ask you again. Unfortunately some security arrangements (such as the one for Mac at STScI) do no allow the answer to be saved. So you will be reasked this question the first time you run the Orbit Planner in each APT session.
This can be due to running the Orbit Planner, becoming disconnected from the internet, reconnecting and then trying to run the Orbit Planner again. Saving the proposal, restarting APT and reopening the proposal should clear up the problem.
APT can't communicate with the Orbit Planner server when there is a misconfiguration of a unix machines's network interface (specifically such that its hostname/domain designation does not match its actual IP address). Here are three specific examples that have happened and the fixes. If neither of these examples apply, please generally check your network settings with respect to their hostname and domain.
Case 1a: You are traveling with your linux laptop and your machine's full host name (e.g. mymachine.stsci.edu) is hard coded into the file /etc/sysconfig/network, but you are not currently at your home institution. Try editing the host name to be just one word (e.g. mymachine) while you are away.
Case 1b: Your machine's host name (e.g. mymachine) is hard coded into the file /etc/sysconfig/network, but it still isn't working. Try adding your IP address and host name to the file /etc/hosts.
Case 2: Your linux laptop has an IP address assigned by DHCP, but also has a conflicting IP address defined for its hostname in either /etc/hosts or a Domain Name Server (DNS). So, upon boot-up your laptop is given an IP address from DHCP that differed from the IP address listed in the /etc/hosts or DNS server. To check for this descrepancy do "host mymachine" (which returns mymachines's IP address from DNS) and "/sbin/ifconfig" (which returns the IP address that was assigned to the Ethernet card). Try configuring your laptop to obtain its IP address from either DHCP or DNS, not both.
Workaround: If you notice a stranded "casm" process when APT is not running, manually stop it using 'kill -9' (or Stop Process in the Window Task Manager). (71649)
Workaround: The deleted visits will go away the next time you save, close, and reopen the proposal. (48093)
Some linux users have reported very poor responsiveness from Aladin when moving/rotating apertures. We believe that this is due to where linux is doing transparency calculations (on the graphics card or in Java itself). Workaround: Go to Edit>User Preference in Aladin and deactivate Aladin's Transparency/opacity option. (63842)
If an exposure has a POS TARG, and its visit has an ORIENT, the BOT only sometimes takes the Orient into account when it processes the exposure. If the Pos Targ is small, where small is defined as half the size of the aperture (e.g. for a 52" STIS slit, 21"), then the Orient is ignored (in other words all Orients are considered). If the Pos Targ is large, then the Orient is taken into account when processing the exposure.