Re: [web2py] We have released Censusgical,Census data visualization prototype for Myanmar.

2015-06-25 Thread Phyo Arkar
Thank you guys , updated with smoother visualizations. On Tue, Jun 23, 2015 at 6:56 PM, Johann Spies wrote: > Impressive! > > On 23 June 2015 at 13:49, Michele Comitini > wrote: > >> +1 >> >> 2015-06-23 13:48 GMT+02:00 Phyo Arkar : >> >>> We hav

Re: [web2py] We have released Censusgical,Census data visualization prototype for Myanmar.

2015-06-23 Thread Phyo Arkar
gt; respository? > > > Kiran Subbaramanhttp://subbaraman.wordpress.com/about/ > > On Tue, 23-06-2015 3:44 PM, Phyo Arkar wrote: > > Myanmar have released Census data in 30 years ,and we built a > visualization for it . > Powered by web2py, qooxdoo , d3js and uwsgi! > &

[web2py] We have released Censusgical,Census data visualization prototype for Myanmar.

2015-06-23 Thread Phyo Arkar
Myanmar have released Census data in 30 years ,and we built a visualization for it . Powered by web2py, qooxdoo , d3js and uwsgi! http://www.censusgical.com:8800/Censusgical -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code)

Re: [web2py] Developer network

2015-04-05 Thread Phyo Arkar
Github? On Mon, Apr 6, 2015 at 11:10 AM, 'sasogeek' via web2py-users wrote: > Hello, > I'm wondering if there's a social media platform for app developers? > I want to build one as an open source project using web2py... any thoughts, > ideas, something to look on to start with? > > -- > Resources

Re: [web2py] Re: Django models into web2py

2015-03-28 Thread Phyo Arkar
Web2py DAL is actually a lot more powerful. i use web2py DAL anywhere even if it is not for web or non web2py project. On Sun, Mar 29, 2015 at 1:47 AM, Ron Chatterjee wrote: > That will be great. Then we can also do django development using web2py > interface. you rock massimo! > > > > > On Satu

Re: [web2py] Re: Django models into web2py

2015-03-28 Thread Phyo Arkar
Thanks a lot massimo , i will try with latest nightly then. On Sat, Mar 28, 2015 at 10:53 PM, Massimo Di Pierro < massimo.dipie...@gmail.com> wrote: > This is a backward compatibility problem in the latest web2py. Should be > fixed in the nightly build (for testers) > > > On Friday, 27 March 2015

Re: [web2py] Django models into web2py

2015-03-27 Thread Phyo Arkar
attached is the fixed django.py . On Sat, Mar 28, 2015 at 8:08 AM, Phyo Arkar wrote: > The example is very old and too many changes neede. > Even after the deprecated fixes , DjangoModelFactory not working anymore > > it have this error: > > Traceback (most recent call last

Re: [web2py] Django models into web2py

2015-03-27 Thread Phyo Arkar
The example is very old and too many changes neede. Even after the deprecated fixes , DjangoModelFactory not working anymore it have this error: Traceback (most recent call last): File "/home/v3ss/workspace/web2py/gluon/restricted.py", line 224, in restricted exec ccode in environment Fil

Re: [web2py] Re: pyquery, pyjs and web2py

2015-03-27 Thread Phyo Arkar
you can just put them as string in variable and in view call it back. On Sat, Mar 28, 2015 at 2:49 AM, Phyo Arkar wrote: > You will interest in PythonJS , implementation of python in JS which > is alot faster than python . > > https://github.com/PythonJS/PythonJS > > It suppo

Re: [web2py] Re: pyquery, pyjs and web2py

2015-03-27 Thread Phyo Arkar
You will interest in PythonJS , implementation of python in JS which is alot faster than python . https://github.com/PythonJS/PythonJS It support a lot of python features and compile spython to JS. On Thu, Mar 26, 2015 at 6:08 AM, Ron Chatterjee wrote: > I wasn't looking for a way to create pyt

Re: [web2py] Re: last minute web2py hackaton

2015-03-23 Thread Phyo Arkar
AH i just noticed now , i haven't contribute to web2py for so long . On Tue, Mar 24, 2015 at 1:01 AM, Richard Vézina wrote: > I don't mind... Fixing PEP8 is not a big deal!! > > :) > > Richard > > On Mon, Mar 23, 2015 at 1:40 PM, Massimo Di Pierro > wrote: >> >> This did not get as many response

Re: [web2py] Re: IMPORTANT - DROPPING SUPPORT FOR PYTHON 2.5?

2015-03-09 Thread Phyo Arkar
Me and my team is fine since we are always on the edge :) . But i would like to see input from old wizards that uses Old RedHat for servers and Debian 4.x . On Sun, Mar 8, 2015 at 10:04 AM, Ron Chatterjee wrote: > I use 2.7.6 from canopy. I will b okay.I think... > > -- > Resources: > - http:

[web2py] Not in touch with web2py community for a while. anything new interesting?

2014-12-02 Thread Phyo Arkar
Being busy and i lost touch with w2p community for a while. What are the new features of web2py? What are the most actively maintainted web2py community projects ? (Plug-ins?, CMS ? , Blogs?) We are planning to build a community platform , with some blog features and comment system. So , is the

Re: [web2py] Re: Rocket use

2014-10-28 Thread Phyo Arkar
> Thanks for the advice about uWSGI. > > Le Fri Oct 24 2014 at 23:07:44, Phyo Arkar a > écrit : >> >> Web2py is by default run on rocket. >> But even small set of users , i recommend uWSGI , it greatly improve >> perfornace and when doing big upload/download , it S

Re: [web2py] Kendo UI

2014-10-27 Thread Phyo Arkar
8:30:38 AM UTC-5, Massimo Di Pierro wrote: >>> >>> I agree with Phyo. It is not the template syntax that is weird, it is the >>> logic of defining controllers and scope clientside. I like ractive.js >>> instead. >>> >>> On Monday, 27 October 2014 0

Re: [web2py] Kendo UI

2014-10-26 Thread Phyo Arkar
I really dislike angular's syntax. Its unnecessarily weird. On Monday, October 27, 2014, Vasile Ermicioi wrote: > I would build the interface with angular+kendoui and use web2py for REST > API > > On Sun, Oct 26, 2014 at 1:26 AM, Phyo Arkar > wrote: > >> For

Re: [web2py] Re: Kendo UI

2014-10-25 Thread Phyo Arkar
Forgot the actual site : http://qooxdoo.org http://demo.qooxdoo.org/current/widgetbrowser/ http://demo.qooxdoo.org/devel/demobrowser/# On Sun, Oct 26, 2014 at 4:52 AM, Phyo Arkar wrote: > Also check out Qooxdoo. If you are going to build Desktop Style UI , > Qooxdoo is perfect (And code i

Re: [web2py] Re: Kendo UI

2014-10-25 Thread Phyo Arkar
Also check out Qooxdoo. If you are going to build Desktop Style UI , Qooxdoo is perfect (And code is much cleaner because there is no need for Jquery or Selectors). Web2py Demo : http://herspos.appspot.com/HersPOS https://code.google.com/p/herspos/ On Sat, Oct 25, 2014 at 10:07 PM, Anthony wrote

Re: [web2py] Re: Rocket use

2014-10-24 Thread Phyo Arkar
Web2py is by default run on rocket. But even small set of users , i recommend uWSGI , it greatly improve perfornace and when doing big upload/download , it Shines! , ajax responses much faster . Plus very easy to install and setup uWSGI. On Sat, Oct 25, 2014 at 3:33 AM, Bilal El wrote: > Hi Rod,

Re: [web2py] Re: Planning to use Web2py CAS as Authnication service for Tornado

2014-09-05 Thread Phyo Arkar
his: > > > https://github.com/web2py/web2py/blob/master/gluon/contrib/websocket_messaging.py > > > On Thursday, 14 August 2014 09:18:41 UTC-5, Phyo Arkar wrote: >> >> In our new application , it will be interactive Chat + Social >> Media/News/Forum discussion. >>

[web2py] Planning to use Web2py CAS as Authnication service for Tornado

2014-08-14 Thread Phyo Arkar
In our new application , it will be interactive Chat + Social Media/News/Forum discussion. For most interactive part it will be done in Tornado , but for Non Interactive parts (Registration , Auth) I am going to use Web2py. Database will be Mongodb. We've used web2py extensively for past 5 years.

Re: [web2py] Brainstorming

2014-06-20 Thread Phyo Arkar
On Sat, Jun 21, 2014 at 3:31 AM, Michele Comitini < michele.comit...@gmail.com> wrote: > My POV is that web2py should have a rather agnostic attitude toward a wide > range of frameworks, by having some kind of layer that would allow to keep > server side code mostly untouched when changing js fram

Re: [web2py] Brainstorming

2014-06-20 Thread Phyo Arkar
For UI i recommend Qooxdoo. Qooxdoo make us no need to write HTML and CSS , for 3 years already . We even forget what HTML and CSS looks like its javascript is so clean and truly object oriented . UI Widgets are professionally designed , we don't even need a graphic designer in our team. Integrat

Re: [web2py] Re: web2py 2.4.2 is OUT

2013-03-06 Thread Phyo Arkar
D3.js is far better than pydot , pygraphviz . On Wed, Mar 6, 2013 at 5:05 PM, António Ramos wrote: > Why dont you use a javascript library for the graph? > This way you dont have problems with with windows/linux > > > > 2013/3/6 Alec Taylor > >> For Windows PyDot is the native Python solution;

[web2py] Re: Problem with uploading large file web2py version 2.3.2

2013-03-04 Thread Phyo Arkar
How much Ram it takes. Wont take alot more than 400mb i believe. On Monday, March 4, 2013 2:40:12 PM UTC+6:30, Mạnh Trần Đức wrote: > > Dear everyone, > I uploaded file about <100mb successfully but it got > "Exceptions.MemoryError" when I uploaded a file ~400mb. > I tried upload to ftp with pyf

Re: [web2py] web2py 2.4.2 is OUT

2013-03-04 Thread Phyo Arkar
Never update to new version , ever , before you are about to show something to your client, or Boss. I had learnt several lessons , in hard ways.. Make sure everything is safe before you do. On Monday, March 4, 2013 10:43:00 AM UTC+6:30, Alfonso de la Guarda Reyes wrote: > > Hi! > > Great jo

Re: [web2py] Re: login by ajax

2013-03-02 Thread Phyo Arkar
If you worry about your credentials visibility over the wire , SSL. If you worry about your credentials visibility on the screen , None actually. On Sat, Mar 2, 2013 at 5:54 AM, Alan Etkin wrote: > +1 for auth,ajax_login() > > > I'm also interested in a bare ajax login feature, but, what about t

Re: [web2py] Re: RESTful vs JSONRPC

2013-03-02 Thread Phyo Arkar
Thank you very much for very detailed explanation niphlod. Amazing. For me , JSONRPC is more useful in current projects (which do not need CURD , just Update and Read is mostly done ). For my case it is mostly Machine learning , parsing files , indexing , producing Network diagrams , etc. so that

[web2py] RESTful vs JSONRPC

2013-03-02 Thread Phyo Arkar
>From what it seems, RESTFUL seems a bit more complex vs JSONRPC. What are the advantages for using REST, when using full AJAX Framework like qooxdoo? -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop

Re: [web2py] Re: Web2py 2.3.2 broke JSONRPC

2013-03-02 Thread Phyo Arkar
Things changes quite fast lol :D On Sat, Mar 2, 2013 at 3:48 AM, Michele Comitini wrote: > http://www.jsonrpc.org/specification > > not draft anymore... > > mic > > 2013/3/1 Phyo Arkar : > > I c , JSONRPC2 is still in draft right? > > we are not using JSO

Re: [web2py] Re: Web2py 2.3.2 broke JSONRPC

2013-03-01 Thread Phyo Arkar
t; 1 vs 2 support (i.e. jsonrpc and > jsonrpc2 decorators) > > > On Friday, March 1, 2013 8:00:30 PM UTC+1, Phyo Arkar wrote: > >> Any reason there for ** ? >> >> On Sat, Mar 2, 2013 at 12:40 AM, Phyo Arkar wrote: >> >>> The bug is at: >>>

[web2py] Re: Web2py 2.3.2 broke JSONRPC

2013-03-01 Thread Phyo Arkar
Any reason there for ** ? On Sat, Mar 2, 2013 at 12:40 AM, Phyo Arkar wrote: > The bug is at: > > gluon/tools.py > > s = methods[method](**params) > > it should be > s = methods[method](*params) > > > On Sat, Mar 2, 2013 at 12:16 AM

[web2py] Re: Web2py 2.3.2 broke JSONRPC

2013-03-01 Thread Phyo Arkar
One char fix so i wont be adding a patch. :) On Sat, Mar 2, 2013 at 12:40 AM, Phyo Arkar wrote: > The bug is at: > > gluon/tools.py > > s = methods[method](**params) > > it should be > s = methods[method](*params) > > > On Sat, Mar 2, 2

[web2py] Re: Web2py 2.3.2 broke JSONRPC

2013-03-01 Thread Phyo Arkar
The bug is at: gluon/tools.py s = methods[method](**params) it should be s = methods[method](*params) On Sat, Mar 2, 2013 at 12:16 AM, Phyo Arkar wrote: > We got a problem when we upgrade to 2.3.2 in JSONRPC called via qooxdoo. > > "TypeError: testlo

[web2py] Web2py 2.3.2 broke JSONRPC

2013-03-01 Thread Phyo Arkar
We got a problem when we upgrade to 2.3.2 in JSONRPC called via qooxdoo. "TypeError: testlogin() argument after ** must be a mapping, not list", "JSONRPCError" Which worked fine in 2.2.1 Below is code for controller : @service.jsonrpc def testlogin(username, password): status = 0 au

Re: [web2py] Re: web2py is moving

2013-03-01 Thread Phyo Arkar
I agree , thats why i run web2py on our own data center :) On Fri, Mar 1, 2013 at 9:23 PM, Niphlod wrote: > guys, let's try to avoid YAPHD (Yet Another Python Hosting Debate) > there are tons of deployment solution out there and every one has pros and > cons > > -- > > --- > You received

Re: [web2py] Re: web2py is moving

2013-03-01 Thread Phyo Arkar
EC2 is really expensive.. On Fri, Mar 1, 2013 at 6:49 PM, samuel bonilla wrote: > pythonanywhere.com is great, but I put my trust in amazon ec2 > > > El jueves, 28 de febrero de 2013 18:40:22 UTC-5, Massimo Di Pierro > escribió: > >> web2py.com is moving to pythonanywhere.com. There may be disru

Re: [web2py] Re: How is MongoDB for web2py DAL?

2013-02-19 Thread Phyo Arkar
ss-with-mongodbadapter > > > > El lunes, 4 de febrero de 2013 09:39:00 UTC-5, Phyo Arkar escribió: >> >> Hello Web2py. >> >> I haven't update Web2py for long but we are now trying something with >> Mongodb using DAL. >> >> What should i expect.

[web2py] Re: How is MongoDB for web2py DAL?

2013-02-04 Thread Phyo Arkar
f. > > On Monday, 4 February 2013 08:39:00 UTC-6, Phyo Arkar wrote: >> >> Hello Web2py. >> >> I haven't update Web2py for long but we are now trying something with >> Mongodb using DAL. >> >> What should i expect. >> >> 1- How many

[web2py] How is MongoDB for web2py DAL?

2013-02-04 Thread Phyo Arkar
Hello Web2py. I haven't update Web2py for long but we are now trying something with Mongodb using DAL. What should i expect. 1- How many percent of current web2py queries needed to be re-written. 2- What are supported by Web2py DAL for MongoDB , what are Not (compare to SQL RDBMS) 3- Any pitfall

Re: [web2py] Re: how i can write a web2py code nto javascript

2012-11-12 Thread Phyo Arkar
Or does it? OP are you really trying to call web2py code inside Javascript file (not /view/default/something.html , instead /static/something.js) ? On Tue, Nov 13, 2012 at 12:34 AM, Phyo Arkar wrote: > something i want to do in Web2py is to support web2py template codes > inside JS

Re: [web2py] Re: how i can write a web2py code nto javascript

2012-11-12 Thread Phyo Arkar
something i want to do in Web2py is to support web2py template codes inside JS files :) ! Coz my whole View logic now is javascript Thanks to qooxdoo! But OP doesn't seem to have that problem. On Sat, Nov 10, 2012 at 2:03 AM, Derek wrote: > No, he's trying to use a web2py function within the j

[web2py] Re: [uWSGI] uwsgi + web2py + Custom Python Build

2012-11-12 Thread Phyo Arkar
this is basically what > activate/deactivate scripts depend on > > check also sys.prefix/sys.real_prefix and what they point to > > W dniu 08.11.2012 14:59, Phyo Arkar pisze: > > This is more uwsgi problem so here: > > I am doing a self contained , relocatable , standalo

[web2py] Re: uwsgi + web2py + Custom Python Build

2012-11-08 Thread Phyo Arkar
uwsgi right? On Friday, November 9, 2012, Phyo Arkar wrote: > I tried to set pythonhome to exact python home of my built python , but > still it don't work.. > > here is my wrapper script : > > > #!/bin/bash > SOURCE="${BASH_SOURCE[0]}" > DIR="$( dir

[web2py] Re: uwsgi + web2py + Custom Python Build

2012-11-08 Thread Phyo Arkar
7 #echo $PYTHONHOME #export PYTHONHOME $DIR/runtime/bin/uwsgi -H $DIR/runtime/lib/python2.7 --http :8000 --chdir ./web2py/ --python-path ./web2py/ --module uwsgihandler \ -p 6 --post-buffering 65535 \ --close-on-exec --socket-timeout 6000 \ --route "^/EDCentric basicauth:ED-Centric Login,admin:t

[web2py] uwsgi + web2py + Custom Python Build

2012-11-08 Thread Phyo Arkar
This is more uwsgi problem so here: I am doing a self contained , relocatable , standalone python build with uwsgi, web2py , scipy (Numpy,matplotlib) Everything works fine in relocatable enviorment but Uwsgi is having this error : uwsgi socket 0 bound to UNIX address /home/uwsgi/uwsgi/uwsgi.sock

Re: [web2py] allowing admin on UWSGI deployment , HTTP Mode

2012-10-05 Thread Phyo Arkar
HTTPS is already used (port 443) for VPN Tunneling. On Fri, Oct 5, 2012 at 10:39 PM, Phyo Arkar wrote: > I want to do it in HTTP because we do not need HTTPS there. > > On Fri, Oct 5, 2012 at 8:53 PM, Roberto De Ioris wrote: > >> >> Il giorno 05/ott/2012, al

Re: [web2py] allowing admin on UWSGI deployment , HTTP Mode

2012-10-05 Thread Phyo Arkar
I want to do it in HTTP because we do not need HTTPS there. On Fri, Oct 5, 2012 at 8:53 PM, Roberto De Ioris wrote: > > Il giorno 05/ott/2012, alle ore 16:19, Phyo Arkar < > phyo.arkarl...@gmail.com> ha scritto: > > > Hello web2py > > > > i need to allow

[web2py] allowing admin on UWSGI deployment , HTTP Mode

2012-10-05 Thread Phyo Arkar
Hello web2py i need to allow admin on web2py development machine , which we testing with uwsgi enabled. It is needed to test over the internet coz our client is from different country. We tried enabling by disabling following code inside if request.env.http_x_forwarded_for or request.is_https:

Re: [web2py] Re: How do larger teams develop with Web2py?

2012-08-10 Thread Phyo Arkar
Thank you for your words! This is what i believe and my team rolls too. (A bit of agile and that combined). We have 3 programmers and 1 UI designer and Architect (me) . On Thu, Aug 9, 2012 at 8:18 PM, Massimo Di Pierro < massimo.dipie...@gmail.com> wrote: > Listen everybody. This thread is hila

Re: [web2py] web2py 2.0 almost done

2012-08-10 Thread Phyo Arkar
i haven't test that , i will test and report. I have been using uwsgi + web2py , and large uploads / downloads all goes fine. I haven't use Rocket for so long. On Thu, Aug 9, 2012 at 7:54 PM, Massimo Di Pierro < massimo.dipie...@gmail.com> wrote: > The corruption, as we could determine has to do

Re: [web2py] Re: Problem running Web2py DAL (Trunk) as Standalone

2012-07-25 Thread Phyo Arkar
I c, Let me check again. Thanks! On Thu, Jul 19, 2012 at 9:17 AM, Massimo Di Pierro < massimo.dipie...@gmail.com> wrote: > Can you check if trunk now works? > > > > On Wednesday, 18 July 2012 10:55:51 UTC-5, Phyo Arkar wrote: >> >> Hello Massimo and all; >&

[web2py] Re: Problem running Web2py DAL (Trunk) as Standalone

2012-07-18 Thread Phyo Arkar
import here, because # fileutils also imports settings global_settings.web2py_version = parse_version(raw_version_string) Works with standalone DAL. Are those necessary? On Wednesday, July 18, 2012, Phyo Arkar wrote: > I canot comprehand why it is searching for a VERSION File inside module >

[web2py] Re: Problem running Web2py DAL (Trunk) as Standalone

2012-07-18 Thread Phyo Arkar
I canot comprehand why it is searching for a VERSION File inside module folder.. Might be a bug.. On Wednesday, July 18, 2012, Phyo Arkar wrote: > Hello Massimo and all; > > I had to update to trunk version of web2py because we having issue of > web2py DAL not closing down connecti

[web2py] Problem running Web2py DAL (Trunk) as Standalone

2012-07-18 Thread Phyo Arkar
Hello Massimo and all; I had to update to trunk version of web2py because we having issue of web2py DAL not closing down connection , casuing connections to queue up and then mysql no longer accept connection (Limit reached). But when we run it we get this error: It is just a simple script to te

Re: [web2py] Standalone DAL leaves mysql connections opened

2012-07-18 Thread Phyo Arkar
Is nightly build same with mercurial/git? i tried and db.close() do not exist there. On Wednesday, July 18, 2012, Phyo Arkar wrote: > any resolutions on this? > > On Wednesday, July 18, 2012, Phyo Arkar wrote: > > > I am also having same problem , web2py DAL do not close conn

Re: [web2py] Standalone DAL leaves mysql connections opened

2012-07-18 Thread Phyo Arkar
any resolutions on this? On Wednesday, July 18, 2012, Phyo Arkar wrote: > > I am also having same problem , web2py DAL do not close connection and > fails after too many connection on mysql opened. > > I do not have any problem before versions 1.99.1 or 1.99.2 . is that new &

[web2py] Re: Standalone DAL leaves mysql connections opened

2012-07-18 Thread Phyo Arkar
I am also having same problem , web2py DAL do not close connection and fails after too many connection on mysql opened. I do not have any problem before versions 1.99.1 or 1.99.2 . is that new bug introduced after 1.99.4 ? coz we are happening at 1.99.4 and up. On Friday, June 22, 2012 10:53:

Re: [web2py] Re: new web2py cheatsheet

2012-04-10 Thread Phyo Arkar
OH thx a lot!! On Tue, Apr 10, 2012 at 10:07 AM, Sanjeet Roy wrote: > Thanks Massimo > > > On Tuesday, April 10, 2012 8:57:32 AM UTC+5:30, Massimo Di Pierro wrote: >> >> Let's debug it first. >> >> On Monday, 9 April 2012 21:34:57 UTC-5, JorgeH wrote: >>> >>> This should be pinned :) >>> >>> On M

Re: [web2py] 2.6, 2.7, 3.2, PyPy ... wich one to use?

2012-03-29 Thread Phyo Arkar
BTW , anyone knows if pypy works with web2py? I cant get it working. On Thu, Mar 29, 2012 at 7:12 PM, Xiaofeng Tang wrote: > 2012/3/29 20:39:38 Xiaofeng Tang : > > Sergi Pons Freixes Wrote: > > 2012/3/29 Jonathan Lundell : > >> Latest 2.7. > > I thought 2.5 was the recommended option for web2py.

Re: [web2py] Re: [ANNOUNCE] uWSGI 1.1

2012-03-20 Thread Phyo Arkar
Very good . many new features! I am liking uwsgi so far! i am going to try it out. On Sun, Mar 18, 2012 at 12:22 PM, Roberto De Ioris wrote: > > > hi, > > great news, thanks > > > > is it possible now to use uwsgi with pypy? > > how stable is that? > > any steps to do that if it is possible?

[web2py] Re: unicode problem in DAL

2012-03-09 Thread Phyo Arkar
it? I'm uploading text into a db by 2 methods: > first method is reading a text field, 2nd method is uploading a text > file. I need a reliable way of making sure all text is in same utf8 > format. Do you know how to do this? > > > On Jun 1 2011, 5:01 pm, Phyo Arkar wrote: >

Re: [web2py] Web2py + uWSGI and timeouts!!

2012-03-09 Thread Phyo Arkar
*Only uWSGI HTTP server is used and no other HTTP Servers . On Fri, Mar 9, 2012 at 2:38 PM, Phyo Arkar wrote: > Only uWSGI is used and no HTTP. >

Re: [web2py] Web2py + uWSGI and timeouts!!

2012-03-09 Thread Phyo Arkar
Only uWSGI is used and no HTTP. I have posted my setup details on other thread. On Fri, Mar 9, 2012 at 4:12 AM, Roberto De Ioris wrote: > > > When i check i got this error : > > > > 1. > > 2. > > 3. > > 4. > > 5. > > 6. > > > > 7. > > 8. > > 9. > > 10. > > 11. > > > > Traceback (most recent cal

[web2py] Re: Error on File Upload

2012-03-08 Thread Phyo Arkar
.1 () {48 vars in 996 bytes} [Fri Mar 9 03:28:40 2012] POST /FastTract/filemanager/upload => generated 0 bytes in 256338 msecs (HTTP/1.1 200) 6 headers in 0 bytes (1 switches on core 0) timeout !!! On Fri, Mar 9, 2012 at 3:15 AM, Phyo Arkar wrote: > Here with uWSGI setup i am getting th

[web2py] Error on File Upload

2012-03-08 Thread Phyo Arkar
Here with uWSGI setup i am getting this error: File "/home/v3ss/WorkSpace/FastTract/web2py/gluon/fileutils.py", line 376, in copystream data = src.read(chunk_size) IOError: error waiting for wsgi.input data It happens when file size > 300 MB. I am running using uwsgi. #!/bin/bash ./uwsg

Re: [web2py] Web2py + uWSGI and timeouts!!

2012-03-08 Thread Phyo Arkar
ss/WorkSpace/FastTract/web2py/gluon/fileutils.py", line 376, in copystream data = src.read(chunk_size) IOError: error waiting for wsgi.input data On Fri, Mar 9, 2012 at 2:57 AM, Phyo Arkar wrote: > Another problem with uWSGI > > i am wirting a custom uploader (multipart for

Re: [web2py] Web2py + uWSGI and timeouts!!

2012-03-08 Thread Phyo Arkar
Another problem with uWSGI i am wirting a custom uploader (multipart form/data) But after it finished writing data to file , i can no longer upload another , uwsgi gives no response. What can be the cause? On Thu, Mar 8, 2012 at 10:05 PM, Phyo Arkar wrote: > Oh thanks a lot! > > I

Re: [web2py] Web2py + uWSGI and timeouts!!

2012-03-08 Thread Phyo Arkar
Oh thanks a lot! I will add --close-on-exec then. i also trying --cpu-affinity On Thu, Mar 8, 2012 at 9:31 PM, Roberto De Ioris wrote: > > > Hello > > > > I am testing web2py with uWSGI and some request have random timeout > (after > > IO Heavy operation is started , but it is spawned using >

Re: [web2py] Re: The Winners! Web2py Application Exhibition Version 3.0

2012-03-08 Thread Phyo Arkar
Thank you very much Mr NetAdmin! Can you donate 20$ from my Prize money to web2py project please! Thanks ! On Thu, Mar 8, 2012 at 2:19 AM, Massimo Di Pierro < massimo.dipie...@gmail.com> wrote: > Congratulations. Excellent work! And Thanks to Mr. Admin for organizing >> the competition. > >

[web2py] Web2py + uWSGI and timeouts!!

2012-03-08 Thread Phyo Arkar
Hello I am testing web2py with uWSGI and some request have random timeout (after IO Heavy operation is started , but it is spawned using subprocess.Popen()) And then progress is selected from DB Every 5 Seconds (Progress Percent Insert,Commit to db is only done at each 5% intervals) At the IO Heav

Re: [web2py] Re: Help with Cherokee, uwsgi in application with many uploads

2012-03-08 Thread Phyo Arkar
You set timeout to 120 secs : 120 120 is that what you expected ? On 3/8/12, Jose wrote: > Also tried it with Nginx and uwsgi, with the same result > > Jose >

Re: [web2py] Winners! Web2py Application Exhibition Version 3.0

2012-03-07 Thread Phyo Arkar
Thank you very much for this Mr NetAdmin! This encouraging a lot for me to continue working on HersPOS and contributing towards Opensource and Web2py! How much is the reward? I would like to donate some of it to Massimo and web2py! I am not sure my paypal still works (account froze last time) i

Re: [web2py] uWSGI Question

2012-03-06 Thread Phyo Arkar
got it . i better use --http :port On Tue, Mar 6, 2012 at 4:59 PM, Roberto De Ioris wrote: > > > Thank you very much! i am going to give uWSGI standalone mode a try! > > > Forgot an important point: > > > --http :port > will spawn the http router/filter/proxy > > --http-socket :port > will let

Re: [web2py] uWSGI Question

2012-03-06 Thread Phyo Arkar
Thank you very much! i am going to give uWSGI standalone mode a try! On Tue, Mar 6, 2012 at 4:47 PM, Roberto De Ioris wrote: > > > I would like to know about uWSGI . i haven't tried it yet. > > > > 1 - Is that a gateway to interface between other web servers ? > > (Apache/Cherokee/nginx etc)

[web2py] uWSGI Question

2012-03-06 Thread Phyo Arkar
I would like to know about uWSGI . i haven't tried it yet. 1 - Is that a gateway to interface between other web servers ? (Apache/Cherokee/nginx etc) 2 - It seems that can be use as a webserver alone but how it works. Is that reliable /Fast? 3 - It was mentioned that The download/upload corruptio

Re: [web2py] Using Spawn in Web2Py with Web2Py Python Implementation

2012-03-06 Thread Phyo Arkar
what do you mean by web2py's python interpreter? web2py do not have its own intepreter. it runs on Python interpreter. You will like to look for web2py's built-in cron documentation. And do not use old/depreciated os.spawn if its possible to upgrade your python to 2.7 , use subprocess.Popen On

Re: [web2py] Re: web2py 1.99.7 is OUT

2012-03-06 Thread Phyo Arkar
i would prefer to have DEV and Stable(production) branches (or labels) . Due to 2-3 times of broken updates , i am reluctant to update my web2py to latest version , until people reports less problems with that particular update version. I am seeing many Opensource software , both big and small ha

Re: [web2py] Re: web2py 1.99.5 is OUT

2012-03-05 Thread Phyo Arkar
corrupted download / upload problems. On Mon, Mar 5, 2012 at 9:55 PM, Phyo Arkar wrote: > never yet , does that resolve most of the issues? > > On Mon, Mar 5, 2012 at 9:51 PM, Vasile Ermicioi wrote: > >> have you tried uwsgi? > > >

Re: [web2py] Re: web2py 1.99.5 is OUT

2012-03-05 Thread Phyo Arkar
never yet , does that resolve most of the issues? On Mon, Mar 5, 2012 at 9:51 PM, Vasile Ermicioi wrote: > have you tried uwsgi?

Re: [web2py] Re: web2py 1.99.5 is OUT

2012-03-05 Thread Phyo Arkar
separate web2py server just for uploading (and downloading) behind Cherokee . Or any other stable soultions? On Mon, Mar 5, 2012 at 7:05 PM, Phyo Arkar wrote: > Do you experience the problem? > > > Yes it happens even on large JSON output (rows of table as json . about 20 >

Re: [web2py] Re: web2py 1.99.5 is OUT

2012-03-05 Thread Phyo Arkar
> > Do you experience the problem? Yes it happens even on large JSON output (rows of table as json . about 20 MB) also , it courrpts in between (not server timeout but json at recving get corrupted) On Mon, Mar 5, 2012 at 6:48 PM, Massimo Di Pierro < massimo.dipie...@gmail.com> wrote: > Do you

Re: [web2py] Re: web2py 1.99.5 is OUT

2012-03-05 Thread Phyo Arkar
Regarding download corruption and timeout on slow lines , if i host on non-rocket http server does it fixed? (cherokee . etc). also how about handling uploads/download seprately using another web server? On Sat, Mar 3, 2012 at 12:31 PM, Massimo Di Pierro < massimo.dipie...@gmail.com> wrote: > be

[web2py] web2py TImeout

2012-03-05 Thread Phyo Arkar
What is default timeout for JSONRPC requests in web2py? I set timeout to 60 seconds at qooxdoo's rpc.setTimeout() which is 10 mins but it always time out at 1.1 mins (while receiving Data) . JSON Data goes over slow line (256kbps) But it is over 10mb of rows . Thanks.

Re: [web2py] Re: web2py[:]

2012-03-04 Thread Phyo Arkar
Very nice Bruno! only problem is topic icons are Humongous! On Sun, Mar 4, 2012 at 11:26 PM, lyn2py wrote: > Super! Very nice work Bruno :D > > On Mar 4, 11:51 am, Bruno Rocha wrote: > > On Sun, Mar 4, 2012 at 12:37 AM, Massimo Di Pierro < > > > > massimo.dipie...@gmail.com> wrote: > > > Thank

Re: [web2py] Re: Support for PyPy

2012-02-28 Thread Phyo Arkar
it don't really improve performance for real world usage. Thoughts , Comments? On 2/29/12, Massimo Di Pierro wrote: > I have fixed all pypy bugs that have been reported but I did not run > it myself. Please report any problems if any. > > On Feb 11, 3:51 am, Phyo Arkar wrote:

Re: [web2py] Get the IP of the System

2012-02-28 Thread Phyo Arkar
It wont work , when you have a NATted enviorment or office with a proxy setup. On 2/29/12, Niphlod wrote: > using google I found also this one > > nice to play with > > print > urllib2.urlopen('http://ifconfig.me/ip').read( > ) > print > urllib2.urlopen('ht

Re: [web2py] Re: web2py 1.99.5 (please read)

2012-02-28 Thread Phyo Arkar
Is the corruption of download and upload during slow connection fixed (Rocket problem) ? Thanks Phyo. On 2/29/12, Mariano Reingart wrote: > On Tue, Feb 28, 2012 at 8:08 PM, Richard Galka > wrote: >> A couple minor points with the admin pages and the new debugging section: >> >> In the Admin ->

Re: [web2py] Get the IP of the System

2012-02-28 Thread Phyo Arkar
Which system? On 2/28/12, Sanjeet Kumar wrote: > How we can get the IP address of the system >

Re: [web2py] Re: Method to interactively experiment with web2py

2012-02-27 Thread Phyo Arkar
t; In [1]: > > What's the error you're getting ? > > [], > -- > Luciano Pacheco > blog.lucmult.com.br > > On Sun, Feb 26, 2012 at 7:56 PM, Phyo Arkar wrote: > >> web2py shell no longer works with latest ipython 0.11 + >> >> On 2/20/12, Massim

Re: [web2py] Re: Method to interactively experiment with web2py

2012-02-26 Thread Phyo Arkar
web2py shell no longer works with latest ipython 0.11 + On 2/20/12, Massimo Di Pierro wrote: > What you use > > python web2py.py -S app -M -N > > make sure to db.commit() your changes. > > On Feb 19, 5:45 pm, davidkw wrote: >> I'm wondering if there's some kind of way to use a shell or other IDE

Re: [web2py] jqGrid to SmartGrid - Who's made the switch?

2012-02-25 Thread Phyo Arkar
I still prefer JQGrid many places. It is the best grid solution in existance still. But now, with the switch to qooxdoo i have to dump it and replace with qooxdoo's table coz it wont fit inside qooxdoo , in design, oo style of programming and UI. I still miss jqgrid and its remote capabilities (fi

[web2py] can we use JSONRPC to upload?

2012-02-15 Thread Phyo Arkar
Out of curisority ,. can we use JSONRPC protocol to Upload / Download Files (Multipart/Form) ? If so , how it will work?

Re: [web2py] Re: Folder inside controller dosen't work.

2012-02-11 Thread Phyo Arkar
I forgot route.py! thats interesting I will look into it! On Sat, Feb 11, 2012 at 7:40 PM, Anthony wrote: > Look interesting but that would make the service URLs a bit ugly . i would >> prefer each UI having its own service URL not generic single method. >> >> What i want is like this : >> >> /

Re: [web2py] Re: Folder inside controller dosen't work.

2012-02-11 Thread Phyo Arkar
Thanks, Yeah thats a lot better. I would change naming sheme that way , but still would be good to be able to use folders. On Sat, Feb 11, 2012 at 7:07 PM, LightDot wrote: > Always when I deal with big projects, the first thing I do is organize a > strict file structure. Not just web2py, I do s

Re: [web2py] Image from Video

2012-02-11 Thread Phyo Arkar
ffmpeg On Sat, Feb 11, 2012 at 5:42 PM, Web2Py Freak wrote: > Dear ALL, > > How Can i Make Plugin Wiki Player Have an Image From the video Before > its played ? > > Best Regards , >

Re: [web2py] Support for PyPy

2012-02-11 Thread Phyo Arkar
has anyone tested with Pypy 1.8 ? Seems good this time. Previous tests fails web2py , On Fri, Feb 10, 2012 at 10:05 PM, Sathvik Ponangi wrote: > Is there some way to run Web2Py on PyPy ?

Re: [web2py] Re: Folder inside controller dosen't work.

2012-02-11 Thread Phyo Arkar
On Sat, Feb 11, 2012 at 2:07 AM, howesc wrote: > one option working with the framework as is: > > - make a controller called jsonrpc with 1 method > - use the first arg from the request.args to select the module to call > - create a directory in modules and put all your calls in there. > - im

Re: [web2py] Re: Folder inside controller dosen't work.

2012-02-11 Thread Phyo Arkar
Lundell wrote: > On Feb 10, 2012, at 4:57 AM, Phyo Arkar wrote: > > On one application , i have 20 JSON RPC methods , separated by each > controller. It going to be more than 100 JSORPC methods within 1 year for > whole project. > > > Out of curiosity: why only one method per controller? >

Re: [web2py] Re: Folder inside controller dosen't work.

2012-02-10 Thread Phyo Arkar
10, 2012 at 7:27 PM, Phyo Arkar wrote: > ofcoz i put all the reusable code inside modules and such. and most are > object oriented. > > But that is not a choice WHEN you want to separate Controllers thats going > to serve ONLY JSONRPC and controller for HTML only.Folder becomes onl

  1   2   3   4   5   6   7   >