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 /models/db1.py
Update your appconfig.ini to include the host_names entry (the
appconfig.ini in the repo on github contains the entry)
OR
Remove the host_names parameter from the call to Auth on line 58
in /models/db1.py
That should get your local copy working (and eliminate the confusion for
future downloads or clones)
On Wednesday, March 23, 2016 at 7:47:37 AM UTC-4, Ramos wrote:
>
> 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 <[email protected] <javascript:>>:
>
>> 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 <[email protected]>:
>>>
>>>> Very very nice.
>>>>
>>>> Thank you for sharing
>>>>
>>>> On Wed, Mar 23, 2016 at 3:17 AM, Michael Beller <[email protected]>
>>>> 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://mjbeller.pythonanywhere.com/starter.
>>>>>
>>>>> I'd welcome any feedback but also wanted to share the code at
>>>>> https://github.com/mjbeller/web2py-starter for anybody that may want
>>>>> to explore.
>>>>>
>>>>> I started with the goal to create a new web2py app without using the
>>>>> Welcome app to help me learn a little more about web2py. I found myself
>>>>> slowly adding more and more code (primarily CSS and JS) from the Welcome
>>>>> app to support some features such as Smartgrids. I'd like to evolve
>>>>> Starter to support the upcoming form.py and grid.py that the core team is
>>>>> evaluating and developing.
>>>>>
>>>>> --
>>>>> 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 [email protected].
>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Massimiliano
>>>>
>>>> --
>>>> 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 [email protected].
>>>> 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 [email protected] <javascript:>.
>> 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 [email protected].
For more options, visit https://groups.google.com/d/optout.