Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Maik Derstappen
    @MrTango
    there is no Framework classifier on PyPi yet, i think that would make sense.
    if i want just a bit of content editing next to an app i want to build, is there anything on the backend side to use for?
    Thinking of something like CMF or Substanced provides. I don't expect much, just some pages and folders editable TTW.
    If there are backend components already i would use them and build the frontend part on top. Or if there is a small fronend i would just use it as it is. I know there is also guillotina_volto, but thats more than i need and I'm not sure if thats even in a useable state right now. Any ideas?
    Hack n fcuk
    @haknfuk_twitter
    Hack n fcuk
    @haknfuk_twitter
    Thanks!!
    Hack n fcuk
    @haknfuk_twitter
    @bloodbare Sorry for ping again, but what should I provide for redis_container and guillotina_main?
    Ramon Navarro Bosch
    @bloodbare
    this are fixtures for pytest already defined if you load guillotina test fixtures
    Hack n fcuk
    @haknfuk_twitter
    I wanna confirm something, can you please check your DM?
    Sergey Maranchuk
    @slav0nic
    as i understand guillotina support only postgres as storage? So, why for storing trees in DB was selected general parent_id FK solution, rather than ltree module?
    alan runyan
    @runyaga
    what CI is being used? the CI build badge points to travis but the tests havent run there in ~ 10m
    m == months
    Ramon Navarro Bosch
    @bloodbare
    @slav0nic we were willing to develop something on standard SQL support in case we want to adapt to other storages. Also we want to use flat storage with uuids instead of enforcing tree on database, deletions are super simple and moves are O(1)
    we moved from travis to github some months ago
    Ramon Navarro Bosch
    @bloodbare
    @slav0nic there is a PoC storage based on key-value rocks also, one of the main focus on some decisions is the performance
    Sergey Maranchuk
    @slav0nic
    thank for the explanation
    ardo
    @ardohr_gitlab
    Hi..night all.
    Is the guillotina-react documentation still valid? I tried to install but can't login (python 3.7.11, Guillotina 6.3.15)
    ardo
    @ardohr_gitlab
    error message in guillotina application like this: [32mINFO←[0m: ::1:49704 - "←[1mGET /db/ HTTP/1.1←[0m" [32m200 OK←[0m
    origin http://localhost:3000 not allowed
    Roger Boixader Güell
    @rboixaderg
    Hi @ardohr_gitlab, have the allow_origin: config in your guillotina config? It's seems that is guillotina config problem and not guillotina_react problem
    ardo
    @ardohr_gitlab
    Hi Roger
    Thx a lot for your explanation. now guillotina_react is running well in my laptop
    ardo
    @ardohr_gitlab
    Hi all
    How does Guillotina handle relational data? Any examples?
    Ramon Navarro Bosch
    @bloodbare
    @ardohr_gitlab it has the driver for pg connection and you can reuse the connection pool for quering DB and do your own views. There is a small package we use for storing relational data as a field on a Guillotina Object : https://github.com/guillotinaweb/guillotina_pgfield
    you can define a field on an object that has a sql schema
    I hope it helps
    ardo
    @ardohr_gitlab
    Hi @bloodbare , Thank you. I'll try it.
    ardo
    @ardohr_gitlab
    Hi All. Sorry i have another question to ask.
    I tried to follow it step by step in the training document (on guillotina_chat). But when I click Add Message in the conversation there is an error as shown in the image. I've disabled the serialize script(serialize.py), but the error is still the same. Is there an explanation for this error ?
    Screenshot (1022).png
    ardo
    @ardohr_gitlab
    in debug mode there is'nt error message.
    Roger Boixader Güell
    @rboixaderg
    Hi @ardohr_gitlab, can you share the guillotina response?
    ardo
    @ardohr_gitlab
    Hi @rboixaderg. That is my mistake. Because the GMI Form seems to only display the Id and Title fields. Whereas in chat applications, the content schema only has a Text message field (without id and title). After changing required = True to False, there is no such error
    Roger Boixader Güell
    @rboixaderg

    You can override default Form to RequiredFieldsForm in registry. Or you can create your custom Form for your Type. Here there is an example:

    https://github.com/guillotinaweb/guillotina_react/blob/1383ea02bb89866921defab365b6b4de4d325743/e2e/example/components/guillotina.js#L23
    This guillotina has GMI type.

    ardo
    @ardohr_gitlab
    Thx a lot @rboixaderg , I'll try it
    ardo
    @ardohr_gitlab
    Hi all. Sorry i have another question. If the application to be built has a lot of time series data, does anyone here have any suggestions on how to do it using Guillotina?
    Ramon Navarro Bosch
    @bloodbare
    Hi Ardo, when I used time series I used PG specific logic for it, but u can use ES driver to provide time series or implement something like pgfields or specific view code agains any db like influxdb
    ardo
    @ardohr_gitlab
    Hi Ramon, thanks a lot for your explanation. What do you mean by the words PG specific logic? What do you think about timescaledb(Postgresql for timeseries) ? Looks like I'm interested in trying it out using pgfields in G.
    Ramon Navarro Bosch
    @bloodbare
    I meant PLSQL code to aggregate, bit hacky and only valid if its not massive data. Timescaledb looks really nice but never tested. I’m curious about how PG can scale for time series.
    ardo
    @ardohr_gitlab
    Thanks Ramon for the explanation
    alan runyan
    @runyaga
    @bloodbare if you have 10m for a quick chat - would apprecaite it. Dont see a way to DM you.
    Ramon Navarro Bosch
    @bloodbare
    hey alan, DMed you :)