CogStack / MedCATtrainer

A simple interface to inspect, improve and add concepts to biomedical NER+L -> MedCAT.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Installation Results in Traceback and Hangs

mdcummin opened this issue · comments

I'm having problems installing MedCATtrainer on a MacBook Pro (M1 chip, 2021) running OS 12.6 and Docker Desktop 4.12.0.

I've followed the 'Download from Dockerhub' instructions, but partway through the installation, several exceptions are thrown. Then, the logging indicates that the uWSGI listen queue is full and the installation stalls (the 'queue full' message is repeated for tens of minutes).

I've also tried to 'build images from source', but that also throws the same exceptions and then hangs.

The log files for both build types are attached.

Is this an issue on my end or is something else going on?

Log_DownloadFromDockerHub.txt

Log_BuildImageFromSource.txt

Hi @mdcummin . I've never encountered this issue on my MacBook Pro with Intel chip. Perhaps this has something to do with the M1 chip. There are similar reports for other projects on SO:
https://stackoverflow.com/questions/73337421/starting-amd64-uwsgi-container-on-m1-mac-leads-to-extreme-queue-filling
https://stackoverflow.com/questions/73024343/queue-fulling-when-start-uwsgi-docker-container

Hi @sandertan. Thanks for getting back to me and providing those links. I'll take a look and will see if there is a workable solution.