CP patching issues with 01xx firmware

Hi,
I'm publishing files dumped as in the instructions and I'm asking for help, because "standard" unit patching does not work :/
Thank you in advance for your help (:
MST2_EU_VW_ZR_P0140T.zip
Originally posted in https://github.com/olli991/mib-std2-pq-zr-toolbox/issues/93#issuecomment-1184562496

Hi, I'm publishing files dumped as in the instructions and I'm asking for help, because "standard" unit patching does not work :/
Thank you in advance for your help (: MST2_EU_VW_ZR_P0140T.zip

Someone badly patched your unit. Restore stock SWAP from stock 140 vesion by using Manual SW download option and then patch again.
_Originally posted by @lprot in https://github.com/olli991/mib-std2-pq-zr-toolbox/issues/93#issuecomment-1186102809

Dear All, tried to install toolbox but i am getting unknown file size detected when trying to cp off. unit runs >>>MST2_EU_VW_ZR_P0131T
[](url support.zip )

Added to https://github.com/olli991/mib-std2-pq-zr-toolbox/archive/refs/heads/master.zip

I did perfrom upgrade from MST2_EU_VW_ZR_P0131T to MST2_EU_VW_ZR_P0140T which worked just fine i then after thried to install toolbox which also looked fine When i tried to set CP off then the unit is in continious boot loop VW logo- bluemotion Logo off and again..... Any idea how i can restore unit?

Welcome to the club of owners of the 140T version, only I updated from the 138T version and already twice (even last night again) I restored the software according to the instructions (it only looks so hard, but it is really simple, you only need to buy a 3.3V encoder , even the VW dealer did not want to reinstall because the 138T and 140T software was issued with an error, this is what I heard at the VW dealer)
https://mibwiki.one/doc/technisat-pqzr-recovery-via-emergency-download-ssc0H3OtBI
Also after trying to patch CP, which as you can see in my and your example in these units, leads to loops, so in this topic I try to figure out how to straighten it all out with the creators of the TOOLBOX, today the sixth approach ...
_Originally posted in https://github.com/olli991/mib-std2-pq-zr-toolbox/issues/93#issuecomment-1186140030

Hi, I'm publishing files dumped as in the instructions and I'm asking for help, because "standard" unit patching does not work :/
Thank you in advance for your help (: MST2_EU_VW_ZR_P0140T.zip

Someone badly patched your unit. Restore stock SWAP from stock 140 vesion by using Manual SW download option and then patch again.

Thank you for the information, I also suspected something was wrong.  I know that for you the statements "using Manual SW download option" are something banal, but I would like to ask for more detailed tips, i.e. whether restoring SW from MANUAL DOWNLOAD involves downloading pure software 140 / preparing the card and updating or restoring the default version of the system from the installed  currently software?
Originally posted by in https://github.com/olli991/mib-std2-pq-zr-toolbox/issues/93#issuecomment-1186140988

MST2_EU_SK_PQ_P0138T.zip
Succesfully pached and activated mirrorlink , but after i pached CP i got boot looping and i have to do emergency update to restore the unit ( Below is picture at the finish of paching CP )

Added sanity check to https://github.com/olli991/mib-std2-pq-zr-toolbox/archive/refs/heads/master.zip

Installed this version of toolbox and same problem, after patch CP i get boot looping and i have to do emergency update)

I beleive it is fixed in the https://github.com/olli991/mib-std2-pq-zr-toolbox/archive/refs/heads/master.zip There was a typo in reset param. Fixed now.

In this TOOLBOX you fixed issue when after patching CP unit starts to loop over again? Can i also use it on 140T software?
Originally posted in https://github.com/olli991/mib-std2-pq-zr-toolbox/issues/93#issuecomment-1186142026

Dear All, tried to install toolbox but i am getting unknown file size detected when trying to cp off. unit runs MST2_EU_VW_ZR_P0131T
[](url support.zip )

Added to https://github.com/olli991/mib-std2-pq-zr-toolbox/archive/refs/heads/master.zip

I did perfrom upgrade from MST2_EU_VW_ZR_P0131T to MST2_EU_VW_ZR_P0140T which worked just fine i then after thried to install toolbox which also looked fine When i tried to set CP off then the unit is in continious boot loop VW logo- bluemotion Logo off and again..... Any idea how i can restore unit?

https://mibwiki.one/doc/technisat-pqzr-recovery-via-emergency-download-ssc0H3OtBI
As I assume that you got reboot loop after using the latest version we can admit that something wrong is happening after patching CP on 01xx units. But you can try to analyse yourself if you are interested: https://github.com/olli991/mib-std2-pq-zr-toolbox/blob/64b17f9317ab6a2a5ea661dc031fb6af5f9376d1/cpu/onlineservices/1/default/tsd/etc/persistence/esd/scripts/patch_cp.sh
Originally posted by @lprot in https://github.com/olli991/mib-std2-pq-zr-toolbox/issues/93#issuecomment-1186164169

Hello again,
After the last CP patch attempt and fall into a boot loop, on your advice I got the system back to P0140T (emergency download), installed the newest TOOLBOX and made 2/3 patches (SWDL / SWAP) again.
I'm attaching my new SUPPORT data dump and can I ask for a "look" of a specialist and for any advice what is the probability that after applying CP patch (3/3) I will have to recover the system through EMERGENCY DOWNLOAD? again (:
support-MST2_EU_VW_ZR_P0140T.zip
Thank You!

I thought that update 1.1.2 was dictated by my next attempt to patch CP for the third time, so first I updated the TOOLBOX, and then turned on CP patching for sure ... Unfortunately, it will probably have to be withdrawn because it did not fix CP patching in ALL 01xx firmware because  the third time I restart my firmware (0140T) through emergency downoad ... Someone, help?

Originally posted in https://github.com/olli991/mib-std2-pq-zr-toolbox/issues/93#issuecomment-1186341181

I thought that update 1.1.2 was dictated by my next attempt to patch CP for the third time, so first I updated the TOOLBOX, and then turned on CP patching for sure ... Unfortunately, it will probably have to be withdrawn because it did not fix CP patching in ALL 01xx firmware because  the third time I restart my firmware (0140T) through emergency downoad ... Someone, help?

Added sanity checks for 1xx in https://github.com/olli991/mib-std2-pq-zr-toolbox/archive/refs/heads/master.zip
Now it should not create a bootloop situation anymore. Can you check it out please?
Originally posted by @lprot in https://github.com/olli991/mib-std2-pq-zr-toolbox/issues/93#issuecomment-1190993513

I'm downloading and in 1-2h i'll try to do it on my fresh EMERGENCY DOWNLOAD firmware, again... We will see if I will have to do ED for the fourth time (: fingers cross...

Well, I tried... It's not too bad, but it hasn't happened yet ... I haven't done a reboot, so I don't know if it can also get into a loop after a failed attempt?  What now? Help?

Originally posted by @ghost in https://github.com/olli991/mib-std2-pq-zr-toolbox/issues/93#issuecomment-1191334571

j5startup_size=$(ls -l /net/J5/tsd/bin/system/startup_main | awk '{print $5}' 2>/dev/null)
they shouldn't be...
j5startup_size=$(ls -l /net/J5/tsd/bin/system/startup | awk '{print $5}' 2>/dev/null)  ???
... also you should to try remove this fragment:
if [[ "$size" == "1852137" || "$size" == "1851273" || "$size" == "1850369" || "$size" == "1850393" ]]; then
echo "else" >>/net/imx6/tsd/bin/system/startup_main
echo "   /tsd/bin/system/wd_procterm.sh 'tsd.mibstd2.main.root' J5e.MCP 0 "'"main.root crash"' >>/net/imx6/tsd/bin/system/startup_main
fi
in my opinion this is the reason "bootloop" sw01 ... although I would like to see log.txt from putty
Originally posted by @yox2019 in https://github.com/olli991/mib-std2-pq-zr-toolbox/issues/93#issuecomment-1191958380

Well, I tried... It's not too bad, but it hasn't happened yet ... I haven't done a reboot, so I don't know if it can also get into a loop after a failed attempt? What now? Help?

Please install update and try again https://github.com/olli991/mib-std2-pq-zr-toolbox/archive/refs/heads/master.zip

Unfortunately, this time also the message as below ...

Originally posted by @ghost in https://github.com/olli991/mib-std2-pq-zr-toolbox/issues/93#issuecomment-1192308622

Well, I tried... It's not too bad, but it hasn't happened yet ... I haven't done a reboot, so I don't know if it can also get into a loop after a failed attempt? What now? Help?

Please install update and try again https://github.com/olli991/mib-std2-pq-zr-toolbox/archive/refs/heads/master.zip

Unfortunately, this time also the message as below ...

@to0nk Applied some changes https://github.com/olli991/mib-std2-pq-zr-toolbox/archive/refs/heads/master.zip
@yox2019 we need that else because on 1xx the startup looks like:
      on -p 20 /tsd/bin/root/tsd.mibstd2.main.root -file=/tsd/etc/system/main.conf -reset=/net/imx6/tsd/var/root/reset.count.main
      RET=$?
      if [ $RET -eq 0 ] ; then
         echo "main.root terminated -> calling shutdown script"

         # source it to avoid spawning a new shell
         . /tsd/bin/system/shutdown

         echo "shutdown finished!"
      elif [ $RET -eq 42 ] ; then
         echo "MP42 set to low! -> Boot Stopped."
      else
         /tsd/bin/system/wd_procterm.sh 'tsd.mibstd2.main.root' J5e.MCP 0 "main.root crash"
      fi

Originally posted by @lprot in https://github.com/olli991/mib-std2-pq-zr-toolbox/issues/93#issuecomment-1192319012

@Iprot ... I understand, only that this fragment is about "emergency" and actually in startup_main it is out of context, so it can cause problems but I might be wrong, if everything is ok then fine, if it is "bootloop" again try to delete it
... just your concept, my suggestion :)
... I mean this one: /tsd/bin/system/wd_procterm.sh 'tsd.mibstd2.main.root' J5e.MCP 0 "main.root crash"
Originally posted by @yox2019 in https://github.com/olli991/mib-std2-pq-zr-toolbox/issues/93#issuecomment-1192396351

Well, I tried... It's not too bad, but it hasn't happened yet ... I haven't done a reboot, so I don't know if it can also get into a loop after a failed attempt? What now? Help?

Please install update and try again https://github.com/olli991/mib-std2-pq-zr-toolbox/archive/refs/heads/master.zip

Unfortunately, this time also the message as below ...

@to0nk Applied some changes https://github.com/olli991/mib-std2-pq-zr-toolbox/archive/refs/heads/master.zip
@yox2019 we need that else because on 1xx the startup looks like:
      on -p 20 /tsd/bin/root/tsd.mibstd2.main.root -file=/tsd/etc/system/main.conf -reset=/net/imx6/tsd/var/root/reset.count.main
      RET=$?
      if [ $RET -eq 0 ] ; then
         echo "main.root terminated -> calling shutdown script"

         # source it to avoid spawning a new shell
         . /tsd/bin/system/shutdown

         echo "shutdown finished!"
      elif [ $RET -eq 42 ] ; then
         echo "MP42 set to low! -> Boot Stopped."
      else
         /tsd/bin/system/wd_procterm.sh 'tsd.mibstd2.main.root' J5e.MCP 0 "main.root crash"
      fi

Well, unfortunately ... For the fourth time I am starting the EMERGENCY DOWNLOAD ... Thanks for arranging the Friday evening (: but if someone had an idea that effectively patch CP on my unit, I will try to do it (:

Originally posted by @ghost in https://github.com/olli991/mib-std2-pq-zr-toolbox/issues/93#issuecomment-1192846237

@to0nk  all fine but why didn't you include log.txt (during bootlop) which I asked for?
... if you want help, give something from yourself, not everyone has a unit with sw 01 ... that's why without logs it is difficult to diagnose the problem, although I gave some suggestions for the author
"Thanks for arranging the Friday evening (:"  ...you know what ? you can always go to the dealer and remove the cp, respect someone's spare time
Originally posted by @yox2019 in https://github.com/olli991/mib-std2-pq-zr-toolbox/issues/93#issuecomment-1192922162

Hmmm ... You know, I did not think that your post was directed to me, the more so because there was no tag, from my post there were already two others and I thought that, as Iprot does, it marks the discussion addressed to me, between posts you can see three  different threads ... Now I know that I have to use TOOLBOX from your post, because the last one downloaded was the one from Iprot.
So again ... I have a clean system already uploaded, now I have to apply the TOOLBOX to all 3 patches and then let you know?  What period / activity do you need the putty log for?  It's hard to keep up with the topic as there are no references to entries / people.  Sry ...
P. S.
"Thanks for arranging the Friday evening (:" that was a JOKE! I count with that I will have to restore the system, THATS WHY I DID IT ON FRIDAY EVENING, and not on the day when I use the car ... I suggest looking for a sense of humor ...  did you not notice that by "experiments" on my MIB2 the project improvement / development is growing? .  I don't know if it's an association of old bastards or pretentious nerds complaining about everything ... If you dont want to develop this project I can go to dealer, just inform me.
Originally posted by @ghost in https://github.com/olli991/mib-std2-pq-zr-toolbox/issues/93#issuecomment-1192941377

I don't know if it's an association of old bastards or pretentious nerds complaining about everything ... If you dont want to develop this project I can go to dealer, just inform me.

is it for me? ...listen my friend, if you really want to support this project, have an idea and send the logs, putty has the option to save the log.txt, I can't change the content of the script, but maybe the author will take into account my comments, so wait or if you know how to do it, do it yourself
... all that is needed is the putty log during bootloop from boot / reset
Originally posted by @yox2019 in https://github.com/olli991/mib-std2-pq-zr-toolbox/issues/93#issuecomment-1192955006

@to0nk ...please install it, then after applying "cp patch" and before restarting, connect the unit to putty, set log.txt and then restart the unit
mib-std2-pq-zr-toolbox-test.zip
... the second "patch" folder contains the script I changed
patch_cp.zip
------Edit Important!!!-------------
one more important thing before applying "cp_patch"
... after installing TOOLBOX activate "permanent console access" first
... then restart the unit and do what I wrote above please i.e. add a cp_patch and make logs.
... now, if the unit goes into "bootloop" again DO NOT USE EMERGENCY !!!
... just connect to putty press "ENTER" and copy and paste this command:  mount -t qnx6 -o remount, rw /dev/hd0t177/ &&rm /tsd/bin/system/startup_main     and press "ENTER" and restart the unit
... after that the unit will be like before "patching" cp :)
Originally posted by @yox2019 in https://github.com/olli991/mib-std2-pq-zr-toolbox/issues/93#issuecomment-1192977766

use this one: " Applied some changes https://github.com/olli991/mib-std2-pq-zr-toolbox/archive/refs/heads/master.zip "

... abracadabra :)))) thanks for the notification, this version works for you at @to0nk not hmmm.... ... we are waiting for the log.txt from @to0nk

@yox2019 Because KamboSoup's unit is fw359.
@to0nk it will be much more easy and productive if you:

enable permanent console access in Toolbox Network menu
in case of the bootloop just connect by the console via quadlock and run
rm /net/imx6/tsd/bin/system/startup_main
then bootloop will stop

Originally posted by @lprot in https://github.com/olli991/mib-std2-pq-zr-toolbox/issues/93#issuecomment-1193090607

Because KamboSoup's unit is fw359.

@lprot  I already have a "reel" in my head :)))
ad.2 "rm /net/imx6/tsd/bin/system/startup_main"   ...this command will not work, because the system must be read / write first also you do not need to enter the full path, because after activating the console you are already on imx6, so again:
mount -t qnx6 -o remount, rw /dev/hd0t177/ &&rm /tsd/bin/system/startup_main
Originally posted by @yox2019 in https://github.com/olli991/mib-std2-pq-zr-toolbox/issues/93#issuecomment-1193097380

@to0nk ...please install it, then after applying "cp patch" and before restarting, connect the unit to putty, set log.txt and then restart the unit mib-std2-pq-zr-toolbox-test.zip
... the second "patch" folder contains the script I changed patch_cp.zip
------Edit Important!!!-------------
one more important thing before applying "cp_patch"
... after installing TOOLBOX activate "permanent console access" first ... then restart the unit and do what I wrote above please i.e. add a cp_patch and make logs.
... now, if the unit goes into "bootloop" again DO NOT USE EMERGENCY !!! ... just connect to putty press "ENTER" and copy and paste this command: mount -t qnx6 -o remount, rw /dev/hd0t177/ &&rm /tsd/bin/system/startup_main and press "ENTER" and restart the unit
... after that the unit will be like before "patching" cp :)

Well, now we can experiment, only for your entry I have two things:

I have to install the TOOLBOX first from the link provided by you AND REPLACE "patch_cp" in it before applying the patch? Because I do not understand why you provided a link to the entire TOOLBOX, and then to only one file that you changed without adding it to the installation at the link provided by you?

You must forgive me for delay, but only after I "get rid of" the children I will start patching, the results will be published around 18:00 / 19:00

P.S.
As I can see above, everyone pops up with their corrections, let me follow one because this way it gets confused whether I should use this or that command, I am one intermediate computer scientist and you are people sitting on the subject, so give a little breath (:
Originally posted by @ghost in https://github.com/olli991/mib-std2-pq-zr-toolbox/issues/93#issuecomment-1193126319

@to0nk no.... just install "mib-std2-pq-zr-toolbox-test.zip" from the link provided, scrypt is already changed there
... the second folder "patch_cp.zip" is only to compare what has been changed
... don't forget first: " 1.enable permanent console access in Toolbox Network menu" and in case of problems "bootloop" use this command please:
mount -t qnx6 -o remount, rw /dev/hd0t177/ &&rm /tsd/bin/system/startup_main
just copy this command from this post and paste it into putty terminal then hit "Enter" and restart unit

Well, I managed to jump out a moment before the children's dinner, I did as you ordered, installation / activation of the console and CP patch ... And it entered the loop again, but I also got a recipe from you for this problem, but unfortunately I have to surprise you  , after entering and confirming the code, I received a comment -> "there is no such directory" and the loop repeats ... Of course, I connect the log from the very beginning of putting putty on, please let me know if I should start an EMERGENCY DOWNLOAD, because tomorrow I have a trip with the children and i will not sing in the car without a radio (:
putty.log
Originally posted by @ghost in https://github.com/olli991/mib-std2-pq-zr-toolbox/issues/93#issuecomment-1193152214

@to0nk  ok did you applied only "cp" patch or "swap" and "swdl" as well ?
... sorry there was "typo" error in this command... this one is ok :
mount -t qnx6 -o remount, rw /dev/hd0t177 / &&rm /tsd/bin/system/startup_main
was missing "space" after: mount -t qnx6 -o remount, rw /dev/hd0t177...
put this command again please
Originally posted by @yox2019 in https://github.com/olli991/mib-std2-pq-zr-toolbox/issues/93#issuecomment-1193156350

@to0nk ok did you applied only "cp" patch or "swap" and "swdl" as well ? ... sorry there was "typo" error in this command... this one is ok :
mount -t qnx6 -o remount, rw /dev/hd0t177 / &&rm /tsd/bin/system/startup_main
was missing "space" after: mount -t qnx6 -o remount, rw /dev/hd0t177...
put this command again please

As I wrote, installing the TOOLBOX, activating the console and ONLY CP patch.  Was I supposed to do it differently?  I try to do exactly what you write about the rest of the patches you did not mention (:
Now the kids are eating, after dinner I will go to enter the corrected command and what to do next?
Originally posted by @ghost in https://github.com/olli991/mib-std2-pq-zr-toolbox/issues/93#issuecomment-1193157350

@to0nk ... do me a favor: sd card in the left slot and enter this command instead of the previous one, then send the file "startup_main" which will be saved on the sd card:
mount -t qnx6 -o remount, rw /dev/hd0t177 / &&mv /tsd/bin/system/startup_main /media/mp000
it would be good if you had putty with the login option attached to make sure the command worked
Originally posted by @yox2019 in https://github.com/olli991/mib-std2-pq-zr-toolbox/issues/93#issuecomment-1193158280

@to0nk ... do me a favor: sd card in the left slot and enter this command instead of the previous one, then send the file "startup_main" which will be saved on the sd card:
mount -t qnx6 -o remount, rw /dev/hd0t177 / &&mv /tsd/bin/system/startup_main /media/mp000
it would be good if you had putty with the login option attached to make sure the command worked

I will surprise you ... The code you entered did not create the file on the SD card, BUT it fixed the loop error .... The radio started normally, I attach the log + proof of repair .... What next?
putty-1.log

Originally posted by @ghost in https://github.com/olli991/mib-std2-pq-zr-toolbox/issues/93#issuecomment-1193172677

strange :)  sd card was on left slot (sd1) ? since you have an active console, give the command:
ls -l /tsd/var         and send the screenshot
Originally posted by @yox2019 in https://github.com/olli991/mib-std2-pq-zr-toolbox/issues/93#issuecomment-1193173448

strange :) sd card was on left slot (sd1) ? since you have an active console, give the command: ls -l /tsd/var and send the screenshot

Yes, card in the left reader, first from navi, first from gearbox (: log with the command you gave below
putty-2.log
Originally posted by @ghost in https://github.com/olli991/mib-std2-pq-zr-toolbox/issues/93#issuecomment-1193179483

ok that is "startup_main" is making a problem, it's a pity you didn't keep it, see also in / media / mp000, so give:
cd /media/mp000
ls -l
after that I'll give you a link to another patch to disable "cp"
P.S
besides, I can see that the unit does not work as it should, probably a problem with emmc, e.g. "Unable to access / net / imx6 / tmp / main-core-dir"
Originally posted by @yox2019 in https://github.com/olli991/mib-std2-pq-zr-toolbox/issues/93#issuecomment-1193181185

ok that is "startup_main" is making a problem, it's a pity you didn't keep it, see also in / media / mp000, so give:
cd /media/mp000 ls -l
after that I'll give you a link to another patch to disable "cp"

Ok, but I have one technical question before that, how to make the comment line stop because the data is still overflowing and typing commands is quite tedious (:
And about your P. S. :"besides, I can see that the unit does not work as it should, probably a problem with emmc, e.g. "Unable to access / net / imx6 / tmp / main-core-dir"" can it be fixt? By me mby? (:
Originally posted by @ghost in https://github.com/olli991/mib-std2-pq-zr-toolbox/issues/93#issuecomment-1193182013

unfortunately you can't :))) just type the command and hit enter and don't worry about the logs on the screen
Originally posted by @yox2019 in https://github.com/olli991/mib-std2-pq-zr-toolbox/issues/93#issuecomment-1193182262

And about your P. S. :"besides, I can see that the unit does not work as it should, probably a problem with emmc, e.g. "Unable to access / net / imx6 / tmp / main-core-dir"" can it be fixt? By me mby? (:

to be honest it is an old unit, if it does not work well, the best way is to exchange it for at least sw 02 ... unless you want to have fun with emmc, but in my opinion it's not worth it :)
but when it works, make a copy of "emmc" yourself with the toolbox
Originally posted by @yox2019 in https://github.com/olli991/mib-std2-pq-zr-toolbox/issues/93#issuecomment-1193182737

ok that is "startup_main" is making a problem, it's a pity you didn't keep it, see also in / media / mp000, so give:
cd /media/mp000 ls -l
after that I'll give you a link to another patch to disable "cp"
P.S besides, I can see that the unit does not work as it should, probably a problem with emmc, e.g. "Unable to access / net / imx6 / tmp / main-core-dir"

Here is the log
putty-3.log
Originally posted by @ghost in https://github.com/olli991/mib-std2-pq-zr-toolbox/issues/93#issuecomment-1193183701

ok last try :) try to install / upgrade this "toolbox" version
... if there is a problem again, you know what command to enter :)
mib-std2-pq-zr-toolbox-test222.zip
after restoring the radio to normal state (in case of failure) install this patch to remove "cp"
... you install in the same way as toolbox
https://mega.nz/file/8UsmBBYR#OSbiY2brgn7rSj2lE8hOJs6hTpvFWo9WQwLV8MHup4o
Originally posted by @yox2019 in https://github.com/olli991/mib-std2-pq-zr-toolbox/issues/93#issuecomment-1193183943

And about your P. S. :"besides, I can see that the unit does not work as it should, probably a problem with emmc, e.g. "Unable to access / net / imx6 / tmp / main-core-dir"" can it be fixt? By me mby? (:

to be honest it is an old unit, if it does not work well, the best way is to exchange it for at least sw 02 ... unless you want to have fun with emmc, but in my opinion it's not worth it :)
but when it works, make a copy of "emmc" yourself with the toolbox

Following this path, everything we do now is not worth it with this unit, but the point of view depends on the point of sitting, for me, after switching from Passat B6 to B8 a year ago, it was something great, especially since it was a gift (not quite  free) from the person to whom I gave a job and a chance and took advantage of it, and because he had contacts, he pulled me such a car, so I try to make everything work, and when I can do it on my own, I change what I can (:
Originally posted by @ghost in https://github.com/olli991/mib-std2-pq-zr-toolbox/issues/93#issuecomment-1193184524

and when I can do it on my own, I change what I can (:

no problem :) you have to buy a new emmc and replace of course make new partitions for sw 01 ... and emergency will do the rest :)
Originally posted by @yox2019 in https://github.com/olli991/mib-std2-pq-zr-toolbox/issues/93#issuecomment-1193185450

and when I can do it on my own, I change what I can (:

no problem :) you have to buy a new emmc and replace of course make new partitions for sw 01 ... and emergency will do the rest :)

As I wrote before, the fact that I am an IT specialist does not mean that I am familiar with this subject, probably for you what is hidden under these words "make new partitions for sw 01 ... and emergency will do the rest :)" is simple, but for me it is like "it's one small step for man one giant leap for mankind " you know ... Landing on the moon. There is an instruction for this, or if you or someone who reads this an have unnecessary moment and wants to, write what it looks like, and I believe that I will succeed (:
P. S.
I update TOOLBOX, but forgot to ask, patch only CP or can I / must I patch all 3?
Originally posted by @ghost in https://github.com/olli991/mib-std2-pq-zr-toolbox/issues/93#issuecomment-1193188717

only cp pls
P.s ... let's stick to the topic of this thread, as for your questions, check mibwiki or ask on a telegram to the group

In the loop ... Again ... Sorry about my equipment
P. S.
Ok, but can you give me more specyfic of this making SW partition, about what must i ask? Name of the procedur mby? Thank YOU!
Originally posted by @ghost in https://github.com/olli991/mib-std2-pq-zr-toolbox/issues/93#issuecomment-1193190762

In the loop ... Again ... Sorry about my equipment

ok put then this command:
mount -t qnx6 -o remount, rw /dev/hd0t177 / &&mv /tsd/bin/system/startup_main /tsd/var
when the unit returns to normal, put the sd card into "sd1" and type:
mount -t qnx6 -o remount, rw /dev/hd0t177 / &&cp /tsd/var/startup_main /media/mp000/  and send the file from sd card
and the last thing:  cp /tsd/var/main.conf /media/mp000/     and send the file  ... ofc sd card in "sd1" slot
Originally posted by @yox2019 in https://github.com/olli991/mib-std2-pq-zr-toolbox/issues/93#issuecomment-1193190983

In the loop ... Again ... Sorry about my equipment

ok put then this command:
mount -t qnx6 -o remount, rw /dev/hd0t177 / &&mv /tsd/bin/system/startup_main /tsd/var
when the unit returns to normal, put the sd card into "sd1" and type:
mount -t qnx6 -o remount, rw /dev/hd0t177 / &&cp /tsd/var/startup_main /media/mp000/ and send the file from sd card
and the last thing: cp /tsd/var/main.conf /media/mp000/ and send the file ... ofc sd card in "sd1" slot

Unfortunately, there is another problem ... When I put an empty card in the slot, the first on the left, navi restarts three times until it stops, but it does not see any reader, when I put (after restart) the navi card into slot 1, it sees it and works,  when I pull out and put in an empty one, the system restarts three times again and I can't use the command ... I pin the log putty.
putty-4.log
Originally posted by @ghost in https://github.com/olli991/mib-std2-pq-zr-toolbox/issues/93#issuecomment-1193193341

type this command without sd cad inserted:
mount -t qnx6 -o remount, rw /dev/hd0t177 / &&mv /tsd/bin/system/startup_main /tsd/var
and when the unit will back to normal put the other commands with sd card inserted
Originally posted by @yox2019 in https://github.com/olli991/mib-std2-pq-zr-toolbox/issues/93#issuecomment-1193194354

type this command without sd cad inserted:
mount -t qnx6 -o remount, rw /dev/hd0t177 / &&mv /tsd/bin/system/startup_main /tsd/var
and when the unit will back to normal put the other commands with sd card inserted

The files you ask (i packed two in one):
Files_SD.zip
Originally posted by @ghost in https://github.com/olli991/mib-std2-pq-zr-toolbox/issues/93#issuecomment-1193195886

ok put the files on sd card and "sd1" then:

mount -t qnx6 -o remount, rw /dev/hd0t177 /

cp /media/mp000/startup_main /tsd/bin/system/ &&chmod 777 /tsd/bin/system/startup_main  (Enter)

then:

cp /media/mp000/main.conf /tsd/var/ (Enter)

and restart unit
Files_SD-test.zip
P.S only one sd card in unit please remove the another
Originally posted by @yox2019 in https://github.com/olli991/mib-std2-pq-zr-toolbox/issues/93#issuecomment-1193198071

ok put the files on sd card and "sd1" then:

mount -t qnx6 -o remount, rw /dev/hd0t177 /
cp /media/mp000/startup_main /tsd/bin/system/ &&chmod 777 /tsd/bin/system/startup_main  (Enter)

then:

cp /media/mp000/main.conf /tsd/var/ (Enter)

and restart unit Files_SD-test.zip
P.S only one sd card in unit please remove the another

I'm not sure if it worked, but navi has reset three times ... I pin the log, but I have to fly now because my wife's eyes if they could kill, I'd be dead for half an hour, thank you for your help until now, I'm away tomorrow.  if you can, we'll come back to the topic on Monday, thank you again!
putty-5.log
Originally posted by @ghost in https://github.com/olli991/mib-std2-pq-zr-toolbox/issues/93#issuecomment-1193200914

unfortunately no,,,  homework not done :)))) so a new task once again:

Copy the files "main.conf" and "startup_main" to the sd card

2, Take out all the sd cards from the unit ... then put only the sd card with the files into "sd1"

Enter the commands:

mount -t qnx6 -o remount, rw /dev/hd0t177 /                              (press enter)
cp /media/mp000/startup_main   /tsd/bin/system/                       (press enter)
chmod 777 /tsd/bin/system/startup_main                                     (press enter)
cp /media/mp000/main.conf /tsd/var/                                           (press enter)

Restart unit

Originally posted by @yox2019 in https://github.com/olli991/mib-std2-pq-zr-toolbox/issues/93#issuecomment-1193207440

unfortunately no,,, homework not done :)))) so a new task once again:

Copy the files "main.conf" and "startup_main" to the sd card

2, Take out all the sd cards from the unit ... then put only the sd card with the files into "sd1"

Enter the commands:

mount -t qnx6 -o remount, rw /dev/hd0t177 / (press enter)
cp /media/mp000/startup_main /tsd/bin/system/ (press enter)
chmod 777 /tsd/bin/system/startup_main (press enter)
cp /media/mp000/main.conf /tsd/var/ (press enter)

Restart unit

Good morning,
Unfortunately I couldn't stay yesterday. I just wanted to write small info, because I see that in the last entries you repeated that there should be only one card in the readers, so if it helps, I only have the one on which I transfer files and one original with navi, so there could not be a situation that two readers were busy because navi always to the reader on the left, and there, according to your instructions, I had a card with transferred files or a TOOLBOX
P. S.
I can see that I was wrong about lost sense of humor here, you sure have it .... "homework" good (: but there are important things, more important and the wife (:
I hope we'll get back to the topic, thank you for your patience and best regards.
Originally posted by @ghost in https://github.com/olli991/mib-std2-pq-zr-toolbox/issues/93#issuecomment-1193267480

@lprot ... I will write my theory if I will be unavailable :)))
... in my opinion (and provided logs) unit with sw01 ... does not see the file "main,conf" in the location "-file=/tsd/var..." in "startup_main" look:

log without "startup_main"  as you can see all services contained in "main.conf" are started:

log with created "startup_main" no service from "main.conf" does not start and unit goes into "bootloop"

In my opinion this is because the "/tsd/var" location is not available during "early boot" for sw01
see "startup" J5, which is executed first for sw 02 ... or higher, unit immediately links with "/tsd /var"

now see "startup" J5 for sw01 ... do you understand?

So that's why I gave the full path "/net/imx6/tsd/var" instead of "/tsd/var" in the above-mentioned files
Files_SD-test.zip
Of course you need to check it all in practice, so you have to wait for our friend ;) maybe you can change the location for "main.conf" and "audiomanager ..." eg for "/ tsd"?
... I don't know so many of my considerations, maybe you or someone else will have an idea :)))
P.S
here is an example script that creates the above-mentioned files, you can check if there is any error there (as long as this change works at all)
patch_cp_test.zip
Originally posted by @yox2019 in https://github.com/olli991/mib-std2-pq-zr-toolbox/issues/93#issuecomment-1193277021

unfortunately no,,, homework not done :)))) so a new task once again:

Copy the files "main.conf" and "startup_main" to the sd card

2, Take out all the sd cards from the unit ... then put only the sd card with the files into "sd1"

Enter the commands:

mount -t qnx6 -o remount, rw /dev/hd0t177 / (press enter)
cp /media/mp000/startup_main /tsd/bin/system/ (press enter)
chmod 777 /tsd/bin/system/startup_main (press enter)
cp /media/mp000/main.conf /tsd/var/ (press enter)

Restart unit

Hello again (:
I did what you wrote, files on the SD card and the left reader + 4 commands, but I'm not sure how to see the effect, because if they worked, in the console I was not able to catch it, so I attach the log from this operation below and wait for steps what next? CP Patch?
Small info about how did I entered these 4 commands in two ways (you will see in the log):

I unmounted the navi card from the left slot and inserted the card with files from you, the radio reset 3 times and stabilized then I entered the commands, but I noticed when I wanted to unmount it with  "unmount SD" option, that navi can not see the card in the 1st slot because I could not unmount it, so in the second way I did so:
I put the SD card from navi to the left slot, and the empty one to the second slot, after entering the navi menu, it showed both slots taken, so I unmounted the card  with navi maps from the left slot, I took an empty card from the right slot (widout unmounting it), I uploaded files from you on SD card and put it in the left slot (the one from which I unmounted the sd with navi) and navi saw that the card was inserted, navi did not reset, then I entered 4 commands and restarted navi.

putty-6.log
Originally posted by @ghost in https://github.com/olli991/mib-std2-pq-zr-toolbox/issues/93#issuecomment-1194577580

@to0nk ... unfortunately ... but you enter / copy the commands incorrectly and you have not changed anything, and thus nothing can be verified, for example:
imx6: / # wmount -t qnx6 -o remount, rw / dev / hd0t177
... why "wmount" instead of "mount"?
if this command fails, the rest of the commands also will not work, unfortunately
... or: cp /media/mp000/main.conf / tsd / var / 341wqz
... instead of / tsd / var?
... you should copy all commands to a text file and check if there are any "typos"
... ok install / upgrade these toolbox versions and do "cp_off" and logs please
P.S do not execute any commands anymore, just to be sure uninstall the current version of the toolbox and install the one I gave please :))))
mib-std2-pq-zr-toolbox-test3.zip
Originally posted by @yox2019 in https://github.com/olli991/mib-std2-pq-zr-toolbox/issues/93#issuecomment-1195067930

@to0nk ... unfortunately ... but you enter / copy the commands incorrectly and you have not changed anything, and thus nothing can be verified, for example: imx6: / # wmount -t qnx6 -o remount, rw / dev / hd0t177 ... why "wmount" instead of "mount"?
if this command fails, the rest of the commands also will not work, unfortunately ... or: cp /media/mp000/main.conf / tsd / var / 341wqz ... instead of / tsd / var?
... you should copy all commands to a text file and check if there are any "typos"
... ok install / upgrade these toolbox versions and do "cp_off" and logs please
P.S do not execute any commands anymore, just to be sure uninstall the current version of the toolbox and install the one I gave please :)))) mib-std2-pq-zr-toolbox-test3.zip

Nooooo!
Sorry, but it's really hard to catch in the console when you're sitting in the car, the laptop in the passenger seat, you type / paste / copy stretched over the gearbox in the garage light ...
It's like jumping on the head from a block into a movable pool the size of a bathtub ... And this console line rolling all the time, you can get apoplexy (:
So now without commands, for sure? maybe I will try again? I do not want that due to my lack of diligence I will not do / repair something ...
P.S.
In my free time, I thought that the internet is reaching my car in my car and if there was such a need, we could set up for a specific day and time and I could provide you with a desktop via Google Remote Desktop, if there was such a need ...
Originally posted by @ghost in https://github.com/olli991/mib-std2-pq-zr-toolbox/issues/93#issuecomment-1195195318

@to0nk ... ok I know it's not easy with this console :))) you need some practice :)))
now just reinstall the last version of the toolbox and try it
... in case of "bootloop" I would like to see these 2 files "startup_main" and "main.conf" again to make sure if I did not make any "typos" in the script, the procedure is the same as before :)
Unfortunately, I cannot make an appointment for a specific time, because today I am going on holiday at night, I will be available during the day and in the evening until 10 pm
... try the new toobox version
Originally posted by @yox2019 in https://github.com/olli991/mib-std2-pq-zr-toolbox/issues/93#issuecomment-1195290858

@to0nk ... ok I know it's not easy with this console :))) you need some practice :)))
now just reinstall the last version of the toolbox and try it
... in case of "bootloop" I would like to see these 2 files "startup_main" and "main.conf" again to make sure if I did not make any "typos" in the script, the procedure is the same as before :)
Unfortunately, I cannot make an appointment for a specific time, because today I am going on holiday at night, I will be available during the day and in the evening until 10 pm
... try the new toobox version

In a loop ... But that's not the worst news ... I would like to be wrong this time, but did the TOOLBOX update change the console activation? I forgot to activ it befote CP Patch... I can't enter anything in console and even ENTER does not work on consoles in Putty ... I can't get out of the loop, I can't dump files, I only attach the Putty log ... Is there an EMERGENCY DOWNLOAD waiting for me?
putty-7.log
Originally posted by @ghost in https://github.com/olli991/mib-std2-pq-zr-toolbox/issues/93#issuecomment-1195646754

@to0nk ...  did you install the last toolbox I gave? "... test3" if so, press enter after reboot and enter the command:
mount -t qnx6 -o remount, rw /dev/hd0t177 / &&mv  /tsd/bin/system/startup_main /tsd/var (press enter) and restatrt unit
Originally posted by @yox2019 in https://github.com/olli991/mib-std2-pq-zr-toolbox/issues/93#issuecomment-1195672826

@to0nk ... did you install the last toolbox I gave? "... test3" if so, press enter after reboot and enter the command: mount -t qnx6 -o remount, rw /dev/hd0t177 / &&mv /tsd/bin/system/startup_main /tsd/var (press enter) and restatrt unit

Yes i install "test3", but look on video whats going on....
https://user-images.githubusercontent.com/108117737/181057217-0947ca06-e999-4d2f-b270-3dfa38d4260c.mp4
Originally posted by @ghost in https://github.com/olli991/mib-std2-pq-zr-toolbox/issues/93#issuecomment-1195691210

ok, I see, maybe there is a "typo" in the patch_cp scrypt and imx6 does not start and thus "the console is unavailable"
unfortunately you have to make an emergency
conclusion:
... in theory everything should work but ... for some reason the unit does not read "main.conf" or "startup_main" has incorrect content
... it's hard to diagnose remotely, the only thing we can do is arrange sessions with remote access to your desktop, but that's in 2-3 weeks
... anyway thanks for your willingness and cooperation :))))
P.S to the admin ... because unfortunately I can not verify my theory, please remove unnecessary posts, because this thread has become a tapeworm :)))
... maybe in the meantime someone will have access to sw01 .. and will be able to do more tests, meanwhile I'm going on holiday :)))
Originally posted by @yox2019 in https://github.com/olli991/mib-std2-pq-zr-toolbox/issues/93#issuecomment-1195713736

ok, I see, maybe there is a "typo" in the patch_cp scrypt and imx6 does not start and thus "the console is unavailable" unfortunately you have to make an emergency conclusion: ... in theory everything should work but ... for some reason the unit does not read "main.conf" or "startup_main" has incorrect content
... it's hard to diagnose remotely, the only thing we can do is arrange sessions with remote access to your desktop, but that's in 2-3 weeks
... anyway thanks for your willingness and cooperation :))))
P.S to the admin ... because unfortunately I can not verify my theory, please remove unnecessary posts, because this thread has become a tapeworm :))) ... maybe in the meantime someone will have access to sw01 .. and will be able to do more tests, meanwhile I'm going on holiday :)))

So... The ED started, I will not ask if you are back every week, so if you will want to help me to solve it, write here when you be back, if i remember about it in 3 weeks (: Thanks for your patient.
P. S.
Admin, you can delete it all i think that this is toooo big problem to be solved... more so in three weeks but maybe I'm wrong... We will see, greets (:
Originally posted by @ghost in https://github.com/olli991/mib-std2-pq-zr-toolbox/issues/93#issuecomment-1195728917

@to0nk yeap... just after ED install the toolbox from official repository and first thing for you "Active console" :))) then you can patch this unit excluding "cp_off"
... for CP I sent you another patch, download it from mega and install
We will back for this ASAP :))))
Originally posted by @yox2019 in https://github.com/olli991/mib-std2-pq-zr-toolbox/issues/93#issuecomment-1195739048

@to0nk yeap... just after ED install the toolbox from official repository and first thing for you "Active console" :))) then you can patch this unit excluding "cp_off" ... for CP I sent you another patch, download it from mega and install
We will back for this ASAP :))))

Sure, I'll do it as you wrote, I hope that we'll come back to the topic again, from clear curiosity, but for this time have a successful holiday (: and thank you again (:
Originally posted by @ghost in https://github.com/olli991/mib-std2-pq-zr-toolbox/issues/93#issuecomment-1195747872

Sure, I'll do it as you wrote, I hope that we'll come back to the topic again, from clear curiosity, but for this time have a successful holiday (: and thank you again (:

We will back for this ASAP :))))

@yox2019 and @to0nk did you guys managed to get it working?
Originally posted by @olli991 in https://github.com/olli991/mib-std2-pq-zr-toolbox/issues/93#issuecomment-1207275311

Sure, I'll do it as you wrote, I hope that we'll come back to the topic again, from clear curiosity, but for this time have a successful holiday (: and thank you again (:

We will back for this ASAP :))))

@yox2019 and @to0nk did you guys managed to get it working?

No, not yet ... I did what @ yox2019 recommended in the last post

@to0nk yeap... just after ED install the toolbox from official repository and first thing for you "Active console" :))) then you can patch this unit excluding "cp_off"
... for CP I sent you another patch, download it from mega and install
We will back for this ASAP :))))

and I'm waiting for his return from holidays ... Still (:
Originally posted by @ghost in https://github.com/olli991/mib-std2-pq-zr-toolbox/issues/93#issuecomment-1207297692

Hello again after 4 weeks, I see  @yox2019  that you've come back, I hope you've rested (:
But back to the topic, I have 3 questions / problems that have arisen or want to solve after our "experiments" ...

When I start the car each time  the radio restarts 3x, it is troublesome when I want to go back immediately because I do not have a rear view camera when the radio restarts

Is there a chance for a correct CP patch?

When you were looking at my logs, you recently wrote that it would be good to create a new data partition because mine is "running out", then I asked what was going on, and you said that after solving the problem with the CP patch, you will tell me where I can look for instructions and in general  what's the deal with, is there a chance now for a closer presentation of the topic or directing on what I am looking for?

Thank you in advance for your answer and I count on your help (:
Originally posted by @ghost in https://github.com/olli991/mib-std2-pq-zr-toolbox/issues/93#issuecomment-1231552514

@to0nk.. sorry but because of my private affairs, I am not able to assist you or do a cp test, I can advise you to read about the qnx system (formatting etc) then connect the unit using the "emmc method" description can be found on mibwik to a computer with Vmware and qnx, format the partition and do "emergency"
Originally posted by @yox2019 in https://github.com/olli991/mib-std2-pq-zr-toolbox/issues/93#issuecomment-1233394442

@to0nk ... my friend :)) I spent hours, days, weeks, months to learn all the basics of course Alone, nobody taught me anything and this "toolbox" is my child, who is developing nicely, thanks to the work of all people involved in this project
.....your friend is "google"
... you can start with this: https://www.qnx.com/developers/docs/7.0.0/index.html#com.qnx.doc.neutrino.utilities/topic/m/mkqnx6fs.html
... if it comes to CP Patch, don't ask me as I'm not the author
Originally posted by @yox2019 in https://github.com/olli991/mib-std2-pq-zr-toolbox/issues/93#issuecomment-1234104405

@to0nk ... my friend :)) I spent hours, days, weeks, months to learn all the basics of course Alone, nobody taught me anything and this "toolbox" is my child, who is developing nicely, thanks to the work of all people involved in this project .....your friend is "google" ... you can start with this: https://www.qnx.com/developers/docs/7.0.0/index.html#com.qnx.doc.neutrino.utilities/topic/m/mkqnx6fs.html
... if it comes to CP Patch, don't ask me as I'm not the author

Well, I understand how anyone who specialized in some field ... In my case, CGI, DELPHI, C ++, SQL, but then I had time, I was young, I did not have a family and no work on my head and, most importantly, I cannot experiment on  a car that serves me and my family on a daily basis ...
Therefore, thank you for the tips, but is there a chance (because I do not want to be in the subject and not here) to write to you, if I encounter a wall, I will not spam you, I mean  It's to have someone to write to or if I think well how to do something ...
P. S.
As for the CP patch, I don't understand, because you write that TOOLBOX is your child, and I mean to do CP patch through TOOLBOX, what  in my case, it is impossible to use your tool to do that.
Anyway, thanks for everything and I hope that I will be able to benefit from your extensive knowledge from time to time (:
Originally posted by @ghost in https://github.com/olli991/mib-std2-pq-zr-toolbox/issues/93#issuecomment-1234161110


testing (histograms): Need to complete and improve test tooling for native histograms

Here is a probably incomplete list:

[x] tsdb/block_test.go suffers from the lack of Histogram support in the CreateBlock helper. See https://github.com/prometheus/prometheus/blob/7feea8aa894da5f16d41935538d2bf6ffb55050f/tsdb/block_test.go#L502 and https://github.com/prometheus/prometheus/blob/7feea8aa894da5f16d41935538d2bf6ffb55050f/tsdb/tsdbblockutil.go#L58
[x] https://github.com/prometheus/prometheus/blob/7feea8aa894da5f16d41935538d2bf6ffb55050f/tsdb/compact_test.go#L1356
[x] https://github.com/prometheus/prometheus/blob/7feea8aa894da5f16d41935538d2bf6ffb55050f/tsdb/db_test.go#L95
[x] https://github.com/prometheus/prometheus/blob/7feea8aa894da5f16d41935538d2bf6ffb55050f/web/api/v1/api_test.go#L2787
[ ] https://github.com/prometheus/prometheus/blob/7feea8aa894da5f16d41935538d2bf6ffb55050f/web/ui/react-app/src/pages/graph/DataTable.test.tsx#L147

Rough list of areas by @codesome (will be updated regularly as needed):

[x] TSDB

[x] Ingestion

[x] The happy path, series starts with histograms
[x] Series has float already, and now gets histograms
[x] Series has histograms, and gets float now
[x] Change in schema (including zero threshold) but same observations
[x] Buckets missing
[x] New buckets coming

[x] Querying

[x] series with only histograms

[x] Changing layout
[x] Changing schema

[x] series with mix of histograms and float
[x] query returning multiple series with all the combinations of float and histograms among the series (only float, only histograms, both float and histograms)
[x] Query touching multiple blocks, all blocks having the histograms
[x] Querying of overlapping blocks

[x] Compaction

[x] normal compaction works (head block compaction and merging of 2 non-overlapping blocks)

[x] Only histograms in a series (with other float series)
[x] Mix of histograms and float in a series in the same block (with other float series)
[x] One block having histogram series and the other block having float series
[x] Multiple blocks having a mix of float and histograms for the same series

[x] Vertical compaction works

[x] A series with only histograms overlaps with a series with only histograms
[x] A series with only histograms overlaps with a series with histograms and float
[x] A series with only histograms overlaps with a series with only float
[x] A series with histograms and float overlaps with a series with only float

[x] WAL/M-map

[x] Writing to WAL
[x] Reading from WAL
[x] M-mapping histogram chunks
[x] Checkpointing works fine with histograms in it
[x] Replay of data on restart

[x] Series having only histograms

[x] With m-map chunks

[x] Series having a mix of histograms and float

[x] With m-map chunks having both histograms and float

[x] PromQL

[x] histogram_quantile
[x] histogram_fraction
[x] sum()
[x] "+" operator
[x] rate()
[x] count()
[x] histogram_sum()
[x] histogram_count()

[x] Flag works as intended

I have updated the description with all the different things that we need unit tests for (some already exist). I will update the list if I find something that was missed.

Yeah, no clue how to do the UI testing properly. The little bits of code I wrote for Native Histogram support were totally makeshift. @Nexucis any help would be very welcome.

I don't have much bandwidth currently, but I will try.
In the meantime, perhaps @juliusv would be more capable to help here.

Moving UI test discussion to https://github.com/prometheus/prometheus/issues/11423. Other planned tests are done!


Widgets overflow when keyboard is expanded

When using the emulator for the Pixel (original), the text entry box overflows by 47 pixels when the keyboard is expanded. I assume this is a screen size thing and probably something about how flutter handles keyboard expansion.

══╡ EXCEPTION CAUGHT BY RENDERING LIBRARY
╞═════════════════════════════════════════════════════════
The following assertion was thrown during layout:
A RenderFlex overflowed by 47 pixels on the bottom.

The relevant error-causing widget was:
  Column
  Column:file:///home/restioson/IdeaProjects/10101/mobile/lib/features/welcome/welcome_s
  creen.dart:40:20

To inspect this widget in Flutter DevTools, visit:
http://<IP_ADDRESS>:9100/#/inspector?uri=http%3A%2F%2F<IP_ADDRESS>%3A38525%2FYDLK3WMrB-c%3D%2F
&inspectorRef=inspector-0

The overflowing RenderFlex has an orientation of Axis.vertical.
The edge of the RenderFlex that is overflowing has been marked in the rendering with a
yellow and
black striped pattern. This is usually caused by the contents being too big for the
RenderFlex.
Consider applying a flex factor (e.g. using an Expanded widget) to force the children of
the
RenderFlex to fit within the available space instead of being sized to their natural
size.
This is considered an error condition because it indicates that there is content that
cannot be
seen. If the content is legitimately bigger than the available space, consider clipping
it with a
ClipRect widget before putting it in the flex, or using a scrollable container rather
than a Flex,
like a ListView.
The specific RenderFlex in question is: RenderFlex#89770 relayoutBoundary=up4
OVERFLOWING:
  needs compositing
  creator: Column ← Padding ← ColoredBox ← Container ← _FormScope ← WillPopScope ←
    Form-[LabeledGlobalKey<FormState>#4b040] ← MediaQuery ← Padding ← SafeArea ←
    KeyedSubtree-[GlobalKey#b8770] ← _BodyBuilder ← ⋯
  parentData: offset=Offset(20.0, 20.0) (can use size)
  constraints: BoxConstraints(0.0<=w<=371.4, 0.0<=h<=268.2)
  size: Size(371.4, 268.2)
  direction: vertical
  mainAxisAlignment: start
  mainAxisSize: max
  crossAxisAlignment: end
  textDirection: ltr
  verticalDirection: down

Same occurs for this widget in the RX screen:

and the trade screen

I imagine the keyboard is "pushing" the widgets out of the way, when really I suppose we would want the content itself to become scrollable.


Profiler ToDo

[ ] Animate sort in network view like here
[x] Collapse in the fragment overview if fragment is collapsed in graph
[x] Allow expanding without activating
[x] Show time for communication rather than query runtime in network view

@BrandonHaynes @shrjain feel free to add issues if you run into them as you work on the profiler.


Invoke-WebRequest performance with -OutFile

Steps to reproduce
Invoke-WebRequest -Uri  -OutFile test.bin
Expected behavior
Achieve performance similar to that of a browser
Actual behavior
1% of available speed achieved (Fetching file from local cluster, Edge downloads with 150-250 Mbit, PS does with stable 4 Mbit)
(Most likely the issue is that the Write-Progress uses the main thread to report progress.)
Environment data

PS C:\Users\Matty\Desktop> $PSVersionTable

Name                           Value
----                           -----
SerializationVersion           <IP_ADDRESS>
PSEdition                      Core
PSRemotingProtocolVersion      2.3
PSVersion                      6.0.0-alpha
BuildVersion                   <IP_ADDRESS>
WSManStackVersion              3.0
CLRVersion
GitCommitId                    v6.0.0-alpha.11
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}

@MathiasMagnus Please test with latest build. We fixed a progress bar performance yesterday #2138

Seems OK to me. Thanks.

@MathiasMagnus Thanks for the bug report. Welcome back with new bug reports and suggestions.


feat(new documentation)

Switched from Jekyll to Gitbook
https://lucasrose.github.io/canon-react
closes #139

we will also have to merge thegh-pages branch

.nojekyll doesn't need to be checked in

_book shouldn't be checked in either, right?

@adampickeral removing those now


[WFLY-12485] Galleon layers for embedded infinispan-based web cluster…

…ing and JPA with a distributed 2nd level cache
https://issues.jboss.org/browse/WFLY-12485

@jfdenise Please review.

And @pferraro :)
As I mentioned in a chat message, a 'jgroups' layer may make sense.

I just realized I didn't update the doc page so I killed the CI jobs and will resubmit.

I added the doc page content.
@pferraro @jfdenise One thing to think about is what we would call a layer that used hotrod based web session caching. The impl details of this PR are quite simple; I think the main thing to think about is stuff like names to ensure we don't paint ourselves into a corner.

I'm going to close this for now as this is WF 19 stuff and #12599 has a test-only variant of this for use in WF !8 tests. So keep it simple and deal with 18 work first.


(GH-2304) Set default ports for Puppet services if not specified

Previously, the docs contained a few examples of the service-url
config needed to connect Bolt to the Orchestrator that didn't include
the port. Users assumed this meant the port didn't need to be set in
config, and tried to connect to the orchestrator using the default HTTPS
port 443 instead of the typical Orchestrator port 8143. This updates the
documentation to include the port for URLs that don't have standard
ports (80 for HTTP, 443 for HTTPS). It also sets the default ports for
both PuppetDB URLs and Orchestrator URLs to 8081 and 8143 respectively
if the user does not specify a port.
Closes #2304
!feature

Set default ports for PuppetDB and Orchestrator (2304)
We now set the ports for PuppetDB server_urls and Orchestrator
service-url to 8081 and 8143 respectively if the port is not set in
config.

CLA signed by all contributors.


Add Contributor Office Hours

Signed-off-by: Julien Pivotto<EMAIL_ADDRESS>

mmh those are not sentences

mmh those are not sentences

What they are then? ;p

What they are then? ;p

Not a biggy, let's merge - fine by me (:

Not a biggy, let's merge - fine by me (:

And now I see that on the top we used final dots for this. I will make sure to fix this next time I update the page.

And now I see that on the top we used final dots for this. I will make sure to fix this next time I update the page.


Pause on hover just with settings

Pause lightslider animation on hover with settings instead of calling pause() method.
$('#autoplay').lightSlider({     pauseOnHover: true });

:+1:

Hi,
I have added this feature in version 1.1.4.. Please check  the public methods example https://sachinchoolur.github.io/lightslider/examples.html

:+1:


Postgres  operator

Description of your changes
Update Postgres Addon.

How has this code been tested?

Checklist

I have:

[x] Title of the PR starts with type (e.g. [Addon] , [example] or [Doc]).
[x] Updated/Added any relevant documentation and examples.
[x] New addon should be put in experimental.
[x] Update addon should modify the version in metadata.yaml to generate a new version.

Verified Addon promotion rules
If this pr wants to promote an experimental addon to verified, you must check whether meet these conditions too:

[x] This addon must be tested by addon's e2e-test to guarantee this addon can be enabled successfully.
This addon must have some basic but necessary information.

[x] An accessible icon url and source url defined in addon's metadata.yaml.
[x] A detail introduction include a basic example about how to use and what's the benefit of this addon in README.md.
[x] Also provide an introduction in KubeVela documentation.
[x] It's more likely to be accepted if useful examples provided in example dir.

@wonderflow I've updated postgres addon, I hope now you will be able to run Bytebase with postgres addon :)

@wangyikewxgm @wonderflow I tried to do so, But I'm getting an error
could not create cluster: could not create master endpoint: endpoints "postgres" already exists
it seems like expose trait is getting created first then postgres cluster using built in expose trait.

@MdSahil-oss Hi, does this addon work? We can use postres-expose trait you added instead of built-in expose trait.


Updating dependencies from dependabot PRs

What and why?
Fixing failing dependabot PRs

https://github.com/ONSdigital/response-operations-ui/pull/892
https://github.com/ONSdigital/response-operations-ui/pull/890
https://github.com/ONSdigital/response-operations-ui/pull/886

https://github.blog/changelog/2021-02-19-github-actions-workflows-triggered-by-dependabot-prs-will-run-with-read-only-permissions/

Split these into node and python upgrades


Update support email address on contact page

I think this is buried in the application settings somewhere (didn't see on GitHub), but update the support email from<EMAIL_ADDRESS>to<EMAIL_ADDRESS>May one day drop tryslice.io.

Also, system emails (e.g. daily digests, password resets) are still sent from<EMAIL_ADDRESS>- change this to<EMAIL_ADDRESS>


Feature 503 python3 shebang

Changed shebang lines to use python3 instead of python. Removed shebang lines from py files that are not called directly (imported only). Removed metplus_check_python_version and 'if main' call to met_util.run_stand_alone from files that are not called directly. Updated User's Guide to mention correct python3 executable must be in path.

From email thread: You can still obtain the same functionality as calling a wrapper directly by adding an explicit override of the PROCESS_LIST.
For example, if you have a use case that calls GridStat and StatAnalysis in the PROCESS_LIST, let's call it GridStat_StatAnalysis_together.conf. If you wanted to just call GridStat, previously you could call
grid_stat_wrapper.py -c GridStat_StatAnalysis_together.conf
You can get the same behavior by running:
master_metplus.py -c GridStat_StatAnalysis_together.conf -c config.PROCESS_LIST=GridStat
so we aren't losing that functionality, just losing the ability to directly call the script.
A few reasons others why I think we should make this change:

The rearrange of the wrapper and util files to allow METplus to be made into a package causes problems with the imports when trying to run the wrapper file directly. It complains that you are trying to import something that is above the top directory (where the wrappers live). If we really need to support calling the wrapper directly the old way, we would have to change all of the imports to not be relative imports and contain "from metplus.wrappers" or "from metplus.util" before each import.

It makes sense to have users only be able to call py files in the ush directory, which is now only master_metplus.py and validate_config.py.

I don't think anyone called the wrappers directly before.


find node and add new node and edge in Neo4j Bolt

I am having  an issue with Neo4J Bolt not committing newly created edges
val Ident = Key[String]("personId")
val ItemId = Key[String]("movieId")
//
val thisNewNode = graph + ("PersonId", Ident -> "pers12")
//look for existing nodes in graph
graph.V.hasLabel("Foo").has(ItemId, "A123").toList.head.asScala.addEdge("likes", thisItem)
**** OR****
val existingNode = graph.V.hasLabel("Foo").has(ItemId, 'A123').head
thisNewNode --- "likes"--> existingNode

//test if gremlin found and added node
val len = neo.scala.graph.V().hasLabel("StoreItem").toList().head.in().toList().length
println(len) // prints 1 as expected
graph.graph.tx.commit()
But when this is run, and I look at the Neo4j browser, the PersonId node will have been added but not the "likes" edge between it and the found existing node

This works fine with other dbs, so it's very likely a neo4j-bolt problem, which I'm not an expert on. Please open an issue there, unless you know that it's actually gremlin-scala related.

Thanks Michael. Thats what I figured, and thats kind of annoying. perhaps
its time to look at a different DB.
On Sun, Aug 20, 2017 at 2:31 PM, Michael Pollmeier<EMAIL_ADDRESS>
wrote:

Closed #218 https://github.com/mpollmeier/gremlin-scala/issues/218.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/mpollmeier/gremlin-scala/issues/218#event-1213315821,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEklBe5QnPOMa8hoQD7Js9ttTc-tK7-Xks5saKXAgaJpZM4O8usO
.


feat(session): check LFS size when cloning

closes #1144
This is a much more limited solution than what the issue was asking for. Namely the limitations are as follows:

There is no easy way to check the size of the files that are outside of LFS, so if the files outside of LFS are larger than the free disk space there is no "advanced" error
The message about how much more space is required cannot be easily "passed" from the init container to the notebook service, so the same solution as what we currently have is in place here - namely different errors have different exit codes. Then the notebook service can cross-reference the exit code from the init container and see that the problem was not enough disk space. It is not easy or clear how to pass through additional information with this system.

The main advantage of this is that the cloning step can use the LFS size and raise an exception rather than to wait for the disk to fill up and then capture the exception. Waiting on the disk to fill up and recognizing this case is not very reliable so doing this in a more reliable way is still better. Also with this change the user does not have to wait for the LFS files to be downloaded and then for the disk to run out of space. The LFS files do not need to be downloaded so that we can understand that we do not have enough space.
Lastly this check is only done when the user requests for the clone step to download the LFS data. If the clone step does not download any LFS data then the check is skipped.

@Panaetius sorry for dismissing your approval.
There were conflicts I needed to resolve.
The confilcts were only in lines 135-138 in the new verison of git_services/git_services/init/cloner.py

@Panaetius actually just hold of on this a bit. I will fix the tests and then ping you to approve.


Build token system

Build out a system to substitute out tokens in strings with a dynamic value from our iTunes bridge. This should also include re-implementing all existing tokens.
Depends on #58

[x] Create token Typescript interface
[x] Implement token discovery system
[x] Implement string templating
[x] Re-implement existing tokens

Implemented in #65


Cassandra Vector Store, add metadata filtering + improvements

This PR addresses a few minor issues with the Cassandra vector store implementation and extends the store to support Metadata search.
Thanks to the latest cassIO library (>=0.1.0), metadata filtering is available in the store.
Further,

the "relevance" score is prevented from being flipped in the [0,1] interval, thus ensuring that 1 corresponds to the closest vector (this is related to how the underlying cassIO class returns the cosine difference);
bumped the cassIO package version both in the notebooks and the pyproject.toml;
adjusted the textfile location for the vector-store example after the reshuffling of the Langchain repo dir structure;
added demonstration of metadata filtering in the Cassandra vector store notebook;
better docstring for the Cassandra vector store class;
fixed test flakiness and removed offending out-of-place escape chars from a test module docstring;

To my knowledge all relevant tests pass and mypy+black+ruff don't complain. (mypy gives unrelated errors in other modules, which clearly don't depend on the content of this PR).
Thank you!
Stefano

Hello, @baskaryan , is there anything I can do to resolve the conflicts above? (which, I believe, appeared after I submitted the PR as master has been evolving meanwhile)

Hello -- I would like to try this with Cassandra with the mainline langchain. Can you pls help expedite the approval process?

Hello @baskaryan , may I ask you to check this PR, please? That would help us a lot.

Hi peeps -- any ETA on when this PR can be merged?


Update to modern bevy

This isn't quite ready yet, just posting it here as a draft to make sure I'm on the right track.
I so far just focused on fixing the errors as they showed up instead of trying to rewrite it.
Currently doesn't work because I'm not sure how to get animate_entities_system to work with &mut World (do I need to remove the queries, res, commands, and local function parameters to get it to work, then somehow get all those as variables at the start of the system?)
I'm not really sure what the replacement for HandleId is these days, or if the implementations for Handle would be enough. Also I'm assuming I need to implement Curve<T> for Handle<T>?

Benchmark is broken because CurveVariable relies on traits and types that don't seem to exist. (Interpolate, Interpolation, and Tangent) Not sure if those we just not implemented, or were maybe dropped in an earlier refactoring of the crate?


More freedom around freebies

Submitter: Luciano P.
It would be interesting to be able to allow for more freebies to be spent (for Elder chronicles, for example). It could take the form of either allowing the number of freebies allowed manually or (better yet) a mode where instead of depleting the available freebies, the counter on the top would start at 0 and then just sum all of the spent freebies to show how many were spent already.

I'm the original submitter of the suggestion above, and I just realized what I wrote is somewhat confusing. Let me clarify.
Right now, we only get to spend 15 freebies, which is the default, but it's somewhat restrictive, given how many alternative character creation rules exist (even within the official WW books themselves). Some rules suggest 21 or even 35 freebies for Elders, and there are character creation rules in which everything is converted to freebies. It would be nice to be able to use this tool (which is by far the best one I've ever seen for VtM) in those scenarios.
I realize some of these alternative creation rules would entail a lot of work to be made available, but addressing the lower-hanging fruit (i.e. the hard-coded fixed number of freebies) by allowing more freedom in that regard might be enough for most people (certainly so for me 😄). My suggestions on how to implement this are to either 1) allow the max number of freebies to be changed (e.g. a button beside the big red "15" on the top-right corner of the screen to allow changing that value) or 2) to create a mode in which there is no max limit, where the freebie counter would instead add all spent freebies and show the total (this would put the responsibility of verifying how many points are spent on the user, which is a fine trade-off). This last option would have the added benefit of allowing Storytellers to build their NPCs in the tool, since we obviously don't follow the stricter PC creation rules for NPCs.

Sorry for the late reply, I've been busy, and honestly I forgot that I hadn't replied to this one.
I have received requests for a format that provides more freedom. In fact I think this is the most highly requested feature. It pretty much puts it at the top of the list, probably even above the layout overhaul (because redoing the layout will take forever).
The trouble is, as you mentioned, different ways to do it, and the best way is not easy to determine. From my experience working on this, I think the latter option of creating a separate page or option for the (let's call it storyteller mode) would be the best approach. I could be wrong, but that's my initial reaction. I haven't worked on this project in some time unfortunately. I'd love to dedicate more time to it, but haven't had the opportunity.
I'll keep this issue open, it's basically a dupe, but also the most well thought-out suggestion, and if you're watching this one, it'll update and you can see when progress happens. Besides, the issues list isn't so busy that dupes really have a negative effect anyways.

No worries @DrSharky, I unfortunately know all about being too busy to work on stuff we want to (vs. on what we have to). I actually wish I had the time to put in a PR myself (I don't know much about Angular itself, but that would be a small hurdle), but I don't, either.
I like the idea of a "Storyteller mode", and I do think it's probably the best idea, as it allows you to introduce more changes/differences if you want to in the future. It is more work, though, so I'd be fine with a simpler solution.
Let me know if there's anything I can help with. If it's a smaller piece, I can probably find some smaller chunk of time to try my hand at it.
Cheers!


Plot.circle() instead of Plot.dot()

When explaining marks, I refer to Plot.dot() as a circle. So I wonder why Plot.dot() is preferable to Plot.circle()?
Apart from a breaking change:

the default radius makes a Plot.dot() a circle
the generated SVG element is a circle
a dot seems a special case of the circle not vice versa

A few reasons…

Small circles are often referred to as “dots”. Plot dots tend to be small.
“Dot” is shorter to spell and to say than “circle”.
In the future Plot.dot will support multiple symbols, not just circles. #41
Plot marks are partly named after common associated chart types (e.g., “dot plot”).
Plot marks are not generally named after their implementation (e.g., both bar produce rects, line produces paths).

We didn’t use the name Plot.scatter because that tends to imply two-dimensional dots, and Plot.dot can be used in one-dimensional charts. Also “dot” is shorter than “scatter”.
In any case we wouldn’t change the name and break backwards compatibility, though it’s possible we might have an alias in the future. We can consider this as part of #41 (which might introduce a Plot.symbol mark).

Thanks for the explanation! And to be honest, I can't argue reason #3


Laravel resource convention

As discussed here #47
If accepted, next step can be to move the screenMatch macro into https://github.com/orchidsoftware/platform

I don't really like the recording and what it leads to. I expected that we would be fully compliant with a Laravel resource.
But with what we have, I'm not sure if we really need a new macro with an exact enumeration of methods. What will it give us?
As for the code. Then I think we can make a much nicer look:
Route::screen('/match', Example::class)
    ->methods('GET');

Route::screen('/match', Example::class)
    ->methods(['GET', 'POST']);

To do this, you need to create a class:
use Illuminate\Support\Arr;
use Illuminate\Support\HigherOrderTapProxy;

class ScreenRoute extends HigherOrderTapProxy
{
    /**
     * @param string|array $methods
     */
    public function methods($methods): self
    {
        $this->target->methods = Arr::wrap($methods);

        return $this;
    }
}

And in the platform macro, return it:
// ...

$route = $this->any($url.'/{method?}', [$screen, 'handle']);

$methods = $screen::getAvailableMethods();

if (! empty($methods)) {
    $route->where('method', implode('|', $methods));
}

return new ScreenRoute($route);

This will make it less painful to add things to the screen definition.
But I repeat that I completely understand what advantages we can get.
I expected in the issue that we just change some of the names from:
/crud/view/{resource?}/{Id} to /crud/{resource?}/{Id}.
Maybe I don't understand you completely. Open to discussion

@tabuna I have a reply here https://github.com/orchidsoftware/crud/issues/47#issuecomment-874756351


Enforce persistence context timeout in application layer: Part 5

What changed?
Enforce persistence context timeout for task processing

Why?
#3519

How did you test it?
Integration test. Tested locally.

Potential risks
May result in more task errors and retries. In the worst case a task may got stuck if timeout is not long enough.

Coverage increased (+0.02%) to 62.61% when pulling f042645e54076e7f4a092b59e0113d04d51492f2 on yycptt:app-level-ctx-5 into d063f27a66e99712879116b5cb46a08271798de6 on uber:master.


Adding new gradle tasks for generating Cargo.lock

Motivation and Context

We have had numerous recent issues where updated dependencies have broken our build/release process. This seeks to fix that in a brute force way by manually generating Cargo.lock files for our main workspaces.
Description

Introduce a new gradle task generateAllLockfiles (and some child tasks that it invokes) that generates lock files for

aws-config crate
aws/rust-runtime workspace
rust-runtime workspace
the superset workspace generated by the assemble task

NOTE: This Cargo.lock is actually generated from the workspace in the aws-sdk-rust repo, saved in this repo, and copied into place at build time. Generating this one requires a local copy of the aws-sdk-rust repo whose absolute path is indicated by the -Paws-sdk-rust-path parameter.

Testing

I ran our E2E tests against 3 commits to confirm that the Cargo.lock files operate as we expect:

9d84980ee2e37deadb7e45450d65c5e6bc69e07c The head commit from this PR which has our Cargo.lock files

✅ Passes

d9d9fcec2de0e898bcc804ee0bb31393d7098e72 with lockfiles and with the httparse and crc323c crates unpinned

✅ Passes

df75beb160890b2a9c382c8a2f7da8d7d0ddd3c8 with no lockfiles and has the httparse and crc32c crates unpinned

❌ Fails (as expected)

This series of tests confirms that that Cargo.lock files will protect us against bad dependency updates going forward.
Checklist

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

For 3, we probably need to place aws/sdk/Cargo.lock into a shared test workspace (can't remember off the top of my head which Kotlin code manages the location). If we revert https://github.com/smithy-lang/smithy-rs/commit/0cbeef351b1021e4d55a91a5e1c78f8d08e2012d and comment out logger.fine(("cargo update").runCommand(testDir)), let smithy-rs CI run, then a CI task check-sdk-codegen-unit-tests may fail even with changes in this PR (if so, we do need to handle 3).

Gave that a shot in this PR: https://github.com/smithy-lang/smithy-rs/pull/3700. With the version pinning and the cargo update removed. The CI succeeded, but that doesn't necessarily mean that this PR fixed it as it was (it likely doesn't since the tests generate their own shared workspace).
Added https://github.com/smithy-lang/smithy-rs/pull/3689/commits/48eb3adf3ee57bb8da498b69653ee21bb740ae41 to copy the (superset) Cargo.lock file into the generated test workspaces


Rename --record-performance and add more artifact collection options

Currently, I use --record-performance in CI to collect network and events data on tests. Ideally, I would only like to collect that data if the test is broken, and this is not currently possible.
I think that terminology of --record-performance might be broken, we don't necessarily want to record performance of every test here. What this is essentially is collecting profiling data with Detox Instruments.
I suggest we change --record-performance to --collect-profiling and add failing option to CLI.
Backwards compatibility is required of course, should be pretty easy I guess.
Apart from that, uniting collection logic (none, failing, all) might also be good here, as it can probably be shared by all artifact plugins.

It’s not public yet. I don’t think we need to clutter the CLI tools with internal BC.

It is out since 12.6.1, I too would love to declutter CLI, but I'm not sure it's responsible without bumping major.

It has not been documented. Nobody knows about it. I think we can draw the line at undocumented features.

@LeoNatan, actually it has been documented in:

https://github.com/wix/Detox/blob/master/docs/APIRef.Artifacts.md#enabling-artifacts

https://github.com/wix/Detox/blob/master/docs/APIRef.DetoxCLI.md#test

On Mon, May 27, 2019 at 10:03 PM Leo Natan<EMAIL_ADDRESS>wrote:

It has not been documented. Nobody knows about it. I think we can draw the
line at undocumented features.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/wix/Detox/issues/1403?email_source=notifications&email_token=AAO7DZM5MEX5OFBQPIXRFVDPXQV6PA5CNFSM4HP3SI3KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWKLZEI#issuecomment-496286865,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAO7DZOXOT4FMWGOFX7NH6TPXQV6PANCNFSM4HP3SI3A
.

Ah. But why? It was only phase 1. Ok, so it needs BC.

Subtask of https://github.com/wix/Detox/issues/1238 .


Can't run some applications

When I connect MIPI camera with board, Success to run Conference Room, Lighting Control etc ...
But, Some apps like Defense wild animals, Elevator passengers does not run.
Why this problem was happen? and what can I do to solve this problem?

Hello there,
Can you please try weights file from an older release in case of Elevator passengers?

https://github.com/Ignitarium-Renesas/RZV2L_AiLibrary/releases/download/v1.2.1/yolov3_cam_weight.dat from release v1.2.1.
We were able to run the app after renaming weight file from yolov3_Head_counting_weights.dat to yolov3_cam_weight.dat.

In case of animal detection, we could not reproduce the issue. can you please share the error log?


AutoIndentWithSave cannot be unistalled

Use package manager to uninstall this plugin.
It disappeared when check the plugin directory.
Restart Xcode.
Finally, the function of the plugin is still worked.

Do you have multiple versions of xcode installed?

tks, problem resolved when i reinstall Xcode


feat: unit tests for getPageData function

🛠 Fixes issue(s)
Adds unit tests for function getPageData, adds Jest to project and test coverage across project.
For Issue #27

✔ Checklist (Check all the applicable boxes)

[x] My code follows the code style of this project.
[x] This PR does not contain plagiarized content.
[x] The title of my pull request is a short description of the requested changes.

📄 Note to reviewers
Resource mocks might be incorrect, it is what I managed to find scouring about Swagger and the like. Secondly, given my lack of time I might not be able to fix anything further on in this issue.

Oof this PR totally slipped my mind. I'll review it by the end of the week, and see if it can be merged first try given your circumstances. Else I might have to close the PR since I also don't think I'm ready to add tests just yet.
Either way thank you for taking the time to contribute.


[tuner] Reorganize tuner directories

Add a subdirectory for the tuner library. This is so that examples do not have to be executed from the repo root and risk polluting it with temporary files.

Suggested by @ScottTodd in https://github.com/nod-ai/SHARK-Platform/pull/248


Persistent store write errors go to logger.

Done. Use nulllogger to eliminate test of nil logger.


Minor additional changes to helpfile

In this issue we'll make some minor adjustments to the helpfile

Summary: In this issue we made some additional changes to the helpfile.
Thread continues in XX


Kubernetes installation stuck in IN_PROGRESS

Hi,
I've been trying to install kubernetes (1.0.3-1.9.7 & 1.0.2-1.9.6) but the installation gets stuck. Can't access kubernetes dashboard either (similar error to #77).
$ dcos kubernetes plan status deploy
deploy (serial strategy) (IN_PROGRESS)
├─ etcd (serial strategy) (COMPLETE)
│  └─ etcd-0:[peer] (COMPLETE)
├─ apiserver (parallel strategy) (COMPLETE)
│  └─ kube-apiserver-0:[instance] (COMPLETE)
├─ kubernetes-api-proxy (parallel strategy) (COMPLETE)
│  └─ kubernetes-api-proxy-0:[install] (COMPLETE)
├─ controller-manager (parallel strategy) (COMPLETE)
│  └─ kube-controller-manager-0:[instance] (COMPLETE)
├─ scheduler (parallel strategy) (COMPLETE)
│  └─ kube-scheduler-0:[instance] (COMPLETE)
├─ node (parallel strategy) (IN_PROGRESS)
│  ├─ kube-node-0:[kube-proxy] (PREPARED)
│  ├─ kube-node-0:[coredns] (PREPARED)
│  └─ kube-node-0:[kubelet] (PREPARED)
├─ public-node (parallel strategy) (COMPLETE)
└─ mandatory-addons (serial strategy) (PENDING)
   ├─ mandatory-addons-0:[kube-dns] (PENDING)
   ├─ mandatory-addons-0:[metrics-server] (PENDING)
   ├─ mandatory-addons-0:[dashboard] (PENDING)
   └─ mandatory-addons-0:[ark] (PENDING)

Any ideas why this is?

@uditha-atukorala can you try to search for any FAIL offer in the output of https://<CLUSTER_IP>/service/kubernetes/v1/debug/offers ? I believe it is related to lack of enough available resources

@hectorj2f, thanks for the pointers. It does look like it is not having enough resources.
e.g.
FAIL(ResourceEvaluationStage): Offer failed to satisfy: name: cpus, value: type: SCALAR scalar { value: 3.0 }, role: kubernetes-role, pre-reserved-role: *, principal: kubernetes-principal with resourceId: Optional.empty

FAIL(VolumeEvaluationStage): Offer failed to satisfy: name: disk, value: type: SCALAR scalar { value: 10240.0 }, role: kubernetes-role, pre-reserved-role: *, principal: kubernetes-principal, type: 'ROOT', container-path: 'var' with resourceId: Optional.empty

I'll take a look.

No problem. Closing this issue!

Hey @hectorj2f ,
I came across the same issue, Could you please let me know the recommended resources that need to be configured for kube-node such that the kubernetes dashboard works. I tried to scale my resource both horizontally and vertically but still didn't find any luck.I'm trying to install using dcos-vagrant on my local machine.
Thanks in advance

Here are the logs from above mentioned url,
FAIL(VolumeEvaluationStage): Offer failed to satisfy: name: disk, value: type: SCALAR scalar { value: 10240.0 }, role: kubernetes-role, pre-reserved-role: *, principal: kubernetes-principal, type: 'ROOT', container-path: 'var' with resourceId: Optional.empty
FAIL(ResourceEvaluationStage): Offer failed to satisfy: name: cpus, value: type: SCALAR scalar { value: 0.1 }, role: kubernetes-role, pre-reserved-role: *, principal: kubernetes-principal with resourceId: Optional.empty
FAIL(ResourceEvaluationStage): Offer failed to satisfy: name: mem, value: type: SCALAR scalar { value: 32.0 }, role: kubernetes-role, pre-reserved-role: *, principal: kubernetes-principal with resourceId: Optional.empty
FAIL(ResourceEvaluationStage): Offer failed to satisfy: name: cpus, value: type: SCALAR scalar { value: 0.1 }, role: kubernetes-role, pre-reserved-role: *, principal: kubernetes-principal with resourceId: Optional.empty
FAIL(ResourceEvaluationStage): Offer failed to satisfy: name: mem, value: type: SCALAR scalar { value: 32.0 }, role: kubernetes-role, pre-reserved-role: *, principal: kubernetes-principal with resourceId: Optional.empty
FAIL(ResourceEvaluationStage): Offer failed to satisfy: name: disk, value: type: SCALAR scalar { value: 256.0 }, role: kubernetes-role, pre-reserved-role: *, principal: kubernetes-principal with resourceId: Optional.empty
PASS(LaunchEvaluationStage): Added launch information to offer requirement
FAIL(ResourceEvaluationStage): Offer failed to satisfy: name: cpus, value: type: SCALAR scalar { value: 0.1 }, role: kubernetes-role, pre-reserved-role: *, principal: kubernetes-principal with resourceId: Optional.empty
FAIL(ResourceEvaluationStage): Offer failed to satisfy: name: mem, value: type: SCALAR scalar { value: 512.0 }, role: kubernetes-role, pre-reserved-role: *, principal: kubernetes-principal with resourceId: Optional.empty
And also dcos kubernetes plan status deploy output:
deploy (serial strategy) (IN_PROGRESS)
├─ etcd (serial strategy) (COMPLETE)
│  └─ etcd-0:[peer] (COMPLETE)
├─ apiserver (parallel strategy) (COMPLETE)
│  └─ kube-apiserver-0:[instance] (COMPLETE)
├─ mandatory-addons (serial strategy) (COMPLETE)
│  ├─ mandatory-addons-0:[additional-cluster-role-bindings] (COMPLETE)
│  ├─ mandatory-addons-0:[kube-dns] (COMPLETE)
│  ├─ mandatory-addons-0:[metrics-server] (COMPLETE)
│  ├─ mandatory-addons-0:[dashboard] (COMPLETE)
│  └─ mandatory-addons-0:[ark] (COMPLETE)
├─ kubernetes-api-proxy (parallel strategy) (COMPLETE)
│  └─ kubernetes-api-proxy-0:[install] (COMPLETE)
├─ controller-manager (parallel strategy) (COMPLETE)
│  └─ kube-controller-manager-0:[instance] (COMPLETE)
├─ scheduler (parallel strategy) (COMPLETE)
│  └─ kube-scheduler-0:[instance] (COMPLETE)
├─ node (parallel strategy) (IN_PROGRESS)
│  └─ kube-node-0:[kube-proxy, coredns, kubelet] (PREPARED)
└─ public-node (parallel strategy) (COMPLETE)

@uditha-atukorala  May be you can guide me on this since you already have a solution,

@ravinani02 Did you have a look at the docs https://github.com/mesosphere/dcos-kubernetes/blob/master/docs/package/install.md#prerequisites ? Based on the FAIL you shared here, it seems there aren't enough available resources in your cluster.

@ravinani02, my issue was not having enough agent node resources. I ended up upgrading my nodes but you can also try scaling the k8s cluster down.


File upload functionality

This is inflight, I need to finish up authc/z on another PR and then will come back to this.

This PR is going in the wrong direction


Fails when conda env path contains spaces

I have conda installed in C:\Program Files (yes, I know.... but it's a corporate environment that I have zero control over).
Attempting to install conda-wrappers fails with the following error:
Package plan for installation in environment C:\Program Files\ArcGIS\Pro\bin\Python\envs\myenv:

The following NEW packages will be INSTALLED:

    conda-wrappers: 1.0.1-py36_0

Proceed ([y]/n)?

Linking packages ...
'C:\Program' is not recognized as an internal or external command,       |   0%
operable program or batch file.
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
Error: Error: post-link failed for: conda-wrappers-1.0.1-py36_0

And a file "C:\Program" is written to my C:\ drive (which Windows is not happy about...).
Modifying post-link.bat to add double-quotes around every usage of "%BIN_DIR%" "%WRAPPERS_DIR%" "%ENV_DIR%" and "%CREATE_WRAPPERS_COMMAND%" allows the wrapppers to be created, but all the wrapper bat files then fail as they were written without wrapping double quotes around the paths.

See PR: https://github.com/gqmelo/exec-wrappers/pull/17

Thanks, fix for conda-wrappers should be merged soon: https://github.com/conda-forge/conda-wrappers-feedstock/pull/5 . Just waiting for all builds to finish

Fixed by https://github.com/gqmelo/exec-wrappers/commit/a9b56fa6ee6588a4cd10fa8384600755c5ff0d71


Bug: If the app starts immediately with a link in AppStartupUri, then loading more posts in the feed (when reaching the end of the scrollbar) stops working

Fixed by fa42eea commit


Break up utils package into multiple files

This PR breaks up the utils package that currently consists of the file internal/utils/utils.go into a few files with specific focuses. I think this will make it easier to work with specific things in the utils package.

Thanks for the contribution, really appreciate it!


Update dependencies to support rendering of more style options

yawgl, satellite-view: update to WebGL2 versions
params.js: update to new yawgl initContext API
touch-sampler (via spinning-ball): improve handling of Wheel
events from different devices (see #17)
tile-gl (via tile-setter): add rendering support for line labels,
sprite symbols, text halos, cased lines, dashed lines

touch-sampler was updated to honor the .deltaY value from WheelEvents.
Different browsers report deltaY differently--sometimes as pixels, other times as "lines" or "pages". Earlier versions of touch-sampler dodged the complexity by extracting the sign of the event, and then zooming a fixed amount per event. However, this doesn't work for MacBook touchpads, which are designed for a Mac-style "inertial zoom" effect. For one user-initiated zoom action, these devices emit a series of wheel events over a few hundred milliseconds, with smaller .deltaY values for each event.
The new code considers both .deltaY and .deltaMode for Wheel events, and scales appropriately. The behavior is now more similar to Leaflet and d3-zoom.

This PR also incorporates the recent rendering improvements in tile-labeler and tile-gl