[web2py] Tempfile not found when uploading images with the Add function in a Grid

2019-11-01 Thread Paul Ellis
I am getting this error when users upload an image with the Add function of 
a grid. As background, it is adding a product which can only be seen by 
users in a particular group (belong to the same company).

Traceback

1.
2.
3.
4.
5.
6.
7.

Traceback (most recent call last):
  File "/home/act/web2py/gluon/main.py", line 505, in wsgibase
request.body.close()
  File "/usr/local/lib/python2.7/tempfile.py", line 431, in close
self.unlink(self.name)
OSError: [Errno 2] No such file or directory: '/tmp/tmpGdGmPE'



Error snapshot

([Errno 2] No such file or directory: 
'/tmp/tmpGdGmPE')
  

I have been banging my head against this one for a while and I am not 
getting anywhere. 

I have another function which uses a simple form to add products which can 
be seen by everyone (admin form) and this has no issues with images.

Can anyone give me a tip or an idea or a direction to continiue searching 
for a solution?

I am happy to post code but the grid is reasonably complex at 450 lines.


-- 
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" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/aeb4da21-7c47-442e-aa1b-01e90d84148c%40googlegroups.com.


[web2py] Re: SQLFORM.grid search with fields readable = False

2019-11-01 Thread Paul Ellis
If you want the fields to be searchable. Then instead of setting readable = 
false. 

Hide the fields with:

db.table.field.represent = lambda value, row: DIV(value, _class='hidden')

and the column heading with:

grid = SQLFORM.grid(
headers = {
 'table.field' : DIV(_style = "display:None"),
}
)


-- 
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" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/2d4d200a-56f5-4a9b-b66f-91a5e7748e9c%40googlegroups.com.


[web2py] Re: Scheduler for py4web ?

2019-11-01 Thread Carlos Zenteno
Is a scheduler the same thing as a task manager?  
Can we use GULP with py4web?

-- 
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" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/cd75104b-e472-4a08-9c64-343dd0d4c7a4%40googlegroups.com.


Re: [web2py] Re: Scheduler for py4web ?

2019-11-01 Thread António Ramos
You are confusing things.
Web2py Task scheduler is like linux cron but more powerfull because you can
task a python function from your code.
Gulp and alike are task automation tools like creating files and folders ,
compiling jade to html or sass to css.
Not the same thing..
and yes you should be able to use gulp with py4web.


Carlos Zenteno  escreveu em sex, 1/11/2019 às 19:42 :

> Is a scheduler the same thing as a task manager?
> Can we use GULP with py4web?
>
> --
> 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" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to web2py+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/web2py/cd75104b-e472-4a08-9c64-343dd0d4c7a4%40googlegroups.com
> 
> .
>

-- 
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" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/CAEM0BxNixjcgdL_8LkDQf9iAj1WUxULYi%3DRK7R75m_j2v_VKdQ%40mail.gmail.com.


Re: [web2py] Re: Scheduler for py4web ?

2019-11-01 Thread Carlos Zenteno
Thanks a lot
 I  read a bit and found out the difference.  I erased the post briefly
after I wrote it.

Thanks again.

On Fri, Nov 1, 2019, 4:21 PM António Ramos  wrote:

> You are confusing things.
> Web2py Task scheduler is like linux cron but more powerfull because you
> can task a python function from your code.
> Gulp and alike are task automation tools like creating files and folders ,
> compiling jade to html or sass to css.
> Not the same thing..
> and yes you should be able to use gulp with py4web.
>
>
> Carlos Zenteno  escreveu em sex, 1/11/2019 às 19:42 :
>
>> Is a scheduler the same thing as a task manager?
>> Can we use GULP with py4web?
>>
>> --
>> 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" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to web2py+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/web2py/cd75104b-e472-4a08-9c64-343dd0d4c7a4%40googlegroups.com
>> 
>> .
>>
> --
> 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 a topic in the
> Google Groups "web2py-users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/web2py/GoFM0ZTYSBw/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> web2py+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/web2py/CAEM0BxNixjcgdL_8LkDQf9iAj1WUxULYi%3DRK7R75m_j2v_VKdQ%40mail.gmail.com
> 
> .
>

-- 
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" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/CAE1qk%3DR_2fs%3Do22dO8unuyArYryC_oWvvtGbiEHyEv%3DUo4iJpw%40mail.gmail.com.


[web2py] web2py | video course | license terms

2019-11-01 Thread Jay B
Hello guys,

I have become familiar with web2py over the last months and am now playing 
with the idea of creating a video course. 

However, I have been wondering for quite some time why there is no current 
video course on web2py. The only useful video material are the videos from 
Massimo on Vimeo. They are very informative, but sometimes a bit exhausting 
to watch, because they are very long and there is no table of contents with 
time stamp. Also, the video quality is not the best. 

Now I'm wondering if there are any licensing restrictions for creating a 
commercial video course. I looked at the LGPLv3, but I can't really figure 
it out, because it only refers to web2py as a framework, but not to it, if 
the framework is used as visual material for a course. 

It would be nice if someone could explain to me if and what there is to 
consider. 

Many thanks in advance.

Friendly greetings
Jay

-- 
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" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/5d78519c-bb96-4585-a2ec-7a309ba2e782%40googlegroups.com.