#5650 (Problems in the servers)

by Johana Amorin · in Developers · assigned to Johana Amorin

Résumé

In severals projects such as polly, polly2, polls, lets1 and ivo, when running them a server error message appears. Min1, min2, Cosi4, tables,and voga it´s works correctly

Concepts sous-jacents

Commentaires

  • 2 ans, 4 mois ago by Johana Amorin about #5650 (Problems in the servers) : Some of yesterday´s problems were solved when I ran "git fetch upstream" and some projects worked- Now I was resolving “TypeError: Plugin.setup_main_menu() takes 4 positional arguments but 5 were given” on some projects, wich clearly were differnces between repositories. I ran "inv pull" and aparent...
  • 2 ans, 4 mois ago by Luc Saffre about #5650 (Problems in the servers) : Confirmation: the LETS repository is deprecated since #5504 (Review the LETS tutorial), which I started when I reviewed the Developer Guide because @joy had started her internship.
  • 2 ans, 4 mois ago by Luc Saffre about #5650 (Problems in the servers) (1 reply) : In the lets repository there was still an old version of Site.setup_menu() with only two arguments. Seems that @8lurry forgot this repository when testing. I now fixed the lets repo.
  • 2 ans, 4 mois ago by Johana Amorin about #5650 (Problems in the servers) (3 replies) : The get_site_menu() function takes only two arguments: self and user_type, if I change “user_menu = settings.SITE.get_site_menu(u.user_type, request)” to “user_menu = settings.SITE.get_site_menu(u.user_type)” the sites work correctly. It would be necessary to see if you have other function calls in ...
  • 2 ans, 4 mois ago by Johana Amorin about #5650 (Problems in the servers) : The call to get_site_menu occurs in “react/views.py” on line 702. “user_menu=settings.SITE.get_site_menu(u.user_type, request),” There are 3 arguments being passed here: u.user_type, request, and the implicit self when calling a method on an instance
  • 2 ans, 4 mois ago by Johana Amorin about #5650 (Problems in the servers) : the error I get is "TypeError: Site.get_site_menu() takes 2 positional arguments but 3 were given" it seems that the get_menu_site() function of the Site class takes two arguments but three are passed when the function is called.
  • 2 ans, 4 mois ago by Johana Amorin about #5650 (Problems in the servers) : I saw this when i tried to do the LETS tutorial, and decided to see if the same thing happened in others projects, I'm checking this.
  • 2 ans, 4 mois ago by Johana Amorin about #5650 (Problems in the servers) : Created new Ticket #5650 (Problems in the servers).