Cannot get task history to work.

59 peržiūros
Praleisti ir pereiti prie pirmo neskaityto pranešimo

My Display Name

neskaityta,
2018-02-09 12:21:362018-02-09
kam: Luigi
I'm having a difficult time getting task history to work.

In the directory where I launch luigid from, I have a file called luigi.cfg.

In it, I include the lines:

[scheduler]
record_task_history=True
state_path=/home/task_state.pickle

and

[task_history]
db_connection=myconnection


The tables get successfully created, but when I try to access locahost:8082/history, I get a 500 internal server error, and none of the tables get updated when I run a task. Otherwise the interface works fine.

Suggestions?

wixo...@gmail.com

neskaityta,
2018-05-09 11:44:052018-05-09
kam: Luigi

I'm having the exact same issue. Are you using MSSQL as your database as well?

Andrew Brooks

neskaityta,
2018-05-09 11:46:152018-05-09
kam: wixo...@gmail.com, Luigi
Yup - MSSQL database.

--
You received this message because you are subscribed to a topic in the Google Groups "Luigi" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/luigi-user/mcd5-nmnagk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to luigi-user+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
--------------------------
Andrew Brooks, PhD
Data Scientist, Scientific Games International


    

João Paulo Albuquerque

neskaityta,
2022-07-13 16:32:342022-07-13
kam: Luigi
Same here! Got any workaround? 

João Paulo Albuquerque

neskaityta,
2022-07-14 08:00:032022-07-14
kam: Luigi
FYI the error might be this one: https://github.com/spotify/luigi/issues/2769. It is a problem when creating the timestamp column for the task_events table. 
Atsakyti visiems
Atsakyti autoriui
Persiųsti
0 naujų pranešimų