lino-framework / book Goto Github PK
View Code? Open in Web Editor NEWThe book about Lino
License: BSD 2-Clause "Simplified" License
The book about Lino
License: BSD 2-Clause "Simplified" License
Hi,
After cloning this repository and doing pip install -e .
this happens:
(Using python 3.6.8)
Using cached https://files.pythonhosted.org/packages/a4/db/9e9268337c11128ceabc71124aa960fa330d83fd3e85abfe2cddf1c7996c/lino-welfare-18.4.0.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/private/var/folders/lc/80799yss6klb3_ft_szyfgyr0000gn/T/pip-install-47n3rduj/lino-welfare/setup.py", line 3, in <module>
exec (compile(open(fn, "rb").read(), fn, 'exec'))
File "lino_welfare/setup_info.py", line 28, in <module>
import six
ModuleNotFoundError: No module named 'six'
It is probably a missing dependency on six
from lino-welfare
, but I've not yet got that deep into lino.
Hi,
If you follow the doc about socialauth you will end up with a non working setup, at least when enabling google OAuth2
Traceback (most recent call last):
File "manage.py", line 28, in <module>
execute_from_command_line(sys.argv)
...
File "lib/python3.6/site-packages/social_django/urls.py", line 6, in <module>
from . import views
File "lib/python3.6/site-packages/social_django/views.py", line 10, in <module>
from .utils import psa
File "lib/python3.6/site-packages/social_django/utils.py", line 18, in <module>
Strategy = module_member(STRATEGY)
File "lib/python3.6/site-packages/social_core/utils.py", line 61, in module_member
module = import_module(mod)
File "lib/python3.6/site-packages/social_core/utils.py", line 55, in import_module
__import__(name)
File "lib/python3.6/site-packages/social_django/strategy.py", line 5, in <module>
from django.contrib.contenttypes.models import ContentType
File "lib/python3.6/site-packages/django/contrib/contenttypes/models.py", line 134, in <module>
class ContentType(models.Model):
File "lib/python3.6/site-packages/django/db/models/base.py", line 95, in __new__
"INSTALLED_APPS." % (module, name)
RuntimeError: Model class django.contrib.contenttypes.models.ContentType doesn't declare an explicit app_label and isn't in an application in INSTALLED_APPS.
The solution looks obvious: add contenttypes to INSTALLED_APPS. Which you could do in two forms:
INSTALLED_APPS += ('django.contrib.contenttypes',)
And you will be greeted with...
table_factory() failed for <class 'django.contrib.contenttypes.models.ContentType'>.
table_factory() failed for <class 'django.contrib.contenttypes.models.ContentType'>.
Only then will you think "hey, it's not a plugin, but maybe the right place to put it is Site.get_installed_apps, like: yield 'django.contrib.contenttypes'
.
Now it works.
So, that page might explain that contenttypes is needed, and how to add it?
After a discussion with Luc, I understand that the React framework is replacing the old ExtJS 3 UI. However there are still sections in the book discussing OpenUI5 and ExtJS6
which I feel are misleading to new users of the Lino project.
Relevant pages
Therefore should all reference to OpenUI5 and ExtJS6 be removed from the documentation? And should this also apply to the demo project's code?
This page: about python 3 support talks about 2016 goals, and py3 not being supported.
But the linked issue says it's Closed, and it appears python 3 is in fact supported
Hi,
As far as I've seen only the book
repository allows for issues to be created; And the lino-based bug tracker is read only.
The documentation talks about pull requests, but... Where, or How does one file a bug report?
(ie: I have one to file about social-auth which I think belongs to the lino repository)
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.