| 1 |
<HTML> |
| 2 |
|
| 3 |
|
| 4 |
<!-- Stuff you should alter is highlighted with "***" --> |
| 5 |
|
| 6 |
|
| 7 |
<HEAD> |
| 8 |
<TITLE>ACEDB User Group Newsletter - July 2000</TITLE> |
| 9 |
|
| 10 |
<!-- you won't pick up the style sheet if you view this template file, it works OK |
| 11 |
for the newsletters which are in the directory above. --> |
| 12 |
|
| 13 |
<LINK rel=stylesheet type="text/css" |
| 14 |
href="../newsletter.css" |
| 15 |
title="Style sheet for Acedb newsletters"> |
| 16 |
|
| 17 |
</HEAD> |
| 18 |
|
| 19 |
|
| 20 |
<BODY> |
| 21 |
|
| 22 |
<HR> |
| 23 |
<HR> |
| 24 |
|
| 25 |
<H1>ACEDB User Group Newsletter - July 2000</H1> |
| 26 |
|
| 27 |
<P>If you want to have this newsletter mailed to you <B>or</B> you want to |
| 28 |
make comments/suggestions about the format/content then |
| 29 |
send an email to <A HREF="mailto:[email protected]">[email protected]</A>. |
| 30 |
|
| 31 |
<P>In this months newsletter: new help files, |
| 32 |
read-only databases, bug fixes and something you need to know about "parse". |
| 33 |
|
| 34 |
|
| 35 |
<!-- delete any headings that are not needed for this month --> |
| 36 |
|
| 37 |
<a name="General"></a><H2>General News</H2> |
| 38 |
|
| 39 |
<P>Some of the discussions from the Acedb2000 meeting are beginning to filter through |
| 40 |
to the code, xml dumping is being added, the new AcePerl that talks directly to the |
| 41 |
socket server is on the way. |
| 42 |
|
| 43 |
<P>A report of what happened at Acedb2000 is now on the acedb web site |
| 44 |
(<A href="http://www.acedb.org/winfo/Conferences/acedb2000/">http://www.acedb.org/winfo/Conferences/acedb2000/</A>) |
| 45 |
- with photos ! |
| 46 |
|
| 47 |
|
| 48 |
<a name="New"></a><H2>New Features</H2> |
| 49 |
|
| 50 |
<a name="helpfiles"></a><h4>New help files for Comparative maps</h4> |
| 51 |
<P>Courtesy of Jo Dicks we have some new help files for Comparative maps, so |
| 52 |
acedb administrators should get a new copy of the whelp directory to pick |
| 53 |
up these files (they are called whelp/Comparative_Maps_*). |
| 54 |
|
| 55 |
|
| 56 |
<a name="dumpformat"></a><h4>New dump formats</h4> |
| 57 |
<P>There are two new dump options, -k and -K, these act like -j -J except |
| 58 |
data types are written as below: |
| 59 |
<pre><code> |
| 60 |
int -> #Int |
| 61 |
float -> #Float |
| 62 |
txt -> #Text |
| 63 |
date -> #Date |
| 64 |
BOOL -> #BOOL |
| 65 |
|
| 66 |
dates are written in native acedb form YYYY-MM-DD_HH:MM:SS |
| 67 |
(with truncations allowed) |
| 68 |
</code></pre> |
| 69 |
<P>These apply to commands "list", "show", "table-maker", "aql" and "select". |
| 70 |
|
| 71 |
|
| 72 |
<a name="Read"></a><h4>Read only databases with socket server</h4> |
| 73 |
<P>Its now possible to set a new option, <code><b>READONLY_DATABASE</b></code> |
| 74 |
in wspec/serverconfig.wrm that allows the administrator to set unix file |
| 75 |
permissions for the entire database directory to "read only". The server |
| 76 |
will not write any logging information and the database cannot be altered |
| 77 |
by any user. This allows administrators to more securely set up "read only" databases |
| 78 |
for web access. But note that the server will <b>not</b> record any logs of connecting clients |
| 79 |
or requests. |
| 80 |
|
| 81 |
<a name="parse"></a><H2>"parse"</H2> |
| 82 |
|
| 83 |
<P>If you have used the <code><b>parse</b></code> command from <code>tace</code>, or its equivalent |
| 84 |
from <code>xace</code> you will probably be aware that you can choose either to stop at the |
| 85 |
first error in the your ace file or to continue to the end of the file. What you may not |
| 86 |
have realised is that if you choose to stop at the first error, then any objects/updates |
| 87 |
parsed in before that error will have been added to the database. But what if you |
| 88 |
didn't want those changes made (i.e. you either wanted all the updates made or, |
| 89 |
if there was an error, none of them) ?? |
| 90 |
|
| 91 |
<P>In fact when you parse an ace file, the database is only updated in your programs |
| 92 |
local copy of the database held in memory, <b>not</b> the actual database held on disk. |
| 93 |
This means that you can avoid making permanent updates to the database by |
| 94 |
simply quitting the program without saving any of your changes. |
| 95 |
|
| 96 |
<P>Future versions of acedb (see last months newsletter) may offer transaction support |
| 97 |
which would mean that changes like this could be reversed without having to quit the program. |
| 98 |
But for now you should make sure that you quit without saving if you want the |
| 99 |
<b>"all or nothing"</b> style of database update via ace file parsing. |
| 100 |
|
| 101 |
|
| 102 |
|
| 103 |
<a name="Bugs"></a><H2>Bugs Fixed</H2> |
| 104 |
|
| 105 |
<a name="Huge"></a><h4>Huge log files after parsing with server</h4> |
| 106 |
<P>Both aceserver and saceserver log all requests, this is fine for commands |
| 107 |
but not good when the request is raw ace data because the amount of data can be very |
| 108 |
large which makes the logs grow alarmingly. This has been fixed so that |
| 109 |
the log file records that ace data has been parsed to the server but the |
| 110 |
data itself is not stored in the log. |
| 111 |
|
| 112 |
<a name="aceclient"></a><h4>aceclient (RPC & socket versions) bugs</h4> |
| 113 |
<P>Two bugs have been fixed in the parse/pparse commands: |
| 114 |
<ul> |
| 115 |
<li><code><b>"parse <filename>"</b></code> - previously aceclient would ignore |
| 116 |
the filename and wait for input from the terminal, this has been corrected. |
| 117 |
The filename will now be recognised and ace data read from the file. Input is |
| 118 |
only taken from the terminal if you just type <code><b>"parse"</b></code>. |
| 119 |
<li><code><b>"pparse <filename>"</b></code> - should report all errors encountered |
| 120 |
in parsing the file, this got broken in acedb 4_8c, it's fixed now. |
| 121 |
</ul> |
| 122 |
|
| 123 |
|
| 124 |
<a name="aceserver"></a><h4>aceserver bug</h4> |
| 125 |
<P>You will only have noticed this bug if you used the development (4_8c) version of aceserver. |
| 126 |
The bug prevented any clients being authorised to connect. The bug is fixed in the July monthly |
| 127 |
build (see below for where to get this). |
| 128 |
|
| 129 |
<a name="xace"></a><h4>xace - Solaris 5.7 only bug</h4> |
| 130 |
<P>This bug affects xace 4_7l code on Solaris 5.7 machines. There is an xace bug |
| 131 |
whereby the entire X server seems to |
| 132 |
freeze if the acedb main window is covered and then uncovered. The cause of the bug |
| 133 |
has been found and we now have a fix for it, it will be applied to 4_7l but shouldn't |
| 134 |
be a problem in 4_8 code. The fix should be available from the acedb ftp site in |
| 135 |
the next week or so, if you need it more urgently than that please contact either |
| 136 |
<A href="mailto:[email protected]">Jean Thierry-Mieg <[email protected]></A> |
| 137 |
or |
| 138 |
<A href="mailto:[email protected]">Ed Griffiths <[email protected]></A>. |
| 139 |
|
| 140 |
<a name="Education"></a><H2>Education</H2> |
| 141 |
<P>Sylvia Martinelli's acedb course was run again in June in the HGMP, this |
| 142 |
was the first course that included material on the new socket client/server. |
| 143 |
See the <A href="http://www.acedb.org">acedb home page</A> for future courses. |
| 144 |
|
| 145 |
<H2>July monthly build now available.</H2> |
| 146 |
|
| 147 |
<P>You can pick up the monthly builds from: |
| 148 |
|
| 149 |
<P><b>Sanger users:</b> ~acedb/RELEASE.DEVELOPMENT |
| 150 |
<P><b>External users:</b> ftp://ftp.sanger.ac.uk/pub/acedb/Sanger-release.2000_07_14.tar.gz |
| 151 |
|
| 152 |
|
| 153 |
<H2>Next User Group Meeting - D213, 2.30pm, Thursday, 10th August</H2> |
| 154 |
|
| 155 |
<HR> |
| 156 |
<HR> |
| 157 |
|
| 158 |
<ADDRESS><A href="mailto:[email protected]">Ed Griffiths <[email protected]></A></ADDRESS> |
| 159 |
<!-- hhmts start --> |
| 160 |
Last modified: Mon May 21 15:38:48 BST 2001 |
| 161 |
<!-- hhmts end --> |
| 162 |
|
| 163 |
</BODY> |
| 164 |
</HTML> |