← Back to team overview

kicad-developers team mailing list archive

Re: Kicad-5522 osx testing - miscellaneous errors

 

No problem.  Collin did all the heavy lifting there, adding the Python
support.

Adam Wolf

On Tue, Mar 17, 2015 at 12:24 PM, Bob Gustafson <bobgus@xxxxxxx> wrote:

>  Hi Adam
>
> I tried your python enabled nightly in the DEBUG folder.
>
> Lots of my problems have been cleaned up by your nightly - the'
> KiCad->About' works without an Alert box popping up - it looks pretty
> clean. I tried some of the clicks that gave me problems before and it looks
> pretty solid.
>
> Thanks much.
>
> Application: kicad
> Version: (2015-03-15 BZR 5517)-product Release build
> wxWidgets: Version 3.0.2 (debug,UTF-8,compiler with C++ ABI 1002,GCC
> 4.2.1,STL containers,compatible with 2.8)
> Platform: Mac OS X (Darwin 14.1.0 x86_64), 64 bit, Little endian, wxMac
> Boost version: 1.54.0
>          USE_WX_GRAPHICS_CONTEXT=OFF
>          USE_WX_OVERLAY=ON
>          KICAD_SCRIPTING=ON
>          KICAD_SCRIPTING_MODULES=ON
>          KICAD_SCRIPTING_WXPYTHON=ON
>          USE_FP_LIB_TABLE=HARD_CODED_ON
>          BUILD_GITHUB_PLUGIN=ON
>          KICAD_USE_WEBKIT=OFF
>
> The only thing that looks different from my builds is the use of Boost
> version 1.54.0 instead of my 1.57.0
> I think my 1.57.0 was massaged slightly by one of my builds in the past -
> perhaps it has problems.
>
> The newPCB->Tools->Scripting Console does pop up, but as noted by others
> before, as soon as you type the 'e' in help - things go wrong. This is fine
> - a nightly build (particularly in the DEBUG folder) is there to show the
> latest stuff and what needs to be done.
>
> It would be good to also have an OSX nightly incorporating whatever is
> available for panning support too. Since your nightlies are for OSX only,
> progress on panning for OSX might shine a light on the problems for other
> platforms.
>
> I had a glimmer of success a couple of weeks ago when I did a merge of
> Garth's trackpad branch - but this was masked by my other difficulties
> (perhaps my Boost 1.57.0 ??).
>
> Are your nightly build scripts available? I could try again with Garth's
> files.
>
> Thanks again
>
> Bob G
>
>
>
> On 03/17/2015 11:12 AM, Adam Wolf wrote:
>
> Just as an aside, last night's build failed, for the first time in a
> while--but the diff pairs should still work fine.
>
>  Adam Wolf
>
> On Tue, Mar 17, 2015 at 11:06 AM, Nick Østergaard <oe.nick@xxxxxxxxx>
> wrote:
>
>>  2015-03-17 16:50 GMT+01:00 Bob Gustafson <bobgus@xxxxxxx>:
>> > Hi Adam
>> >
>> > As written in the kicad build documentation, I patched the
>> > wxPython/wxWidgets code and built that (also added the doPatch for the
>> patch
>> > files that were not included in the virgin osx_build_wx.sh file). All
>> patch
>> > files were used successfully (including the added ones -
>> > macos_scrolledwindow and macos_yosemite).
>> >
>> > I also turned on most of the scripting build switches (why not..)
>> >
>> > I used a custom kicad-configure.sh script to turn on these switches (see
>> > attached). From there it was just ‘make’ and ‘sudo make install’. No
>> compile
>> > errors, but as I have reported before, lots of warnings and notes (using
>> > clang - which is also available on Fedora21)
>> >
>> > I have the console output saved from all of these steps if that would
>> be of
>> > interest.
>> >
>> > As you point out, the gesture/trackpad patches are not in the patches/
>> > directory, so were not included. These patch files could perhaps be
>> included
>> > or not by commenting out appropriate doPatch lines in osx_build_wx.sh
>> >
>> >
>> > I tried your nightlies before, but didn’t see any trackpad panning
>> > improvement - will try again.
>> >
>> > I will also try the nightly with Python support you mentioned in a
>> previous
>> > email. I thought about that last night after I sent the email report.
>> >
>> > My motivation is to get a working KiCad that I can use to build a board
>> for
>> > a legacy piece of gear. I see these beautiful youtube videos of paired
>> board
>> > traces and wiggly matched delay traces - am disappointed that I can’t
>> have
>> > the same action on my OSX platform. Perhaps I should concentrate on my
>> > Fedora21 box instead, although it seems that the build instructions for
>> that
>> > platform are more or less identical to OSX.
>>
>>  The differential pairs and length tuning stuff do not depend on python
>> scripting as far as I know and should be available in the latest
>> nightlies.
>>
>> > I'm guessing that some of the OSX problems may be caused by a mix of
>> carbon
>> > and cocoa library calls. Many of the error reports have carbon
>> references.
>> > Also, try out the KiCad->About menu item.
>> >
>> > I will fish around in the DEBUG folder and look for the Python support
>> > build.
>> >
>> > Because of the clumsiness of scrollbars, having two finger panning is
>> more
>> > or less essential on the OSX platform. When are you planning to try out
>> > those patches in your nightly builds? The OpenGL option, without
>> scrollbars,
>> > needs those patches.
>> >
>> > Thanks very much for your efforts all
>> >
>> > Bob G
>> >
>> > On Mar 16, 2015, at 23:59, Adam Wolf <adamwolf@xxxxxxxxxxxxxxxxxxxx>
>> wrote:
>> >
>> > Hi Bob,
>> >
>> > Did you add any patches?  If you didn't, there definitely won't be any
>> > gesture/trackpad support.  It isn't ready for merging yet due to
>> behavior on
>> > other platforms.
>> >
>> > Are you looking for issues or trying to get a usable KiCad?  If the
>> latter,
>> > I suggest the nightlies.  I, and quite a few other people, use them to
>> make
>> > real boards!  (There are even nightlies with Python support in the DEBUG
>> > folder.)
>> >
>> > Adam Wolf
>> > Cofounder and Engineer
>> > W&L
>> >
>> >
>> > On Mon, Mar 16, 2015 at 11:46 PM, Bob Gustafson <bobgus@xxxxxxx> wrote:
>> > Application: kicad
>> > Version: (2015-03-16 BZR 5522)-product Debug build
>> > wxWidgets: Version 3.0.2 (debug,UTF-8,compiler with C++ ABI 1002,GCC
>> > 4.2.1,STL containers,compatible with 2.8)
>> > Platform: Mac OS X (Darwin 14.1.0 x86_64), 64 bit, Little endian, wxMac
>> > Boost version: 1.57.0
>> >          USE_WX_GRAPHICS_CONTEXT=OFF
>> >          USE_WX_OVERLAY=ON
>> >          KICAD_SCRIPTING=ON
>> >          KICAD_SCRIPTING_MODULES=ON
>> >          KICAD_SCRIPTING_WXPYTHON=ON
>> >          USE_FP_LIB_TABLE=HARD_CODED_ON
>> >          BUILD_GITHUB_PLUGIN=ON
>> >          KICAD_USE_WEBKIT=ON
>> >
>> >
>> > pcbnewinitPythonScripting() failed (error 0: Undefined error: 0)
>> >
>> > ***** Error importing the wxPython API! ****                20:43:52
>> > pcbnewinitPythonScripting() failed: (error 0: Undefined error: 0)
>> > 20:43:52
>> >
>> > ----
>> >
>> > There are a number of other error conditions - see attached screen
>> dumps and
>> > logs
>> >
>> > -----
>> >
>> > I see that the Contents/Contents typo was removed somewhere in the
>> 5513-5522
>> > changes.
>> >
>> > -----
>> >
>> > I am not able to pan anywhere using two finger gestures. When I try, the
>> > newPCB zooms in and out.
>> >
>> > Hope this is helpful
>> >
>> > Bob G
>> >
>> > _______________________________________________
>> > Mailing list: https://launchpad.net/~kicad-developers
>> > Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
>> > Unsubscribe : https://launchpad.net/~kicad-developers
>> > More help   : https://help.launchpad.net/ListHelp
>> >
>> >
>> >
>> >
>> > _______________________________________________
>> > Mailing list: https://launchpad.net/~kicad-developers
>> > Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
>> > Unsubscribe : https://launchpad.net/~kicad-developers
>> > More help   : https://help.launchpad.net/ListHelp
>> >
>>
>
>
>

Follow ups

References