Hi i have created a module in module/download_pdf/pdf_user where i
implemente the class userpdf the problem is that when is save the file i
received this No module named ecc.. and i have a problem to import...I
don't understand the problem
--
Resources:
- http://web2py.com
-
Il 08/01/16 09:03, Alessio Varalta ha scritto:
> Hi i have created a module in module/download_pdf/pdf_user where i
> implemente the class userpdf the problem is that when is save the file
> i received this No module named ecc.. and i have a problem to
> import...I don't understand the problem
Sorry to resurrect an older thread, do let me know if I should create a new
one. I had this perfectly working as described in this thread. Then I
upgraded to Jupyter and things fell apart. The thing just doesn't have
profiles, startup folders, none of the way iPython Notebook used to set
Responding to this old post.
query = db.Project.created_by == auth.user_id;
if_author = lambda row: (row.created_by==auth.user_id)
#grid = SQLFORM.smartgrid(db.Project,
constraints={'db.Project':query},editable=if_author,deletable=if_author,details=True,create=False,csv=False)
Thanks Niphlod for your answer.
I'm very newbie creating SSL certificates. How can create my first
certificate using OpenSSL in PEM format?
Thanks in advanced
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
-
query = db.Project.created_by == auth.user_id;
if_author = lambda row: (row.created_by==auth.user_id)
#grid = SQLFORM.smartgrid(db.Project,
constraints={'db.Project':query},editable=if_author,deletable=if_author,details=True,create=False,csv=False)
#doesn't work
grid =
the admin app comes with web2py. ALL of the admin app, not just static
files.
On Friday, January 8, 2016 at 5:46:30 PM UTC+1, Richard wrote:
>
> There is another component in the issues... I am still under bootstrap 2
> and new welcome is under bootsrap3, so many issues would come from there
>
private key
openssl.exe genrsa 1024 >> pkey.key
self-signed cert
openssl.exe req -new -x509 -nodes -sha1 -days 1825 -key pkey.key > cert.cer
or, all in one line
openssl.exe req -x509 -newkey rsa:1024 -keyout pkey.key -out cert.cer -days
1825
On Friday, January 8, 2016 at 8:19:13 PM UTC+1,
Instead of {'db.Project': query}, it should be {'Project': query}.
db.Project is a Table object, but "Project" is the table name.
Anthony
On Friday, January 8, 2016 at 2:12:17 PM UTC-5, Ron Chatterjee wrote:
>
> Responding to this old post.
>
>
> query = db.Project.created_by ==
This is great Anthony. For documenting code and standalone application.
Nice!
On Friday, January 8, 2016 at 1:56:26 PM UTC-5, pepper_bg wrote:
>
> Sorry to resurrect an older thread, do let me know if I should create a
> new one. I had this perfectly working as described in this thread. Then I
Answer here: https://groups.google.com/d/msg/web2py/xwgJekXOyzY/78Jrj_3iEwAJ
On Friday, January 8, 2016 at 2:18:47 PM UTC-5, Ron Chatterjee wrote:
>
>query = db.Project.created_by == auth.user_id;
>
> if_author = lambda row: (row.created_by==auth.user_id)
> #grid =
Ok. I love web2py and i create a big managment program for a client. I
think that the best point is that is simple. Only this last point for me is
not so good because for example now I use the module and class but i have a
controller with 10 functions and if i think in future to add new
having create=True in smartgrid creates and button +Add Record which allows
users to create new tables. Any parameter I can pass to smartgrid that
will change the wording +Add Record to +Add Projects or +Add New
Member...or whatever user specify? Ofc I can do it externally in my
view
Unfortunately, that's hard coded. You can do:
grid = ...
addspan = grid.element(_title='Add record to database')
addspan[0] = 'Add Projects'
addspan['_title'] = 'Add project to database'
Anthony
On Friday, January 8, 2016 at 5:17:17 PM UTC-5, Ron Chatterjee wrote:
>
> having create=True in
I have in my routes.py in web2py folder the following.
routes_in = (
('/ts2', '/web_ts2_site/home/home'),
)
routes_out = ()
Now I want to disable session for web_ts2_site app. If I add the below it
gives error. How to go about that?
routes_in = [('/web_ts2_site', '/web_ts2_site',
umh. that route looks extremely weird. you need to rewrite something ( 'a'
to 'b' ) if you want to use routes.
On Friday, January 8, 2016 at 12:00:17 PM UTC+1, T.R.Rajkumar wrote:
>
> I have in my routes.py in web2py folder the following.
> routes_in = (
> ('/ts2',
It is external process
2016-01-08 11:04 GMT+01:00 Niphlod :
> you're missing the point. the "calculation" is running inside the web2py
> environment or on an external process ?
>
>
> On Thursday, January 7, 2016 at 8:58:04 PM UTC+1, Yebach wrote:
>>
>> The calculation runs on
This integration is very useful, Thank you Anthony!
On Friday, January 8, 2016 at 3:49:33 PM UTC-5, Ron Chatterjee wrote:
>
> This is great Anthony. For documenting code and standalone application.
> Nice!
>
> On Friday, January 8, 2016 at 1:56:26 PM UTC-5, pepper_bg wrote:
>>
>> Sorry to
On Friday, January 8, 2016 at 6:58:11 PM UTC-5, Alessio Varalta wrote:
>
> Ok. I love web2py and i create a big managment program for a client. I
> think that the best point is that is simple. Only this last point for me is
> not so good because for example now I use the module and class but i
at last I'm not the only one to complain on web2py's messy release
procedure.
--
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
if it's an internal app, don't use http . if you need https, you'd better
explore a deployment behind iis. rocket can serve https, but you can't tune
which algorithm it uses, and by default it uses a weak one.
if you still want to go down that road (that IMHO is useless) you need to
create a
you're missing the point. the "calculation" is running inside the web2py
environment or on an external process ?
On Thursday, January 7, 2016 at 8:58:04 PM UTC+1, Yebach wrote:
>
> The calculation runs on the same server. When user starts a calculation a
> function creates a txt file and puts
Thanks..I have a big problem :) One day I programmer in Rails, another in
web2py and another with Java and sometimes is diffcult :)
On Friday, 8 January 2016 09:59:07 UTC+1, Manuele wrote:
>
> Il 08/01/16 09:03, Alessio Varalta ha scritto:
> > Hi i have created a module in
:D
Sometimes a man as to do what he has to do I guess...
Richard
On Fri, Jan 8, 2016 at 5:06 AM, Niphlod wrote:
> at last I'm not the only one to complain on web2py's messy release
> procedure.
>
> --
> Resources:
> - http://web2py.com
> - http://web2py.com/book
Hi Anthony,
Thanks you for your reply and explaining how the genric views work.
The mail was send from a local request, which explains the behaviour.
In production this wouldn't have happened.
Best regards,
Annet
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
-
Hello,
Just notice that db password shows up in clear text in traceback in 2.13.4
Richard
On Thu, Jan 7, 2016 at 12:38 PM, Richard Vézina wrote:
> I know... I have to migrate over SQLFORM.grid, but I need to customise
> search feature to do so in order to not
Thank you,
Ariya
เมื่อ วันศุกร์ที่ 8 มกราคม ค.ศ. 2016 10 นาฬิกา 46 นาที 04 วินาที UTC+7,
Anthony เขียนว่า:
>
> .load is just a convention to help distinguish from a full HTML page, but
> you can use any extension you want. In some cases, the same controller
> might be used as both a component
I think I found the issue... At least one part of it... Appadmin rely on
layout.html, that for some reason (because mine is customize), it doesn't
work anymore properly with my own customize version...
Richard
On Fri, Jan 8, 2016 at 10:25 AM, Richard Vézina wrote:
There is another component in the issues... I am still under bootstrap 2
and new welcome is under bootsrap3, so many issues would come from there
since I didn't copy all js and css files from welcome static/... And would
need to put them aside for appadmin only...
Richard
On Fri, Jan 8, 2016 at
I am investigating but Admin app seems buggy... It through errors into
other app errors folder when we try to edit files of a give app,
controllers, models files...
Richard
On Fri, Jan 8, 2016 at 10:07 AM, Richard Vézina wrote:
> Hello,
>
> Just notice that db
so what's the issue with web2py if your external process sometimes drops
dead ? who starts the external process ?
On Friday, January 8, 2016 at 12:32:20 PM UTC+1, Yebach wrote:
>
> It is external process
>
> 2016-01-08 11:04 GMT+01:00 Niphlod :
>
>> you're missing the point.
31 matches
Mail list logo