anyone on this, at all?
On Monday, January 22, 2024 at 9:01:02 AM UTC-5 lucas wrote:
> hello one and all,
>
> the link for reCAPTCHA, or, "
> http://web2py.com/books/default/reference/29/recaptcha;, under the online
> web2py book, "
> http://web2py.com/books/default/
the latest version of web2py, 2.27.1? is
it still free? is it still good to use?
thank you, lucas
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
Yo
web2py
gid = web2py
socket = /run/uwsgi/web2py.sock
chown-socket = web2py:nginx
chmod-socket = 660
vacuum = true
thank you for your help. lucas
On Tuesday, October 17, 2023 at 3:43:31 AM UTC-4 Tom Clerckx wrote:
> Maybe you should review the 'high calculation/high plotly' pages for
> memory usag
3:48:34 iquanta.info systemd[1]: Stopped uWSGI Emperor service.
Oct 16 13:48:34 iquanta.info systemd[1]: uwsgi.service: Consumed 10.241s
CPU time.
with not much to say under the nginx logs. so, does anyone know what i can
be dealing with? thank you in advance, lucas
--
Resources:
- http
thank you, that worked great. both suggestions. lucas
On Thursday, March 23, 2023 at 8:00:11 AM UTC-4 Leonel Câmara wrote:
> It's auth.settings.reset_password_onaccept
>
> However you can also simply use auth.settings.login_after_password_change
> = False to force the user to
t that one.
thank you in advance, lucas
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Goo
. lucas
[Unit]
Description=uWSGI Emperor service
[Service]
ExecStartPre=/usr/bin/bash -c 'mkdir -p /run/uwsgi; chown web2py:nginx
/run/uwsgi'
ExecStart=/usr/local/bin/uwsgi --emperor /etc/uwsgi/sites
Restart=always
KillSignal=SIGQUIT
Type=notify
NotifyAccess=all
[Install]
WantedBy=multi
er error trace files.
On Tuesday, November 29, 2022 at 10:58:57 PM UTC-5 lucas wrote:
> hello one and all,
>
> i just upgraded my centos8stream server from python3.8 to python3.9
> running nginx1.14 and uwsgi2.0.21 and web2py2.22.5.
>
> when i restart web2py it says it is still ac
, lucas
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users&q
yes, that worked perfectly. thank you massimiliano. lucas
On Saturday, September 10, 2022 at 12:43:30 PM UTC-4 Massimiliano wrote:
> Hi,
>
> I'm not sure to have understand correctly your question, but maybe you
> need to use aliases:
>
> fields = [
> db.tab
the
field values by like db.table1.id or db.table2.last_name?
is there a way to collapse the fields so that we can just use id or
last_name, especially when we're certain that the fields are unique when we
collapse when we specify the fields under the select?
thank you in advance, lucas
--
Resources
, not web2py interface [or
application], how do i take a regular string and convert it into the
password that is stored in the password in the auth_user table under web2py
version 2.22.5?"
lucas
On Thursday, August 18, 2022 at 4:51:41 PM UTC-4 Jim S wrote:
> I must be misunderstandin
ok, that sets up the web2py environment. i'm asking how to reproduce or
generate the hashed key from regular text within a separate shell script.
lucas
On Thursday, August 18, 2022 at 8:53:38 AM UTC-4 Jim S wrote:
> It should be the same as auth.settings.hmac_key, probably set in db
n Wednesday, August 17, 2022 at 9:01:32 PM UTC-5 lucas wrote:
>
>> hello one and all,
>> in linux/bash script code, not web2py interface, how do i take a regular
>> string and convert it into the password that is stored in the password in
>> the auth_user table unde
i am using web2py 2.22.5 using the wsgihandler.py handler and nginx under
centos 8 stream all current and updated and rebooted. i don't understand
all of the stuff from massimo
On Wednesday, August 17, 2022 at 8:54:22 PM UTC-4 lucas wrote:
> i'm wondering. do i have to retrieve or gener
hello one and all,
in linux/bash script code, not web2py interface, how do i take a regular
string and convert it into the password that is stored in the password in
the auth_user table under web2py version 2.22.5?
thank you in advance, lucas
--
Resources:
- http://web2py.com
- http
i'm wondering. do i have to retrieve or generate the 16 digit password
from the app itself. cuz i don't know how to do that since it is purely a
linux console only interface.
On Wednesday, August 17, 2022 at 12:18:16 PM UTC-4 lucas wrote:
> nope, and i regenerated a new password j
August 17, 2022 at 6:12:50 PM UTC+2 lucas wrote:
>
>> nope, that didn't work either. uhm.
>>
>> On Wednesday, August 17, 2022 at 12:08:12 PM UTC-4 Clemens wrote:
>>
>>> Hmm, should work, since it's the right port for ssl. Maybe setting tls
>>>
>
> Clemens
>
> On Wednesday, August 17, 2022 at 5:57:56 PM UTC+2 lucas wrote:
>
>> oh, so the latter is still not sending the Lost Password.
>>
>> On Wednesday, August 17, 2022 at 11:54:38 AM UTC-4 lucas wrote:
>>
>>> ok, i turned on 2-step verification, gen
oh, so the latter is still not sending the Lost Password.
On Wednesday, August 17, 2022 at 11:54:38 AM UTC-4 lucas wrote:
> ok, i turned on 2-step verification, generated 1 password for "App
> passwords" that gave me a 16 character string which i copied into the
> pass
ljrsdeyj16'
tls= true
ssl= true
where i changed the login string so i didn't give away my security. so
what do you think?
lucas
On Wednesday, August 17, 2022 at 11:34:58 AM UTC-4 Clemens wrote:
> Generate an app password, as follows:
> https://support.google.com/mail/ans
hey one and all,
on May 5th, 2022, gmail imposed the 2 step verification on its smtp
service. how do we configure web2py to still use our gmail accounts to
send smtp for password retrieval.
thank you in advance, lucas
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation
on my web2py website and i don't want any accessing packages
like os or sys.
thank you in advance and have a great day, lucas
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Rep
hello one and all,
curiosity? is there a way to disable the response.flash div but only for
the @media print { } section under web2py 2.21.1?
thank you in advance, lucas
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code
yes, that worked very nicely. thank you.
On Monday, October 18, 2021 at 10:29:24 AM UTC-4 A3 wrote:
> You can edit the view: default/user.html
>
> add some html code like you would do in a standard html doc
>
> Op maandag 11 oktober 2021 om 20:49:45 UTC+2 schreef lucas:
hello one and all,
how can i add a simple message to the /user/register form? just plain text
with a link in there also.
thank you in advance, lucas
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https
the latter two
possibilities?
thank you in advance, lucas
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed
directory also?
lucas
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"w
3:::", s2, type(s2))
print(s2.happy)
exit()
where we replace the ""
with ")" at the end and eval does the rest.
thank you for your help. i think __repr__ should be updated to my
suggestion above so its easier to convert to and from string for easier db
storage of
m json, wouldn't it make sense
to and from string for storage? thank you again, lucas
On Sunday, April 25, 2021 at 3:07:29 AM UTC-4 snide...@gmail.com wrote:
> On Friday, April 23, 2021 at 9:43:19 AM UTC-7 lucas wrote:
>
>> hello one and all,
>>
>> i'd like to save and rec
quot;, ss, type(ss))
exit()
with output:
1:::
2:::
Traceback (most recent call last):
File "./web2py_Storage.py", line 17, in
ss = eval(ss)
File "", line 1
^
SyntaxError: invalid syntax
any ideas how to make this work smoothly? thank you in advance, lucas
--
maybe a common question. how do i allow access to the admin interface on
regular port 80 and without ssl? i have web2py running on a little local
raspberry pi, behind firewalls, and i'm not concerned with security.
thank you in advance, lucas
--
Resources:
- http://web2py.com
- http
hello one and all,
simple question. is there a variable that returns the http headers coming
into a function from the client, like request.headers? the request.env is
a bit mixed with other stuff besides the headers that come in from the
client.
thanx in advance, lucas
--
Resources
headers through the session. I am
able to login now under python and it is working great. thank you again in
advance and I love web2py and python. Lucas
On Friday, March 26, 2021 at 2:54:04 AM UTC-4 lucas wrote:
> I'm trying to login to my own web2py website using requests in python
> 3.
I'm trying to login to my own web2py website using requests in python
3.9.2. I can't seem to do it. my code is below. may you please review
and let me know what I'm overlooking? thank you in advance, Lucas
cookie = MozillaCookieJar('cookies')
if os.path.exists('cookies'):
cookie.load
r_id), db
> .class_groups.on(db.class_groups.id == db.class_group_users.class_group_id
> ), db.classes.on(db.classes.id == db.class_groups.class_id), etc..]
>
>
> -Jim
>
>
> On Friday, September 11, 2020 at 10:48:16 AM UTC-5, lucas wrote:
>>
>> hey Jim S, and ot
here" part of the sql statement go under the db()
part?
lucas
On Friday, September 11, 2020 at 10:19:02 AM UTC-4 Jim S wrote:
> This may make me sound like a horrible developer, but I never use INNER
> joins. And when I say never, I mean NEVER. I have nothing against them,
&
various obvious ways but it
either crashes the server with 502 or gives the wrong results. thanx in
advance, lucas
select c.title, c.subtitle, cg.id, cg.name, u.last_name, u.first_name,
l.user_id, l.date_generated, l.date_completed, l.lab_manual, l.lab
from classes c
inner join class_gr
response.meta is a Storage object which is really just a
> special web2py dict.
> In other words, this: response.meta.keywords = 'my key word string'
> would be equivalent to this: response.meta['keywords'] = 'my key word
> string'
>
>
>
>
>
> O
8.2 server. BUT on the old centos 7.6 it returns the
proper string of keywords.
On Thursday, September 3, 2020 at 6:52:07 AM UTC-4 lucas wrote:
> maybe i didn't explain what happened here. i've been running web2py on a
> centos 7.6 server with python 2.7.5. i created a brand new server with
> cen
ct to change type so much is confusing. and map isn't a
real thing in python because when i read about it, it always points to type
dict.
On Wednesday, September 2, 2020 at 10:58:00 PM UTC-4 lucas wrote:
>
> no, i tried all those tests. when i simply do return
> BODY(type(response.me
'!
> You may wish to read up about the map function and iterators if this is a
> new concept.
>
>
> On Wednesday, 2 September 2020 at 16:16:09 UTC+1 lucas wrote:
>
>> very simply, i'm trying to add keywords of type string to the
>> response.meta.keywords, which used to be of t
ure what you are doing exactly but you seem to have created a map
> iterator. Maybe you could convert that to a list? You might be able to
> work with it more easily. Something like this:
> list( response.meta.keywords )
>
>
>
> On Wednesday, 2 September 2020 at 1
in fact, when i inspect the head of the final html in the browser, w2p
doesn't return a string at all, in fact it returns a reference to an object:
On Tuesday, September 1, 2020 at 10:03:28 PM UTC-4 lucas wrote:
> hello one and all,
>
> its been a while since i've bee
eing a
string. i'm obviously concatenating strings above.
what the heck is type "map" and how's that work with keywords?
lucas
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issue
bash window, it
starts fine and the server is accessible via the chromium browser. when I
try to put it in /etc/rc.local the command will not run when I reboot. any
suggestions on that latter point.
thanx in advance and have a great day, Lucas
--
Resources:
- http://web2py.com
- http://web2py
i haven't until you just mentioned it. there is an emperor.uwsgi.service
file. its contents are:
[Unit]
Description = uWSGI Emperor
After = syslog.target
[Service]
ExecStart = /usr/local/bin/uwsgi --ini /etc/uwsgi/web2py.ini
RuntimeDirectory = uwsgi
Restart = always
KillSignal = SIGQUIT
Type
well isn't python opened with either nginx (nginx.service) or uwsgi
(emperor.uwsgi.service) with systemctl. I've been trying to find that
script to change the python to python3.5. but I can't seem to find it
under either of those two or under web2py.
--
Resources:
- http://web2py.com
-
is
the secret spot. i'm using nginx 1.10.3 and uwsgi 2.0.14 and the
wsgihandler.py properly, etc. lucas
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You
so, what is the best way to direct web2py to use the python3 instead of the
default python/python2.7?
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
yeah, I thought of doing it as a scheduled task, but its really best to be
triggered by a web2py event and then collect data off of an a2d convertor
and populate a db with pure data. so that's why it isn't a true daemon,
but I might go in that direction and just have crond trigger it.
--
or the server, or any of that kind of mess like that.
thank you in advance, Lucas
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message
Massimo is very correct on using nginx. I used apache for decades and
nginx is simpler to configure and serves up http requests at twice the
speeds. literally what used to be an average of 100-120ms under apache,
changed to 40-55ms under nginx for the same exact code under web2py.
On
ally, what would it take to get web2py to use the python 3
that is already native on raspbian?
the reason is because the adafruit ads1115 analog-to-digital library only
runs on python 3 and I'd like web2py to access the board directly.
thank you in advance and have a good day. Lucas
--
Resourc
actually Dave S,
your indirect answer led me to a place of where not to go at all, which was
the server-side node.js. believe it or not. because it led me to a place
where i actually needed to be. and i conjured the final code after about
44 hours of toil. it works freaking great, pure
I renamed one of the gfrm in code and then added the
forename under all of the form process es just to solidify it down. thank
you for your help. Lucas
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https
understand why its so hard to find examples when s3 been around longer then
2006.
so, I'm hoping to get guidance from my peers on web2py google groups. Lucas
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source cod
hello one and all,
i'm in a nightmare trying to upload files via pure client-side javascript
to aws s3 using, i guess, aws-sdk-js. perhaps someone out there who's done
this can have a discussion with me and i don't know where else to go. i
know this isn't web2py but i'm in the weeds on this
lines of code also.
basically, how to gracefully shutdown an entire app?
thank you in advance, lucas
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You
Tests Errors'
else:
response.flash = 'ok'
I believe I learned that there are only the process-accepted and errors
sections. but I have a condition where its going under the else section
where ok is. what are the causes of a FORM going into that area?
thank you in advance, Lucas
t to think about
this right now. just reporting.
thank you in advance, lucas
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message b
ok, i finally found what was wrong. i didn't realize there were two such
settings. i was using the profile_fields and testing it on the register
screen. so, i have this now under the db.py model:
auth.settings.register_fields = ['prefix_title', 'first_name', 'last_name',
'gender',
lor: #f0c36d; }
and it works perfectly and looks beautifully. thanx to mweissen his
suggestion, it worked pretty well also.
qed, lucas
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2
ok, i tried it without the appends, instead just direct:
response.menu[1][3] = [
(T('Dashboard'), False, URL('main', 'students')),
A('', _class="divider"),
(T('Assessments'), False, None),
(T('History'), False, None),
(T('Join a Class'), False, None)
alright, so just to be absolutely sure. i copied the layout.html and the
default/index.html files from the 2.18.5 welcome app and stuck them in the
proper places in my app. i still get the same error. i do NOT get the
error if i comment out the separator line, as commented below. here is
web2py™ Version 2.18.5-stable+timestamp.2019.04.08.04.22.03
Python Python 2.7.5: /usr/bin/uwsgi (prefix: /usr)Traceback
1.
2.
3.
4.
5.
6.
7.
8.
Traceback (most recent call last):
File "/opt/web2py_apps/web2py_2-18-5/gluon/restricted.py", line 219, in
restricted
exec(ccode, environment)
attached and thank you. and for the record, I've tried everything I can
think of the for the past few days. and if it turns out I'm just a dumb
butt, then I'm going to be really pissed at myself. lol.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
-
oh yes I agree with you. I think you're referring to the 3 in
"response.menu[1][3].append". the list to append to the submenu is the 4th
element, so the 3 is correct.
On Wednesday, April 10, 2019 at 3:41:08 PM UTC-4, Anthony wrote:
>
> Indexing is zero-based in Python, so the index of the
t/chapter/29/05/the-views?search=data-#HTML-helpers
>
> DIV('text', _data-role='collapsible')
>>
>> will not work because "_data-role" includes a hyphen, which will produce
>> a Python syntax error.
>>
>
> Check the solutions suggested.
>
>
>
>
appends, the appends of the
tuples work but the append with the LI bugs like hell.
thanx in advance, Lucas
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--
and i also update web2py from 2.17 to 2.18.5, just in case.
On Monday, April 8, 2019 at 10:20:27 AM UTC-4, lucas wrote:
>
> i tried this before and after auth.define_tables and it had no effect:
>
> auth.settings.profile_fields = ['prefix_title', 'first_name', 'last_name',
> 'gend
i tried this before and after auth.define_tables and it had no effect:
auth.settings.profile_fields = ['prefix_title', 'first_name', 'last_name',
'gender', 'birthdate', 'zip', 'email']
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py
students log into this site i've had. and they type all kinds of crazy
stuff. i don't want to preserve what the students type because students
are inconsistent when they login. so i want to force it to lowercase so at
least i know what is definitely stored in the db.
--
Resources:
-
ate).
thank you in advance. lucas
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Gro
E')), comment='Enter your Gender.'),
Field('input_date', 'date', comment="format -MM-DD", requires=NE,
default=datetime.date.today(), writable=False, readable=False)
]
thank you in advance. lucas
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- h
I created a image on docker that have web2py
How do i put my application at applications web2py folder?
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
i have a image uploaded, how do i recover it on html?
Any idea?
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you
Did you think about the JS framework, https://aurelia.io/?
Thank's
Fernando Lucas
Em seg, 29 de mai de 2017 às 20:29, Massimo Di Pierro <
massimo.dipie...@gmail.com> escreveu:
> My plan is this
>
> It is based on bottle + gevent + gunicorn + rethinkdb + pydal + vue.js +
>
oh, and btw, I have the whole server running off of a $35 Raspberry Pi 3b+,
with PostGreSQL 9, Web2Py 2.17.2, and Nginx. I tricked the wifi of my
institution to let the raspberry access and even though its a local
address, students can access their code and view their results from
whatever
uot;#
-*- coding: utf-8 -*-\nimport mcp\n\ndef index():\n\treturn BODY(\"testing
1 2 3\")"}}
{{=form.custom.end}}
and it is working really nicely. thank you for the help and suggestions
and guidance. I hope the code above will help some other professors show
the importance
well, I know that web2py is reading a py/txt file and uploading that into
CodeMirror when the page is loaded to be edited under admin. then when
saved it writes it back to the file to update it.
I'd like to get the py/txt from a text field in PostgreSQL table. and then
when its saved, it
even with different set, get, and save methods? Lucas
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you
know how to implement the admin IDE outside of actually being a
web2py regular admin.
please advise, thank you, Lucas
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report
I didn't think so, so I was making sure. I added it under onvalidation
under the controller. and also added it to the Postgres database as a
custom index. thank you for verifying with me. Lucas
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com
hello one and all,
is there a DAL level way to impose a constraint on a single table but
unique on multiple fields within that single table?
thanx in advance, lucas
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code
hello one and all,
the API is tough to navigate. so, i'll ask. SQLFORM element and elements
is very powerful. along with update, insert, and append. but how do you
delete an element, or multiple elements, under an element that you found?
thank you in advance, lucas
--
Resources:
- http
hello one and all,
i'm using 2.17.2. under the db DAL, i have a boolean field that defaults
to a checkbox under SQLFORM.grid. how do i change that under Field to
default to a SELECT instead of a INPUT(_type="checkbox")?
thank you in advance, lucas
--
Resources:
- http://web2py.
thank you, that would be wonderful. where do I open the ticket?
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you
so this is what i got working wonderfully but using psycopg2 directly
instead of the DAL. AGAIN, i would love to convert this back to the DAL
for seemlessness and grace.
def getbinary():
try:
c = psycopg2.connect("dbname='tms' host='%s' user='%s'
password='%s'" % ('localhost',
PostGreSQL 9 which stores the png as direct raw non-escaped hex. AND i am
trying a direct sql select by using psycopg2 right now. because using the
DAL has been annoying. but i'd love to use it if i could. so i'm open to
DAL methods.
--
Resources:
- http://web2py.com
-
so, i've figured out that the entire blob stream is not being fully
retrieved, only 29 of the 5513 bytes are being retrieved:
in my debugging: here is an experimental / expanded of the above function:::
table, id, field, stream, and d are all working. but the d[field] under
arious "things" to try to get it to
display properly under the browser. i have a test png in the database and
under postgresql it is confirmed to be 5513 bytes long in hex format.
can anyone suggest proper working code? i believe the problem is in the
getbinary function. thank you in
inx/conf.d
files, one for each domain pointing to the proper domain and web2py
application, along with the changes in nginx.conf file?
i've read a lot but it is hard to make sense since uWSGI and web2py are in
the mix now also.
thank you, lucas
--
Resources:
- http://web2py.com
- http://web2p
alright, well this has me thinking towards a whole new http server. i just
might do it very soon, especially since it just a yum/rpm package on centos
already. thank you all for your input.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
-
better use nginx to serve web2py, found a lot of problem when using apache
with web2py
is it really much much better? in what ways? why would I change? Lucas
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https
hey all,
setting up a new server on centos 7.4 and apache 2.4. web2py is running
fine for i get the welcome content but none of the files under static are
coming down to the client. please makes suggestions. thank you.
lucas
here is my default.conf file where you'll see i've tried a bunch
:
'application/json'" returned no data under request.vars or
request.post_vars.
so, i believe i go with the working model of JSON.stringify on the client
side with loads on the server side. makes sense and i believe a solid
solution.
lucas
--
Resources:
- http://web2py.com
- http://w
understand that it might break http post rules or something, and when I
do send a json dict, request.vars flattens the whole array into keys with
flattened strings instead of addressable indexes/keys.
ok, let me know and thank you in advance. Lucas
--
Resources:
- http://web2py.com
- http
ould I replace it
with so that when harry types in the 'dude man' password, web2py hashes it
properly and logs in old harry?
thank you in advance, lucas
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google
as I reported when the screen isn't wide enough, it will default to the
pull down button, that doesn't work in safari or Firefox. it also doesn't
work on iOS.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
-
1 - 100 of 486 matches
Mail list logo