AtlasOfLivingAustralia / open-delta

11 stars 9 forks source link

confor toint crashing under Ubuntu #62

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. export confor directives*
2. run confor toint.txt
3. *(NB this does NOT generate chars.txt, specs.txt, items.txt files which one 
would think would explain any further problems, however the error message 
reproduced below suggests a problem with natural language typesetting.  Doesn't 
make sense, this issue should arise with tonat, not with toint?)

What is the expected output? 
Expect to see output files generated to open using Intkey.sh

What do you see instead?
terminal output from confor toint.txt follows:

$ confor toint.txt
CONFOR version 3.00 (Java)

M. J. Dallwitz, T.A. Paine and E.J. Zurcher

CSIRO Division of Entomology, GPO Box 1700, Canberra, ACT 2601, Australia
Phone +61 2 6246 4075. Fax +61 2 6246 4000. Email delta@ento.csiro.au

Java edition ported by the Atlas of Living Australia, 2010.

Parsing: toint.txt
LIST:..1/toint.txt,1 *SHOW Translate into INTKEY format.
LIST:..1/toint.txt,2 
Translate into INTKEY format.
LIST:..1/toint.txt,3 *LISTING FILE toint.lst
LIST:..1/toint.txt,4 
Parsing: cnotes.txt
Parsing: timages.txt
Parsing: ofiles.txt
Exception in thread "main" java.lang.RuntimeException: Only natural language 
without typesetting is currently supported.
    at au.org.ala.delta.translation.DataSetTranslatorFactory.createTranslator(DataSetTranslatorFactory.java:33)
    at au.org.ala.delta.translation.DataSetTranslatorFactory.createTranslator(DataSetTranslatorFactory.java:18)
    at au.org.ala.delta.confor.CONFOR.<init>(CONFOR.java:82)
    at au.org.ala.delta.confor.CONFOR.main(CONFOR.java:50)

What version of the product are you using? On what operating system?

DELTA Editor 1.0-M5 (952)
date: 2011-10-20 23:08:05 Eastern Summer Time (Victoria)
free memory: 18 MB 
total memory: 74 MB 
max memory: 448 MB
java.version: 1.6.0_26
java.vendor: Sun Microsystems Inc.
os.name: Linux
os.arch: i386
os.version: 2.6.32-34-generic
user.language: en
user.region: null

Please provide any additional information below.
Despite this hiccup, the Editor is great under Ubuntu, congratulations, I look 
forward to using the software for production purposes ASAP.

Let me know if you would like to have copies of all files including the .dlt 
file for this dataset

Original issue reported on code.google.com by rwil...@museum.vic.gov.au on 20 Oct 2011 at 12:45

Attachments:

GoogleCodeExporter commented 8 years ago
Thanks for the testing.  I am not sure if something has gone wrong with our 
download section but the version you have attached to this issue is 1.0-M5.  We 
have just released 1.0-M8 which has added support for intkey translations. 
If you don't mind we would like to get a copy of your dataset.
Cheers,
Chris

Original comment by chris.go...@gmail.com on 20 Oct 2011 at 9:25

GoogleCodeExporter commented 8 years ago
Sorry i missed that.  The OpenDelta Installation notes still point to the M5 
release files (.zip, .gz); however I should have noticed that.  NB all users, 
go to the Downloads page instead.  

Anyway, I am now using M8 release (under Ubuntu still) and I have progressed 
further. however running the action set toint via the OpenDelta Editor creates 
one of the Intkey binaries (ichars) but not the other (iitems).  No error 
message shown. I shall post another bug report as a new issue as soon as i have 
checked there is no problem with another of my directives files. 

Original comment by rwil...@museum.vic.gov.au on 21 Oct 2011 at 10:53

GoogleCodeExporter commented 8 years ago
Oops sorry about that. I've updated the links on the installation instructions 
page so hopefully it won't bite anyone else.  I'll keep an eye out for the new 
bug report.

Original comment by chris.go...@gmail.com on 21 Oct 2011 at 10:10