◄ ► | Edit | Home | Admin | en de fr et | Sign in

#6209 (follow the developer guide)

by Joosep Madar · in Developers · assigned to Joosep Madar

Summary

Children

Comments

  • 1 year, 1 month ago by Luc Saffre about #6209 (follow the developer guide) : Hint: www.w3schools.com/python/python_datetime.asp
  • 1 year, 2 months ago by Luc Saffre about #6209 (follow the developer guide) : You can run "pp git pull", then say "go lets2". In lets2 there is a file user_types.py (read dev.lino-framework.org/dev/perms.html).
  • 1 year, 2 months ago by Luc Saffre about #6209 (follow the developer guide) : Photo:


    test
  • 1 year, 2 months ago by Luc Saffre about #6209 (follow the developer guide) : Okay, then here is the beginning of the answer: dev.lino-framework.org/dev/lets/2.html
  • 1 year, 2 months ago by Luc Saffre about #6209 (follow the developer guide) : I removed the old lets2 project and wrote a new one as a copy of lets1.
  • 1 year, 2 months ago by Luc Saffre in reply to Joosep Madar about #6209 (follow the developer guide) : I'm not sure to understand what you are suggesting.
  • 1 year, 2 months ago by Joosep Madar about #6209 (follow the developer guide) (1 reply) : I would like to try adding the ability to add a product image to the LETS1 project.
  • 1 year, 2 months ago by Luc Saffre about #6209 (follow the developer guide) : DecimalField is documented here: docs.djangoproject.com/en/5.2/ref/models/fields/
    What's the difference between null=True and blank=True?
  • 1 year, 2 months ago by Luc Saffre about #6209 (follow the developer guide) : Why _("Weight") and not just "Weight"? Read dev.lino-framework.org/dev/i18n.html
  • 1 year, 2 months ago by Luc Saffre in reply to Joosep Madar about #6209 (follow the developer guide) : I reviewed the Version 1 page. It has now numbered paragraphs. I added (9) and (10) for you. Let me know when you are ready for the role play described in (10).
  • 1 year, 2 months ago by Luc Saffre in reply to Joosep Madar about #6209 (follow the developer guide) : Yes, that page still refers to an old situation. Actually I didn't expect you to continue reading after the "Not finished" section on the "Version 1" page.
  • 1 year, 2 months ago by Joosep Madar about #6209 (follow the developer guide) (2 replies) : Is it just me or lets do not exist? i have lets1 and lets2 but not lets--> link: dev.lino-framework.org/dev/lets/step2.html
  • 1 year, 2 months ago by Joosep Madar about #6209 (follow the developer guide) : using print statment 20250822c ['/usr/bin/python3', '/home/joosep/lino/env/lib/python3.13/site-packages/appy/pod/converter.py', '/home/joosep/lino/env/repositories/book/lino_book/projects/noi1e/settings/media/cache/appypdf/excerpts.Excerpt-1.pdf.1755862891.217356/result.odt', '/home/joosep/lino/env/r...
  • 1 year, 2 months ago by Joosep Madar about #6209 (follow the developer guide) : using print statment 20250822c ['/usr/bin/python3', '/home/joosep/lino/env/lib/python3.13/site-packages/appy/pod/converter.py', '/home/joosep/lino/env/repositories/book/lino_book/projects/noi1e/settings/media/cache/appypdf/excerpts.Excerpt-1.pdf.1755862505.666803/result.odt', '/home/joosep/lino/env/r...
  • 1 year, 2 months ago by Joosep Madar about #6209 (follow the developer guide) : when i do pm prep in noi1e then i see this error
    File "/home/joosep/lino/env/src/lino/lino/modlib/printing/mixins.py", line 207, in build_target t = bm.build(ar, elem.__class__.do_print, elem) File "/home/joosep/lino/env/src/lino/lino/modlib/printing/choicelists.py", line 195, in build ...
  • 1 year, 2 months ago by Joosep Madar in reply to Joosep Madar about #6209 (follow the developer guide) : it seems like there is lorem. I don't know where in the project folder you were, but you had 2 more files.
  • 1 year, 2 months ago by Luc Saffre in reply to Joosep Madar about #6209 (follow the developer guide) : Hint: In Pulsar, hit Ctrl+Shift+F to start a search for all files containing "lorem". The result should be something like below.
  • 1 year, 2 months ago by Joosep Madar about #6209 (follow the developer guide) (2 replies) : why No module named 'lorem'?
    (env) joosep@joosep-Latitude-E5570:~/lino/env/repositories/book$ go lino (env) joosep@joosep-Latitude-E5570:~/lino/env/repositories/lino$ git pull Already up to date. (env) joosep@joosep-Latitude-E5570:~/lino/env/repositories/lino$ go book (env) joosep@joosep-Latitude-E5...
  • 1 year, 2 months ago by Joosep Madar about #6209 (follow the developer guide) : (25) In your settings.py file, replace lino_book.projects.polly.settings by lino_noi.lib.noi.settings. Run pm prep followed by pm runserver. Log in and play around. (26) Same as previous, but with lino_book.projects.chatter (this 26 dont work in my computer)
    (env) joosep@joosep-Latitude-E5570:~/lino...
  • 1 year, 2 months ago by Joosep Madar in reply to Luc Saffre about #6209 (follow the developer guide) : we can meet in jitsi when you are free
  • 1 year, 2 months ago by Joosep Madar in reply to Luc Saffre about #6209 (follow the developer guide) : Aa okey
  • 1 year, 2 months ago by Luc Saffre about #6209 (follow the developer guide) (1 reply) : See #6263 ("Create your first Lino site" fails because of missing libsystemd-dev) and ask me to explain it to you.
  • 1 year, 2 months ago by Luc Saffre in reply to Joosep Madar about #6209 (follow the developer guide) (1 reply) : No no, the "pm prep" was necessary only in your particular situation. Getlino startsite usually runs "pm prep" on a new site. But your getlino startsite had failed the first time, and after installing the two system packages pkg-config and libsystemd-dev you ran it again. Getlino startsite doesn't ...
  • 1 year, 2 months ago by Joosep Madar in reply to Joosep Madar about #6209 (follow the developer guide) (1 reply) :
    Create your first Lino site(1) Run getlino startsite to create a first site: $ getlino startsite polly first (2) The first argument (“polly”) is the nickname of the application to install. Run getlino list to get a list of available choices. (3) The second argument (“first”) is the nickname you give ...
  • 1 year, 2 months ago by Joosep Madar in reply to Joosep Madar about #6209 (follow the developer guide) : this was my bad. i forgot i have to pm prep first and then runserver. problem got fixt.
  • 1 year, 2 months ago by Joosep Madar about #6209 (follow the developer guide) (2 replies) : (env) joosep@joosep-Latitude-E5570:~/lino/env/repositories/book/lino_book/projects/polly$ go first (env) joosep@joosep-Latitude-E5570:~/lino/lino_local/first$ runserver Started manage.py runserver (using lino_local.first.settings) --> PID 31402 actors.discover() : registering 69 actors actors.initial...
  • 1 year, 2 months ago by Joosep Madar about #6209 (follow the developer guide) : sudo apt install libsystemd-dev sudo apt install pkg-config
    these two for some reason were not installed I finished things on the first page (dev.lino-framework.org/dev/install/index.html) and when I moved on, the problem came up with this command (getlino startsite polly first)
  • 1 year, 2 months ago by Joosep Madar about #6209 (follow the developer guide) : Why error?
    (env) joosep@joosep-Latitude-E5570:~$ getlino startsite polly first This is getlino version 25.7.0 running on Ubuntu 25.04 (ubuntu plucky). - dev_repos (List of packages for which to install development version) []: - shared_env (Directory with shared virtualenv) [/home/joosep/lino/env]:...
  • 1 year, 2 months ago by Joosep Madar about #6209 (follow the developer guide) : In the polly demo project, changing the answer through (remark) / (bemerkung) does not work. Should it work through this window?
  • 1 year, 3 months ago by Joosep Madar about #6209 (follow the developer guide) : why doesn't it work models.py file is the same as in the instructions (dev.lino-framework.org/dev/models.html)
    (env) joosep@DESKTOP-UD0QH8M:~/lino/env/repositories/book/lino_book/projects/tables$ go tables (env) joosep@DESKTOP-UD0QH8M:~/lino/env/repositories/book/lino_book/projects/tables$ pm shell ...
  • 1 year, 3 months ago by Joosep Madar about #6209 (follow the developer guide) : For some reason I have duplicates. How can I get rid of them?
    (env) joosep@DESKTOP-UD0QH8M:~/lino/env/repositories/book$ inv bd Invoking make_docs_command python make_docs.py Not generating docs/stats.rst because No module named 'lino_openui5' Invoking Sphinx in directory /home/joosep/lino/env/repos...
  • 1 year, 3 months ago by Joosep Madar about #6209 (follow the developer guide) : I explored more demo projects, such as Chatter, and got an error message.
    (env) joosep@DESKTOP-UD0QH8M:~/lino/env/repositories/book/lino_book/projects/chatter$ pm prep We are going to flush your database (/home/joosep/lino/env/repositories/book/lino_book/projects/chatter/default.db) AND REMOVE ALL F...
  • 1 year, 3 months ago by Joosep Madar about #6209 (follow the developer guide) : pp inv prep test error
    docs/specs/calview.rst::calview.rst FAILED [ 22%] docs/specs/contacts.rst::contacts.rst PASSED [ 33%] docs/s...
  • 1 year, 3 months ago by Joosep Madar about #6209 (follow the developer guide) (1 reply) : pp inv prep test bd got error
    The HTML pages are in .build. ==== amici ==== Run `manage.py prep --noinput --traceback` in 1 demo projects: lino_amici.projects.amici1 Traceback (most recent call last): File "/home/joosep/lino/env/repositories/amici/lino_amici/projects/amici1/manage.py", line 8, in...
  • 1 year, 3 months ago by Joosep Madar about #6209 (follow the developer guide) : (env) joosep@DESKTOP-UD0QH8M:~/lino/env/repositories/book$ pip install -r requirements.txt Everything downloaded and worked and then at the end I got 2 errors. ERROR: Could not find a version that satisfies the requirement de_BE.UTF-8 (from versions: none) ERROR: No matching distribution found for de...
  • 1 year, 3 months ago by Joosep Madar about #6209 (follow the developer guide) (4 replies) : (env) joosep@DESKTOP-UD0QH8M:~/lino/env/repositories/book$ pip install -r requirements.txt ERROR: Invalid requirement: ':': Expected package name at the start of dependency specifier : ^ (from line 2 of /home/joosep/lino/env/repositories/book/requirements-install.txt) I deleted : from the file...
  • 1 year, 3 months ago by Joosep Madar about #6209 (follow the developer guide) : pip install django fixed $ inv -l problem
  • 1 year, 3 months ago by Joosep Madar about #6209 (follow the developer guide) (2 replies) : $ pp -l and $ inv -l not working bb8b49b1-41de-4648-812c-bbbd76917a02.jpeg
    (linoenv) joosep@DESKTOP-UD0QH8M:~/lino/env/repositories/lino$ pip list | grep -E "atelier|invoke" atelier 1.1.56 invoke 2.2.0 (linoenv) joosep@DESKTOP-UD0QH8M:~/lino/env/repositories/lino$ cd /path/to/your/project # Asenda oma projekti kaustaga -bash: c...
  • 1 year, 3 months ago by Luc Saffre about #6209 (follow the developer guide) : this is another question
  • 1 year, 3 months ago by Joosep Madar about #6209 (follow the developer guide) (1 reply) : this is a fictive question
  • 1 year, 3 months ago by Joosep Madar about #6209 (follow the developer guide) : Created new Ticket #6209 (follow the developer guide).