Questions tagged [web2py-modules]

web2py-modules are modules that are available in web2py web framework out of the box

web2py-modules are modules that are available in web2py web framework out of the box.

89 questions
0
votes
0 answers

How do I rename a module in Sahana Eden?

I have this Requests module. I wish to rename it to Requisitions. Can someone please confirm how to change name of a module? In views/index.html file the title is coming from =T("title") but i am unsure where is this title coming from. Here's the…
0
votes
1 answer

Web2py Scheduler is creating "Idle in Transaction" process with PostgreSQL

This question is specific to scheduler in Web2py Framework. I am using scheduler as a Linux Service. I created a file /etc/systemd/system/web2py-sched.service [Unit] Description=Web2Py scheduler service [Service] ExecStart=/usr/bin/python…
May
  • 1,158
  • 2
  • 13
  • 24
0
votes
1 answer

Web2py on uwsgi and nginx upstream timed out (110: Connection timed out) while reading upstream

I have deployed my application on NGINX. And my error.log is full of : upstream timed out (110: Connection timed out) while reading upstream, client: 10.107.46.176, server: myApp, request: "GET /myApp/Home/index.load HTTP/1.1", upstream:…
May
  • 1,158
  • 2
  • 13
  • 24
0
votes
1 answer

Web2Py Scheduler crashing the Postgress DB

I am using scheduler as a Linux Service. I created a file /etc/systemd/system/web2py-sched.service [Unit] Description=Web2Py scheduler service [Service] ExecStart=/usr/bin/python /home/www-data/web2py/web2py.py -K…
May
  • 1,158
  • 2
  • 13
  • 24
0
votes
0 answers

Web2py Modules: Couldn't find a tree builder with the features you requested: html.parser. Do you need to install a parser library?

This question is specific to Web2py Framework. The code is working fine outside it. I have installed bs4 and BeautifulSoup4 in the Modules directory. sudo pip install bs4 --target /home/www-data/web2py/applications/myapp/modules sudo pip install…
May
  • 1,158
  • 2
  • 13
  • 24
0
votes
1 answer

Web2py: ImportError: No module named patch while trying to import modules in the web2py Modules directory

I have a couple of custom modules present in the Modules directory of the web2py. These modules are easily imported to the controller file. But when I am trying to import these modules in the scheduler.py file I am getting the error. Kindly…
May
  • 1,158
  • 2
  • 13
  • 24
0
votes
2 answers

Web2py: (ImportError("Cannot import module 'applications.*.modules.paramiko'",)

I believe this problem has been addressed in various forums and in here also. And the acceptable solution seems to be using source version of web2py. And I am using it. I had setup web2py on my ubuntu machine by running the setup-web2py-ubuntu.sh…
May
  • 1,158
  • 2
  • 13
  • 24
0
votes
1 answer

Web2py: Sending JSON Data via a Rest API post call in Web2py scheduler

I have a form whose one field is type IS_JSON db.define_table('vmPowerOpsTable', Field('launchId',label=T('Launch ID'),default =datetime.datetime.now().strftime("%d%m%y%H%M%S")), Field('launchDate',label=T('Launched…
May
  • 1,158
  • 2
  • 13
  • 24
0
votes
0 answers

web2py internal error in query

I'm testing mysql database in web2py but I have little problem on display a basic results in select query. Models blog_page.py from gluon import DAL from gluon import Field db =…
Roel John
  • 104
  • 2
  • 7
0
votes
1 answer

How to use HTTP() class in web2py module

I'm using a function in a web2py module which should raise an HTTP exception. For most functions (e.g. T) I do from gluon import current def f(x): return current.T(x) But I can't do e.g. raise current.HTTP(...): I get
user2667066
  • 1,867
  • 2
  • 19
  • 30
0
votes
1 answer

Web2py - how to create a group "manager" using appadmin

I'm going through Web2py book documentation because i'm new to it and i can't find any better tutorial anywhere (recommendations are welcomed). While going through the overview section, i got to an instruction that says Using appadmin create a…
Mubarak Awal
  • 439
  • 5
  • 23
0
votes
1 answer

installing seaborn without sudo

I am trying to install seaborn without using sudo. I have already installed on my python 2.7 and windows 7 setting with the following cmd commands : pip install pandas pip install xlrd pip install matplotlib and they all were installed like…
William
  • 11
  • 4
0
votes
1 answer

How do I use web2py smart_query for a GET request?

So I'm trying to use smart_query in web2py to find specific values in a db, but the only explanation I can find is in the web2py book and it's not very clear. The example GET request from the book is formatted like this: def GET(search): try: …
mmaron
  • 11
  • 4
0
votes
1 answer

how to callpython function through button in web2py?

I am creating a web2py app; I want a button that can call a Python function available in controller folder in default.py and show the text result. The function is: src_path = "/home/globalstat/web2py/applications/image_resize/controllers/" def…
vinay
  • 167
  • 1
  • 4
  • 12
0
votes
1 answer

How edit CSS file in web2py

How could I edit CSS files in web2py ? I wanna override the web2py_table, someone could help me ? I inspected in google chrome, but the file who is pointing don't make the effect.