Giter Site home page Giter Site logo

book's People

Contributors

8lurry avatar creyd avatar kalatiib avatar khchine5 avatar lsaffre avatar subha-py avatar tonispiip avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

book's Issues

Missing dependency in 'six'

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.

Social Authentication and ContentTypes

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:

  • You see the error, you are an experienced Django developer so, after instantiating Site() you add:
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?

Document how to file bug reports

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)

Extjs6 and OpenUI5 reference

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?

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.