Skip to content

Troubleshooting Lycophron installation and uploads — celery #45

@juwingert

Description

@juwingert

Summary

I've been trying to get Lycophron to work on Windows 11. Upon investigation, I found a solution that involved using 3 terminals (one to run celery worker, one for celery beat and another for lycophron proper).
Once I got through it, I got a .db file with TODOs for the listed files, but it doesn't progress beyond that.

Installing

Here's a rundown of the steps I did to finish my installation of Lycophron:

Steps to run Lycophron by Windows:

*Terminal 1: Start Celery Worker
$env:LYCOPHRON_CONFIG = "C:\Users\wingert_plazi\odonte\.lycophron\config.toml" $env:CELERY_BROKER_URL = "redis://localhost:6379/0" $env:CELERY_RESULT_BACKEND = "redis://localhost:6379/0" & "$env:USERPROFILE\pipx\venvs\lycophron\Scripts\celery.exe" -A lycophron.tasks worker --loglevel=info --pool=solo
Image

*Terminal 2: Start Celery Beat
$env:LYCOPHRON_CONFIG = "C:\Users\wingert_plazi\odonte\.lycophron\config.toml" & "$env:USERPROFILE\pipx\venvs\lycophron\Scripts\celery.exe" -A lycophron.tasks beat --loglevel=info
Image

*Terminal 3: Queue Records for Publishing
cd C:\Users\wingert_plazi\odonte
Image
Image
Image

*I had to create another file to replace lycophron.cfg, it's .toml:
[zenodo]
access_token = "I put my token"
sandbox = true

[celery]
broker_url = "redis://localhost:6379/0"
result_backend = "redis://localhost:6379/0"

*Lycophron load my spreadsheet (in attached)
*I stopped when it generated the status as TODO in the .DB file

Image

Example spreadsheet

This is the spreadsheet I used for my upload attempt
LycophronOdontesthesTemplate2.csv

Metadata

Metadata

Labels

help wantedExtra attention is needed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions