Code Monkey home page Code Monkey logo

lino's People

Contributors

8lurry avatar codegears-belgium avatar cuchac avatar excellentserv avatar hamzus avatar khchine5 avatar lsaffre avatar sandeez avatar subha-py avatar tonispiip avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

lino's Issues

#143 : Add a Table.start_at_bottom option

When displaying e.g. sales invoices, TIM users are used to “see them all” and to have the grid “start at the bottom”, i.e. to show the last page (instead of the first) when it opens.

DONE:

TODO:

  • the PagingToolbar.cursor is set to -1, which leads to a wrong value for getPageData().activePage. Add an onload handler on Lino.GridPanel or Lino.GridStore which sets it to the correct value when it is -1.
  • test for side effects

Welfafe app installation problem

When i pass the lsaffre@eb7a02c problem, now i have these:

welfaredemoapp$ ./manage.py initdb demo
.
.
..

lino.modlib.contacts.models.DoesNotExist: Problem installing fixture '/home/miltonlab/devlab/lino/welfare/lino_welfare/fixtures/demo.py': RoleType matching query does not exist.

python manage.py initdb_demo not work

my pip freeze is

Babel==1.3
Django==1.7.1
Jinja2==2.7.3
MarkupSafe==0.23
North==0.1.7
PyYAML==3.11
Pygments==2.0.1
Sphinx==1.2.3
Unipath==1.0
appy==0.9.1
argparse==1.2.1
atelier==0.0.3
djangosite==0.1.8
docutils==0.12
lino==1.6.13
odfpy==0.9.6
python-dateutil==2.3
pytidylib==0.2.3
pytz==2014.10
six==1.8.0
wsgiref==0.1.2

i follow tutorial from https://lino.readthedocs.org/en/latest/tutorials/polls/mysite/index.html
in that i am not understand where i put
The main index after i put in templates/index.html
part in my project
Also in "Adding a demo fixture" part this link "Download the file polls/fixtures/demo.py" is return 404
after i search and get following code for demo.py is

from lino import dd

Poll = dd.resolve_model('polls.Poll')
Choice = dd.resolve_model('polls.Choice')

DATA = """
What is your preferred colour? | Blue | Red | Yellow | other
Do you like Django? | Yes | No | Not yet decided
Do you like ExtJS? | Yes | No | Not yet decided
"""

def objects():
for ln in DATA.splitlines():
if ln:
a = ln.split('|')
p = Poll(question=a[0].strip())
yield p
for choice in a[1:]:
yield Choice(choice=choice.strip(),poll=p)

AFter when i am run python manage.py initdb demo (it doc its like "python manange.py initdb demo")so it return
Unknown command: 'initdb'
Type 'manage.py help' for usage.
so how can i solve pls help!!!
Thank in advance!!!!

SITE objects has no keywords 'str2kw' after update of 11/06/2014

Hi Luc,I'm testing Lino for a project. I'm running from a fresh copy via git. I've followed the install instruction detailed here (great) http://www.lino-framework.org/dev/install.html

After the last update, I receive the error: SITE objects has no keywords 'str2kw'
In file dd.py, line 402
str2kw = settings.SITE.str2kw

Referring to the documentation of your commit, http://docs.lino-framework.org/blog/2014/0611.html
I see that in lino/ad.py the class SITE has no str2kw method.

Did you have forgot to commit, or I've to update Django. At the moment I'm using Django 1.6.5, installed by the setup.py of lino.

Enabling social-auth breaks manage.py prep

Hi there,
I'm on python 3.6.8, lino==19.2.2, lino-xl==19.2.0;

When I follow the social authentication page on the book mange.py prep won't work anymore.

In my Site class I do: social_auth_backends = [ 'social_core.backends.google.GoogleOAuth2', ], and then set the appropiate settings for the backend and when running prep this comes:

`initdb demo_users` started on database test.
Operations to perform:
  Apply all migrations: contenttypes, sessions, social_django
Running migrations:
  Applying contenttypes.0001_initial... OK
  Applying contenttypes.0002_remove_content_type_name... OK
  Applying sessions.0001_initial... OK
  Applying social_django.0001_initial...

Traceback (most recent call last):
  File "lib/python3.6/site-packages/django/db/backends/utils.py", line 85, in _execute
    return self.cursor.execute(sql, params)
psycopg2.ProgrammingError: relation "users_user" does not exist

The furthest I came is that initdb does first the migrations and after migrations it does the non-migration capable applications. What happens (I think) is that modlib.users is not migration capable while social_django is.

So tables for social_django are created before modlib.users tables even exist, hence the exception.

Testing with fabric faill at Lino installation

linoenv)miltonlab@hp-probook ~/devlab/linodev/lino $ fab initdb
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/fabric/main.py", line 658, in main
docstring, callables, default = load_fabfile(fabfile)
File "/usr/local/lib/python2.7/dist-packages/fabric/main.py", line 165, in load_fabfile
imported = importer(os.path.splitext(fabfile)[0])
File "/home/miltonlab/devlab/linodev/lino/fabfile.py", line 1, in
from atelier.fablib import *
ImportError: No module named atelier.fablib

ModuleNotFoundError: No module named 'grp'

hello,

Doing a fresh install of lino and running getlino I get a

  File "c:\...\site-packages\getlino\configure.py", line 8, in <module>
    import grp
ModuleNotFoundError: No module named 'grp'

use updated URL for wkhtmltopdf downloads

Hello,

wkhtmltopdf has moved the downloads provider from SourceForge to gna.org. As mentioned in the linked message, all earlier downloads have been removed from SourceForge and you are strongly advised to migrate to the new URLs. The following files in your repository will need to be updated:

  • docs/admin/printable.rst

It is recommended to either subscribe to the mailing list or Twitter feed to receive updates on new releases and further changes.

Thanks,
wkhtmltopdf maintainer

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.