[web2py] Re: IDE for using web2py on windows

2016-10-30 Thread Ty oc
I think they talk about the paid version, I mean, I have community and when 
I hit new project it only says "pure python" so the workarounds 
probably work there...

I have asked the same little time before 
https://groups.google.com/d/msg/web2py/DdzirPSMVrE/bja2wvvGBgAJ

El sábado, 29 de octubre de 2016, 21:31:59 (UTC-5), Nikos 
Panagogiannopoulos escribió:
>
>
> Will the community version of PyCharm be capable to full service me or i 
> do have to go the the paid version?
>
>

-- 
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] Typo in admin\views\default.mobile\layout.html line 37 causes admin login page to be empty on tablet

2016-10-30 Thread Martin de Groot
I was trying to access the  admin application  of the standard web2py 
website which is installed at mydomain

I used the following URL:   https://mydomain/admin

On my Windows desktop PC I was correctly shown the admin - login page and I 
was able to log in.

On my iPad tablet I was shown an empty page and I could see that the title 
attribute was "Web2py Mobile Admin"

After some searching I discovered in the web2py code that if the useragent 
is a mobile device, that then the views/default  folder is replaced by 
default.mobile.

When I opened admin\views\default.mobile\layout.html on my desktop PC in 
the PyCharm IDE  I found a syntax error flagged in the line of code in the 
 section  where the Javascript Modernizr is declared, line 37 :


Re: [web2py] Re: web2py_osx on Sierra (OSX 10.12)

2016-10-30 Thread Scott Hunter
I downloaded a fresh copy of the source version, ran it using the default 
python in OS X, and all ran fine.

I installed Anaconda python 2.7, ran the source version using it, and all 
ran fine.

However, I was able to run the OS X version by executing the 
Content/MacOS/web2py executable inside of web2py.app via the command line.

Then I tried executing that same OS X version by double-clicking the app; 
it presented me with a different dialog: that it was from an unknown 
developer, and would not open it.  But I could open it from the Security 
panel of System Preferences, and it worked fine.

I next tried to download the same .zip file from a different server (as my 
ultimate goal is to distribute my appliance via such an executable).  That 
exhibited the problematic behavior that I have reported previously.

Lastly, I re-downloaded the zipped-app from the web2py site; opening that 
(via double-clicking) is now experiencing the behavior previously reported. 
 But I *can* open it via the command line as described above.  And after 
doing so, it will open via double-click.

So the "source" of the problem seems to have been trying to download from a 
different server.  WHY that would cause a problem, I haven't a clue.  But I 
could get around it by adding a script to open the execrable directly.

- Scott


On Saturday, October 29, 2016 at 10:42:08 PM UTC-4, Massimo Di Pierro wrote:
>
> I would recommend you download Anaconda python 2.7 and run python from 
> source
> http://web2py.com/examples/static/web2py_src.zip
>
> If it also fails, it may give more info.
>
> On Tuesday, 25 October 2016 11:55:32 UTC-5, Scott Hunter wrote:
>>
>> Sure, but there's not much to see.
>>
>> When I launch the app (after Safari, presumably, has unzipped it), I get:
>>
>>
>> 
>>
>> I click Open, and (after a little wait) am presented with:
>>
>>
>> 
>>
>> If there is something relevant in the Console, it isn't obvious to me.
>>
>> - Scott
>>
>> On Tuesday, October 25, 2016 at 10:39:41 AM UTC-4, Roberto Perdomo wrote:
>>>
>>> I'm using Web2py 2.14.6 in sierra and cannot reproduce your errors.
>>>
>>> Can you show the errors or warnings?
>>>
>>> El 25 oct. 2016 10:36 AM, "Scott Hunter"  escribió:
>>>
 Am I to interpret from the deafening silence that I am the only one 
 seeing this problem?  Even if that is the case, any ideas how I can 
 resolve 
 it, or where I might go to find any?

 - Scott

 On Wednesday, October 19, 2016 at 12:17:45 PM UTC-4, Scott Hunter wrote:
>
> When I download & run a fresh copy of the web2py_osx app, I get the 
> usual warnings about it not being from a known source (b/c it is 
> unsigned, 
> I presume).  In previous versions, when I told the Security System 
> Preference panel to open it anyway, it did, and all was well.  But now, 
> soon after it launches, I get an all-but-useless error alert "web2py 
> error" 
> with the choices of Show Console (which reveals nothing to my eye) or 
> Terminate.
>
> This is happening on 2 separate machines running Sierra.
>
> I'm at a loss as to what, if anything, I can do about it.
>
> - Scott
>
 -- 
 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+un...@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.