lino-framework / lino Goto Github PK
View Code? Open in Web Editor NEWA web application framework using Django and ExtJS
License: GNU Affero General Public License v3.0
A web application framework using Django and ExtJS
License: GNU Affero General Public License v3.0
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
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'
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.
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:
start_at_bottom
option attribute to AbstractTable
http://lino-framework.org/dev/actors.html#dd.AbstractTable.start_at_bottomTODO:
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.
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:
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
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.
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!!!!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.