Re: [web2py] Re: How to go publick with web2py

2018-07-28 Thread Stavros Boletis
i need one more answer..How i can do it on windows?? cause every answer i find is for ubu or linux enviroemnt. When i execute web2py.exe i choose public(0.0.0.0) and the port and it should work?? or i need to do smthng extra ?? 2018-07-26 16:53 GMT+03:00 Stavros Boletis : > Thanks for y

Re: [web2py] Re: How to go publick with web2py

2018-07-26 Thread Stavros Boletis
Thanks for your answer that was exactly what i was looking for..i ll try it soon and i ll inform you for any progress. Στις Πέμ, 26 Ιουλ 2018, 16:15 ο χρήστης 黄祥 έγραψε: > pardon, not sure what is exactly means go public, if you want web2py app > can be accessed from other pc's and network

[web2py] response menu

2018-07-20 Thread Stavros Boletis
Hi, i have a problem with dropdown menu when i use a custom layout with web2py.. my menu.py is response.menu += [ (T('Home'), False , URL('default','index')), (T('Contact Us'), False , URL('default','index')), (T('Experiments'), False, '#', [ (T('Station1(RC-Filters)'), False,

[web2py] web2.py + mpld3: how to display the generated HTML

2014-08-20 Thread Stavros Anastasiadis
I am trying to use mpld3 (http://mpld3.github.io/index.html) to generate an example plot with web2py. so far in my simple example: controller: def example_plot(): import matplotlib.pyplot as plt, mpld3 fig, ax = plt.subplots() plot = ax.plot([3,1,4,1,5], 'ks-', mec='w', mew=5,

[web2py] Field('mydate', 'date') is not a real datetime object ?

2013-10-23 Thread Stavros Anastasiadis
My task has a simple one, just to find the missing days in a given interval of my database. db_define('mydates', Field('value'), Field('valuedate', 'date') in the controller : import datetime def date_range(start, end): r = (end+datetime.timedelta(days=1)-start).days return

[web2py] debian package works, ubuntu package doesn't

2011-06-13 Thread Stavros
Me and a few other did some more testing with the latest debian/ubuntu packages. The debian package works just fine in wheezy/sid. The ubuntu package does not work in Oneric nor does it work in Natty (to be expected). $ web2py Traceback (most recent call last): File /usr/bin/web2py, line 87,

[web2py] Re: import error debian package

2011-06-10 Thread Stavros
Thank you. That worked wonderfully. I'll test out the package when it's available. On Jun 10, 8:08 am, José Luis Redrejo Rodríguez jredr...@debian.org wrote: 2011/6/9 Stavros stavros32...@gmail.com: http://dl.dropbox.com/u/3616407/mathquiz.tar.gz Thanks Thanks for the testing project

[web2py] import error debian package

2011-06-09 Thread Stavros
Has anyone who has used latest debian package been able to import modules while keeping the application self contained? I have the traceback from another user's application. First line of default.py question_maker = local_import('question_maker') then when you run it... Traceback (most recent