My python is 2.7.9
I tried to disable IPv6, then postfix won't auto start when I reboot my
server.
and use *#postfix start *will return this warning
postfix/postfix-script: warning: /var/spool/postfix/etc/resolv.conf and
/etc/resolv.conf differ
postfix/postfix-script: starting the Postfix mail sy
On Wednesday, March 23, 2016 at 5:00:19 PM UTC-7, Literate Aspects wrote:
>
> Hello,
>
> I am trying to log in and I forgot my password, but the dos console keeps
> returning the message
>
> datetime stamp - web2py - WARNING - email not sent
>
> How can I resolve this?
>
Dos console? What is
I've brought up one of my older apps in the beta. Looks like that is
working, except for some layout.html/css issues
-- menu bar is green
-- my logo is missing from the banner.
(but favicon is ok!)
Oh, I caught up with using appconfig.ini in db.py.
For this app, I'd give 3/4 of a thumbs
I plan to! When ready, I'd like to try and apply these styles
https://almsaeedstudio.com/themes/AdminLTE/pages/forms/general.html
to the new form.py and perhaps
https://almsaeedstudio.com/themes/AdminLTE/pages/tables/data.html
to the new grid.py
On Wednesday, March 23, 2016 at 10:22:32 PM UTC-4,
the only way i found that works everywhere was to essentially rotate the
entire print by 90degrees. on the screen i show it normal, but on the way
to the print, i rotate it as in:
@media print {
div#page { position: relative; height: 900px; width: 710px; margin:
auto; padding: 0px; font: 9
I am linking this from the new examples app. I assume you will be
maintaining it. for a while. :-)
On Wednesday, 23 March 2016 19:38:22 UTC-5, Michael Beller wrote:
>
> Are you using 2.14.1 beta?
>
> I would try to get it running without changes before making changes
> (unless you have a need to
+1 for pythonanywhere.com
based in UK if that meets your non-USA requirement
awesome support
completely scalable
runs on AWS infrastructure (they've essentially built a layer on top of AWS
that's make it trivial to manage)
On Tuesday, March 22, 2016 at 8:47:12 AM UTC-4, Carlos Cesar Caballero
yes - I think something like this could/should work:
db.auth_user.first_name.readable = False
On Wednesday, March 23, 2016 at 8:49:42 PM UTC-4, Jerry Liu wrote:
>
> Thanks! It worked!
>
> I also want to hide First and Last Name fields. At least, I don't want
> them to be shown on the registrat
Thanks! It worked!
I also want to hide First and Last Name fields. At least, I don't want them
to be shown on the registration page. Any ideas?
On Wednesday, March 23, 2016 at 5:43:14 PM UTC-7, Michael Beller wrote:
>
> no changes should be required to any controller or view. Everything is
> h
no changes should be required to any controller or view. Everything is
handled by the line:
return dict(form=auth())
in the default controller (in combination with the default/user.html).
The line in db.py just tells auth whether to use a username or email.
On Wednesday, March 23, 2016 at 8:16
Are you using 2.14.1 beta?
I would try to get it running without changes before making changes (unless
you have a need to get it running on an old version of web2py). As Massimo
pointed out, it's not necessarily backward compatible but other than
removing host_names (which I already did in the
OK. It is very strange because the code works for me with and without those
lines. I tried with SQL and noSQL and with japanese chars. My guess is that
it depends on the version of the driver that you have. Anyway. We will keep
those lines uncommented.
On Wednesday, 23 March 2016 19:22:28 UTC-5
Correct.
On Wednesday, March 23, 2016 at 7:16:07 AM UTC-7, Massimo Di Pierro wrote:
>
> Making sure I understand. Uncommenting these fixed your problem?
>
> # if not 'charset' in driver_args:
>
> # driver_args['charset'] = 'utf8'
>
>
> Massimo
>
>
>
>
> On Wednesday, 23 March 2016 01:05:35 UTC
Not sure if I understood, you mean I still have to make changes on View and
Controller, right?
because adding this line doesn't change anything on login and registration
views.
On Wednesday, March 23, 2016 at 4:12:49 PM UTC-7, Michael Beller wrote:
>
> It's easier than that ... just change usern
Got it. As always, thank you Massimo.
I changed in db1.py
auth.define_tables(username=True, signature=True)
to
auth.define_tables(username=False, signature=True)
But in the log in it still ask me for user name.
Also I get an error when I try to register.
pydal\helpers\classes.py", line 18
Hello,
I am trying to log in and I forgot my password, but the dos console keeps
returning the message
datetime stamp - web2py - WARNING - email not sent
How can I resolve this?
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Sour
Which version of web2py? Did you use git clone? Did you do what it is
asking?
git submodule update --init --recursive
On Wednesday, 23 March 2016 18:33:39 UTC-5, Tommi Lahtonen wrote:
>
>
> It looks like GAE Launcher 1.34 breaks my web2py-applications. Is this a
> problem with App Engine Laun
It looks like GAE Launcher 1.34 breaks my web2py-applications. Is this a
problem with App Engine Launcher or with web2py?
For example this simple application does not work:
http://appro.mit.jyu.fi/web-sovellukset/ohjaus/ohjaus6/web2py_malli.zip
It works just fine with App Engine Launcher 1.9.32
You cannot do that. You have an app created with web2py 2.14.1 beta and run
it with an older version of web2py. myconf.get is not defined.
We only offer backward compatibility, not forward compatibility.
Massimo
On Wednesday, 23 March 2016 18:12:58 UTC-5, Ron Chatterjee wrote:
>
> I copied the c
Thank you Dave S.
OK, getting into it, EXCELLENT!
Thank you for your reply!
Jon
--
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 messa
OK, getting into it, EXCELLENT!
Thank you for your reply!
Jon
--
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
I changed auth = Auth(db, host_names=myconf.get('host.name'))
to auth = Auth(db) for backwards compatibility (I think host_names will be
introduced in the upcoming release)
That should fix that problem.
Are you having another problem? I'm actually having a problem with the old
pydal in old ver
It's easier than that ... just change username=True in db.py, all the
web2py components (e.g., log in form, auth_user table, log in menu, etc.)
will now support username ...
auth.define_tables(username=True, signature=True)
On Wednesday, March 23, 2016 at 5:46:38 PM UTC-4, Jerry Liu wrote:
>
I copied the config file from private and changed this to db1.py.
auth = Auth(db, host_names=myconf.get('host.name'))
I still don't get the app running. Any suggestions?
On Wednesday, March 23, 2016 at 6:36:34 PM UTC-4, Dave S wrote:
>
>
>
> On Wednesday, March 23, 2016 at 3:01:24 PM UTC-7, Lite
On Wednesday, March 23, 2016 at 3:01:24 PM UTC-7, Literate Aspects wrote:
>
> Hi Rimas,
>
> I thank you for the kind thoughts, but I simply don't have that luxury. I
> read and I listen to the video tutorials, IF they matched the current live
> app, then following the step by step instructions
This is what I tried to tell you. Blindly following the tutorials is not so
easy if you don't have clear understanding of how things are related. Most
tutorials could be outdated, different developers used slightly different
approach, different configs, templates and so on.
Anyway, I guess you foun
Anthony, you are the MAN!
I was wondering about the code structure, as in Delphi, this is not
required, BUT is an added task. There are separate applications
in Delphi that format the code to different standards including indentation
(which was the problem), spacing and capitalization.
Now, I
Excellent! Thank you. Shall try now.
Thank you Anthony.
On Wednesday, March 23, 2016 at 2:59:07 PM UTC-7, Anthony wrote:
>
> Notice that the indentation levels of your code do not match what is in
> the book. In Python, you must use proper indentation.
>
> Anthony
>
--
Resources:
- http://we
Hi Rimas,
I thank you for the kind thoughts, but I simply don't have that luxury. I
read and I listen to the video tutorials, IF they matched the current live
app, then following the step by step instructions would be straight
forward, but the live app does not match the instructions, so at ea
Notice that the indentation levels of your code do not match what is in the
book. In Python, you must use proper indentation.
Anthony
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/iss
Jon, I see you are pushing new information into your brains too fast :)
Take a rest. Sleep well. I'm serious. Let your brain to digest. Then go
back to the beginning of the book or/and review the beginning of the video
about the basic concepts of the web2py framework.
Try to understand the workfl
Hello, all
I want to add a *username* field to auth_user table. I figured out I can
use the following line of code to do so, but how can I use *username *instead
of *email *in login and registration process?
auth.settings.extra_fields[auth.settings.table_user_name] = [ Field]
--
Resources:
-
Hello, please excuse the BEGINNERism of my question.
Attached are two screen shots, one of the Web2PY manual and the other of
the live app attempting to follow the manual instructions.
I have tried to:
"Let's now add a counter to this page that will count how many times the
same visitor display
Hi Rimantas,
Please, what is the difference between:
def index(): return "Hello from MyApp"
def index(): return dict(message="Hello from MyApp")
I see the different RUN screen outputs, but do not have a definition of:
RETURN
RETURN DICT
to be able to determine the specific differences, is th
Hi Rimantas,
Sorry, got it to work, just put the same text in front and it ran.
Thank you, sorry to waste your time.
Jon
On 3/23/16, Literate Aspects wrote:
> Hi Rimantas,
>
> Thank you. I humbly appreciate everything you and the other LOVERS OF
> CODING share.
>
> With all respect to those w
Interesting... Willoughby.
Sorry, I fail to see your "humor".
On 3/23/16, Willoughby wrote:
> I have a 'Create Your First web2py App in 38 Minutes' book, but not the
> hour long version.
> Sorry.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web
Hi Ramos,
I found the problem.
using appconfig for formstyle doesn't work in older versions (it appears
that it doesn't recognize the underscore).
I hardcoded the formstyle in db1.py and updated the repo
You can refresh from the repo (there's been some other small enhancements)
or in models/d
Have you tried this?
https://milesm.pythonanywhere.com/wiki
Rimas
On Wednesday, March 23, 2016 at 6:34:40 PM UTC, Literate Aspects wrote:
>
> Hi Michael,
>
> Thank YOU! for including me in this thread. Wow, I now understand what
> your admin webapp is.
>
> I am determined TODAY to create my own
Humm what version of python are you using? 2.7.11 does have
source_address
https://hg.python.org/releases/2.7.11/file/tip/Lib/smtplib.py#l248
Basically the problem here google is that google returning an IPv6 address
to your socket.getaddrinfo(host, port) before the IPv4 addresses so it
tries
I have a 'Create Your First web2py App in 38 Minutes' book, but not the
hour long version.
Sorry.
On Wednesday, March 23, 2016 at 2:34:40 PM UTC-4, Literate Aspects wrote:
>
> Hi Michael,
>
> Thank YOU! for including me in this thread. Wow, I now understand what
> your admin webapp is.
>
> I am
EXCELLENT! Dave S. on point... thank you!
Shall do, beginning with Massimo's chapter 3.
Thank you for your kindness.
Jon
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (
Hi Michael,
Thank YOU! for including me in this thread. Wow, I now understand what
your admin webapp is.
I am determined TODAY to create my own first Web2PY app, PLEASE, does
anyone know of a "create your first Web2PY app in 1 hour" type of
tutorial. I am viewing the (11 hour) 5 set video tu
On Wednesday, March 23, 2016 at 10:53:34 AM UTC-7, Literate Aspects wrote:
>
> It seems to be some sort of display of 'components' ?
>
> Looks cool, hopefully today I can discover how the 'components /
> widgets' can be utilized in a project?
>
> Thank you.
>
> Jon
>
Well, imagine your da
2.12.13
2016-03-23 17:15 GMT+00:00 Michael Beller :
> That may be a problem with an earlier version of web2py. I'm testing now
> on trunk, i.e., the master branch of web2py. I noticed this earlier but
> haven't been able to see what's changed in master vs. previous versions.
> Anybody know?
>
>
It seems to be some sort of display of 'components' ?
Looks cool, hopefully today I can discover how the 'components /
widgets' can be utilized in a project?
Thank you.
Jon
On 3/23/16, Literate Aspects wrote:
> I am looking at your online app but do not understand its purpose. I
> shows a lo
I am looking at your online app but do not understand its purpose. I
shows a lot of data representations, and says "Alexander Pierce" is
online.
Jon
On 3/23/16, Michael Beller wrote:
> Hi Jon,
>
> I just posted my sample app, called Starter, that uses:
> https://almsaeedstudio.com/preview
>
> Y
No I wasn't. I am looking fwd to the stable version that works out of box.
Nice work btw!
On Wednesday, March 23, 2016 at 12:28:21 PM UTC-4, Michael Beller wrote:
>
> Those should appear after you log in (but are hidden for guests).
>
> Were you logged in?
>
> On Wednesday, March 23, 2016 at 9:2
Thank you!
On Wednesday, March 23, 2016 at 2:30:23 AM UTC-4, xmarx wrote:
>
> you have to specify that with css.
>
> add this:
>
>
> .two {
> display:none;
> }
>
>
>
>
> 22 Mart 2016 Salı 21:22:14 UTC+2 tarihinde billmac...@gmail.com yazdı:
>>
>> In the book example page 501
>>
>> Hello
>> World
That may be a problem with an earlier version of web2py. I'm testing now
on trunk, i.e., the master branch of web2py. I noticed this earlier but
haven't been able to see what's changed in master vs. previous versions.
Anybody know?
What version of web2py are you using?
I should probably mov
I've blocked all the other applications in the apache config. just
wondering: wouldn't it be better to move the applications from the web2py
git repository to somewhere else? I'm using web2py source from git (with
specific tag) for my productive system and therefor also have the examples
and we
i cannot log in or register...
2016-03-23 12:13 GMT+00:00 Michael Beller :
> I just added the appconfig.ini to the repo since that will cause
> confusion. It contained the item for host_names supported by the current
> web2py in trunk.
>
> auth = Auth(db, host_names=myconf.get('host.name'))
>
>
error in login/register
[image: Imagem inline 1]
2016-03-23 17:07 GMT+00:00 António Ramos :
> i cannot log in or register...
>
> 2016-03-23 12:13 GMT+00:00 Michael Beller :
>
>> I just added the appconfig.ini to the repo since that will cause
>> confusion. It contained the item for host_names su
Those should appear after you log in (but are hidden for guests).
Were you logged in?
On Wednesday, March 23, 2016 at 9:25:20 AM UTC-4, billmac...@gmail.com
wrote:
>
> Hi Michael,
>
> I looked at the preview of the starter app. However I am not seeing the
> dashboard icons (like attached). Is i
On Wednesday, March 23, 2016 at 5:44:34 PM UTC+2, Dave S wrote:
>
>
>
> On Wednesday, March 23, 2016 at 7:46:24 AM UTC-7, M Mihai wrote:
>>
>>
>>
>> On Wednesday, March 23, 2016 at 1:24:32 AM UTC+2, Dave S wrote:
>>>
>>>
>>>
>>> On Tuesday, March 22, 2016 at 3:45:25 PM UTC-7, M Mihai wrote:
Ill try to explain it here but this is gonna require a video tutorial:
First there are several ways to achieve it. Although Anthony's suggestion
(cache.ram) is optimal it didnt work on production, I dont know why
cache.ram doesnt work on pythonanywhere.
I got the progress bar working on product
On Wednesday, March 23, 2016 at 7:46:24 AM UTC-7, M Mihai wrote:
>
>
>
> On Wednesday, March 23, 2016 at 1:24:32 AM UTC+2, Dave S wrote:
>>
>>
>>
>> On Tuesday, March 22, 2016 at 3:45:25 PM UTC-7, M Mihai wrote:
>>>
>>> So I want to update the database while a scheduler task is running but
>>> t
Hi I test your suggestion.
and mail.error shows __init__() got an unexpected keyword argument
'source_address'
here is the code
smtp_args = self.settings.server.split(':')
kwargs = dict(timeout=self.settings.timeout)
if self.settings.ssl:
serve
On Wednesday, March 23, 2016 at 1:24:32 AM UTC+2, Dave S wrote:
>
>
>
> On Tuesday, March 22, 2016 at 3:45:25 PM UTC-7, M Mihai wrote:
>>
>> So I want to update the database while a scheduler task is running but
>> the function won't update it. If I try to run the same function from a
>> contro
Making sure I understand. Uncommenting these fixed your problem?
# if not 'charset' in driver_args:
# driver_args['charset'] = 'utf8'
Massimo
On Wednesday, 23 March 2016 01:05:35 UTC-5, webmas...@trytha.com wrote:
>
> I'm on it, Pierbro!
>
> Ooh, cool, just found a bug in my code that d
Hi Michael,
I looked at the preview of the starter app. However I am not seeing the
dashboard icons (like attached). Is it something I need to configure in the
app or there are some specific setups?
Bill.
On Wednesday, March 23, 2016 at 8:16:23 AM UTC-4, Michael Beller wrote:
>
> Hi Jon,
>
> I
On Wednesday, March 23, 2016 at 1:22:27 AM UTC-4, Massimo Di Pierro wrote:
>
> It is but make sure you do not expose the welcome app. That app exposes
> (as an example) the state of the system, which includes your secret key.
> The next we2py version (this week, I promise) will prevent that.
>
D
Hi Jon,
I just posted my sample app, called Starter, that uses:
https://almsaeedstudio.com/preview
You can read about it here:
https://groups.google.com/forum/#!topic/web2py/Md-OTq-hi-U%5B1-25%5D
and download it here:
https://github.com/mjbeller/web2py-starter
On Monday, March 21, 2016 at 8:37:
I just added the appconfig.ini to the repo since that will cause confusion.
It contained the item for host_names supported by the current web2py in
trunk.
auth = Auth(db, host_names=myconf.get('host.name'))
Since I'm not sure what that is for, I just changed it back to:
auth = Auth(db)
in /m
Thanks, that is not bad (and not good, but not bad).
Dne středa 23. března 2016 11:30:18 UTC+1 Leonel Câmara napsal(a):
>
> Do it the same way the welcome application does in web2py_ajax.html
>
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2p
I already copied appconfig.ini to private
but next error...
[image: Imagem inline 1]
then i changed auth above to just
auth=auth(db)
and now i could open the app but when i go to login or sign up i get
another error
[image: Imagem inline 2]
2016-03-23 11:41 GMT+00:00 Massimiliano :
> Just
Just copy
appconfic.ini from welcome/private to starter/private
On Wednesday, March 23, 2016 at 11:19:23 AM UTC+1, Ramos wrote:
>
> Nice but i get an error installing it as "starter" application
> any help ?
>
> [image: Imagem inline 1]
>
> 2016-03-23 9:40 GMT+00:00 Massimiliano >:
>
>> Very very
Is there a dashboard version of the starter app we can use?
On Wednesday, March 23, 2016 at 6:51:42 AM UTC-4, Ron Chatterjee wrote:
>
> you calling me a dog? lol. jk. Get the point. Thanks
>
> On Wednesday, March 23, 2016 at 6:33:27 AM UTC-4, Nico de Groot wrote:
>>
>> Haven't tried yet, but you n
you calling me a dog? lol. jk. Get the point. Thanks
On Wednesday, March 23, 2016 at 6:33:27 AM UTC-4, Nico de Groot wrote:
>
> Haven't tried yet, but you need to configure a little. From the preview
> site:
>
> IMPORTANT NOTES:
> Starter App is currently maintained on web2py current master branc
Haven't tried yet, but you need to configure a little. From the preview site:
IMPORTANT NOTES:
Starter App is currently maintained on web2py current master branch
appconfig.ini is not included in the git repo (it's excluded by .gitignore) so
you'll need to copy the file if you clone rather than d
Do it the same way the welcome application does in web2py_ajax.html
--
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
Does it has a version similar to web2py welcome app with no user name? And
I got the same error
On Wednesday, March 23, 2016 at 6:19:23 AM UTC-4, Ramos wrote:
>
> Nice but i get an error installing it as "starter" application
> any help ?
>
> [image: Imagem inline 1]
>
> 2016-03-23 9:40 GMT+00:00
Nice but i get an error installing it as "starter" application
any help ?
[image: Imagem inline 1]
2016-03-23 9:40 GMT+00:00 Massimiliano :
> Very very nice.
>
> Thank you for sharing
>
> On Wed, Mar 23, 2016 at 3:17 AM, Michael Beller
> wrote:
>
>> I created a new 'starter' app for the types o
I think web2py is sending its mail using IPv6 because the default OS
behavior for the environment you're using web2py on is to have your IPv6
address as the source_address.
Can you do a test for me? In gluon/tools.py can you change:
server = smtplib.SMTP(*smtp_args, **kwargs)
To:
server = sm
Very very nice.
Thank you for sharing
On Wed, Mar 23, 2016 at 3:17 AM, Michael Beller wrote:
> I created a new 'starter' app for the types of data and process management
> apps I tend to build.
>
> I used https://almsaeedstudio.com/preview as the template and I'm hosting
> a preview at https://
no idea ?
Dne středa 16. března 2016 10:12:31 UTC+1 Mirek Zvolský napsal(a):
>
> Any idea how to localize JavaScript texts?
>
> I think I need
> generate some js code with objects/dictionaries (similar to web2py
> language files)
> and make a function which will seek in this dictionaries.
>
>
75 matches
Mail list logo