| 1 |
<HTML> |
| 2 |
|
| 3 |
|
| 4 |
<HEAD> |
| 5 |
<TITLE>ACEDB User Group Newsletter - January 2001</TITLE> |
| 6 |
|
| 7 |
<LINK rel=stylesheet type="text/css" |
| 8 |
href="../newsletter.css" |
| 9 |
title="Style sheet for Acedb newsletters"> |
| 10 |
|
| 11 |
</HEAD> |
| 12 |
|
| 13 |
|
| 14 |
<BODY> |
| 15 |
|
| 16 |
<HR> |
| 17 |
<HR> |
| 18 |
|
| 19 |
<a name="Top"></a> |
| 20 |
|
| 21 |
<H1>ACEDB User Group Newsletter - January 2001</H1> |
| 22 |
|
| 23 |
|
| 24 |
|
| 25 |
<!-- ******************************************************************** --> |
| 26 |
<P>If you want to have this newsletter mailed to you <B>or</B> you want to |
| 27 |
make comments/suggestions about the format/content then |
| 28 |
send an email to <A HREF="mailto:[email protected]">[email protected]</A>. |
| 29 |
|
| 30 |
|
| 31 |
|
| 32 |
<!-- ******************************************************************** --> |
| 33 |
<P>This is the post-Christmas/not that much has changed report. There |
| 34 |
are small but important changes to the acedb database log format, a short |
| 35 |
article about the introduction of better web-based downloads for acedb and |
| 36 |
a number of bug fixes. |
| 37 |
|
| 38 |
|
| 39 |
<!--******************************************************************** --> |
| 40 |
<a name="General"></a><h2>General News</H2> |
| 41 |
|
| 42 |
<a name="File"></a><h3>File Chooser and selecting a directory</H3> |
| 43 |
|
| 44 |
<p>A number of users didn't see last months newsletter and wanted to know how |
| 45 |
to go directly to a directory using the 4_8c file chooser. |
| 46 |
I'll just repeat last months item about how to do this: |
| 47 |
<ul> |
| 48 |
<li>If you want to go directly to a directory using the file chooser |
| 49 |
window, you can do this by |
| 50 |
typing the directory name in the bottom "selection" window |
| 51 |
and pressing the <tab> key. This will point the file chooser |
| 52 |
to this directory so you can then choose files from there. |
| 53 |
<li><b>Note</b> that the <tab> key also does C-shell style filename completion |
| 54 |
just like you get when using an xterm window. So if you type part of |
| 55 |
a directory and press <tab> the rest will be filled in for |
| 56 |
you (as far as this can be done unambiguously). |
| 57 |
</ul> |
| 58 |
|
| 59 |
<P>Hope that's useful. |
| 60 |
|
| 61 |
|
| 62 |
|
| 63 |
<!--******************************************************************** --> |
| 64 |
<a name="New"></a><h2>New Features</H2> |
| 65 |
|
| 66 |
<a name="Acedb"></a><h3>Acedb on windows</H3> |
| 67 |
|
| 68 |
<P>The acedb locking/write access mechanism now works on Windows 95/98. |
| 69 |
|
| 70 |
|
| 71 |
<a name="Better"></a><h3>Better information for signals</H3> |
| 72 |
|
| 73 |
<P>When an internal error happens in acedb or the system runs out of resources |
| 74 |
(e.g. program stack space), the operating system may send a "signal" to acedb |
| 75 |
which stops the program from running. When this happens acedb runs a special |
| 76 |
signal handling routine which attempts to terminate the acedb program with |
| 77 |
a message about what has happened. |
| 78 |
|
| 79 |
<P>The message that acedb outputs has been improved in the following ways: |
| 80 |
<ul> |
| 81 |
<li>The message now includes an operating system defined message that |
| 82 |
identifies the cause of the signal. |
| 83 |
<li>The text of the message has been changed so more accurately indicate |
| 84 |
whether the signal is likely to have been caused by an acedb error |
| 85 |
or by a system resource error. |
| 86 |
</ul> |
| 87 |
|
| 88 |
<P>So if one of the acedb programs you are using exits with a message like this: |
| 89 |
|
| 90 |
<pre><code> |
| 91 |
// ABORT : Fatal error, program received signal.... |
| 92 |
</code></pre> |
| 93 |
|
| 94 |
and you can remember/reproduce the sequence of actions that caused it then please |
| 95 |
get in touch with the acedb developers |
| 96 |
(<A HREF="mailto:[email protected]">[email protected]</A>). |
| 97 |
|
| 98 |
|
| 99 |
<a name="Preserve"></a><h3>"Preserve" behaviour restored</H3> |
| 100 |
|
| 101 |
<P>Due to popular demand, the "preserve" button has been added back for the |
| 102 |
tree window display, selecting this item on a tree window menu will ensure |
| 103 |
that the window stays around until explicitly "quit". |
| 104 |
|
| 105 |
|
| 106 |
|
| 107 |
<!--******************************************************************** --> |
| 108 |
<a name="Articles"></a><h2>Articles</H2> |
| 109 |
|
| 110 |
|
| 111 |
<a name="Rearrangements"></a><h3>Rearrangements to acedb downloads</code></H3> |
| 112 |
|
| 113 |
<P>Its possible to download acedb code in one of two ways: |
| 114 |
|
| 115 |
<dl> |
| 116 |
<dt><b>FTP site</b> |
| 117 |
<dd>login to the sanger ftp site and go to /pub/acedb |
| 118 |
<dt><b>Web site</b> |
| 119 |
<dd>visit <A href="http://www.acedb.org/Software/Downloads/">http://www.acedb.org/Software/Downloads/</A> |
| 120 |
</dl> |
| 121 |
|
| 122 |
<P>We've introduced the web pages to make it easier to navigate the acedb |
| 123 |
downloads directories and get the download package you want. |
| 124 |
On visiting <A href="http://www.acedb.org/Software/Downloads/">http://www.acedb.org/Software/Downloads/</A> |
| 125 |
you will find there are three levels of code you can download and a |
| 126 |
quick summary of the current build status available |
| 127 |
at the bottom of the page. |
| 128 |
|
| 129 |
<P>The three levels of code that can be downloaded are: |
| 130 |
<dl> |
| 131 |
<dt><b>Public</b> |
| 132 |
<dd>This is the most stable and supported code. It has the fewest bugs and |
| 133 |
should be used for critical databases. |
| 134 |
<dt><b>Monthly</b> |
| 135 |
<dd>This is a montly build of the development code and will have been tested |
| 136 |
by developers and with the overnight build/test system. This code |
| 137 |
will have most of the latest features/bug fixes in it. The code is widely |
| 138 |
used within the Sanger Centre and should be fairly bug free, if you find |
| 139 |
a bug in this code please report it as soon as possible. |
| 140 |
<dt><b>Overnight</b> |
| 141 |
<dd>This code is the very latest and is not guaranteed to compile/run or anything, |
| 142 |
its there only to allow other developers to see the latest acedb code and |
| 143 |
perhaps to allow some users to try out very new features. |
| 144 |
<b>You shouldn't use this code without talking to the |
| 145 |
<A HREF="mailto:[email protected]">acedb developers</A> first.</b> |
| 146 |
</dl> |
| 147 |
|
| 148 |
<P>If you visit the page for one of these levels of code you will see that there |
| 149 |
are various packages that can be downloaded ranging from the source code, to |
| 150 |
precompiled binaries for various platforms to a demonstration database. If you find |
| 151 |
any problems with any aspect of the download pages then please let the |
| 152 |
<A HREF="mailto:[email protected]">acedb developers</A> know. |
| 153 |
|
| 154 |
|
| 155 |
|
| 156 |
|
| 157 |
<!--******************************************************************** --> |
| 158 |
<a name="Bugs"></a><h2>Bugs Fixed</H2> |
| 159 |
|
| 160 |
<a name="Drawing"></a><h3>Drawing performance bug</code></H3> |
| 161 |
|
| 162 |
<P>Drawing of some fmap/gmap displays was very slow because a bug |
| 163 |
in the acedb code was causing the displays to be drawn twice. This should |
| 164 |
now be fixed for all acedb displays, please email the |
| 165 |
<A HREF="mailto:[email protected]">acedb developers</A> if this is not |
| 166 |
so in the latest monthly build code. |
| 167 |
|
| 168 |
<P>A another smaller bug was that gmap code would try to map loci or regions |
| 169 |
even if they had no given map coordinates, this has also been fixed. In this |
| 170 |
case the loci/regions are displayed in a text window. |
| 171 |
|
| 172 |
<a name="Objects"></a><h3>Objects missing from active keyset after rename</H3> |
| 173 |
|
| 174 |
<P>Where a simple rename of an object was done via parsing an acefile, |
| 175 |
the object was not left in the active keyset. Now the renamed object |
| 176 |
will be in the active keyset allowing a quick check of renames. |
| 177 |
|
| 178 |
|
| 179 |
<a name="Log"></a><h3>Log entries in <code>database/log.wrm</code></H3> |
| 180 |
|
| 181 |
<P>Logging information in acedb was not complete because although the start |
| 182 |
of a new user session was recorded, the end of the session was not. This meant |
| 183 |
that if acedb failed in a way that could not be caught by the error handling |
| 184 |
routines, there was no record in the log that this had happened. |
| 185 |
|
| 186 |
<P>Now all session starts/ends shouid be bracketed by: |
| 187 |
|
| 188 |
<pre><code> |
| 189 |
<date/time> <machine> <process> <b>SESSION_START - </b><user/program details> |
| 190 |
|
| 191 |
<date/time> <machine> <process> session information |
| 192 |
|
| 193 |
<date/time> <machine> <process> <b>SESSION_END - </b><<b>session end type</b>> |
| 194 |
|
| 195 |
</code></pre> |
| 196 |
|
| 197 |
<p>where <b><code>"session end type"</code></b> can be one of: |
| 198 |
<dl> |
| 199 |
<dt><b><code>NORMAL EXIT</code></b> |
| 200 |
<dd>acedb program exitted normally. |
| 201 |
<dt><b><code>ABNORMAL EXIT</code></b> |
| 202 |
<dd>acedb program did not crash, but rather detected an error such as |
| 203 |
"database not found" and so could not continue. |
| 204 |
<dt><b><code>CRASH</code></b> |
| 205 |
<dd>acedb detected an unrecoverable error such as an internal programming fault, |
| 206 |
or the system running out of memory. |
| 207 |
</dl> |
| 208 |
|
| 209 |
<P>If a <b><code>SESSION_START</code></b> is found in the log without a corresponding |
| 210 |
<b><code>SESSION_END</code></b>, this means (assuming the acedb program is no longer running) |
| 211 |
that acedb crashed severely in a way |
| 212 |
that it could not detect (e.g. if the program was killed with "kill -9" or on some |
| 213 |
systems if it ran out of stack space). This type of crash <b>may</b> have left the database |
| 214 |
corrupted if the program crashed while updating the database, |
| 215 |
and certainly if the database does become corrupted you should look |
| 216 |
in the log for either a <b><code>SESSION_END - CRASH</code></b> or an unmatched |
| 217 |
<b><code>SESSION_START</code></b>. |
| 218 |
|
| 219 |
<p>Note that a little care is required in parsing the log file for these paired |
| 220 |
starts and ends, process ids can be reused by the operating system. This means |
| 221 |
that you need to first find the <b><code>"SESSION_START/machine/process_id"</code></b> and then |
| 222 |
look for both a new <b><code>"SESSION_START/machine/same_process_id"</code></b> <I>and |
| 223 |
a</I> <b><code>"SESSION_END/machine/process_id"</code></b>. If you find the former, or don't |
| 224 |
find the latter it means the acedb program crashed severely. |
| 225 |
|
| 226 |
|
| 227 |
<!-- ******************************************************************** --> |
| 228 |
<H2>January monthly build now available.</H2> |
| 229 |
|
| 230 |
<P>You can pick up the monthly builds from: |
| 231 |
<dl> |
| 232 |
<dt><b>Sanger users</b> |
| 233 |
<dd>~acedb/RELEASE.DEVELOPMENT |
| 234 |
<dt><b>External users</b> |
| 235 |
<dd><A href="http://www.acedb.org/Software/Downloads/monthly.shtml"> |
| 236 |
http://www.acedb.org/Software/Downloads/monthly.shtml</A> |
| 237 |
</dl> |
| 238 |
|
| 239 |
|
| 240 |
<!-- ******************************************************************** --> |
| 241 |
<H2>Next User Group Meeting - D319, 2.30pm, Thursday 15th February 2001</H2> |
| 242 |
|
| 243 |
<p><b>!*! Please note changed venue !*!</b> |
| 244 |
|
| 245 |
|
| 246 |
<!-- ******************************************************************** --> |
| 247 |
<HR> |
| 248 |
<HR> |
| 249 |
|
| 250 |
<ADDRESS><A href="mailto:[email protected]">Ed Griffiths <[email protected]></A></ADDRESS> |
| 251 |
<!-- hhmts start --> |
| 252 |
Last modified: Mon May 21 14:40:20 BST 2001 |
| 253 |
<!-- hhmts end --> |
| 254 |
|
| 255 |
</BODY> |
| 256 |
</HTML> |