[web2py] my grating help

2019-07-18 Thread Dave S
I don't normally have migration problems, but I came up today with a new 
way to have some "fun".

I had added a new table (including a reference field), and it was good.  
That migrate was successful.  I could run a -S -M shell, and populate the 
table.  That was yesterday.  Today I had a source control glitch, and 
models/myapp.py was reverted to before the new table (adding to the fun, I 
couldn't find any editor artifacts to help speed the recovery).  Using the 
postgres schema, I recreate the define_table().  And started going through 
the migrate and fake_migrate settings, without being able to access the new 
table from the -S -M shell any more.  I've tweaked all 4 settings (db 
migrate, db fake_migrate_all, table migrate, table fake_migrate) and 
haven't gotten them right.

I should note that this app has 3 DAL objects, 2 of them for sqlite3 and 1 
for postgres (9.2.4).  The new table is in the 3rd object ("dby"), and the 
main table for the app is also in the postgres dby object.  The main table 
is working fine.

I tried deleting the newtable.table file, and it doesn't get recreated.  
The sql.log hasn't any new entries.

The table isn't a central part of the application, but a tool for analyzing 
data from the main table.  It isn't yet used in a controller function, and 
I can still access it from psql, but it may get added to a controller at 
some point.  

I'm ready for some hand-holding.

/dps

-- 
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/8b0f69c5-607e-441e-88e1-8be4f3c92088%40googlegroups.com.


[web2py] my grating help

2019-07-18 Thread Dave S
I don't normally have migration problems, but I came up today with a new 
way to have some "fun".

I had added a new table (including a reference field), and it was good.  
That migrate was successful.  I could run a -S -M shell, and populate the 
table.  That was yesterday.  Today I had a source control glitch, and 
models/myapp.py was reverted to before the new table (adding to the fun, I 
couldn't find any editor artifacts to help speed the recovery).  Using the 
postgres schema, I recreate the define_table().  And started going through 
the migrate and fake_migrate settings, without being able to access the new 
table from the -S -M shell any more.  I've tweaked all 4 settings (db 
migrate, db fake_migrate_all, table migrate, table fake_migrate) and 
haven't gotten them right.

I should note that this app has 3 DAL objects, 2 of them for sqlite3 and 1 
for postgres (9.2.4).  The new table is in the 3rd object ("dby"), and the 
main table for the app is also in the postgres dby object.  The main table 
is working fine.

I tried deleting the newtable.table file, and it doesn't get recreated.  
The sql.log hasn't any new entries.

The table isn't a central part of the application, but a tool for analyzing 
data from the main table.  It isn't yet used in a controller function, and 
I can still access it from psql, but it may get added to a controller at 
some point.  

I'm ready for some hand-holding.

/dps

-- 
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/7dec3876-ee81-4316-b0c2-f431f29b0389%40googlegroups.com.


[web2py] Re: Built-in online text editor jumps away

2019-07-18 Thread Dave S


On Thursday, July 18, 2019 at 2:09:40 AM UTC-7, Fekete Zoltán wrote:
>
>
> Hi There,
>
> In web2py the built-in editor is awesome in general.
> However I have an issue with that. Here's how to reproduce:
>
> 1. Open at least 2 files for editing.
> 2. Take the first one on the far left, and scroll down close to the bottom 
> of the file.
> 3. Write code or comment, then save it.
> 4. Select the other file to be active.
> 5. Scroll down a bit (~1 page).
> 6. Write something, then save.
> 7. Select the first one again.
>
> Now the first one is* scrolled away from the place where you have edited 
> last time*.
>
> Have you experienced this? Could you solve somehow?
>
>
I don't have a solution, but it's normal behavior.  I think the editor 
window only keeps track of the position in the current file (subtab, as it 
were).  When you return to the first file, it has to reset the position 
tracker.

I don't know if this is merely a web2py limitation or a limitation of the 
editor itself.

/dps

-- 
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/49f7b65b-0300-4af3-8ab8-a614a5c685db%40googlegroups.com.


Re: [web2py] Re: validate_insert, status 200 and data="iderrors"

2019-07-18 Thread Dave S


On Thursday, July 18, 2019 at 10:54:38 AM UTC-7, Tito Garrido wrote:
>
> I just figured out that the error:
>
> is because of:
> return db.transactions.validate_and_insert(**parent)
>
> seems that db.transactions.validate_and_insert(**parent) is causing an 
> error during the return.. if I return a string it works...
>

But you said there was no entry made in the DB, so 
validate_and_insert(**parent) must have a processing error, as well as not 
returning good stuff.   Use logging or print debug info to console to find 
out more.

/dps


> On Wed, Jul 17, 2019 at 11:52 PM Dave S > 
> wrote:
>
>>
>>
>> On Wednesday, July 17, 2019 at 3:40:07 PM UTC-7, Dave S wrote:
>>>
>>>
>>> On Wednesday, July 17, 2019 at 11:02:59 AM UTC-7, Tito Garrido wrote:

 No entry in the database... 

 I could execute the post from postman... but if I try from axios in vue 
 I am even getting a web2py server error:

 ERROR:Rocket.Errors.Thread-2:Traceback (most recent call last):
>   File 
> "/Users/titogarridoogando/Documents/Projetos/web2py/controle/web2py/gluon/rocket.py",
>  
> line 1797, in run_app
> sections = len(output)
> TypeError: object of type 'Reference' has no len()
>
> During handling of the above exception, another exception occurred:
>
> Traceback (most recent call last):
>   File 
> "/Users/titogarridoogando/Documents/Projetos/web2py/controle/web2py/gluon/rocket.py",
>  
> line 1288, in run
> self.run_app(conn)
>   File 
> "/Users/titogarridoogando/Documents/Projetos/web2py/controle/web2py/gluon/rocket.py",
>  
> line 1819, in run_app
> output.close()
> TypeError: 'NoneType' object is not callable



 No idea what it means...

>>>
>>> Which version of web2py are you using?   Is this with Python2 or Python3?
>>>  
>>>
>>
>> Also, can you show us request.body, either from inside your controller, 
>> or from the browser tools?
>>
>> If you do any logging, can you check what the return value of 
>> validate_and_insert() is?
>>
>> (I use curl, or occasionally wget, for some request debugging; I'm not 
>> familiar with postman or axios; the one browser extension I've used is on 
>> the home computer, so I'll report its name later.)
>>
>> /dps
>>  
>>
>> -- 
>> 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 web...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/web2py/f2b43605-f028-4293-8093-41243a9c4331%40googlegroups.com
>>  
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
> -- 
>
> Linux User #387870
> .
>  _/_õ|__|
> ..º[ .-.___.-._| . . . .
> .__( o)__( o).:___
>

-- 
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/f811a43d-2f94-4b13-b75b-82f7ca4bea27%40googlegroups.com.


[web2py] Sometging wrong with utf-8

2019-07-18 Thread Константин Комков
rows = db(
 (db.recipes.ID_CUISINE==db.cuisines.id) & 
 (db.recipes.ID_AUTHOR==db.authors.id) & 
 (db.recipes.ID_CATEGORY==db.categories.id)
 ).select(db.cuisines.NAME,db.authors.NAME,db.categories.NAME,db.recipes.ALL
)
Ticket ID

127.0.0.1.2019-07-18.22-56-57.1cf3eb52-85aa-418d-b7f9-51ac287014a9
 'utf-8' codec can't decode byte 0xf0 in 
position 0: invalid continuation byteВерсия
web2py™ Version 2.18.5-stable+timestamp.2019.04.08.04.22.03
Python Python 3.7.3: C:\Program Files (x86)\Python37-32\python.exe (prefix: 
C:\Program Files (x86)\Python37-32)Traceback

1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
27.
28.
29.
30.
31.
32.

Traceback (most recent call last):
  File "D:\Загрузки\web2py_src\web2py\gluon\restricted.py", line 219, in 
restricted
exec(ccode, environment)
  File 
"D:\Загрузки\web2py_src\web2py\applications\Recipes\controllers/default.py", 
line 89, in 
  File "D:\Загрузки\web2py_src\web2py\gluon\globals.py", line 421, in 
self._caller = lambda f: f()
  File 
"D:\Загрузки\web2py_src\web2py\applications\Recipes\controllers/default.py", 
line 19, in index
).select(db.cuisines.NAME,db.authors.NAME,db.categories.NAME,db.recipes.ALL)
  File "D:\Загрузки\web2py_src\web2py\gluon\packages\dal\pydal\objects.py", 
line 2395, in select
return adapter.select(self.query, fields, attributes)
  File 
"D:\Загрузки\web2py_src\web2py\gluon\packages\dal\pydal\adapters\base.py", line 
763, in select
return self._select_aux(sql, fields, attributes, colnames)
  File 
"D:\Загрузки\web2py_src\web2py\gluon\packages\dal\pydal\adapters\base.py", line 
719, in _select_aux
rows = self._select_aux_execute(sql)
  File 
"D:\Загрузки\web2py_src\web2py\gluon\packages\dal\pydal\adapters\base.py", line 
714, in _select_aux_execute
return self.cursor.fetchall()
  File "C:\Program Files (x86)\Python37-32\lib\site-packages\fdb\fbcore.py", 
line 3730, in fetchall
return [row for row in self]
  File "C:\Program Files (x86)\Python37-32\lib\site-packages\fdb\fbcore.py", 
line 3730, in 
return [row for row in self]
  File "C:\Program Files (x86)\Python37-32\lib\site-packages\fdb\fbcore.py", 
line 3488, in next
row = self.fetchone()
  File "C:\Program Files (x86)\Python37-32\lib\site-packages\fdb\fbcore.py", 
line 3690, in fetchone
return self._ps._fetchone()
  File "C:\Program Files (x86)\Python37-32\lib\site-packages\fdb\fbcore.py", 
line 3359, in _fetchone
return self.__xsqlda2tuple(self._out_sqlda)
  File "C:\Program Files (x86)\Python37-32\lib\site-packages\fdb\fbcore.py", 
line 2677, in __xsqlda2tuple
value = b2u(value, self.__python_charset)
  File "C:\Program Files (x86)\Python37-32\lib\site-packages\fdb\fbcore.py", 
line 479, in b2u
return st.decode(charset)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf0 in position 0: invalid 
continuation byte

Error snapshot [image: help] 


UnicodeDecodeError('utf-8' codec can't decode byte 0xf0 in position 0: 
invalid continuation byte)

inspect attributes
Frames
   
   - 
   
   *File D:\Загрузки\web2py_src\web2py\gluon\restricted.py in restricted at 
   line 219* код аргументы переменные
   - 
   
   *File 
   D:\Загрузки\web2py_src\web2py\applications\Recipes\controllers\default.py 
   in  at line 89* код аргументы переменные
   - 
   
   *File D:\Загрузки\web2py_src\web2py\gluon\globals.py in  at line 
   421* код аргументы переменные
   - 
   
   *File 
   D:\Загрузки\web2py_src\web2py\applications\Recipes\controllers\default.py 
   in index at line 19* код аргументы переменные
   - 
   
   *File D:\Загрузки\web2py_src\web2py\gluon\packages\dal\pydal\objects.py 
   in select at line 2395* код аргументы переменные
   - 
   
   *File 
   D:\Загрузки\web2py_src\web2py\gluon\packages\dal\pydal\adapters\base.py in 
   select at line 763* код аргументы переменные
   - 
   
   *File 
   D:\Загрузки\web2py_src\web2py\gluon\packages\dal\pydal\adapters\base.py in 
   _select_aux at line 719* код аргументы переменные
   - 
   
   *File 
   D:\Загрузки\web2py_src\web2py\gluon\packages\dal\pydal\adapters\base.py in 
   _select_aux_execute at line 714* код аргументы переменные
   - 
   
   *File C:\Program Files (x86)\Python37-32\lib\site-packages\fdb\fbcore.py 
   in fetchall at line 3730* код аргументы переменные
   - 
   
   *File C:\Program Files (x86)\Python37-32\lib\site-packages\fdb\fbcore.py 
   in  at line 3730* код аргументы переменные
   - 
   
   *File C:\Program Files (x86)\Python37-32\lib\site-packages\fdb\fbcore.py 
   in next at line 3488* код аргументы переменные
   - 
   
   *File C:\Program Files (x86)\Python37-32\lib\site-packages\fdb\fbcore.py 
   in fetchone at line 3690* код аргументы переменные
   - 
   
   *File C:\Program Files (x86)\Python37-32\lib\site-packages\fdb\fbcore.py 
   in _fetchone at line 3359* код аргументы переменные
   - 
  

[web2py] Built-in online text editor jumps away

2019-07-18 Thread Val K
Hi Zoltan!
I just wrote my own
https://github.com/valq7711/vue2pyj

-- 
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/084d8c79-ac3f-47b2-9f12-8ca2ad79cb66%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [web2py] Re: validate_insert, status 200 and data="iderrors"

2019-07-18 Thread Tito Garrido
I just figured out that the error:

is because of:
return db.transactions.validate_and_insert(**parent)

seems that db.transactions.validate_and_insert(**parent) is causing an
error during the return.. if I return a string it works...

On Wed, Jul 17, 2019 at 11:52 PM Dave S  wrote:

>
>
> On Wednesday, July 17, 2019 at 3:40:07 PM UTC-7, Dave S wrote:
>>
>>
>> On Wednesday, July 17, 2019 at 11:02:59 AM UTC-7, Tito Garrido wrote:
>>>
>>> No entry in the database...
>>>
>>> I could execute the post from postman... but if I try from axios in vue
>>> I am even getting a web2py server error:
>>>
>>> ERROR:Rocket.Errors.Thread-2:Traceback (most recent call last):
   File
 "/Users/titogarridoogando/Documents/Projetos/web2py/controle/web2py/gluon/rocket.py",
 line 1797, in run_app
 sections = len(output)
 TypeError: object of type 'Reference' has no len()

 During handling of the above exception, another exception occurred:

 Traceback (most recent call last):
   File
 "/Users/titogarridoogando/Documents/Projetos/web2py/controle/web2py/gluon/rocket.py",
 line 1288, in run
 self.run_app(conn)
   File
 "/Users/titogarridoogando/Documents/Projetos/web2py/controle/web2py/gluon/rocket.py",
 line 1819, in run_app
 output.close()
 TypeError: 'NoneType' object is not callable
>>>
>>>
>>>
>>> No idea what it means...
>>>
>>
>> Which version of web2py are you using?   Is this with Python2 or Python3?
>>
>>
>
> Also, can you show us request.body, either from inside your controller, or
> from the browser tools?
>
> If you do any logging, can you check what the return value of
> validate_and_insert() is?
>
> (I use curl, or occasionally wget, for some request debugging; I'm not
> familiar with postman or axios; the one browser extension I've used is on
> the home computer, so I'll report its name later.)
>
> /dps
>
>
> --
> 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/f2b43605-f028-4293-8093-41243a9c4331%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 

Linux User #387870
.
 _/_õ|__|
..º[ .-.___.-._| . . . .
.__( o)__( o).:___

-- 
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/CAL67CHEt9fc6j%2B2RaYxRsY%3Di0adsk0qL6mhtDL3qjYLLi36taw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: Entity_quoting and Firebird

2019-07-18 Thread Константин Комков
I understand - when web2py created auth tables automatically in welcome app 
I didn't add *entity_quoting=False*. 

-- 
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/b4b20c14-9df2-4fe9-93b0-829eac7e1729%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: Too much sessions...

2019-07-18 Thread Gaël Princivalle
Hi Zoltán, for the moment I've modified my crontab for deleting the 
sessions every hour.

I'll try to install python-six module and store the sessions in the memory 
in the next days.

Il giorno giovedì 18 luglio 2019 11:03:37 UTC+2, Fekete Zoltán ha scritto:
>
> Hi Gael!
>
> Could you solve the problem? Pls. give a short feedback.
>
> Regards,
> Zoltán
>
> 2019. július 13., szombat 9:03:17 UTC+2 időpontban Massimo Di Pierro a 
> következőt írta:
>>
>> what os is this?
>>
>> On Friday, 12 July 2019 01:00:03 UTC-7, Gaël Princivalle wrote:
>>>
>>> Hi all.
>>>
>>> In my sessions folder all sessions are stored in separated sub-folders, 
>>> 068,069...
>>> The file system don't accept more than 512 sub-folders in a folder.
>>> When I reach 512 sub-folders the website is down.
>>> Now for avoiding this problem I delete all the sessions with a crontab 
>>> job every 12 hours, but it's not enough.
>>>
>>> Obviously I can imagine that deleting all the sessions means also 
>>> disconnecting all the users, that's not a good thing.
>>>
>>> Can I store the sessions in the DB instead of the file system?
>>>
>>> And what about that? I don't understand where I must add it, and it 
>>> seems that the sessions storage for my website works already like that,
>>> http://web2py.com/books/default/chapter/29/04/the-core#Separate-sessions
>>>
>>> Thanks.
>>>
>>>
>>>

-- 
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/a821fa12-e4b0-4755-8bc6-f826ace18c0f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: Too much sessions...

2019-07-18 Thread Gaël Princivalle
CentOS 7 on Webfaction.

Il giorno sabato 13 luglio 2019 09:03:17 UTC+2, Massimo Di Pierro ha 
scritto:
>
> what os is this?
>
> On Friday, 12 July 2019 01:00:03 UTC-7, Gaël Princivalle wrote:
>>
>> Hi all.
>>
>> In my sessions folder all sessions are stored in separated sub-folders, 
>> 068,069...
>> The file system don't accept more than 512 sub-folders in a folder.
>> When I reach 512 sub-folders the website is down.
>> Now for avoiding this problem I delete all the sessions with a crontab 
>> job every 12 hours, but it's not enough.
>>
>> Obviously I can imagine that deleting all the sessions means also 
>> disconnecting all the users, that's not a good thing.
>>
>> Can I store the sessions in the DB instead of the file system?
>>
>> And what about that? I don't understand where I must add it, and it seems 
>> that the sessions storage for my website works already like that,
>> http://web2py.com/books/default/chapter/29/04/the-core#Separate-sessions
>>
>> Thanks.
>>
>>
>>

-- 
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/a21d256a-a9ef-454f-a97b-b842b5b0347d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Built-in online text editor jumps away

2019-07-18 Thread Fekete Zoltán

Hi There,

In web2py the built-in editor is awesome in general.
However I have an issue with that. Here's how to reproduce:

1. Open at least 2 files for editing.
2. Take the first one on the far left, and scroll down close to the bottom 
of the file.
3. Write code or comment, then save it.
4. Select the other file to be active.
5. Scroll down a bit (~1 page).
6. Write something, then save.
7. Select the first one again.

Now the first one is* scrolled away from the place where you have edited 
last time*.

Have you experienced this? Could you solve somehow?

Thank you:

FeZ

-- 
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/b4b8df62-0ef3-4919-9c52-5aaabe467a65%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: Too much sessions...

2019-07-18 Thread Fekete Zoltán
Hi Gael!

Could you solve the problem? Pls. give a short feedback.

Regards,
Zoltán

2019. július 13., szombat 9:03:17 UTC+2 időpontban Massimo Di Pierro a 
következőt írta:
>
> what os is this?
>
> On Friday, 12 July 2019 01:00:03 UTC-7, Gaël Princivalle wrote:
>>
>> Hi all.
>>
>> In my sessions folder all sessions are stored in separated sub-folders, 
>> 068,069...
>> The file system don't accept more than 512 sub-folders in a folder.
>> When I reach 512 sub-folders the website is down.
>> Now for avoiding this problem I delete all the sessions with a crontab 
>> job every 12 hours, but it's not enough.
>>
>> Obviously I can imagine that deleting all the sessions means also 
>> disconnecting all the users, that's not a good thing.
>>
>> Can I store the sessions in the DB instead of the file system?
>>
>> And what about that? I don't understand where I must add it, and it seems 
>> that the sessions storage for my website works already like that,
>> http://web2py.com/books/default/chapter/29/04/the-core#Separate-sessions
>>
>> Thanks.
>>
>>
>>

-- 
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/72636ef9-4829-4514-8377-cd75648d58ae%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [web2py] Re: please help testing web3py

2019-07-18 Thread Johann Spies
On Wed, 17 Jul 2019 at 22:21, Nico Zanferrari  wrote:

> Hi Johann,
>
> you can copy the whole _documentation folder from github under the apps
> folder of web3py (C:\Users\nico\myapps in my case on Win10). Then, after
> running web3py, you can reach it on http://127.0.0.1:8000/_documentation
> , which is automatically redirected to
> http://127.0.0.1:8000/_documentation/static/index.html.
>
>
Thanks Nico.

Regards
Johann

-- 
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/CAGZ55DTVy_Wf7AV%3D%2Bs02qiX7ZwzsuL3J4EzwJuGzjQgm1BcRng%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.