I see this happening too.  After allowing the app to run,  web2py stops 
working and the console errors look like this.  Is sqlite the problem?

error 11:49:43.484984 -0800 mtmd Can't trash .MobileBackups while MTM 
Snapshot Handler is running!
error 11:49:43.599957 -0800 com.apple.quicklook.ThumbnailsAgent getattrlist 
returned -1 Invalid argument
error 11:49:43.625833 -0800 geodMachServiceBridge 22.1 Asked to free space 
for a volume we don't control.
error 11:49:43.627489 -0800 com.apple.quicklook.ThumbnailsAgent SQLite[1]: 
<private>
error 11:49:43.627896 -0800 com.apple.quicklook.ThumbnailsAgent Sqlite 
request <private> failed on <private> with error [<private>]
error 11:49:44.285813 -0800 web2py Detected missing constraints for 
<private>.  It cannot be placed because there are not enough constraints to 
fully define the size and origin. Add the missing constraints, or set 
translatesAutoresizingMaskIntoConstraints=YES and constraints will be 
generated for you. If this view is laid out manually on macOS 10.12 and 
later, you may choose to not call [super layout] from your override. Set a 
breakpoint on DETECTED_MISSING_CONSTRAINTS to debug. This error will only 
be logged once.


On Saturday, December 31, 2016 at 6:54:08 AM UTC-8, Jared McFarland wrote:
>
> https://github.com/web2py/web2py/issues/1551
>
> On Saturday, November 26, 2016 at 5:18:46 AM UTC+1, Massimo Di Pierro 
> wrote:
>>
>> Thanks for reporting this. Do you mind opening a ticket?
>>
>> On Monday, 21 November 2016 09:42:54 UTC-6, Jared McFarland wrote:
>>>
>>> I've also run into this. I'm on macOS 10.12.1
>>>
>>> I downloaded the web2py app from 
>>> http://www.web2py.com/examples/static/web2py_osx.zip
>>>
>>> When I try to run it, I get the same web2py error dialog: 
>>> http://take.ms/IIXG5
>>>
>>> Here are the details from the console: http://take.ms/tTTgG
>>>
>>> "Detected missing constraints for <private>.  It cannot be placed 
>>> because there are not enough constraints to fully define the size and 
>>> origin. Add the missing constraints, or set 
>>> translatesAutoresizingMaskIntoConstraints=YES and constraints will be 
>>> generated for you. If this view is laid out manually on macOS 10.12 and 
>>> later, you may choose to not call [super layout] from your override. Set a 
>>> breakpoint on DETECTED_MISSING_CONSTRAINTS to debug. This error will only 
>>> be logged once."
>>>
>>>
>>>
>>> On Sunday, October 30, 2016 at 1:09:58 PM UTC+1, Scott Hunter wrote:
>>>>
>>>> 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:
>>>>>>
>>>>>>
>>>>>> <https://lh3.googleusercontent.com/-pXz7IJFnb64/WA-N_EvItiI/AAAAAAAAAW0/X7FPXoQokSoI1mxDK242IS2zvr8uHtm4QCLcB/s1600/Screen%2BShot%2B2016-10-25%2Bat%2B12.48.33%2BPM.png>
>>>>>>
>>>>>> I click Open, and (after a little wait) am presented with:
>>>>>>
>>>>>>
>>>>>> <https://lh3.googleusercontent.com/-2p-yxApP7j0/WA-OI_BvwEI/AAAAAAAAAW4/i-nDtzMEDRw36y5EBUP3RGvFedz-vQBLACLcB/s1600/Screen%2BShot%2B2016-10-25%2Bat%2B12.48.50%2BPM.png>
>>>>>>
>>>>>> 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" <shu...@nycap.rr.com> 
>>>>>>> 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.

Reply via email to