Re: [Kicad-developers] A few run-time problems on kicad-git build on Slackware64-current Linux

2020-11-06 Thread Tom Crane
Thanks for the explanation.  I noticed these problems on moving from 
gtk2 to gtk3 builds.  Is this where these changes were made?


Are there likely to be any user selectable runtime options added to Kicad 
to ameliorate these problems?


Tom Crane.

On Thu, 5 Nov 2020, Mark Roszko wrote:


Your issues in (1) are by design.

Whether that design is correct or not is another story.

I actually removed that behavior on Windows because Microsoft has a stable api 
to determine top level window for focus.
Linux does not and GDK used to be but with the fragmented x11/wayland mess, 
they removed the api call support to determine top level window.

And removing the focus calls instead are going to lead a rabbit hole of things 
not working like hotkeys.

On Thu, Nov 5, 2020 at 9:14 PM Tom Crane  wrote:
  On Thu, 5 Nov 2020, Nick Østergaard wrote:

  Thanks again for the quick follow-up.

  > Did you install wxpython (phoenix) with pip?
  No.

  > you have some python stuff in ~/.local.

  I have uploaded the modified SlackBuild scripts I used to build both the
  Slackware wxGTK3 package (wxWidgets/Phoenix) and the wxPython4 package at
  https://www.mklab.rhul.ac.uk/~tom/kicad/SlackBuild/ in case the problem
  lies with either.

  >
  > Maybe just try to clear that out completely, or explicitly set 
PYTHONPATH to the site-packages path of your install location?

  Just tried removing ~/.local and then,

  export PYTHONPATH=/usr/lib64/python3.8/site-packages/

  In both cases the scripting console error remains the same.

  Thanks
  Tom.


  >
  > On Thu, 5 Nov 2020 at 20:51, Tom Crane  
wrote:
  >       Thanks for the quick response.  In the past I have been bitten by 
old
  >       libraries in non-standard places derailing other application 
builds but
  >       can't see anything obviously amiss here.
  >
  >       My $LD_LIBRARY_PATH EV is empty.  I checked where ldconfig looks 
and could
  >       not see anything incriminating outside the standard install 
locations for
  >       Slackware distros (/usr/lib64 & /lib64).  See
  >       https://www.mklab.rhul.ac.uk/~tom/kicad/ldconfig-p.txt for the 
O/P of
  >       'ldconfig -p'.
  >
  >       I also tried stracing open* calls in pcbnew.  See
  >       https://www.mklab.rhul.ac.uk/~tom/kicad/strace-pcbnew2.lis.  
Again nothing
  >       jumped out as problematic.  All calls to Python related files 
seem to
  >       reference python v.3.8 ones as expected.
  >
  >       The build scripts I am using are release version 'SlackBuild' 
scripts I've
  >       hacked to use the git development code.  See
  >       https://www.mklab.rhul.ac.uk/~tom/kicad/SlackBuild/.  The 
tom_build.sh
  >       script calls the main build script kicad-git.SlackBuild.
  >
  >       Thanks
  >       Tom
  >
  >       On Thu, 5 Nov 2020, Nick Østergaard wrote:
  >
  >       > Are you using a build script? If so please link it.
  >       > Also check if you partially installed in multiple locations, 
sucha as where ldconfig looks and echo LD_LIBRARY_PATH from your runtime env.
  >       >
  >       > Nicl
  >       >
  >       > tor. 5. nov. 2020 16.26 skrev Tom Crane 
:
  >       >       I have been using recent builds for the past few weeks.  
They are usable
  >       >       but I have a couple of outstanding problems which I'm not 
sure how to
  >       >       diagnose/fix.
  >       >
  >       >       (1) I have strange behaviours with open Kicad application 
windows. For
  >       >       example I have a Kicad project, eeschema and pcbnew 
windows open on a
  >       >       single display. If I let the mouse pointer move from the 
project window to
  >       >       the eeschema or pcbnew window then input focus 
immediately transfers to
  >       >       the eeschema or pcbnew window.  This is without touching 
any mouse
  >       >       buttons.
  >       >
  >       >       Similarly moving the mouse pointer back to the project 
window has no
  >       >       effect (as it should) but moving it between the eeschema 
and pcbnew
  >       >       windows transfers input focus as soon as it enters the 
other window.
  >       >
  >       >       There is a similar effect when moving between unrelated 
(eg. an xterm)
  >       >       windows and either eeschema or pcbnew.  Here the eeschema 
or pcbnew window
  >       >       does not receive input focus (which remains with the 
xterm as it should)
  >       >       but the eeschema or pcbnew window does move up the window 
'stack'.  eg. if
  >       >       I have an eeschema windows partially covered by a pcbnew 
window, partially
  >       >       covered by an xterm window which has input focus, then 
moving the mouse
  >       >       

Re: [Kicad-developers] Torrent downloads

2020-11-06 Thread Andrew Lutsenko
Yes,

> You can have multiple webseed urls in the torrent as well, just pass
--urlList flag multiple times.

On Fri, Nov 6, 2020 at 2:14 AM Nick Østergaard  wrote:

> Hi
>
> Can it have multiple webseed locations?
>
> fre. 6. nov. 2020 02.40 skrev Andrew Lutsenko :
>
>> Hi Nick,
>>
>> Is there anything else I can help with here?
>> I see 5.1.8 update is released already.
>>
>> On Thu, Oct 1, 2020 at 3:48 AM Andrew Lutsenko 
>> wrote:
>>
>>> Oh, I did verify that, sorry I wasn't clear. It definitely works.
>>>
>>> On Thu, Oct 1, 2020, 02:00 Nick Østergaard  wrote:
>>>
 I was implicitly hoping you could explicitly verify for me that using
 the OSDN url would support range requests.  :)

 tor. 1. okt. 2020 09.09 skrev Andrew Lutsenko :

> Yes, it does. I think it will work with any http server supporting
> range requests.
> You can have multiple webseed urls in the torrent as well, just pass
> --urlList flag multiple times.
>
> On Wed, Sep 30, 2020 at 11:28 PM Nick Østergaard 
> wrote:
>
>> Does it also work with the OSDN mirror?
>>
>> tor. 1. okt. 2020 02.42 skrev Andrew Lutsenko :
>>
>>> Hi all,
>>>
>>> I recall we had this discussion before about providing torrent files
>>> for release downloads to reduce the slowdown related to rush traffic. it
>>> didn't go far mainly because of resources needed to maintain separate
>>> torrent seeding infrastructure.
>>>
>>> I recently discovered that p2p torrent protocol supports webseeding,
>>> a feature that allows torrent clients to download chunks of files from
>>> standard http/ftp servers. It's implemented by most major torrent client
>>> software. This way the file is initially seeded by the http server but 
>>> as
>>> more and more peers get the data the swarm takes over most of the 
>>> traffic
>>> load.
>>>
>>> I tried it out and it works nicely with kicad's existing http
>>> download resources so there is no need to have separate infra for 
>>> torrents!
>>>
>>> Would you be open to adding this?
>>> All that is needed is put .torrent files either on kicad website or
>>> even better, on the https://kicad-downloads.s3.cern.ch/ server next
>>> to the installers and add a link to them.
>>>
>>> I've generated torrents with webseed information for 5.1.7 here:
>>> https://forum.kicad.info/t/torrents-for-kicad-stable-version-5-1-7-win-and-osx/16609/14?u=qu1ck
>>>
>>> To do it yourself in the future is trivial, here is the bash script
>>> I used to create the files:
>>>
>>> for f in *.exe ; do
>>> create-torrent "$f" -o $f.torrent --urlList
>>> https://kicad-downloads.s3.cern.ch/windows/stable/
>>> done
>>> for f in *.dmg ; do
>>> create-torrent "$f" -o $f.torrent --urlList
>>> https://kicad-downloads.s3.cern.ch/osx/stable/
>>> done
>>>
>>> It depends on create-torrent utility that you can get by running
>>> "npm install -g create-torrent"
>>>
>>> I can also make a merge request on the kicad website if someone will
>>> upload the torrent files to the s3 server.
>>>
>>> Regards,
>>> Andrew
>>> ___
>>> Mailing list: https://launchpad.net/~kicad-developers
>>> Post to : kicad-developers@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~kicad-developers
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>
___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Kicad-developers] Torrent downloads

2020-11-06 Thread Nick Østergaard
Hi

Can it have multiple webseed locations?

fre. 6. nov. 2020 02.40 skrev Andrew Lutsenko :

> Hi Nick,
>
> Is there anything else I can help with here?
> I see 5.1.8 update is released already.
>
> On Thu, Oct 1, 2020 at 3:48 AM Andrew Lutsenko 
> wrote:
>
>> Oh, I did verify that, sorry I wasn't clear. It definitely works.
>>
>> On Thu, Oct 1, 2020, 02:00 Nick Østergaard  wrote:
>>
>>> I was implicitly hoping you could explicitly verify for me that using
>>> the OSDN url would support range requests.  :)
>>>
>>> tor. 1. okt. 2020 09.09 skrev Andrew Lutsenko :
>>>
 Yes, it does. I think it will work with any http server supporting
 range requests.
 You can have multiple webseed urls in the torrent as well, just pass
 --urlList flag multiple times.

 On Wed, Sep 30, 2020 at 11:28 PM Nick Østergaard 
 wrote:

> Does it also work with the OSDN mirror?
>
> tor. 1. okt. 2020 02.42 skrev Andrew Lutsenko :
>
>> Hi all,
>>
>> I recall we had this discussion before about providing torrent files
>> for release downloads to reduce the slowdown related to rush traffic. it
>> didn't go far mainly because of resources needed to maintain separate
>> torrent seeding infrastructure.
>>
>> I recently discovered that p2p torrent protocol supports webseeding,
>> a feature that allows torrent clients to download chunks of files from
>> standard http/ftp servers. It's implemented by most major torrent client
>> software. This way the file is initially seeded by the http server but as
>> more and more peers get the data the swarm takes over most of the traffic
>> load.
>>
>> I tried it out and it works nicely with kicad's existing http
>> download resources so there is no need to have separate infra for 
>> torrents!
>>
>> Would you be open to adding this?
>> All that is needed is put .torrent files either on kicad website or
>> even better, on the https://kicad-downloads.s3.cern.ch/ server next
>> to the installers and add a link to them.
>>
>> I've generated torrents with webseed information for 5.1.7 here:
>> https://forum.kicad.info/t/torrents-for-kicad-stable-version-5-1-7-win-and-osx/16609/14?u=qu1ck
>>
>> To do it yourself in the future is trivial, here is the bash script I
>> used to create the files:
>>
>> for f in *.exe ; do
>> create-torrent "$f" -o $f.torrent --urlList
>> https://kicad-downloads.s3.cern.ch/windows/stable/
>> done
>> for f in *.dmg ; do
>> create-torrent "$f" -o $f.torrent --urlList
>> https://kicad-downloads.s3.cern.ch/osx/stable/
>> done
>>
>> It depends on create-torrent utility that you can get by running "npm
>> install -g create-torrent"
>>
>> I can also make a merge request on the kicad website if someone will
>> upload the torrent files to the s3 server.
>>
>> Regards,
>> Andrew
>> ___
>> Mailing list: https://launchpad.net/~kicad-developers
>> Post to : kicad-developers@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~kicad-developers
>> More help   : https://help.launchpad.net/ListHelp
>>
>
___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp