librelist archives

« back to archive

Alpha Mac Build Available

Alpha Mac Build Available

From:
Maxim Khailo
Date:
2014-11-03 @ 14:45
Hi All,

I managed to create a Mac build for Fire★. I have not officially
published it because I need people to test it and tell me if it runs and
does not crash. If you want to help me, you can get the DMG here:

    http://mempko.com/firestr/build/0.4/firestr_0.4.dmg

Thanks,
Max

Re: [firestr] Alpha Mac Build Available

From:
Date:
2014-11-03 @ 15:26
I've had bad luck with the mac build.  It throws an error that looks 
like https://imgur.com/FmgIcwv , and clicking "report" says it can't 
find /usr/local/lib/libbotan-1.10.dylib.0 (full error text at 
http://pastebin.com/jkK3pnLT ).  Let me know if I can help at all with 
debugging this

Regards,

JP

On 2014-11-03 08:45, Maxim Khailo wrote:
> Hi All,
>
> I managed to create a Mac build for Fire★. I have not officially
> published it because I need people to test it and tell me if it runs 
> and
> does not crash. If you want to help me, you can get the DMG here:
>
>     http://mempko.com/firestr/build/0.4/firestr_0.4.dmg
>
> Thanks,
> Max

Re: [firestr] Alpha Mac Build Available

From:
Maxim Khailo
Date:
2014-11-03 @ 19:02
JP,

Thanks! Looks like i need to add libbotan in the app bundle. For some
reason macdeployqt did not do it. 

I'll post an updated dmg tonight.

Max

On Mon, 2014-11-03 at 09:26 -0600, jp@writes.co.de wrote:
> I've had bad luck with the mac build.  It throws an error that looks 
> like https://imgur.com/FmgIcwv , and clicking "report" says it can't 
> find /usr/local/lib/libbotan-1.10.dylib.0 (full error text at 
> http://pastebin.com/jkK3pnLT ).  Let me know if I can help at all with 
> debugging this
> 
> Regards,
> 
> JP
> 
> On 2014-11-03 08:45, Maxim Khailo wrote:
> > Hi All,
> >
> > I managed to create a Mac build for Fire★. I have not officially
> > published it because I need people to test it and tell me if it runs 
> > and
> > does not crash. If you want to help me, you can get the DMG here:
> >
> >     http://mempko.com/firestr/build/0.4/firestr_0.4.dmg
> >
> > Thanks,
> > Max
> 

Re: [firestr] Alpha Mac Build Available

From:
Maxim Khailo
Date:
2014-11-04 @ 00:30
JP,

Uploaded a new version, can you try again? Same URL

Thanks,
Max

jp@writes.co.de wrote:
> I've had bad luck with the mac build.  It throws an error that looks
> like https://imgur.com/FmgIcwv , and clicking "report" says it can't
> find /usr/local/lib/libbotan-1.10.dylib.0 (full error text at
> http://pastebin.com/jkK3pnLT ).  Let me know if I can help at all with
> debugging this
>
> Regards,
>
> JP
>
> On 2014-11-03 08:45, Maxim Khailo wrote:
>> Hi All,
>>
>> I managed to create a Mac build for Fire★. I have not officially
>> published it because I need people to test it and tell me if it runs
>> and
>> does not crash. If you want to help me, you can get the DMG here:
>>
>>      http://mempko.com/firestr/build/0.4/firestr_0.4.dmg
>>
>> Thanks,
>> Max

Re: [firestr] Alpha Mac Build Available

From:
Date:
2014-11-04 @ 03:36
Still no dice, sorry

```
Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000

Application Specific Information:
dyld: launch, loading dependent libraries

Dyld Error Message:
   Library not loaded: /usr/local/lib/libbotan-1.10.dylib.0
   Referenced from: /Volumes/VOLUME/firestr.app/Contents/MacOS/firestr
   Reason: image not found
```

Regards,

JP

On 2014-11-03 18:30, Maxim Khailo wrote:
> JP,
>
> Uploaded a new version, can you try again? Same URL
>
> Thanks,
> Max
>
> jp@writes.co.de wrote:
>> I've had bad luck with the mac build.  It throws an error that looks
>> like https://imgur.com/FmgIcwv , and clicking "report" says it can't
>> find /usr/local/lib/libbotan-1.10.dylib.0 (full error text at
>> http://pastebin.com/jkK3pnLT ).  Let me know if I can help at all 
>> with
>> debugging this
>>
>> Regards,
>>
>> JP
>>
>> On 2014-11-03 08:45, Maxim Khailo wrote:
>>> Hi All,
>>>
>>> I managed to create a Mac build for Fire★. I have not officially
>>> published it because I need people to test it and tell me if it 
>>> runs
>>> and
>>> does not crash. If you want to help me, you can get the DMG here:
>>>
>>>      http://mempko.com/firestr/build/0.4/firestr_0.4.dmg
>>>
>>> Thanks,
>>> Max

Re: [firestr] Alpha Mac Build Available

From:
Maxim Khailo
Date:
2014-11-04 @ 03:59
JP,

So I think I figured out the issue. I am still a mac noob so this is all 
new to me. The Mac does not have "ldd" but provides a tool call otool 
with an option -L to show which dylibs are required for an executable.

All libraries except botan had a search path of 
"@executable_path/../Frameworks" while botan had "/usr/local/lib". I 
used a tool called "install_name_tool" to change the search path to be 
relative to the executable.

I suspect this is what macdeployqt did automatically but since it missed 
botan, it didn't update the search path for it.

I uploaded a new version with corrected search path. Can you try one 
more time? Sorry

Max

jp@writes.co.de wrote:
> Still no dice, sorry
>
> ```
> Exception Type:  EXC_BREAKPOINT (SIGTRAP)
> Exception Codes: 0x0000000000000002, 0x0000000000000000
>
> Application Specific Information:
> dyld: launch, loading dependent libraries
>
> Dyld Error Message:
>     Library not loaded: /usr/local/lib/libbotan-1.10.dylib.0
>     Referenced from: /Volumes/VOLUME/firestr.app/Contents/MacOS/firestr
>     Reason: image not found
> ```
>
> Regards,
>
> JP
>
> On 2014-11-03 18:30, Maxim Khailo wrote:
>> JP,
>>
>> Uploaded a new version, can you try again? Same URL
>>
>> Thanks,
>> Max
>>
>> jp@writes.co.de wrote:
>>> I've had bad luck with the mac build.  It throws an error that looks
>>> like https://imgur.com/FmgIcwv , and clicking "report" says it can't
>>> find /usr/local/lib/libbotan-1.10.dylib.0 (full error text at
>>> http://pastebin.com/jkK3pnLT ).  Let me know if I can help at all
>>> with
>>> debugging this
>>>
>>> Regards,
>>>
>>> JP
>>>
>>> On 2014-11-03 08:45, Maxim Khailo wrote:
>>>> Hi All,
>>>>
>>>> I managed to create a Mac build for Fire★. I have not officially
>>>> published it because I need people to test it and tell me if it
>>>> runs
>>>> and
>>>> does not crash. If you want to help me, you can get the DMG here:
>>>>
>>>>       http://mempko.com/firestr/build/0.4/firestr_0.4.dmg
>>>>
>>>> Thanks,
>>>> Max

Re: [firestr] Alpha Mac Build Available

From:
Date:
2014-11-04 @ 04:04
It works!  Good stuff!

Regards,

JP

On 2014-11-03 21:59, Maxim Khailo wrote:
> JP,
>
> So I think I figured out the issue. I am still a mac noob so this is 
> all
> new to me. The Mac does not have "ldd" but provides a tool call otool
> with an option -L to show which dylibs are required for an 
> executable.
>
> All libraries except botan had a search path of
> "@executable_path/../Frameworks" while botan had "/usr/local/lib". I
> used a tool called "install_name_tool" to change the search path to 
> be
> relative to the executable.
>
> I suspect this is what macdeployqt did automatically but since it 
> missed
> botan, it didn't update the search path for it.
>
> I uploaded a new version with corrected search path. Can you try one
> more time? Sorry
>
> Max
>
> jp@writes.co.de wrote:
>> Still no dice, sorry
>>
>> ```
>> Exception Type:  EXC_BREAKPOINT (SIGTRAP)
>> Exception Codes: 0x0000000000000002, 0x0000000000000000
>>
>> Application Specific Information:
>> dyld: launch, loading dependent libraries
>>
>> Dyld Error Message:
>>     Library not loaded: /usr/local/lib/libbotan-1.10.dylib.0
>>     Referenced from: 
>> /Volumes/VOLUME/firestr.app/Contents/MacOS/firestr
>>     Reason: image not found
>> ```
>>
>> Regards,
>>
>> JP
>>
>> On 2014-11-03 18:30, Maxim Khailo wrote:
>>> JP,
>>>
>>> Uploaded a new version, can you try again? Same URL
>>>
>>> Thanks,
>>> Max
>>>
>>> jp@writes.co.de wrote:
>>>> I've had bad luck with the mac build.  It throws an error that 
>>>> looks
>>>> like https://imgur.com/FmgIcwv , and clicking "report" says it 
>>>> can't
>>>> find /usr/local/lib/libbotan-1.10.dylib.0 (full error text at
>>>> http://pastebin.com/jkK3pnLT ).  Let me know if I can help at all
>>>> with
>>>> debugging this
>>>>
>>>> Regards,
>>>>
>>>> JP
>>>>
>>>> On 2014-11-03 08:45, Maxim Khailo wrote:
>>>>> Hi All,
>>>>>
>>>>> I managed to create a Mac build for Fire★. I have not officially
>>>>> published it because I need people to test it and tell me if it
>>>>> runs
>>>>> and
>>>>> does not crash. If you want to help me, you can get the DMG here:
>>>>>
>>>>>       http://mempko.com/firestr/build/0.4/firestr_0.4.dmg
>>>>>
>>>>> Thanks,
>>>>> Max

Re: [firestr] Alpha Mac Build Available

From:
Maxim Khailo
Date:
2014-11-04 @ 04:08
JP,

Awesome! Good to hear.

There is one last issue which I just remembered. New Mac versions since 
I believe Lion have a feature called AppNap. What it does it stop 
background threads of apps if the app does not get any interaction for a 
while. This causes problems because for firestr as it puts threads that 
maintain connections to sleep and you get disconnects.

I added an entry in the Info.plist of the app to turn AppNap off, or at 
least I think it should.

Can you check Activity Monitor and make sure the "App Nap" column is 
enabled. Then check firestr to see if App Nap is off for the app? It 
should say "No"

Max


jp@writes.co.de wrote:
> It works!  Good stuff!
>
> Regards,
>
> JP
>
> On 2014-11-03 21:59, Maxim Khailo wrote:
>> JP,
>>
>> So I think I figured out the issue. I am still a mac noob so this is
>> all
>> new to me. The Mac does not have "ldd" but provides a tool call otool
>> with an option -L to show which dylibs are required for an
>> executable.
>>
>> All libraries except botan had a search path of
>> "@executable_path/../Frameworks" while botan had "/usr/local/lib". I
>> used a tool called "install_name_tool" to change the search path to
>> be
>> relative to the executable.
>>
>> I suspect this is what macdeployqt did automatically but since it
>> missed
>> botan, it didn't update the search path for it.
>>
>> I uploaded a new version with corrected search path. Can you try one
>> more time? Sorry
>>
>> Max
>>
>> jp@writes.co.de wrote:
>>> Still no dice, sorry
>>>
>>> ```
>>> Exception Type:  EXC_BREAKPOINT (SIGTRAP)
>>> Exception Codes: 0x0000000000000002, 0x0000000000000000
>>>
>>> Application Specific Information:
>>> dyld: launch, loading dependent libraries
>>>
>>> Dyld Error Message:
>>>      Library not loaded: /usr/local/lib/libbotan-1.10.dylib.0
>>>      Referenced from:
>>> /Volumes/VOLUME/firestr.app/Contents/MacOS/firestr
>>>      Reason: image not found
>>> ```
>>>
>>> Regards,
>>>
>>> JP
>>>
>>> On 2014-11-03 18:30, Maxim Khailo wrote:
>>>> JP,
>>>>
>>>> Uploaded a new version, can you try again? Same URL
>>>>
>>>> Thanks,
>>>> Max
>>>>
>>>> jp@writes.co.de wrote:
>>>>> I've had bad luck with the mac build.  It throws an error that
>>>>> looks
>>>>> like https://imgur.com/FmgIcwv , and clicking "report" says it
>>>>> can't
>>>>> find /usr/local/lib/libbotan-1.10.dylib.0 (full error text at
>>>>> http://pastebin.com/jkK3pnLT ).  Let me know if I can help at all
>>>>> with
>>>>> debugging this
>>>>>
>>>>> Regards,
>>>>>
>>>>> JP
>>>>>
>>>>> On 2014-11-03 08:45, Maxim Khailo wrote:
>>>>>> Hi All,
>>>>>>
>>>>>> I managed to create a Mac build for Fire★. I have not officially
>>>>>> published it because I need people to test it and tell me if it
>>>>>> runs
>>>>>> and
>>>>>> does not crash. If you want to help me, you can get the DMG here:
>>>>>>
>>>>>>        http://mempko.com/firestr/build/0.4/firestr_0.4.dmg
>>>>>>
>>>>>> Thanks,
>>>>>> Max

Re: [firestr] Alpha Mac Build Available

From:
Date:
2014-11-04 @ 12:55
Unfortunately, it appears to be on anyway.  Screenshot is at 
https://imgur.com/NgjheZA.  It starts out "no", but after about 5 
minutes switches.  Let me know if I can help fix this at all.

Regards,

JP

On 2014-11-03 22:08, Maxim Khailo wrote:
> JP,
>
> Awesome! Good to hear.
>
> There is one last issue which I just remembered. New Mac versions 
> since
> I believe Lion have a feature called AppNap. What it does it stop
> background threads of apps if the app does not get any interaction 
> for a
> while. This causes problems because for firestr as it puts threads 
> that
> maintain connections to sleep and you get disconnects.
>
> I added an entry in the Info.plist of the app to turn AppNap off, or 
> at
> least I think it should.
>
> Can you check Activity Monitor and make sure the "App Nap" column is
> enabled. Then check firestr to see if App Nap is off for the app? It
> should say "No"
>
> Max
>
>
> jp@writes.co.de wrote:
>> It works!  Good stuff!
>>
>> Regards,
>>
>> JP
>>
>> On 2014-11-03 21:59, Maxim Khailo wrote:
>>> JP,
>>>
>>> So I think I figured out the issue. I am still a mac noob so this 
>>> is
>>> all
>>> new to me. The Mac does not have "ldd" but provides a tool call 
>>> otool
>>> with an option -L to show which dylibs are required for an
>>> executable.
>>>
>>> All libraries except botan had a search path of
>>> "@executable_path/../Frameworks" while botan had "/usr/local/lib". 
>>> I
>>> used a tool called "install_name_tool" to change the search path to
>>> be
>>> relative to the executable.
>>>
>>> I suspect this is what macdeployqt did automatically but since it
>>> missed
>>> botan, it didn't update the search path for it.
>>>
>>> I uploaded a new version with corrected search path. Can you try 
>>> one
>>> more time? Sorry
>>>
>>> Max
>>>
>>> jp@writes.co.de wrote:
>>>> Still no dice, sorry
>>>>
>>>> ```
>>>> Exception Type:  EXC_BREAKPOINT (SIGTRAP)
>>>> Exception Codes: 0x0000000000000002, 0x0000000000000000
>>>>
>>>> Application Specific Information:
>>>> dyld: launch, loading dependent libraries
>>>>
>>>> Dyld Error Message:
>>>>      Library not loaded: /usr/local/lib/libbotan-1.10.dylib.0
>>>>      Referenced from:
>>>> /Volumes/VOLUME/firestr.app/Contents/MacOS/firestr
>>>>      Reason: image not found
>>>> ```
>>>>
>>>> Regards,
>>>>
>>>> JP
>>>>
>>>> On 2014-11-03 18:30, Maxim Khailo wrote:
>>>>> JP,
>>>>>
>>>>> Uploaded a new version, can you try again? Same URL
>>>>>
>>>>> Thanks,
>>>>> Max
>>>>>
>>>>> jp@writes.co.de wrote:
>>>>>> I've had bad luck with the mac build.  It throws an error that
>>>>>> looks
>>>>>> like https://imgur.com/FmgIcwv , and clicking "report" says it
>>>>>> can't
>>>>>> find /usr/local/lib/libbotan-1.10.dylib.0 (full error text at
>>>>>> http://pastebin.com/jkK3pnLT ).  Let me know if I can help at 
>>>>>> all
>>>>>> with
>>>>>> debugging this
>>>>>>
>>>>>> Regards,
>>>>>>
>>>>>> JP
>>>>>>
>>>>>> On 2014-11-03 08:45, Maxim Khailo wrote:
>>>>>>> Hi All,
>>>>>>>
>>>>>>> I managed to create a Mac build for Fire★. I have not 
>>>>>>> officially
>>>>>>> published it because I need people to test it and tell me if it
>>>>>>> runs
>>>>>>> and
>>>>>>> does not crash. If you want to help me, you can get the DMG 
>>>>>>> here:
>>>>>>>
>>>>>>>        http://mempko.com/firestr/build/0.4/firestr_0.4.dmg
>>>>>>>
>>>>>>> Thanks,
>>>>>>> Max

Re: [firestr] Alpha Mac Build Available

From:
Maxim Khailo
Date:
2014-11-04 @ 13:32
JP,

This is something I feared. The only way I can think how to fix this is 
use the 'defaults' cmdline app to disable AppNap via a global blacklist. 

I guess I can run a process that writes it on startup. 

If there is a better way, I would love to hear it. I don't understand how 
apple can make a feature that completely breaks older apps and also breaks
POSIX compatability.

I will try to fix this tonight.

Max

On Tue Nov 04 2014 06:55:56 GMT-0600 (CST), jp@writes.co.de wrote:
> Unfortunately, it appears to be on anyway.  Screenshot is at 
> https://imgur.com/NgjheZA.  It starts out "no", but after about 5 
> minutes switches.  Let me know if I can help fix this at all.
> 
> Regards,
> 
> JP
> 
> On 2014-11-03 22:08, Maxim Khailo wrote:
> > JP,
> >
> > Awesome! Good to hear.
> >
> > There is one last issue which I just remembered. New Mac versions 
> > since
> > I believe Lion have a feature called AppNap. What it does it stop
> > background threads of apps if the app does not get any interaction 
> > for a
> > while. This causes problems because for firestr as it puts threads 
> > that
> > maintain connections to sleep and you get disconnects.
> >
> > I added an entry in the Info.plist of the app to turn AppNap off, or 
> > at
> > least I think it should.
> >
> > Can you check Activity Monitor and make sure the "App Nap" column is
> > enabled. Then check firestr to see if App Nap is off for the app? It
> > should say "No"
> >
> > Max
> >
> >
> > jp@writes.co.de wrote:
> >> It works!  Good stuff!
> >>
> >> Regards,
> >>
> >> JP
> >>
> >> On 2014-11-03 21:59, Maxim Khailo wrote:
> >>> JP,
> >>>
> >>> So I think I figured out the issue. I am still a mac noob so this 
> >>> is
> >>> all
> >>> new to me. The Mac does not have "ldd" but provides a tool call 
> >>> otool
> >>> with an option -L to show which dylibs are required for an
> >>> executable.
> >>>
> >>> All libraries except botan had a search path of
> >>> "@executable_path/../Frameworks" while botan had "/usr/local/lib". 
> >>> I
> >>> used a tool called "install_name_tool" to change the search path to
> >>> be
> >>> relative to the executable.
> >>>
> >>> I suspect this is what macdeployqt did automatically but since it
> >>> missed
> >>> botan, it didn't update the search path for it.
> >>>
> >>> I uploaded a new version with corrected search path. Can you try 
> >>> one
> >>> more time? Sorry
> >>>
> >>> Max
> >>>
> >>> jp@writes.co.de wrote:
> >>>> Still no dice, sorry
> >>>>
> >>>> ```
> >>>> Exception Type:  EXC_BREAKPOINT (SIGTRAP)
> >>>> Exception Codes: 0x0000000000000002, 0x0000000000000000
> >>>>
> >>>> Application Specific Information:
> >>>> dyld: launch, loading dependent libraries
> >>>>
> >>>> Dyld Error Message:
> >>>>      Library not loaded: /usr/local/lib/libbotan-1.10.dylib.0
> >>>>      Referenced from:
> >>>> /Volumes/VOLUME/firestr.app/Contents/MacOS/firestr
> >>>>      Reason: image not found
> >>>> ```
> >>>>
> >>>> Regards,
> >>>>
> >>>> JP
> >>>>
> >>>> On 2014-11-03 18:30, Maxim Khailo wrote:
> >>>>> JP,
> >>>>>
> >>>>> Uploaded a new version, can you try again? Same URL
> >>>>>
> >>>>> Thanks,
> >>>>> Max
> >>>>>
> >>>>> jp@writes.co.de wrote:
> >>>>>> I've had bad luck with the mac build.  It throws an error that
> >>>>>> looks
> >>>>>> like https://imgur.com/FmgIcwv , and clicking "report" says it
> >>>>>> can't
> >>>>>> find /usr/local/lib/libbotan-1.10.dylib.0 (full error text at
> >>>>>> http://pastebin.com/jkK3pnLT ).  Let me know if I can help at 
> >>>>>> all
> >>>>>> with
> >>>>>> debugging this
> >>>>>>
> >>>>>> Regards,
> >>>>>>
> >>>>>> JP
> >>>>>>
> >>>>>> On 2014-11-03 08:45, Maxim Khailo wrote:
> >>>>>>> Hi All,
> >>>>>>>
> >>>>>>> I managed to create a Mac build for Fire★. I have not 
> >>>>>>> officially
> >>>>>>> published it because I need people to test it and tell me if it
> >>>>>>> runs
> >>>>>>> and
> >>>>>>> does not crash. If you want to help me, you can get the DMG 
> >>>>>>> here:
> >>>>>>>
> >>>>>>>        http://mempko.com/firestr/build/0.4/firestr_0.4.dmg
> >>>>>>>
> >>>>>>> Thanks,
> >>>>>>> Max
> 
>

-- 
Sent from my Jolla

Re: [firestr] Alpha Mac Build Available

From:
Date:
2014-11-04 @ 14:46
I'm not sure if this works, but I found 

https://developer.apple.com/library/mac/documentation/Performance/Conceptual/power_efficiency_guidelines_osx/AppNap/AppNap.html.

  It looks like there are a few solutions there, even if they may be a 
bit hack-ish.  And I totally agree, app nap breaking random stuff is 
very not cool.

Regards,

JP Smith

On 2014-11-04 07:32, Maxim Khailo wrote:
> JP,
>
> This is something I feared. The only way I can think how to fix this
> is use the 'defaults' cmdline app to disable AppNap via a global
> blacklist.
>
> I guess I can run a process that writes it on startup.
>
> If there is a better way, I would love to hear it. I don't understand
> how apple can make a feature that completely breaks older apps and
> also breaks POSIX compatability.
>
> I will try to fix this tonight.
>
> Max
>
> On Tue Nov 04 2014 06:55:56 GMT-0600 (CST), jp@writes.co.de wrote:
>> Unfortunately, it appears to be on anyway.  Screenshot is at
>> https://imgur.com/NgjheZA.  It starts out "no", but after about 5
>> minutes switches.  Let me know if I can help fix this at all.
>>
>> Regards,
>>
>> JP
>>
>> On 2014-11-03 22:08, Maxim Khailo wrote:
>> > JP,
>> >
>> > Awesome! Good to hear.
>> >
>> > There is one last issue which I just remembered. New Mac versions
>> > since
>> > I believe Lion have a feature called AppNap. What it does it stop
>> > background threads of apps if the app does not get any interaction
>> > for a
>> > while. This causes problems because for firestr as it puts threads
>> > that
>> > maintain connections to sleep and you get disconnects.
>> >
>> > I added an entry in the Info.plist of the app to turn AppNap off, 
>> or
>> > at
>> > least I think it should.
>> >
>> > Can you check Activity Monitor and make sure the "App Nap" column 
>> is
>> > enabled. Then check firestr to see if App Nap is off for the app? 
>> It
>> > should say "No"
>> >
>> > Max
>> >
>> >
>> > jp@writes.co.de wrote:
>> >> It works!  Good stuff!
>> >>
>> >> Regards,
>> >>
>> >> JP
>> >>
>> >> On 2014-11-03 21:59, Maxim Khailo wrote:
>> >>> JP,
>> >>>
>> >>> So I think I figured out the issue. I am still a mac noob so 
>> this
>> >>> is
>> >>> all
>> >>> new to me. The Mac does not have "ldd" but provides a tool call
>> >>> otool
>> >>> with an option -L to show which dylibs are required for an
>> >>> executable.
>> >>>
>> >>> All libraries except botan had a search path of
>> >>> "@executable_path/../Frameworks" while botan had 
>> "/usr/local/lib".
>> >>> I
>> >>> used a tool called "install_name_tool" to change the search path 
>> to
>> >>> be
>> >>> relative to the executable.
>> >>>
>> >>> I suspect this is what macdeployqt did automatically but since 
>> it
>> >>> missed
>> >>> botan, it didn't update the search path for it.
>> >>>
>> >>> I uploaded a new version with corrected search path. Can you try
>> >>> one
>> >>> more time? Sorry
>> >>>
>> >>> Max
>> >>>
>> >>> jp@writes.co.de wrote:
>> >>>> Still no dice, sorry
>> >>>>
>> >>>> ```
>> >>>> Exception Type:  EXC_BREAKPOINT (SIGTRAP)
>> >>>> Exception Codes: 0x0000000000000002, 0x0000000000000000
>> >>>>
>> >>>> Application Specific Information:
>> >>>> dyld: launch, loading dependent libraries
>> >>>>
>> >>>> Dyld Error Message:
>> >>>>      Library not loaded: /usr/local/lib/libbotan-1.10.dylib.0
>> >>>>      Referenced from:
>> >>>> /Volumes/VOLUME/firestr.app/Contents/MacOS/firestr
>> >>>>      Reason: image not found
>> >>>> ```
>> >>>>
>> >>>> Regards,
>> >>>>
>> >>>> JP
>> >>>>
>> >>>> On 2014-11-03 18:30, Maxim Khailo wrote:
>> >>>>> JP,
>> >>>>>
>> >>>>> Uploaded a new version, can you try again? Same URL
>> >>>>>
>> >>>>> Thanks,
>> >>>>> Max
>> >>>>>
>> >>>>> jp@writes.co.de wrote:
>> >>>>>> I've had bad luck with the mac build.  It throws an error 
>> that
>> >>>>>> looks
>> >>>>>> like https://imgur.com/FmgIcwv , and clicking "report" says 
>> it
>> >>>>>> can't
>> >>>>>> find /usr/local/lib/libbotan-1.10.dylib.0 (full error text at
>> >>>>>> http://pastebin.com/jkK3pnLT ).  Let me know if I can help at
>> >>>>>> all
>> >>>>>> with
>> >>>>>> debugging this
>> >>>>>>
>> >>>>>> Regards,
>> >>>>>>
>> >>>>>> JP
>> >>>>>>
>> >>>>>> On 2014-11-03 08:45, Maxim Khailo wrote:
>> >>>>>>> Hi All,
>> >>>>>>>
>> >>>>>>> I managed to create a Mac build for Fire★. I have not
>> >>>>>>> officially
>> >>>>>>> published it because I need people to test it and tell me if 
>> it
>> >>>>>>> runs
>> >>>>>>> and
>> >>>>>>> does not crash. If you want to help me, you can get the DMG
>> >>>>>>> here:
>> >>>>>>>
>> >>>>>>>        http://mempko.com/firestr/build/0.4/firestr_0.4.dmg
>> >>>>>>>
>> >>>>>>> Thanks,
>> >>>>>>> Max
>>
>>

Re: [firestr] Alpha Mac Build Available

From:
Maxim Khailo
Date:
2014-11-05 @ 02:50
JP,

I uploaded a new version that uses QProcess to disable App Nap by using 
the defaults cmd. Same URL as before.

Can you test it on your end?

Thanks!
Max

jp@writes.co.de wrote:
> I'm not sure if this works, but I found
> 
https://developer.apple.com/library/mac/documentation/Performance/Conceptual/power_efficiency_guidelines_osx/AppNap/AppNap.html.
>    It looks like there are a few solutions there, even if they may be a
> bit hack-ish.  And I totally agree, app nap breaking random stuff is
> very not cool.
>
> Regards,
>
> JP Smith
>
> On 2014-11-04 07:32, Maxim Khailo wrote:
>> JP,
>>
>> This is something I feared. The only way I can think how to fix this
>> is use the 'defaults' cmdline app to disable AppNap via a global
>> blacklist.
>>
>> I guess I can run a process that writes it on startup.
>>
>> If there is a better way, I would love to hear it. I don't understand
>> how apple can make a feature that completely breaks older apps and
>> also breaks POSIX compatability.
>>
>> I will try to fix this tonight.
>>
>> Max
>>
>> On Tue Nov 04 2014 06:55:56 GMT-0600 (CST), jp@writes.co.de wrote:
>>> Unfortunately, it appears to be on anyway.  Screenshot is at
>>> https://imgur.com/NgjheZA.  It starts out "no", but after about 5
>>> minutes switches.  Let me know if I can help fix this at all.
>>>
>>> Regards,
>>>
>>> JP
>>>
>>> On 2014-11-03 22:08, Maxim Khailo wrote:
>>>> JP,
>>>>
>>>> Awesome! Good to hear.
>>>>
>>>> There is one last issue which I just remembered. New Mac versions
>>>> since
>>>> I believe Lion have a feature called AppNap. What it does it stop
>>>> background threads of apps if the app does not get any interaction
>>>> for a
>>>> while. This causes problems because for firestr as it puts threads
>>>> that
>>>> maintain connections to sleep and you get disconnects.
>>>>
>>>> I added an entry in the Info.plist of the app to turn AppNap off,
>>> or
>>>> at
>>>> least I think it should.
>>>>
>>>> Can you check Activity Monitor and make sure the "App Nap" column
>>> is
>>>> enabled. Then check firestr to see if App Nap is off for the app?
>>> It
>>>> should say "No"
>>>>
>>>> Max
>>>>
>>>>
>>>> jp@writes.co.de wrote:
>>>>> It works!  Good stuff!
>>>>>
>>>>> Regards,
>>>>>
>>>>> JP
>>>>>
>>>>> On 2014-11-03 21:59, Maxim Khailo wrote:
>>>>>> JP,
>>>>>>
>>>>>> So I think I figured out the issue. I am still a mac noob so
>>> this
>>>>>> is
>>>>>> all
>>>>>> new to me. The Mac does not have "ldd" but provides a tool call
>>>>>> otool
>>>>>> with an option -L to show which dylibs are required for an
>>>>>> executable.
>>>>>>
>>>>>> All libraries except botan had a search path of
>>>>>> "@executable_path/../Frameworks" while botan had
>>> "/usr/local/lib".
>>>>>> I
>>>>>> used a tool called "install_name_tool" to change the search path
>>> to
>>>>>> be
>>>>>> relative to the executable.
>>>>>>
>>>>>> I suspect this is what macdeployqt did automatically but since
>>> it
>>>>>> missed
>>>>>> botan, it didn't update the search path for it.
>>>>>>
>>>>>> I uploaded a new version with corrected search path. Can you try
>>>>>> one
>>>>>> more time? Sorry
>>>>>>
>>>>>> Max
>>>>>>
>>>>>> jp@writes.co.de wrote:
>>>>>>> Still no dice, sorry
>>>>>>>
>>>>>>> ```
>>>>>>> Exception Type:  EXC_BREAKPOINT (SIGTRAP)
>>>>>>> Exception Codes: 0x0000000000000002, 0x0000000000000000
>>>>>>>
>>>>>>> Application Specific Information:
>>>>>>> dyld: launch, loading dependent libraries
>>>>>>>
>>>>>>> Dyld Error Message:
>>>>>>>       Library not loaded: /usr/local/lib/libbotan-1.10.dylib.0
>>>>>>>       Referenced from:
>>>>>>> /Volumes/VOLUME/firestr.app/Contents/MacOS/firestr
>>>>>>>       Reason: image not found
>>>>>>> ```
>>>>>>>
>>>>>>> Regards,
>>>>>>>
>>>>>>> JP
>>>>>>>
>>>>>>> On 2014-11-03 18:30, Maxim Khailo wrote:
>>>>>>>> JP,
>>>>>>>>
>>>>>>>> Uploaded a new version, can you try again? Same URL
>>>>>>>>
>>>>>>>> Thanks,
>>>>>>>> Max
>>>>>>>>
>>>>>>>> jp@writes.co.de wrote:
>>>>>>>>> I've had bad luck with the mac build.  It throws an error
>>> that
>>>>>>>>> looks
>>>>>>>>> like https://imgur.com/FmgIcwv , and clicking "report" says
>>> it
>>>>>>>>> can't
>>>>>>>>> find /usr/local/lib/libbotan-1.10.dylib.0 (full error text at
>>>>>>>>> http://pastebin.com/jkK3pnLT ).  Let me know if I can help at
>>>>>>>>> all
>>>>>>>>> with
>>>>>>>>> debugging this
>>>>>>>>>
>>>>>>>>> Regards,
>>>>>>>>>
>>>>>>>>> JP
>>>>>>>>>
>>>>>>>>> On 2014-11-03 08:45, Maxim Khailo wrote:
>>>>>>>>>> Hi All,
>>>>>>>>>>
>>>>>>>>>> I managed to create a Mac build for Fire★. I have not
>>>>>>>>>> officially
>>>>>>>>>> published it because I need people to test it and tell me if
>>> it
>>>>>>>>>> runs
>>>>>>>>>> and
>>>>>>>>>> does not crash. If you want to help me, you can get the DMG
>>>>>>>>>> here:
>>>>>>>>>>
>>>>>>>>>>         http://mempko.com/firestr/build/0.4/firestr_0.4.dmg
>>>>>>>>>>
>>>>>>>>>> Thanks,
>>>>>>>>>> Max
>>>

Re: [firestr] Alpha Mac Build Available

From:
Date:
2014-11-05 @ 03:40
I don't get app nap now! I put it on an alternate desktop with a couple 
other, nap-enabled apps and they went to sleep but it did not.  Good 
work! Let me know if I can test any more.

Regards,

JP Smith

On 2014-11-04 20:50, Maxim Khailo wrote:
> JP,
>
> I uploaded a new version that uses QProcess to disable App Nap by 
> using
> the defaults cmd. Same URL as before.
>
> Can you test it on your end?
>
> Thanks!
> Max
>
> jp@writes.co.de wrote:
>> I'm not sure if this works, but I found
>> 
>> 
https://developer.apple.com/library/mac/documentation/Performance/Conceptual/power_efficiency_guidelines_osx/AppNap/AppNap.html.
>>    It looks like there are a few solutions there, even if they may 
>> be a
>> bit hack-ish.  And I totally agree, app nap breaking random stuff is
>> very not cool.
>>
>> Regards,
>>
>> JP Smith
>>
>> On 2014-11-04 07:32, Maxim Khailo wrote:
>>> JP,
>>>
>>> This is something I feared. The only way I can think how to fix 
>>> this
>>> is use the 'defaults' cmdline app to disable AppNap via a global
>>> blacklist.
>>>
>>> I guess I can run a process that writes it on startup.
>>>
>>> If there is a better way, I would love to hear it. I don't 
>>> understand
>>> how apple can make a feature that completely breaks older apps and
>>> also breaks POSIX compatability.
>>>
>>> I will try to fix this tonight.
>>>
>>> Max
>>>
>>> On Tue Nov 04 2014 06:55:56 GMT-0600 (CST), jp@writes.co.de wrote:
>>>> Unfortunately, it appears to be on anyway.  Screenshot is at
>>>> https://imgur.com/NgjheZA.  It starts out "no", but after about 5
>>>> minutes switches.  Let me know if I can help fix this at all.
>>>>
>>>> Regards,
>>>>
>>>> JP
>>>>
>>>> On 2014-11-03 22:08, Maxim Khailo wrote:
>>>>> JP,
>>>>>
>>>>> Awesome! Good to hear.
>>>>>
>>>>> There is one last issue which I just remembered. New Mac versions
>>>>> since
>>>>> I believe Lion have a feature called AppNap. What it does it stop
>>>>> background threads of apps if the app does not get any 
>>>>> interaction
>>>>> for a
>>>>> while. This causes problems because for firestr as it puts 
>>>>> threads
>>>>> that
>>>>> maintain connections to sleep and you get disconnects.
>>>>>
>>>>> I added an entry in the Info.plist of the app to turn AppNap off,
>>>> or
>>>>> at
>>>>> least I think it should.
>>>>>
>>>>> Can you check Activity Monitor and make sure the "App Nap" column
>>>> is
>>>>> enabled. Then check firestr to see if App Nap is off for the app?
>>>> It
>>>>> should say "No"
>>>>>
>>>>> Max
>>>>>
>>>>>
>>>>> jp@writes.co.de wrote:
>>>>>> It works!  Good stuff!
>>>>>>
>>>>>> Regards,
>>>>>>
>>>>>> JP
>>>>>>
>>>>>> On 2014-11-03 21:59, Maxim Khailo wrote:
>>>>>>> JP,
>>>>>>>
>>>>>>> So I think I figured out the issue. I am still a mac noob so
>>>> this
>>>>>>> is
>>>>>>> all
>>>>>>> new to me. The Mac does not have "ldd" but provides a tool call
>>>>>>> otool
>>>>>>> with an option -L to show which dylibs are required for an
>>>>>>> executable.
>>>>>>>
>>>>>>> All libraries except botan had a search path of
>>>>>>> "@executable_path/../Frameworks" while botan had
>>>> "/usr/local/lib".
>>>>>>> I
>>>>>>> used a tool called "install_name_tool" to change the search 
>>>>>>> path
>>>> to
>>>>>>> be
>>>>>>> relative to the executable.
>>>>>>>
>>>>>>> I suspect this is what macdeployqt did automatically but since
>>>> it
>>>>>>> missed
>>>>>>> botan, it didn't update the search path for it.
>>>>>>>
>>>>>>> I uploaded a new version with corrected search path. Can you 
>>>>>>> try
>>>>>>> one
>>>>>>> more time? Sorry
>>>>>>>
>>>>>>> Max
>>>>>>>
>>>>>>> jp@writes.co.de wrote:
>>>>>>>> Still no dice, sorry
>>>>>>>>
>>>>>>>> ```
>>>>>>>> Exception Type:  EXC_BREAKPOINT (SIGTRAP)
>>>>>>>> Exception Codes: 0x0000000000000002, 0x0000000000000000
>>>>>>>>
>>>>>>>> Application Specific Information:
>>>>>>>> dyld: launch, loading dependent libraries
>>>>>>>>
>>>>>>>> Dyld Error Message:
>>>>>>>>       Library not loaded: /usr/local/lib/libbotan-1.10.dylib.0
>>>>>>>>       Referenced from:
>>>>>>>> /Volumes/VOLUME/firestr.app/Contents/MacOS/firestr
>>>>>>>>       Reason: image not found
>>>>>>>> ```
>>>>>>>>
>>>>>>>> Regards,
>>>>>>>>
>>>>>>>> JP
>>>>>>>>
>>>>>>>> On 2014-11-03 18:30, Maxim Khailo wrote:
>>>>>>>>> JP,
>>>>>>>>>
>>>>>>>>> Uploaded a new version, can you try again? Same URL
>>>>>>>>>
>>>>>>>>> Thanks,
>>>>>>>>> Max
>>>>>>>>>
>>>>>>>>> jp@writes.co.de wrote:
>>>>>>>>>> I've had bad luck with the mac build.  It throws an error
>>>> that
>>>>>>>>>> looks
>>>>>>>>>> like https://imgur.com/FmgIcwv , and clicking "report" says
>>>> it
>>>>>>>>>> can't
>>>>>>>>>> find /usr/local/lib/libbotan-1.10.dylib.0 (full error text 
>>>>>>>>>> at
>>>>>>>>>> http://pastebin.com/jkK3pnLT ).  Let me know if I can help 
>>>>>>>>>> at
>>>>>>>>>> all
>>>>>>>>>> with
>>>>>>>>>> debugging this
>>>>>>>>>>
>>>>>>>>>> Regards,
>>>>>>>>>>
>>>>>>>>>> JP
>>>>>>>>>>
>>>>>>>>>> On 2014-11-03 08:45, Maxim Khailo wrote:
>>>>>>>>>>> Hi All,
>>>>>>>>>>>
>>>>>>>>>>> I managed to create a Mac build for Fire★. I have not
>>>>>>>>>>> officially
>>>>>>>>>>> published it because I need people to test it and tell me 
>>>>>>>>>>> if
>>>> it
>>>>>>>>>>> runs
>>>>>>>>>>> and
>>>>>>>>>>> does not crash. If you want to help me, you can get the DMG
>>>>>>>>>>> here:
>>>>>>>>>>>
>>>>>>>>>>>         http://mempko.com/firestr/build/0.4/firestr_0.4.dmg
>>>>>>>>>>>
>>>>>>>>>>> Thanks,
>>>>>>>>>>> Max
>>>>