Questions tagged [web2py-modules]
web2py-modules are modules that are available in web2py web framework out of the box
web2py-modules
89
questions
0
votes
0
answers
22
views
Get actual with foreign key Web2py
I have a data table with three fields. All of these three (3) fields are foreign key of others table. But I want to display the actual data. How can I work it out? For now, I can only display their ID....
0
votes
1
answer
55
views
web2py: custom forms can not edit anymore after submitting
I am working on a custom project in web2py and I am facing one problems I can not edit submitted data anymore for some reason.
Controller
@auth.requires(auth.has_membership(group_id = 'admin') or auth....
0
votes
2
answers
151
views
How to set IS_NOT_EMPTY and string (not included 0-9) in web2py data structure
I am developing web2py - Models - db_testing.py in pythonanywhere.com
below code is running successfully:
# -*- coding: utf-8 -*-
db = DAL('sqlite://storage.sqlite')
db.define_table('registration',...
0
votes
1
answer
762
views
py4web DAL, web2py - (Legacy) database exploration - how to get all tables, fields, etc?
Unfortunately there is no py4web tag (that and one for modules should be added) so i put it under web2py as DAL is the same. If someone can create a tag (maybe talking to Massimo ..) its appreciated.
...
1
vote
0
answers
139
views
Requires gitpython module, but not installed or incompatible version: No module named applications.admin.modules.git
I'm a beginner denv and I'm using the web2Py framework for web development. And whenever I try to download a template to use, this error appears. I would like to know if anyone who uses this framework ...
0
votes
1
answer
401
views
Upload wav file and save in directory using python
Here is my db Model
db.define_table('manage_music_file',
Field('action_is', ...
0
votes
1
answer
168
views
Web2py Scheduler Waiting for a task to complete before starting a new task launched from different UI
I have a small web application and it process background task. The task takes 5 minutes to complete. So i have used scheduler.
I have configured scheduler as service in a ubuntu machine.
[Unit]
...
0
votes
0
answers
41
views
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 ...
0
votes
1
answer
109
views
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 ...
0
votes
1
answer
453
views
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 /...
0
votes
1
answer
131
views
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/...
0
votes
0
answers
45
views
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/...
2
votes
0
answers
230
views
Install web2py on domain hosting
How can I deploy or install web2py on domain hosting?
Each time i try to run the command python web2py.py, I get:
please visit:
http://127.0.0.1:8000/
use "kill -SIGTERM 38820" to ...
1
vote
0
answers
60
views
how to use jenkins and devops for .net and python development work
We are initial stage of bringing devops into our daily activities. Now we are workig on .net and pthon coding. So we have to plan for continuous delivery on our activities.
In the first scenario for ...
0
votes
1
answer
1k
views
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 ...