New release of AntConc (4.0.2)

159 views
Skip to first unread message

Laurence Anthony

unread,
Dec 31, 2021, 2:27:47 AM12/31/21
to AntConc-Discussion
Dear All,

After the very positive response to the release of AntConc 4 (especially on Twitter), I've now updated the software to 4.0.2 to address a few issues that people experienced. The changes are: 1) right-to-left language support for languages such as Arabic, 2) .dmg images for Mac users, which address some install issues that people on shared computers with special permissions were experiencing, and 3) a small bug fix in the Ngram tool.

I've also created a test release of AntConc 4.0.2 for Linux to go with the Win and MacOS versions. I experimented with various packaging options, but the portable app approach seems to be the most flexible and easy to use. If you download the app, simply expand the tar.gz folder and double click the AntConc.​sh file inside to launch the app (after setting the permissions to be "run as an executable".

You can get the Win and MacOS versions as official releases here:

You can get the test version of the Linux version here:

Happy New Year!

Laurence 

Gian Paolo Renello

unread,
Dec 31, 2021, 5:50:42 AM12/31/21
to ant...@googlegroups.com
Great!
Happy new year to your all

Gian Paolo


--
You received this message because you are subscribed to the Google Groups "AntConc-Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to antconc+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/antconc/92be465d-16cd-4b0f-882b-8db3a918fa3fn%40googlegroups.com.

Lou Burnard

unread,
Jan 1, 2022, 12:28:09 PM1/1/22
to AntConc-Discussion
I downloaded the latest experimental release, dated 2021-12-31 18:29 , unpacked it, and tried to run it on my Desktop running Ubuntu Ubuntu 20.04.3 LTS. Sadly, I am still seeing a compatibility failure (see below)
I did an apt-get update and an apt-get upgrade just to check I am not running out of date versions of anything, but this had no effect.

Anyone else got this problem?

lou@foxglove:~/Downloads/AntConc$ ./AntConc.sh
Traceback (most recent call last):
  File "main.py", line 49, in <module>
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "PyInstaller/loader/pyimod03_importers.py", line 540, in exec_module
  File "corpus_manager/WidgetTarRefManager.py", line 7, in <module>
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "PyInstaller/loader/pyimod03_importers.py", line 540, in exec_module
  File "corpus_manager/WidgetManager.py", line 16, in <module>
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "PyInstaller/loader/pyimod03_importers.py", line 540, in exec_module
  File "corpus_manager/WidgetRawFilesCorpusBuilder.py", line 15, in <module>
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "PyInstaller/loader/pyimod03_importers.py", line 540, in exec_module
  File "corpus_manager/threads/CorpusCreatorSimple.py", line 15, in <module>
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "PyInstaller/loader/pyimod03_importers.py", line 540, in exec_module
  File "natsort/__init__.py", line 3, in <module>
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "PyInstaller/loader/pyimod03_importers.py", line 540, in exec_module
  File "natsort/natsort.py", line 686, in <module>
  File "natsort/natsort.py", line 654, in os_sort_keygen
  File "natsort/compat/locale.py", line 35, in get_icu_locale
AttributeError: module 'icu' has no attribute 'Locale'
[296119] Failed to execute script main

dl

unread,
Jan 1, 2022, 4:51:24 PM1/1/22
to Lou Burnard, Laurence Anthony, ant...@googlegroups.com
I am on Ubunutu 20.04.3.

If it helps in troubleshooting I can confirm that I installed latest AntConc on Ubuntu 20.04.3.

I moved the Download into a home folder then, checking that AntConc.sh was executable, simply doubleclicked to run.

Reading your Traceback errors I would guess that some pip package requires to be installed.

Being curious about troubleshooting such errors I also ran ..

ldd -v /path/to/AntConc.sh

and saw this returned (see below) .. perhaps compare with yours?

You can install ldd if not installed already in Ubuntu. It shows dependencies.

Also you can test pip packages installed ..

pip list




================================================

ldd -v AntConc.sh
        linux-vdso.so.1 (0x00007ffd32d3c000)
        libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fa780c43000)
        libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007fa780c27000)
        libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fa780c04000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fa780a12000)
        /lib64/ld-linux-x86-64.so.2 (0x00007fa780ca4000)

        Version information:
        ./AntConc.sh:
                libdl.so.2 (GLIBC_2.2.5) => /lib/x86_64-linux-gnu/libdl.so.2
                libpthread.so.0 (GLIBC_2.2.5) => /lib/x86_64-linux-gnu/libpthread.so.0
                libc.so.6 (GLIBC_2.7) => /lib/x86_64-linux-gnu/libc.so.6
                libc.so.6 (GLIBC_2.3) => /lib/x86_64-linux-gnu/libc.so.6
                libc.so.6 (GLIBC_2.4) => /lib/x86_64-linux-gnu/libc.so.6
                libc.so.6 (GLIBC_2.2.5) => /lib/x86_64-linux-gnu/libc.so.6
                libc.so.6 (GLIBC_2.3.4) => /lib/x86_64-linux-gnu/libc.so.6
        /lib/x86_64-linux-gnu/libdl.so.2:
                ld-linux-x86-64.so.2 (GLIBC_PRIVATE) => /lib64/ld-linux-x86-64.so.2
                libc.so.6 (GLIBC_PRIVATE) => /lib/x86_64-linux-gnu/libc.so.6
                libc.so.6 (GLIBC_2.4) => /lib/x86_64-linux-gnu/libc.so.6
                libc.so.6 (GLIBC_2.2.5) => /lib/x86_64-linux-gnu/libc.so.6
        /lib/x86_64-linux-gnu/libz.so.1:
                libc.so.6 (GLIBC_2.14) => /lib/x86_64-linux-gnu/libc.so.6
                libc.so.6 (GLIBC_2.4) => /lib/x86_64-linux-gnu/libc.so.6
                libc.so.6 (GLIBC_2.2.5) => /lib/x86_64-linux-gnu/libc.so.6
                libc.so.6 (GLIBC_2.3.4) => /lib/x86_64-linux-gnu/libc.so.6
        /lib/x86_64-linux-gnu/libpthread.so.0:
                ld-linux-x86-64.so.2 (GLIBC_2.2.5) => /lib64/ld-linux-x86-64.so.2
                ld-linux-x86-64.so.2 (GLIBC_PRIVATE) => /lib64/ld-linux-x86-64.so.2
                libc.so.6 (GLIBC_2.7) => /lib/x86_64-linux-gnu/libc.so.6
                libc.so.6 (GLIBC_2.14) => /lib/x86_64-linux-gnu/libc.so.6
                libc.so.6 (GLIBC_2.3.2) => /lib/x86_64-linux-gnu/libc.so.6
                libc.so.6 (GLIBC_2.4) => /lib/x86_64-linux-gnu/libc.so.6
                libc.so.6 (GLIBC_2.2.5) => /lib/x86_64-linux-gnu/libc.so.6
                libc.so.6 (GLIBC_PRIVATE) => /lib/x86_64-linux-gnu/libc.so.6
        /lib/x86_64-linux-gnu/libc.so.6:
                ld-linux-x86-64.so.2 (GLIBC_2.3) => /lib64/ld-linux-x86-64.so.2
                ld-linux-x86-64.so.2 (GLIBC_PRIVATE) => /lib64/ld-linux-x86-64.so.2



Note that I am only an occasional user of AntConc and the above are just guesses.

For example I could not find some of the files referred to in traceback.

sudo locate natsort/compat/locale.py

But did find ...

sudo locate PyInstaller/loader/pyimod03_importers.py
/home/dl/.local/lib/python3.6/site-packages/PyInstaller/loader/pyimod03_importers.py

Puzzling.

dl

José Berjano

unread,
Jan 1, 2022, 4:53:53 PM1/1/22
to ant...@googlegroups.com
Hi,
I think this conversation has been forwarded to me by mistake.

JB

--
You received this message because you are subscribed to the Google Groups "AntConc-Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to antconc+u...@googlegroups.com.

Laurence Anthony

unread,
Jan 1, 2022, 7:46:27 PM1/1/22
to ant...@googlegroups.com
Hi JB,


Thi isn't an error. Some Linux users are trying to install AntConc on Linux and are discussing the problem that have.

Mac and Windows users can ignore this because the install on Mac and Windows is fine.

Regards,

Laurence

Reply all
Reply to author
Forward
0 new messages