Hello all,
I'm wondering if anyone has experience deploying a web2py application in
linux via Azure Web App, I have found this repo:
https://github.com/ariassd/web2py.4azure
but this is for a windows deployment.
Any documentation or direction would be greatly appreciated!
Thanks,
Jason
--
Hello,
We've recently updated web2py and now our applications utilizing the
scheduler are having errors.
We can see there are significant changes to scheduler.py - but not sure if
it's just a matter of adding fields to the our tables to bring it back up
and running.
Thanks for any advice!
Ja
is this official? we use web2py in production and would love to migrate to
python 3. I am just concerned about edge cases that would cause an issuse.
On Saturday, November 4, 2017 at 2:53:13 PM UTC-4, Anthony wrote:
>
> About Python, I know many people are still on Python 2, but to me it's
>>
to handle 240
> transactions per minute!
>
> On Thursday, January 26, 2017 at 7:47:51 PM UTC+1, Dave S wrote:
>>
>> On Thursday, January 26, 2017 at 9:45:20 AM UTC-8, Jason Solack wrote:
>>>
>>> using mssql, the code itself is in gluon scheduler.py - thi
using mssql, the code itself is in gluon scheduler.py - this happens with
no interaction from the app
On Thursday, January 26, 2017 at 12:03:41 PM UTC-5, Dave S wrote:
>
>
>
> On Thursday, January 26, 2017 at 8:44:25 AM UTC-8, Jason Solack wrote:
>>
>> So the issue
can manage up to 10, 15 at most.
> If you wanna go higher, you need to turn to the redis-backed scheduler.
>
> On Tuesday, January 24, 2017 at 10:59:31 PM UTC+1, Jason Solack wrote:
>>
>> Hello all,
>>
>> I'm having some re-occurring issue with the scheduler.
Hello all,
I'm having some re-occurring issue with the scheduler. We are currently
running multiple environments (production, beta) and have several nodes in
each environment. If we have scheduler services running on all machines on
each node we get a lot of deadlock errors. If we drop each
Does not having m2crypto mean auth is less secure or does it just effect
x509 authentication?
On Sunday, November 6, 2016 at 2:15:08 PM UTC-5, Niphlod wrote:
>
> the same gain moving any piece of code from python 2 to python 3 (read on
> the interwebs, there are a few).
> at least now you can c
re referring here and there "when we are load balancing the server"...
> are you talking about the server where workers live or the server that
> holds the database ?
>
> On Tuesday, August 30, 2016 at 6:03:56 PM UTC+2, Jason Solack wrote:
>>
>> the machine is plen
with the default heartbeat are easily taken care by a dual core
> 4GB RAM backend (without anything beefy on top of that).
>
> On Tuesday, August 30, 2016 at 5:41:01 PM UTC+2, Jason Solack wrote:
>>
>> So after more investigation we are seeing that our load balanced server
&
27;t stably be connected to your backend.
>
> On Thursday, August 18, 2016 at 7:41:38 PM UTC+2, Jason Solack wrote:
>>
>> so after some digging what i'm seeing is the sw.insert(...) is not
>> committing and the mybackedstatus is None, this happens 5 times and then
&g
le getting
self.w_stats converted to something i can insert via sql.
another things i'm noticing is my "distribution" in w_stats is None...
Any ideas as to why this is happening?
On Thursday, August 18, 2016 at 12:21:26 PM UTC-4, Jason Solack wrote:
>
> doing that now, what i
iphlod wrote:
>
> turn on workers debugging level and grep for errors.
>
> On Thursday, August 18, 2016 at 4:38:31 PM UTC+2, Jason Solack wrote:
>>
>> I think we have this scenario happening:
>>
>>
>> https://groups.google.com/forum/#%21searchin/web2py/task_id
different worker_name all in the RUNNING status.
>
> For a single task to be processed by ALL 12 workers at the same time... is
> quite impossible, if everything is running smoothly. And frankly I can't
> fathom any scenario in which it is possible.
>
>
> On Wednesday, August 1
I saw a post on the developer forum that the newer version of web2py was mostly
Python 3 compatible... Is it possible that there won't be a need for web3py?
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.g
Hello all, this may be typical, but i'm trying to determine if there is an
issue with the frequency of my workers dropping out of my scheduler_worker
table. At this point my app has been in development for about 2 week and
the ids of my workers are abou 550,000. Meaning that these rows have be
:41 PM UTC-4, Jason Solack wrote:
>
> I only see the task_id in the scheduler_run table, it seems to be added as
> many times as it can while the run is going... a short run will add just 2
> of the workers and stop adding them once the initial run is completed
>
> On Wednesday,
master data), if your mssql is
> "single", there shouldn't absolutely be those kind of problems...
>
> Are you sure all are crunching the same exact task (i.e. same task id and
> uuid) ?
>
> On Wednesday, August 17, 2016 at 2:47:11 PM UTC+2, Jason Solack
I'm using nginx and MSSQL for the db
On Wednesday, August 17, 2016 at 3:11:11 AM UTC-4, Niphlod wrote:
>
> nothing in particular. what backend are you using ?
>
> On Tuesday, August 16, 2016 at 8:35:17 PM UTC+2, Jason Solack wrote:
>>
>> task = scheduler.queue
:
>
>
>
> On Tuesday, August 16, 2016 at 9:38:09 AM UTC-7, Jason Solack wrote:
>>
>> Hello all, i am having a situation where my scheduled jobs are being
>> picked up by multiple workers. My last task was picked up by all 12
>> workers and is crushing the machin
Hello all, i am having a situation where my scheduled jobs are being picked
up by multiple workers. My last task was picked up by all 12 workers and
is crushing the machines. This is a load balanced machine with 3 machine
and 4 workers on each machine. has anyone experienced something like th
Hell all, i'm currently leveraging the scheduler to do some data processing
and i'm finding it takes 5-10 seconds for my task to be assigned. I'm
running MSSQL and have immediate set to false (i was getting some deadlock
errors). Even when immediate was set to True it was taking 5-10 seconds
Hello all,
I am trying to get my head around setting up apps with virtual env on my
server running nginx.
i have found this:
http://www.web2pyslices.com/slice/show/1464/setting-up-web2py-in-a-virtual-environment
but i am not able to make the connection between running web2py locally and
havin
here if you are not in a web request
>> environment.
>>
>> On Wednesday, June 29, 2016 at 2:57:37 PM UTC+2, Jason Solack wrote:
>>>
>>> I am, i am passing db into some modules, do i need to be explicit about
>>> db.commit within modules?
>&g
I am, i am passing db into some modules, do i need to be explicit about
db.commit within modules?
On Tuesday, June 28, 2016 at 3:22:42 PM UTC-4, Niphlod wrote:
>
> are you explicitely calling db.commit() at the end of your taks ?
>
> On Tuesday, June 28, 2016 at 6:36:02 PM UTC+2,
Hello all, i am running an app that utilizes the scheduler and i'm seeing a
lot of open transaction in SQL server with the last sql command being:
IF @@TRANCOUNT > 0 COMMIT BEGIN TRANSACTION
any idea where those are being generated and how to close those
transactions?
Thank you
Jason
--
Res
yes, i just ran the script from web2py's github repository and used the
setting it provide... it was faster and more stable.
On Sunday, April 17, 2016 at 9:34:40 PM UTC-4, kenny c wrote:
>
> was nignx faster than running on Apache as default setting?
--
Resources:
- http://web2py.com
- http://
Hello all,
I'm trying to setup a service in windows to utilize the scheduler. I found
this:
http://www.web2pyslices.com/slice/show/1614/nssm-webserver-and-scheduler-as-services-in-windows-oses
but the version of NSSM is different than the version shown in the example
above.
I have path (whi
Quick update on this... I ran the same test with nginx on aws and that works as
expected... So I strongly suspect a setting or settings in Apache being the
issue
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://
No database. I took out all the model files. I am just iterating through some
lists then sleeping for 5 seconds.
--
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 Issue
Hello all,
I have set up a simple site on aws to test concurrent requests and it
appears i'm getting requests answered sequentially...
https://52.207.216.107/ServerTest/default/index
I essentially ran the ubuntu setup script and tested it... i have upped the
processes and threads in the defau
admin is an application by itself.
>
> On Tuesday, April 12, 2016 at 9:54:08 PM UTC+2, Jason Solack wrote:
>>
>> It's running in linux with apache/WSGI, i'm not exactly sure what you are
>> asking, how are we launching web2py?
>>
>> Just to be clear, we
ssions
>
> how are you running web2py ?
>
> On Tuesday, April 12, 2016 at 9:07:01 PM UTC+2, Jason Solack wrote:
>>
>> Hello everyone!
>>
>> So we have experienced an odd error recently and i'm hoping someone could
>> help shed light on what happened
Hello everyone!
So we have experienced an odd error recently and i'm hoping someone could
help shed light on what happened. We have several applications running on
centOS / apache and yesterday we began to experience the apps going down
periodically and then coming back up. Another odd thing
Thank you for the tip, I will look into running the math as a background
service, is the task scheduler the only way to achieve that?
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issu
Hello all, I am wondering if you all could sense chech my issue for me. I am
creating sites that do a fair amount of analytics on large data sets and as
such requests may take 30-90 seconds to get a response. My web server has 8
logical cores and once I have over 8 concurrent users they are ess
Any updates on this? I am in the process of finding a supplier to pen
test, wondering if i should be prepared for anything.
On Friday, October 9, 2015 at 11:26:55 AM UTC-4, Michael M wrote:
>
> My company has to have an outside firm Pen test all Web-Service
> applications. So I am spinning up
Is there any documentation around using SAML2 with web2py? I'm looking
through documentation and searching in the groups and i'm not finding any.
thank you!
On Friday, January 29, 2016 at 9:04:38 AM UTC-5, Jason Solack wrote:
>
> Thank you for the reply! I will be chatting
uary 2016 11:17:59 UTC-6, Jason Solack wrote:
>>
>> Hello everyone, I'm wondering if there are any examples of using web2py
>> with ADFS. We have a need to connect to allow users to sign in via ADFS
>> and i'm not finding anything within the documentation!
Hello everyone, I'm wondering if there are any examples of using web2py
with ADFS. We have a need to connect to allow users to sign in via ADFS
and i'm not finding anything within the documentation!
Thank you for any guidance,
Jason
--
Resources:
- http://web2py.com
- http://web2py.com/book
v with an id:
>
>
>
> And to load the component via Javascript:
>
> $.web2py.component('{{=URL('mycontroller', 'mycomponent1.load')}}',
> 'component1');
>
> Anthony
>
> On Monday, January 4, 2016 at 4:56:37 PM UTC-5, Jason Solac
Hello all,
I'm using a lot of LOADs in a current project and i'm wondering if there's
a way to not automatically render the LOAD content... as it stands now i'll
have a lot of hidden HTML and i'd like to only load the component when i
need it.
Thank you in advance,
Jason
--
Resources:
- htt
ton, nor an action or a
> method, and nothing in your JS code executes a submit. How exactly do you
> expect it to be submitted? It is not clear what you are trying to achieve.
>
> Anthony
>
> On Sunday, December 6, 2015 at 8:50:21 PM UTC-5, Jason Solack wrote:
>>
&g
when
building a form by hand?
On Monday, December 7, 2015 at 1:23:00 PM UTC-5, Jason Solack wrote:
>
> So i tried loading this in the way described above and my form is still
> not being submitted to the controller. When i check to see if i can
> serialize the form it has valu
nsure that my form is being submitted
to the controller? or is there a way to explicitly submit it?
Thank you again and sorry for the confusion!
On Sunday, December 6, 2015 at 8:50:21 PM UTC-5, Jason Solack wrote:
>
> So in this case i was just wanting to see if the form was submitted when
ults
On Sunday, December 6, 2015 at 8:14:35 PM UTC-5, Anthony wrote:
>
> On Sunday, December 6, 2015 at 7:15:04 PM UTC-5, Jason Solack wrote:
>>
>> Sorry i'm not clear! I'm trying to break up a reporting site and my
>> initial idea was to use several LOAD compon
i feel this asciii / unicode pain quite often as i deal with data from all
sorts of sources and much of it is text inputs from various users... i
would love to see web2py move towards python3
On Sunday, December 6, 2015 at 8:09:41 PM UTC-5, Alex wrote:
>
> I'm still missing a clear strategy from
I've done this several ways... the actual HTML generation could be via
web2py's helpers or just writting the HTML. For the tabs i've used
bootstrap or jquery ui to help out creating tabs... using a library helps
the process of making tabs pretty trivial...
here's jquery ui's information
http://
Thank you for your help
Jason
On Sunday, December 6, 2015 at 3:45:50 PM UTC-5, Massimo Di Pierro wrote:
>
> Not sure what you are trying to do. could you explain again? Why do you
> have LOAD inside a form?
>
> On Friday, 4 December 2015 18:00:09 UTC-6, Jason Solack wrote:
>
Hello all, i have this view:
Test me
{{=LOAD('chart','test.load',ajax=True, target='test_div', )}}
Test this out
$('#try').click(function(){
jQuery('#test_div').get(0).reload()
});
and i'm trying to submit that for when reloading my "test.l
So i realized i could have the scheduler run once a day and have my code
verify it's the day i need the actual code to run.
On Saturday, November 21, 2015 at 8:47:34 PM UTC-5, Jason Solack wrote:
>
> Hello, i'm aware of being able to set the period in seconds we'd like a
&
Hello, i'm aware of being able to set the period in seconds we'd like a
task executed in the scheduler... but i'm wondering if there's a way to
have the scheduler fire a task on the 1st of each month or if cron is
required for that behavior.
Thank you for your input
Jason
--
Resources:
- ht
t;
>> On Thursday, November 19, 2015 at 4:25:07 PM UTC-8, Jason Solack wrote:
>>>
>>> Hello,
>>>
>>> I'm wondering if anyone is aware of a guide on creating a secure REST
>>> service with web2py. I'd like to get help with creating auth
Hello,
I'm wondering if anyone is aware of a guide on creating a secure REST
service with web2py. I'd like to get help with creating authentication
tokens and handshaking and then creating a temporary key allowing people to
access the service for a set period of time.
Thank you for you help a
Hello everyone,
I have a few tables structured like this:
db.define_table('question_table',
Field('qid'),
Field('display_text'),
)
db.define_table('answer_table',
Field('qid'),
Field('value'),
Field('
just wanted to call attention to a training on pluralsight on web2py. I
know a few people that have taken it and it gives a good introduction to
the framework. I've been using web2py for about a year now and it's
exciting to see training on a mainstream sight like this.
Jason
--
Resources:
Hello all,
I have been trying to enable file uploading using the examples in the
documentation and then using the follow approach:
https://groups.google.com/forum/?fromgroups#!searchin/web2py/file$20upload/web2py/10FXxJrVR5k/6ySXshodipMJ
but each time i do it i get "not authorized" response.fl
Hello all, I'm trying to upload files in my web app using the code from the
manual and using the technique described here:
https://groups.google.com/forum/#!searchin/web2py/upload$20file/web2py/10FXxJrVR5k/6ySXshodipMJ
when i try to upload a file i'm getting a flash response of "not
authorized"
Hello, i'm deploying some sites to apache and i'm wondering if there's
built in support for a "requirements" file to ensure my project is using
the correct versions of packages. I had a recent sitiuation where updating
pandas created a bit of headache and i'd like to avoid that in the future
b
Hello, i have a PDF file i have generated and i'd like to have users
download when clicking an 'export' button on the page.
i have tried this:
import pdfkit
pdf = pdfkit.from_string("test", False)
return response.stream(pdf, attachment=True, filename="whatever.pdf")
and it doesn't
Hello everyone, i'm generating a PDF using pdfkit and i'd like my function
to force the download of the pdf file i'm making.
Here's some simple code demonstrating the PDF being made in memory:
def make_pdf():
import pdfkit
pdf = pdfkit.from_string("test", False)
return pdf
Ideally
I don't know that i'm having that same issue, i'm not actually using a
database behind this app. i'm basically just sending some data to a python
function and re-calling this function over and over to visualize the
computing. I'm guessing that the issue is based on the fact that the
production
Hello all!
I'm making some jquery ajax calls in web2py and when running locally / on a
single server it works great. When i move it to my production server which
lives on a farm the first ajax call works but subsequent calls do not.
Does anyone have any ideas on why this may be the case? i fo
ult/thebackend.json', function(data)
> {console.log(data)})
>
>
>
> On Thursday, September 4, 2014 3:52:01 PM UTC+2, Jason Solack wrote:
>>
>>
>> Hello everyone, I'm hoping someone might be able to provide an example of
>> how to use the web2py ajax API to tr
Hello everyone, I'm hoping someone might be able to provide an example of
how to use the web2py ajax API to transfer json data from the server to the
client side javascript.
Any help would be appreciated!
Thank you
Jason
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documen
Hello everyone!
I would like to create a new skeleton application to replace what is
generated from the new application wizard. is there a way to do this?
Thank you
jason
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code
Hello everyone!
I'm wondering if there is a "like" equivalent in the web2py DAL.
I would like to do something like this:
db().select(db.person.name like 'JA')
thank you in advance for your help.
Jason
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://githu
67 matches
Mail list logo