[web2py] Glyphicons still not showing in version 2.17.1-stable

2018-11-07 Thread mostwanted
Was a solution ever provided/created for the not appearing glyphicons? 
Massimo promised a solutions to this last year (2017): 
https://groups.google.com/forum/#!msg/web2py/CSA-p4OSKM0/mziFoZ3KBQAJ;context-place=topic/web2py/Eii2yOpd_TU

Whats the way around this problem?

Mostwanted

-- 
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.
For more options, visit https://groups.google.com/d/optout.


[web2py] Request for direction to benchmark

2018-11-07 Thread mostwanted
Guys i am having a really hard time making a point of sale system with 
web2py, i have worked on the UI but I cant get it to make any sales at all. 
Has a point of sale system ever been made with web2py, if there is where 
can i find an example? Or if anyone is interested in assisting me with mine 
i will be more than willing to send you what i have done to help me execute 
sales and save them.

Thank you.

Mostwanted

-- 
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.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: Enable input (button) after sending form

2018-11-07 Thread Константин Комков
$.web2py.enableElement($('#btnCode'));

-- 
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.
For more options, visit https://groups.google.com/d/optout.


[web2py] Problem with starting project

2018-11-07 Thread Константин Комков
Today I have tried to copy progect from server to my computer and have 
error message:
((ImportError('No module named 
application.modules',), )),
 at 048E6380, file 
"Z:\OAS\web2py\applications\application\models\db.py", line 7>.
I have checked that line. It was:
from gluon.contrib.appconfig import AppConfig
After that I have checked file on pass: gluon/contrib/appconfig and didn't 
find it. I copied it from server, but error was the same.
Version web2py on server 2.16.1 on my computer 2.17.2. What is the reason 
of that error?

-- 
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.
For more options, visit https://groups.google.com/d/optout.


[web2py] Error with datetime.

2018-11-07 Thread Maurice Waka
I'm  getting this error when using datetime;
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.
33.
34.
35.
36.
37.
38.
39.
40.
41.
42.
43.
44.
45.
46.
47.
48.
49.
50.
 Traceback (most recent call last):
 File "/home/maurice/web2py/gluon/restricted.py", line 219, in restricted
 exec(ccode, environment)
 File "/home/maurice/web2py/applications/Welln/controllers/default.py" 

, line 616, in 
 File "/home/maurice/web2py/gluon/globals.py", line 421, in 
 self._caller = lambda f: f()
 File "/home/maurice/web2py/gluon/tools.py", line 3867, in f
 return action(*a, **b)
 File "/home/maurice/web2py/applications/Welln/controllers/default.py" 

, line 389, in diary
 results = rows(db.diary.today == diary_date).select()
 File "/usr/local/lib/python2.7/dist-packages/pydal/objects.py", line 2250, 
in select
 return adapter.select(self.query, fields, attributes)
 File "/usr/local/lib/python2.7/dist-packages/pydal/adapters/mongo.py", 
line 233, in select
 return self.__select(query, fields, **attributes)
 File "/usr/local/lib/python2.7/dist-packages/pydal/adapters/mongo.py", 
line 294, in __select
 groupby=groupby, distinct=distinct, having=having)
 File "/usr/local/lib/python2.7/dist-packages/pydal/adapters/mongo.py", 
line 621, in __init__
 self.query_dict = adapter.expand(self.query)
 File "/usr/local/lib/python2.7/dist-packages/pydal/adapters/mongo.py", 
line 177, in _expand
 result = op(first, second, **optional_args)
 File "/usr/local/lib/python2.7/dist-packages/pydal/dialects/mongo.py", 
line 109, in _and
 self.expand(second, query_env=query_env)]}
 File "/usr/local/lib/python2.7/dist-packages/pydal/dialects/__init__.py", 
line 96, in expand
 return self.adapter.expand(*args, **kwargs)
 File "/usr/local/lib/python2.7/dist-packages/pydal/adapters/mongo.py", 
line 177, in _expand
 result = op(first, second, **optional_args)
 File "/usr/local/lib/python2.7/dist-packages/pydal/dialects/mongo.py", 
line 57, in wrap
 return f(self, first, second, *args, pipeline=pipeline, **kwargs)
 File "/usr/local/lib/python2.7/dist-packages/pydal/dialects/mongo.py", 
line 144, in eq
 self.expand(second, first.type, query_env=query_env)}
 File "/usr/local/lib/python2.7/dist-packages/pydal/dialects/__init__.py", 
line 96, in expand
 return self.adapter.expand(*args, **kwargs)
 File "/usr/local/lib/python2.7/dist-packages/pydal/adapters/mongo.py", 
line 191, in _expand
 result = self.represent(expression, field_type)
 File "/usr/local/lib/python2.7/dist-packages/pydal/adapters/mongo.py", 
line 199, in represent
 return super(Mongo, self).represent(obj, field_type)
 File "/usr/local/lib/python2.7/dist-packages/pydal/adapters/base.py", line 
335, in represent
 return self.representer.represent(obj, field_type)
 File 
"/usr/local/lib/python2.7/dist-packages/pydal/representers/__init__.py", 
line 251, in represent
 rv = self.get_representer_for_type(field_type)(rv, field_type)
 File 
"/usr/local/lib/python2.7/dist-packages/pydal/representers/__init__.py", 
line 139, in __call__
 return self.adapt(self.call(value, field_type))
 File 
"/usr/local/lib/python2.7/dist-packages/pydal/representers/__init__.py", 
line 136, in _call
 return self.inner_call(value)
 File 
"/usr/local/lib/python2.7/dist-packages/pydal/representers/__init__.py", 
line 124, in _inner_call
 return self.obj.f(self.representer, value, **kwargs)
 File "/usr/local/lib/python2.7/dist-packages/pydal/representers/mongo.py", 
line 28, in _date
 return datetime.datetime.combine(value, t)
TypeError: combine() argument 1 must be datetime.date, not str


What could be the issue and how do i solve it.
My code is:

from datetime import date
if request.vars.current_date == None:
diary_date = date.today()
else:
diary_date = request.vars.current_date
session.date = diary_date


rows = db(db.calcdiary.created_by == auth.user_id)
results = rows(db.calcdiary.today == diary_date).select()

-- 
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.
For more options, visit https://groups.google.com/d/optout.


[web2py] setting password with auth.register_bare()

2018-11-07 Thread Dave S
I've had mixed results with using the adduser.py script that was published 
here a while ago.  I often don't seem to be able to set the password in a 
usable way.  That is, the step

new_user = auth.register_bare(email="testu...@example.com", password=
'4example')



creates (or updates) the auth_user table entry as expected, but when I go 
to  myserver.com/myapp/user/login?next=/
I get a flash message of "invalid login" and I am back to the login form.

Why is this?

/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.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: Error with datetime.

2018-11-07 Thread 黄祥
from error traceback seems like must convert the str to datetime.date
ref:
https://stackoverflow.com/questions/466345/converting-string-into-datetime

best regards,
stifan

-- 
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.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: Request for direction to benchmark

2018-11-07 Thread 黄祥
perhaps you can check on web2py appliances, there are some examples of that
ref:
https://github.com/mdipierro/web2py-appliances/

best regards,
stifan

-- 
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.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: Problem with starting project

2018-11-07 Thread 黄祥
pls ensure there is a file in web2py/gluon/contrib/appconfig.py
perhaps the fastest way is to fix this is re download and re installed 
web2py

best regards,
stifan

-- 
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.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: Implementing a chat room?

2018-11-07 Thread pbreit
Have a look at:
https://github.com/web2py/web2py/blob/master/gluon/contrib/websocket_messaging.py

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [web2py] Re: Implementing a chat room?

2018-11-07 Thread Lovedie JC
https://github.com/rpedroso/w2pchat

On Thu, 8 Nov 2018 at 03:45, pbreit  wrote:

> Have a look at:
>
> https://github.com/web2py/web2py/blob/master/gluon/contrib/websocket_messaging.py
>
> --
> 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.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [web2py] Re: Error with datetime.

2018-11-07 Thread Maurice Waka
I'm still getting the same error when changing the dates.

On Thu, Nov 8, 2018 at 2:27 AM 黄祥  wrote:

> from error traceback seems like must convert the str to datetime.date
> ref:
> https://stackoverflow.com/questions/466345/converting-string-into-datetime
>
> best regards,
> stifan
>
> --
> 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/AdcoDH7_M-c/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> web2py+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [web2py] Re: Error with datetime.

2018-11-07 Thread Lovedie JC
When using sqlite, I don't get the errors, but using Mongodb brings up the
same error.

On Thu, 8 Nov 2018 at 06:43, Maurice Waka  wrote:

> I'm still getting the same error when changing the dates.
>
> On Thu, Nov 8, 2018 at 2:27 AM 黄祥  wrote:
>
>> from error traceback seems like must convert the str to datetime.date
>> ref:
>> https://stackoverflow.com/questions/466345/converting-string-into-datetime
>>
>> best regards,
>> stifan
>>
>> --
>> 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/AdcoDH7_M-c/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> web2py+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> 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.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: Problem with starting project

2018-11-07 Thread Константин Комков
I downloaded web2py, deleted old and installed again, but error was  the 
same. There is file appconfig in pass gluon/contrib/.
((ImportError('No module named 
application.modules',), ))

 at 047CD338, file 
"Z:\OAS\web2py\applications\application\models\db.py", line 7>

Line 7:

from gluon.contrib.appconfig import AppConfig

-- 
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.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: Request for direction to benchmark

2018-11-07 Thread mostwanted
Hey Stifan, i did look at it but id dint quite find what i was looking for 
but thanks for the suggestion.

On Thursday, November 8, 2018 at 1:28:30 AM UTC+2, 黄祥 wrote:
>
> perhaps you can check on web2py appliances, there are some examples of that
> ref:
> https://github.com/mdipierro/web2py-appliances/
>
> best regards,
> stifan
>

-- 
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.
For more options, visit https://groups.google.com/d/optout.


[web2py] What are you use with web2py.

2018-11-07 Thread Константин Комков
Hello, I want to know what components are you use with web2py for comfort?
(text editor, version control system) Maybe are somebody use Nodejs? And is 
it appropriate? What are you make for automatу your action, for example 
clear caсhe and cookies?
Thank you!

-- 
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.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: What are you use with web2py.

2018-11-07 Thread 黄祥
text editor: sublime or whatever available (notepad++ in windows)
vcs: git
nodejs used for some project that needs js, something like chart
automate use the configuration management, e.g. ansible, or just web2py 
scheduler is fine

best regards,
stifan

-- 
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.
For more options, visit https://groups.google.com/d/optout.