以管理员权限运行run.bat文件之后还是会报psutil.AccessDenied的错误。。。

下面是详细的log日志
2022-01-05 16:04:55,615 [   INFO] 9776 --- util.py:221  : can not get name of process psutil.AccessDenied (pid=4916)
2022-01-05 16:04:55,631 [   INFO] 9776 --- util.py:221  : can not get name of process psutil.AccessDenied (pid=8860)
2022-01-05 16:04:55,631 [   INFO] 9776 --- util.py:221  : can not get name of process psutil.AccessDenied (pid=4916)
2022-01-05 16:04:55,631 [   INFO] 9776 --- util.py:221  : can not get name of process psutil.AccessDenied (pid=8860)
2022-01-05 16:04:55,631 [   INFO] 9776 --- util.py:248  : attempt to start Battle.net
2022-01-05 16:05:05,737 [   INFO] 9776 --- util.py:218  : find Battle.net.exe exists
2022-01-05 16:05:05,737 [   INFO] 9776 --- util.py:254  : Battle.net start success
2022-01-05 16:05:05,746 [   INFO] 9776 --- util.py:221  : can not get name of process psutil.AccessDenied (pid=4916)
2022-01-05 16:05:05,748 [   INFO] 9776 --- util.py:221  : can not get name of process psutil.AccessDenied (pid=8860)
2022-01-05 16:05:05,750 [   INFO] 9776 --- util.py:257  : attempt to start Hearthstone
2022-01-05 16:05:15,788 [   INFO] 9776 --- util.py:218  : find Hearthstone.exe exists
2022-01-05 16:05:15,788 [   INFO] 9776 --- util.py:262  : Hearthstone start success
2022-01-05 16:05:20,791 [   INFO] 9776 --- util.py:265  : done
2022-01-05 16:05:20,797 [   INFO] 9776 --- util.py:218  : find Hearthstone.exe exists
2022-01-05 16:05:23,701 [   INFO] 9776 --- lushi.py:854  : Last state , time taken: 0.5115387439727783
2022-01-05 16:05:28,786 [   INFO] 9776 --- lushi.py:854  : Last state , time taken: 5.596140146255493
2022-01-05 16:05:33,852 [   INFO] 9776 --- lushi.py:854  : Last state , time taken: 10.662047386169434
2022-01-05 16:05:39,065 [   INFO] 9776 --- lushi.py:854  : Last state , time taken: 15.875278234481812
2022-01-05 16:05:44,308 [   INFO] 9776 --- lushi.py:854  : Last state , time taken: 21.118279457092285
2022-01-05 16:05:49,622 [   INFO] 9776 --- lushi.py:854  : Last state , time taken: 26.43223214149475
2022-01-05 16:05:55,110 [   INFO] 9776 --- lushi.py:854  : Last state , time taken: 31.920576810836792
2022-01-05 16:06:00,522 [   INFO] 9776 --- lushi.py:854  : Last state , time taken: 37.33267951011658
2022-01-05 16:06:05,497 [   INFO] 9776 --- lushi.py:854  : Last state , time taken: 42.30722761154175
2022-01-05 16:06:10,584 [   INFO] 9776 --- lushi.py:854  : Last state , time taken: 47.39427733421326
2022-01-05 16:06:15,880 [   INFO] 9776 --- lushi.py:854  : Last state , time taken: 52.6901638507843
2022-01-05 16:06:21,890 [   INFO] 9776 --- lushi.py:854  : Last state , time taken: 58.70090699195862
2022-01-05 16:06:27,053 [   INFO] 9776 --- lushi.py:854  : Last state , time taken: 63.863184452056885
2022-01-05 16:06:32,379 [   INFO] 9776 --- lushi.py:854  : Last state , time taken: 69.18944883346558
2022-01-05 16:06:37,508 [   INFO] 9776 --- lushi.py:854  : Last state , time taken: 74.31841802597046
2022-01-05 16:06:43,021 [   INFO] 9776 --- lushi.py:854  : Last state , time taken: 79.83102035522461
2022-01-05 16:06:49,746 [   INFO] 9776 --- util.py:134  : screenshot restart_16-06.48,669.png saved
2022-01-05 16:06:49,747 [   INFO] 9776 --- util.py:242  : try to kill hearthstone
2022-01-05 16:06:49,755 [   INFO] 9776 --- util.py:229  : Battle.net.exe killed
2022-01-05 16:06:49,757 [   INFO] 9776 --- util.py:229  : Hearthstone.exe killed
2022-01-05 16:06:49,757 [  ERROR] 9776 --- lushi.py:821  : 错误：psutil.AccessDenied (pid=4916)
Traceback (most recent call last):
File "C:\Users\zhaoy\Desktop\script_with_python37-0.4.3\python37\Lib\site-packages\psutil_common.py", line 447, in wrapper
ret = self._cache[fun]
AttributeError: _cache
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\zhaoy\Desktop\script_with_python37-0.4.3\python37\Lib\site-packages\psutil_pswindows.py", line 679, in wrapper
return fun(self, *args, **kwargs)
File "C:\Users\zhaoy\Desktop\script_with_python37-0.4.3\python37\Lib\site-packages\psutil_common.py", line 450, in wrapper
return fun(self)
File "C:\Users\zhaoy\Desktop\script_with_python37-0.4.3\python37\Lib\site-packages\psutil_pswindows.py", line 766, in exe
exe = cext.proc_exe(self.pid)
PermissionError: [WinError 24] 程序发出命令，但命令长度不正确。: '(originated from NtQuerySystemInformation)'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\zhaoy\Desktop\script_with_python37-0.4.3\lushi.py", line 816, in run
self.run_pve()
File "C:\Users\zhaoy\Desktop\script_with_python37-0.4.3\lushi.py", line 851, in run_pve
restart_game(self.lang, self.basic.bn_path)
File "C:\Users\zhaoy\Desktop\script_with_python37-0.4.3\utils\util.py", line 243, in restart_game
proc_kill([bn, hs])
File "C:\Users\zhaoy\Desktop\script_with_python37-0.4.3\utils\util.py", line 227, in proc_kill
if len(p.name()) > 0 and p.name() in process_names:
File "C:\Users\zhaoy\Desktop\script_with_python37-0.4.3\python37\Lib\site-packages\psutil_init_.py", line 617, in name
name = self._proc.name()
File "C:\Users\zhaoy\Desktop\script_with_python37-0.4.3\python37\Lib\site-packages\psutil_pswindows.py", line 750, in name
return os.path.basename(self.exe())
File "C:\Users\zhaoy\Desktop\script_with_python37-0.4.3\python37\Lib\site-packages\psutil_pswindows.py", line 681, in wrapper
raise convert_oserror(err, pid=self.pid, name=self._name)
psutil.AccessDenied: psutil.AccessDenied (pid=4916)
2022-01-05 16:06:49,877 [   INFO] 9776 --- util.py:218  : find Hearthstone.exe exists
2022-01-05 16:06:51,883 [  ERROR] 9776 --- lushi.py:821  : 错误：No top level window found for wantedText='炉石传说', wantedClass=None, selectionFunction=None
Traceback (most recent call last):
File "C:\Users\zhaoy\Desktop\script_with_python37-0.4.3\lushi.py", line 816, in run
self.run_pve()
File "C:\Users\zhaoy\Desktop\script_with_python37-0.4.3\lushi.py", line 833, in run_pve
success, loc, rect = self.check_in_screen('mercenaries')
File "C:\Users\zhaoy\Desktop\script_with_python37-0.4.3\lushi.py", line 110, in check_in_screen
rect, screen = find_lushi_window(self.title)
File "C:\Users\zhaoy\Desktop\script_with_python37-0.4.3\utils\util.py", line 102, in find_lushi_window
hwnd = findTopWindow(title)
File "C:\Users\zhaoy\Desktop\script_with_python37-0.4.3\utils\winguiauto.py", line 50, in findTopWindow
repr(selectionFunction))
utils.winguiauto.WinGuiAutoError: No top level window found for wantedText='炉石传说', wantedClass=None, selectionFunction=None
2022-01-05 16:06:51,910 [   INFO] 9776 --- util.py:221  : can not get name of process psutil.AccessDenied (pid=4916)
2022-01-05 16:06:51,910 [   INFO] 9776 --- util.py:221  : can not get name of process psutil.AccessDenied (pid=15524)
2022-01-05 16:06:51,910 [   INFO] 9776 --- util.py:221  : can not get name of process psutil.AccessDenied (pid=4916)
2022-01-05 16:06:51,926 [   INFO] 9776 --- util.py:221  : can not get name of process psutil.AccessDenied (pid=15524)
2022-01-05 16:06:51,926 [   INFO] 9776 --- util.py:248  : attempt to start Battle.net
2022-01-05 16:07:01,967 [   INFO] 9776 --- util.py:218  : find Battle.net.exe exists
2022-01-05 16:07:01,968 [   INFO] 9776 --- util.py:254  : Battle.net start success
2022-01-05 16:07:01,976 [   INFO] 9776 --- util.py:221  : can not get name of process psutil.AccessDenied (pid=4916)
2022-01-05 16:07:01,979 [   INFO] 9776 --- util.py:221  : can not get name of process psutil.AccessDenied (pid=15524)
2022-01-05 16:07:01,979 [   INFO] 9776 --- util.py:257  : attempt to start Hearthstone
2022-01-05 16:07:12,017 [   INFO] 9776 --- util.py:221  : can not get name of process psutil.AccessDenied (pid=4916)
2022-01-05 16:07:12,019 [   INFO] 9776 --- util.py:218  : find Hearthstone.exe exists
2022-01-05 16:07:12,019 [   INFO] 9776 --- util.py:262  : Hearthstone start success
2022-01-05 16:07:17,035 [   INFO] 9776 --- util.py:265  : done
2022-01-05 16:07:17,055 [   INFO] 9776 --- util.py:221  : can not get name of process psutil.AccessDenied (pid=4916)
2022-01-05 16:07:17,065 [   INFO] 9776 --- util.py:218  : find Hearthstone.exe exists
2022-01-05 16:07:19,742 [   INFO] 9776 --- lushi.py:854  : Last state , time taken: 0.5073838233947754
2022-01-05 16:07:24,777 [   INFO] 9776 --- lushi.py:854  : Last state , time taken: 5.54229474067688
2022-01-05 16:07:30,016 [   INFO] 9776 --- lushi.py:854  : Last state , time taken: 10.781064987182617
2022-01-05 16:07:35,246 [   INFO] 9776 --- lushi.py:854  : Last state , time taken: 16.01066303253174
2022-01-05 16:07:40,622 [   INFO] 9776 --- lushi.py:854  : Last state , time taken: 21.387205839157104
2022-01-05 16:07:46,003 [   INFO] 9776 --- lushi.py:854  : Last state , time taken: 26.76794171333313
2022-01-05 16:07:51,163 [   INFO] 9776 --- lushi.py:854  : Last state , time taken: 31.92809772491455
2022-01-05 16:07:56,442 [   INFO] 9776 --- lushi.py:854  : Last state , time taken: 37.207212686538696
2022-01-05 16:08:01,990 [   INFO] 9776 --- lushi.py:854  : Last state , time taken: 42.75519514083862
2022-01-05 16:08:07,556 [   INFO] 9776 --- lushi.py:854  : Last state , time taken: 48.32143306732178
2022-01-05 16:08:13,109 [   INFO] 9776 --- lushi.py:854  : Last state , time taken: 53.874406576156616
2022-01-05 16:08:18,408 [   INFO] 9776 --- lushi.py:854  : Last state , time taken: 59.17273306846619
2022-01-05 16:08:23,499 [   INFO] 9776 --- lushi.py:854  : Last state , time taken: 64.26355695724487
2022-01-05 16:08:28,787 [   INFO] 9776 --- lushi.py:854  : Last state , time taken: 69.55186009407043
2022-01-05 16:08:34,224 [   INFO] 9776 --- lushi.py:854  : Last state , time taken: 74.98928737640381
2022-01-05 16:08:40,061 [   INFO] 9776 --- util.py:134  : screenshot restart_16-08.39,784.png saved
2022-01-05 16:08:40,062 [   INFO] 9776 --- util.py:242  : try to kill hearthstone
2022-01-05 16:08:40,069 [   INFO] 9776 --- util.py:229  : Battle.net.exe killed
2022-01-05 16:08:40,070 [  ERROR] 9776 --- lushi.py:821  : 错误：psutil.AccessDenied (pid=4916)
Traceback (most recent call last):
File "C:\Users\zhaoy\Desktop\script_with_python37-0.4.3\python37\Lib\site-packages\psutil_common.py", line 447, in wrapper
ret = self._cache[fun]
AttributeError: _cache
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\zhaoy\Desktop\script_with_python37-0.4.3\python37\Lib\site-packages\psutil_pswindows.py", line 679, in wrapper
return fun(self, *args, **kwargs)
File "C:\Users\zhaoy\Desktop\script_with_python37-0.4.3\python37\Lib\site-packages\psutil_common.py", line 450, in wrapper
return fun(self)
File "C:\Users\zhaoy\Desktop\script_with_python37-0.4.3\python37\Lib\site-packages\psutil_pswindows.py", line 766, in exe
exe = cext.proc_exe(self.pid)
PermissionError: [WinError 24] 程序发出命令，但命令长度不正确。: '(originated from NtQuerySystemInformation)'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\zhaoy\Desktop\script_with_python37-0.4.3\lushi.py", line 816, in run
self.run_pve()
File "C:\Users\zhaoy\Desktop\script_with_python37-0.4.3\lushi.py", line 851, in run_pve
restart_game(self.lang, self.basic.bn_path)
File "C:\Users\zhaoy\Desktop\script_with_python37-0.4.3\utils\util.py", line 243, in restart_game
proc_kill([bn, hs])
File "C:\Users\zhaoy\Desktop\script_with_python37-0.4.3\utils\util.py", line 227, in proc_kill
if len(p.name()) > 0 and p.name() in process_names:
File "C:\Users\zhaoy\Desktop\script_with_python37-0.4.3\python37\Lib\site-packages\psutil_init_.py", line 617, in name
name = self._proc.name()
File "C:\Users\zhaoy\Desktop\script_with_python37-0.4.3\python37\Lib\site-packages\psutil_pswindows.py", line 750, in name
return os.path.basename(self.exe())
File "C:\Users\zhaoy\Desktop\script_with_python37-0.4.3\python37\Lib\site-packages\psutil_pswindows.py", line 681, in wrapper
raise convert_oserror(err, pid=self.pid, name=self._name)
psutil.AccessDenied: psutil.AccessDenied (pid=4916)
2022-01-05 16:08:40,387 [   INFO] 9776 --- util.py:134  : screenshot error_16-08.40,138.png saved
2022-01-05 16:08:40,399 [   INFO] 9776 --- util.py:221  : can not get name of process psutil.AccessDenied (pid=4916)
2022-01-05 16:08:40,402 [   INFO] 9776 --- util.py:218  : find Hearthstone.exe exists

我如果在pycharm中运行main_gui.py，不会有上述的问题了，但是会反复打开关闭炉石。。。能问一下这个是什么原因吗？
下面是对应的log日志：
2022-01-06 02:31:54,073 [   INFO] 12504 --- util.py:218  : find Battle.net.exe exists
2022-01-06 02:31:54,074 [   INFO] 12504 --- util.py:254  : Battle.net start success
2022-01-06 02:31:54,536 [   INFO] 12504 --- util.py:257  : attempt to start Hearthstone
2022-01-06 02:32:05,191 [   INFO] 12504 --- util.py:218  : find Hearthstone.exe exists
2022-01-06 02:32:05,192 [   INFO] 12504 --- util.py:262  : Hearthstone start success
2022-01-06 02:32:10,209 [   INFO] 12504 --- util.py:265  : done
2022-01-06 02:32:10,790 [   INFO] 12504 --- util.py:218  : find Hearthstone.exe exists
2022-01-06 02:32:13,883 [   INFO] 12504 --- lushi.py:854  : Last state , time taken: 0.5102288722991943
2022-01-06 02:32:19,203 [   INFO] 12504 --- lushi.py:854  : Last state , time taken: 5.830584764480591
2022-01-06 02:32:24,618 [   INFO] 12504 --- lushi.py:854  : Last state , time taken: 11.24564790725708
2022-01-06 02:32:30,283 [   INFO] 12504 --- lushi.py:854  : Last state , time taken: 16.910353660583496
2022-01-06 02:32:35,816 [   INFO] 12504 --- lushi.py:854  : Last state , time taken: 22.442957639694214
2022-01-06 02:32:42,821 [   INFO] 12504 --- lushi.py:854  : Last state , time taken: 29.44819951057434
2022-01-06 02:32:48,622 [   INFO] 12504 --- lushi.py:854  : Last state , time taken: 35.24916672706604
2022-01-06 02:32:54,440 [   INFO] 12504 --- lushi.py:854  : Last state , time taken: 41.067848205566406
2022-01-06 02:32:59,853 [   INFO] 12504 --- lushi.py:854  : Last state , time taken: 46.48014211654663
2022-01-06 02:33:05,371 [   INFO] 12504 --- lushi.py:854  : Last state , time taken: 51.99806523323059
2022-01-06 02:33:11,230 [   INFO] 12504 --- lushi.py:854  : Last state , time taken: 57.8571560382843
2022-01-06 02:33:17,204 [   INFO] 12504 --- lushi.py:854  : Last state , time taken: 63.83116960525513
2022-01-06 02:33:22,872 [   INFO] 12504 --- lushi.py:854  : Last state , time taken: 69.49900579452515
2022-01-06 02:33:28,040 [   INFO] 12504 --- lushi.py:854  : Last state , time taken: 74.66730165481567
2022-01-06 02:33:35,190 [   INFO] 12504 --- util.py:134  : screenshot restart_02-33.34,167.png saved
2022-01-06 02:33:35,192 [   INFO] 12504 --- util.py:242  : try to kill hearthstone
2022-01-06 02:33:35,597 [   INFO] 12504 --- util.py:229  : Battle.net.exe killed
2022-01-06 02:33:35,735 [   INFO] 12504 --- util.py:229  : Battle.net.exe killed
2022-01-06 02:33:35,854 [   INFO] 12504 --- util.py:229  : Hearthstone.exe killed
2022-01-06 02:33:36,003 [   INFO] 12504 --- util.py:229  : Battle.net.exe killed
2022-01-06 02:33:36,021 [   INFO] 12504 --- util.py:229  : Battle.net.exe killed
2022-01-06 02:33:42,103 [   INFO] 12504 --- util.py:248  : attempt to start Battle.net
2022-01-06 02:33:52,251 [   INFO] 12504 --- util.py:218  : find Battle.net.exe exists
2022-01-06 02:33:52,251 [   INFO] 12504 --- util.py:254  : Battle.net start success
2022-01-06 02:33:52,785 [   INFO] 12504 --- util.py:257  : attempt to start Hearthstone
2022-01-06 02:34:03,272 [   INFO] 12504 --- util.py:218  : find Hearthstone.exe exists
2022-01-06 02:34:03,273 [   INFO] 12504 --- util.py:262  : Hearthstone start success
2022-01-06 02:34:08,283 [   INFO] 12504 --- util.py:265  : done
2022-01-06 02:34:08,757 [   INFO] 12504 --- util.py:218  : find Hearthstone.exe exists
2022-01-06 02:34:14,084 [   INFO] 12504 --- lushi.py:854  : Last state , time taken: 5.326964616775513
2022-01-06 02:34:19,646 [   INFO] 12504 --- lushi.py:854  : Last state , time taken: 10.889407873153687
2022-01-06 02:34:25,309 [   INFO] 12504 --- lushi.py:854  : Last state , time taken: 16.552276134490967
2022-01-06 02:34:31,013 [   INFO] 12504 --- lushi.py:854  : Last state , time taken: 22.256535291671753
2022-01-06 02:34:36,328 [   INFO] 12504 --- lushi.py:854  : Last state , time taken: 27.571346282958984
2022-01-06 02:34:41,983 [   INFO] 12504 --- lushi.py:854  : Last state , time taken: 33.225969314575195
2022-01-06 02:34:47,141 [   INFO] 12504 --- lushi.py:854  : Last state , time taken: 38.3844211101532
2022-01-06 02:34:52,659 [   INFO] 12504 --- lushi.py:854  : Last state , time taken: 43.9016900062561
2022-01-06 02:34:58,502 [   INFO] 12504 --- lushi.py:854  : Last state , time taken: 49.74459528923035
2022-01-06 02:35:03,767 [   INFO] 12504 --- lushi.py:854  : Last state , time taken: 55.009846210479736
2022-01-06 02:35:09,684 [   INFO] 12504 --- lushi.py:854  : Last state , time taken: 60.92738318443298
2022-01-06 02:35:14,855 [   INFO] 12504 --- lushi.py:854  : Last state , time taken: 66.09853434562683
2022-01-06 02:35:20,458 [   INFO] 12504 --- lushi.py:854  : Last state , time taken: 71.70125079154968
2022-01-06 02:35:25,935 [   INFO] 12504 --- lushi.py:854  : Last state , time taken: 77.17821550369263
2022-01-06 02:35:32,440 [   INFO] 12504 --- util.py:134  : screenshot restart_02-35.31,620.png saved
2022-01-06 02:35:32,443 [   INFO] 12504 --- util.py:242  : try to kill hearthstone
2022-01-06 02:35:32,505 [   INFO] 12504 --- util.py:229  : Battle.net.exe killed
2022-01-06 02:35:32,964 [   INFO] 12504 --- util.py:229  : Hearthstone.exe killed
2022-01-06 02:35:39,574 [   INFO] 12504 --- util.py:248  : attempt to start Battle.net

2022-03-26 03:19:36,779 [   INFO] 7972 --- lushi.py:896  : Last state start_game, time taken: 13.60
2022-03-26 03:19:41,861 [   INFO] 7972 --- lushi.py:896  : Last state start_game, time taken: 18.68
2022-03-26 03:19:43,851 [   INFO] 7972 --- lushi.py:740  : find member_not_ready, try to click
2022-03-26 03:19:43,949 [   INFO] 7972 --- lushi.py:350  : Start select members, battle_boss ? False start battle enemy
2022-03-26 03:19:44,227 [   INFO] 7972 --- lushi.py:359  : enemy is car_id LETLT_032_01, hp 21, atk 6, color 2, entity_id 35
2022-03-26 03:19:44,227 [   INFO] 7972 --- lushi.py:359  : enemy is car_id LETLT_036_01, hp 19, atk 3, color 1, entity_id 37
2022-03-26 03:19:44,227 [   INFO] 7972 --- lushi.py:359  : enemy is car_id LETLT_035_01, hp 13, atk 4, color 4, entity_id 39
2022-03-26 03:19:45,772 [  ERROR] 7972 --- lushi.py:859  : 错误：Not possible
Traceback (most recent call last):
File "D:\A\lushi\script_with_python37-0.4.5 (1)\lushi.py", line 854, in run
self.run_pve()
File "D:\A\lushi\script_with_python37-0.4.5 (1)\lushi.py", line 899, in run_pve
success, tic, state, rect = self.state_handler(state, tic, state_text)
File "D:\A\lushi\script_with_python37-0.4.5 (1)\lushi.py", line 750, in state_handler
self.select_members(self.lettuce_role_limit, battle_boss)
File "D:\A\lushi\script_with_python37-0.4.5 (1)\lushi.py", line 430, in select_members
raise ValueError("Not possible")
ValueError: Not possible
2022-03-26 03:19:46,614 [   INFO] 7972 --- util.py:134  : screenshot error_03-19.45,924.png saved
2022-03-26 03:19:46,619 [   INFO] 7972 --- util.py:218  : find Hearthstone.exe exists
2022-03-26 03:19:49,302 [   INFO] 7972 --- lushi.py:896  : Last state , time taken: 0.51
2022-03-26 03:19:51,244 [   INFO] 7972 --- lushi.py:740  : find member_not_ready, try to click
2022-03-26 03:19:51,342 [   INFO] 7972 --- lushi.py:350  : Start select members, battle_boss ? False start battle enemy
2022-03-26 03:19:51,624 [   INFO] 7972 --- lushi.py:359  : enemy is car_id LETLT_032_01, hp 21, atk 6, color 2, entity_id 35
2022-03-26 03:19:51,624 [   INFO] 7972 --- lushi.py:359  : enemy is car_id LETLT_036_01, hp 19, atk 3, color 1, entity_id 37
2022-03-26 03:19:51,625 [   INFO] 7972 --- lushi.py:359  : enemy is car_id LETLT_035_01, hp 13, atk 4, color 4, entity_id 39
2022-03-26 03:19:53,157 [  ERROR] 7972 --- lushi.py:859  : 错误：Not possible
Traceback (most recent call last):
File "D:\A\lushi\script_with_python37-0.4.5 (1)\lushi.py", line 854, in run
self.run_pve()
File "D:\A\lushi\script_with_python37-0.4.5 (1)\lushi.py", line 899, in run_pve
success, tic, state, rect = self.state_handler(state, tic, state_text)
File "D:\A\lushi\script_with_python37-0.4.5 (1)\lushi.py", line 750, in state_handler
self.select_members(self.lettuce_role_limit, battle_boss)
File "D:\A\lushi\script_with_python37-0.4.5 (1)\lushi.py", line 430, in select_members
raise ValueError("Not possible")
ValueError: Not possible
2022-03-26 03:19:53,914 [   INFO] 7972 --- util.py:134  : screenshot error_03-19.53,233.png saved
2022-03-26 03:19:53,920 [   INFO] 7972 --- util.py:218  : find Hearthstone.exe exists
2022-03-26 03:19:56,599 [   INFO] 7972 --- lushi.py:896  : Last state , time taken: 0.51
2022-03-26 03:19:58,539 [   INFO] 7972 --- lushi.py:740  : find member_not_ready, try to click
2022-03-26 03:19:58,622 [   INFO] 7972 --- lushi.py:350  : Start select members, battle_boss ? False start battle enemy
2022-03-26 03:19:58,905 [   INFO] 7972 --- lushi.py:359  : enemy is car_id LETLT_032_01, hp 21, atk 6, color 2, entity_id 35
2022-03-26 03:19:58,905 [   INFO] 7972 --- lushi.py:359  : enemy is car_id LETLT_036_01, hp 19, atk 3, color 1, entity_id 37
2022-03-26 03:19:58,906 [   INFO] 7972 --- lushi.py:359  : enemy is car_id LETLT_035_01, hp 13, atk 4, color 4, entity_id 39
2022-03-26 03:20:00,444 [  ERROR] 7972 --- lushi.py:859  : 错误：Not possible
Traceback (most recent call last):
File "D:\A\lushi\script_with_python37-0.4.5 (1)\lushi.py", line 854, in run
self.run_pve()
File "D:\A\lushi\script_with_python37-0.4.5 (1)\lushi.py", line 899, in run_pve
success, tic, state, rect = self.state_handler(state, tic, state_text)
File "D:\A\lushi\script_with_python37-0.4.5 (1)\lushi.py", line 750, in state_handler
self.select_members(self.lettuce_role_limit, battle_boss)
File "D:\A\lushi\script_with_python37-0.4.5 (1)\lushi.py", line 430, in select_members
raise ValueError("Not possible")
ValueError: Not possible
2022-03-26 03:20:01,217 [   INFO] 7972 --- util.py:134  : screenshot error_03-20.00,535.png saved
2022-03-26 03:20:01,223 [   INFO] 7972 --- util.py:218  : find Hearthstone.exe exists
2022-03-26 03:20:03,895 [   INFO] 7972 --- lushi.py:896  : Last state , time taken: 0.51
2022-03-26 03:20:05,856 [   INFO] 7972 --- lushi.py:740  : find member_not_ready, try to click
2022-03-26 03:20:05,960 [   INFO] 7972 --- lushi.py:350  : Start select members, battle_boss ? False start battle enemy
2022-03-26 03:20:06,236 [   INFO] 7972 --- lushi.py:359  : enemy is car_id LETLT_032_01, hp 21, atk 6, color 2, entity_id 35
2022-03-26 03:20:06,236 [   INFO] 7972 --- lushi.py:359  : enemy is car_id LETLT_036_01, hp 19, atk 3, color 1, entity_id 37
2022-03-26 03:20:06,236 [   INFO] 7972 --- lushi.py:359  : enemy is car_id LETLT_035_01, hp 13, atk 4, color 4, entity_id 39
2022-03-26 03:20:07,766 [  ERROR] 7972 --- lushi.py:859  : 错误：Not possible
Traceback (most recent call last):
File "D:\A\lushi\script_with_python37-0.4.5 (1)\lushi.py", line 854, in run
self.run_pve()
File "D:\A\lushi\script_with_python37-0.4.5 (1)\lushi.py", line 899, in run_pve
success, tic, state, rect = self.state_handler(state, tic, state_text)
File "D:\A\lushi\script_with_python37-0.4.5 (1)\lushi.py", line 750, in state_handler
self.select_members(self.lettuce_role_limit, battle_boss)
File "D:\A\lushi\script_with_python37-0.4.5 (1)\lushi.py", line 430, in select_members
raise ValueError("Not possible")
ValueError: Not possible
2022-03-26 03:20:08,549 [   INFO] 7972 --- util.py:134  : screenshot error_03-20.07,849.png saved
2022-03-26 03:20:08,554 [   INFO] 7972 --- util.py:218  : find Hearthstone.exe exists
2022-03-26 03:20:11,232 [   INFO] 7972 --- lushi.py:896  : Last state , time taken: 0.51
2022-03-26 03:20:13,135 [   INFO] 7972 --- lushi.py:740  : find member_not_ready, try to click
2022-03-26 03:20:13,219 [   INFO] 7972 --- lushi.py:350  : Start select members, battle_boss ? False start battle enemy
2022-03-26 03:20:13,511 [   INFO] 7972 --- lushi.py:359  : enemy is car_id LETLT_032_01, hp 21, atk 6, color 2, entity_id 35
2022-03-26 03:20:13,511 [   INFO] 7972 --- lushi.py:359  : enemy is car_id LETLT_036_01, hp 19, atk 3, color 1, entity_id 37
2022-03-26 03:20:13,511 [   INFO] 7972 --- lushi.py:359  : enemy is car_id LETLT_035_01, hp 13, atk 4, color 4, entity_id 39
2022-03-26 03:20:15,022 [  ERROR] 7972 --- lushi.py:859  : 错误：Not possible
Traceback (most recent call last):
File "D:\A\lushi\script_with_python37-0.4.5 (1)\lushi.py", line 854, in run
self.run_pve()
File "D:\A\lushi\script_with_python37-0.4.5 (1)\lushi.py", line 899, in run_pve
success, tic, state, rect = self.state_handler(state, tic, state_text)
File "D:\A\lushi\script_with_python37-0.4.5 (1)\lushi.py", line 750, in state_handler
self.select_members(self.lettuce_role_limit, battle_boss)
File "D:\A\lushi\script_with_python37-0.4.5 (1)\lushi.py", line 430, in select_members
raise ValueError("Not possible")
ValueError: Not possible
2022-03-26 03:20:15,953 [   INFO] 7972 --- util.py:134  : screenshot error_03-20.15,152.png saved
2022-03-26 03:20:15,958 [   INFO] 7972 --- util.py:218  : find Hearthstone.exe exists
2022-03-26 03:22:54,245 [   INFO] 500 --- util.py:218  : find Hearthstone.exe exists
2022-03-26 03:22:57,088 [   INFO] 500 --- lushi.py:896  : Last state , time taken: 0.52
2022-03-26 03:22:58,051 [   INFO] 500 --- lushi.py:602  : find team_list, try to click
2022-03-26 03:23:06,586 [   INFO] 500 --- lushi.py:253  : Start submit task...
2022-03-26 03:23:10,772 [   INFO] 500 --- lushi.py:166  : Scanning surprise, rect: (469, 242, 2091, 1198)
2022-03-26 03:23:22,915 [   INFO] 500 --- lushi.py:192  : Found surprise during scrolling (751, 219)
2022-03-26 03:23:22,919 [   INFO] 500 --- lushi.py:631  : Surprise side right, surprise in middile False
2022-03-26 03:23:24,281 [   INFO] 500 --- lushi.py:723  : find start_game, try to click

2022-03-26 06:21:40,104 [   INFO] 3948 --- lushi.py:896  : Last state , time taken: 76.97
2022-03-26 06:21:40,538 [  ERROR] 3948 --- lushi.py:859  : 错误：No top level window found for wantedText='炉石传说', wantedClass=None, selectionFunction=None
Traceback (most recent call last):
File "D:\A\lushi\script_with_python37-0.4.5 (1)\lushi.py", line 854, in run
self.run_pve()
File "D:\A\lushi\script_with_python37-0.4.5 (1)\lushi.py", line 899, in run_pve
success, tic, state, rect = self.state_handler(state, tic, state_text)
File "D:\A\lushi\script_with_python37-0.4.5 (1)\lushi.py", line 531, in state_handler
success, loc, rect = self.check_in_screen(text)
File "D:\A\lushi\script_with_python37-0.4.5 (1)\lushi.py", line 132, in check_in_screen
rect, screen = find_lushi_window(self.title)
File "D:\A\lushi\script_with_python37-0.4.5 (1)\utils\util.py", line 102, in find_lushi_window
hwnd = findTopWindow(title)
File "D:\A\lushi\script_with_python37-0.4.5 (1)\utils\winguiauto.py", line 50, in findTopWindow
repr(selectionFunction))
utils.winguiauto.WinGuiAutoError: No top level window found for wantedText='炉石传说', wantedClass=None, selectionFunction=None
2022-03-26 06:21:40,897 [   INFO] 3948 --- util.py:218  : find Battle.net.exe exists
2022-03-26 06:21:40,897 [   INFO] 3948 --- util.py:254  : Battle.net start success
2022-03-26 06:21:41,042 [   INFO] 3948 --- util.py:257  : attempt to start Hearthstone
2022-03-26 06:25:47,932 [   INFO] 11132 --- util.py:218  : find Hearthstone.exe exists


Missing materials.

Floor and roof materials are missing.

You need the correct version of Unity (2020.1.8f1or later) and of course you need Blender + HDRI package installed on your computer. If Unity and Blender are installed correctly, you can download the project again and/or reinstall Unity. You need to add the Universal_Robots_Unity_App folder to Unity.

Hi Roman, I performed "Reimport All Assets" in unity and it fixed the issue. Thanks.


ad edit bug

It allowed me to open the advert on browser but whenever I try to edit it on the app the same error is coming up and I need to edit it on the browser


Running test with cypress fails because webpack can't bundle react-table

Describe the bug
When I try to run the E2E test with cypress, when I get to a page with table in it I encounter this error:
Error: Webpack Compilation Error
<EMAIL_ADDRESS>21:1014
Module parse failed: Unexpected token (21:1014)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
|    *
|    * @license MIT
>    */function l(e,t){return"function"==typeof e?e(t):e}function i(e,t){return n=>{t.setState((t=>({...t,[e]:l(n,t[e])})))}}function r(e){return e instance
....
e},onStateChange:t=>{i(t),null==e.onStateChange||e.onStateChange(t)}}))),n.current},Object.defineProperty(e,"__esModule",{value:!0})}));
| //# sourceMappingURL=index.production.js.map
|
 @ ./src/components/utility.js 16:18-50
 @ ./cypress/e2e/plant/test_new_plant.js
    at Watching.handle [as handler] (/home/mast/.cache/Cypress/10.7.0/Cypress/resources/app/node_modules/@packages/server/node_modules/@cypress/webpack-preprocessor/dist/index.js:180:23)
    at /home/mast/.cache/Cypress/10.7.0/Cypress/resources/app/node_modules/webpack/lib/Watching.js:99:9
    at AsyncSeriesHook.eval [as callAsync] (eval at create (/home/mast/.cache/Cypress/10.7.0/Cypress/resources/app/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)
    at AsyncSeriesHook.lazyCompileHook (/home/mast/.cache/Cypress/10.7.0/Cypress/resources/app/node_modules/tapable/lib/Hook.js:154:20)
    at Watching._done (/home/mast/.cache/Cypress/10.7.0/Cypress/resources/app/node_modules/webpack/lib/Watching.js:98:28)
    at /home/mast/.cache/Cypress/10.7.0/Cypress/resources/app/node_modules/webpack/lib/Watching.js:73:19
    at Compiler.emitRecords (/home/mast/.cache/Cypress/10.7.0/Cypress/resources/app/node_modules/webpack/lib/Compiler.js:499:39)
    at /home/mast/.cache/Cypress/10.7.0/Cypress/resources/app/node_modules/webpack/lib/Watching.js:54:20
    at /home/mast/.cache/Cypress/10.7.0/Cypress/resources/app/node_modules/webpack/lib/Compiler.js:485:14
    at AsyncSeriesHook.eval [as callAsync] (eval at create (/home/mast/.cache/Cypress/10.7.0/Cypress/resources/app/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)
    at AsyncSeriesHook.lazyCompileHook (/home/mast/.cache/Cypress/10.7.0/Cypress/resources/app/node_modules/tapable/lib/Hook.js:154:20)
    at /home/mast/.cache/Cypress/10.7.0/Cypress/resources/app/node_modules/webpack/lib/Compiler.js:482:27
    at /home/mast/.cache/Cypress/10.7.0/Cypress/resources/app/node_modules/neo-async/async.js:2818:7
    at done (/home/mast/.cache/Cypress/10.7.0/Cypress/resources/app/node_modules/neo-async/async.js:3522:9)
    at AsyncSeriesHook.eval [as callAsync] (eval at create (/home/mast/.cache/Cypress/10.7.0/Cypress/resources/app/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)
    at AsyncSeriesHook.lazyCompileHook (/home/mast/.cache/Cypress/10.7.0/Cypress/resources/app/node_modules/tapable/lib/Hook.js:154:20)
    at /home/mast/.cache/Cypress/10.7.0/Cypress/resources/app/node_modules/webpack/lib/Compiler.js:464:33
    at /home/mast/.cache/Cypress/10.7.0/Cypress/resources/app/node_modules/@packages/server/node_modules/graceful-fs/graceful-fs.js:143:16
    at /home/mast/.cache/Cypress/10.7.0/Cypress/resources/app/node_modules/@packages/server/node_modules/graceful-fs/graceful-fs.js:143:16
    at /home/mast/.cache/Cypress/10.7.0/Cypress/resources/app/node_modules/@packages/server/node_modules/graceful-fs/graceful-fs.js:61:14
    at FSReqCallback.oncomplete (node:fs:188:23)

I can build locally with npm run build but I don't know why when using cypress, webpack fails to bundle things.
Your minimal, reproducible example
I don't have a reproducible example to share.
Steps to reproduce
Run a test with @tanstack/react-table inside the page and it will fail.
Expected behavior
Webpack bundles react-table and cypress runs the test.
How often does this bug happen?
Every time
Screenshots or Videos

Platform
Linux
react-table version
8.5.22
TypeScript version
none
Additional context
I tried using the latest version of cypress but it made no difference.
This is the cypress settings:
const { defineConfig } = require('cypress');

module.exports = defineConfig({
  projectId: 'onqmuc',
  viewportHeight: 1080,
  viewportWidth: 1920,
  video: false,
  scrollBehavior: 'center',
  e2e: {
    baseUrl: 'http://localhost:3000/#/',
    specPattern: 'cypress/e2e/**/*',
    setupNodeEvents(on, config) {
      on('task', {
        testTimings(attributes) {
          console.log('Test "%s" has finished in %dms', attributes.title, attributes.duration);
          console.table(attributes.commands);
          return null;
        },
      });

      // implement node event listeners here
      require('@cypress/code-coverage/task')(on, config)

      // It's IMPORTANT to return the config object
      // with any changed environment variables
      return config
    },
  },
  reporter: 'cypress-multi-reporters',
  reporterOptions: {
    configFile: 'reporter-config.json',
  },

Terms & Code of Conduct

[X] I agree to follow this project's Code of Conduct
[X] I understand that if my bug cannot be reliable reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.

Hey
I managed to fix it by changing the cypress config to this:
const { defineConfig } = require('cypress');
const webpackPreprocessor = require('@cypress/webpack-preprocessor');

module.exports = defineConfig({
  projectId: 'onqmuc',
  viewportHeight: 1080,
  viewportWidth: 1920,
  video: false,
  scrollBehavior: 'center',
  e2e: {
    baseUrl: 'http://localhost:3000/#/',
    specPattern: 'cypress/e2e/**/*',
    setupNodeEvents(on, config) {
      on('task', {
        testTimings(attributes) {
          console.log('Test "%s" has finished in %dms', attributes.title, attributes.duration);
          console.table(attributes.commands);
          return null;
        },
      });

      let options = webpackPreprocessor.defaultOptions
      options.webpackOptions.module.rules[0].use[0].options.presets.push('@babel/preset-react')
      on('file:preprocessor', webpackPreprocessor(options));

      // implement node event listeners here
      require('@cypress/code-coverage/task')(on, config);

      // It's IMPORTANT to return the config object
      // with any changed environment variables
      return config;
    },
  },
  reporter: 'cypress-multi-reporters',
  reporterOptions: {
    configFile: 'reporter-config.json',
  },
});

I basically told webpack to use @babel/preset-react and it worked.
But I'll leave this open for now for comments, If you guys think this is good enough then we can close this issue.

@MAST1999 Try out the newest TanStack Table v8.7.0 and let us know if you are still running into problems here
We think PR https://github.com/TanStack/table/pull/4552 should have fixed this issue.

Hi, sorry for the delay.
I checked with the newest version and it does indeed work!
Thanks for the hard work!


Add null pointer check for an output tensor calibration

Otherwise it segfaults while trying to log the WHILE op.
It's the simplest possible fix for #75140. I believe that it makes sense to fix the crash now, and look for the proper way to fix the calibration logic later.

Hi @yishuangP, Can you please review this PR? Thank you !

Hi @yishuangP, Can you please review this PR? Thank you !

Hi @majiddadashi, Can you please review this PR? Thank you !


Update README

It is best practice to include your binaries (e.g. grunt-cli) in your devDependencies (it already is) and then use NPM scripts to run those binaries (it's already set up for npm test). This ensures there aren't any clashes in versions of Grunt CLI (As I've written about: http://www.joezimjs.com/javascript/no-more-global-npm-packages/). It's probably best not to keep pushing bad practices out to the masses, so I've updated the docs to reflect these practices already in place.

hi @joezimjs. first thanks for your interest in Brisket. We're excited to see interest growing.
on using npm test - it wasn't our intent to push practices, however, with interest growing, that is something we'll be more mindful of. a couple of us have been trying out npm test and it's been useful so far. i've found it pretty useful when switching between projects that use grunt and gulp.
on merging your PR - I've been working on our CONTRIBUTING.md but haven't had time to get it in. the only thing you'd have to change for your PR to be merged is to add your name and email to your commit. You can take a look at what we need on my branch - https://github.com/wawjr3d/brisket/blob/feature/contributing_md/CONTRIBUTING.md#contribution-licensing. Don't judge it too hard yet - still working on it :)

There you go.

looks good


updated cleartext (1.4)

Changes to a cask
Editing an existing cask

[x] Commit message includes cask’s name (and new version, if applicable).
[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} left no offenses.

Merged as 5724051faa7e6e86216eb92823e03a4523ff198e.


adding MaskedInput component for an example to code sandbox

I have added a  code sandbox example for MaskedInput component that covers both time and phone number format examples.

fixes https://github.com/grommet/grommet/issues/2647


feat: renounce ownership in launch_memecoin

Once #112 is merged, we should renounce the ownership of the memecoin upon launching a memecoin.

@enitrat available to work on it tomorrow if no one is assigned !

@TAdev0 ready

@enitrat  perfect, I will work on it tonight after 9pm CET


Appbar and Wallet Page button redesigned

Pull Request Title

Appbar & Footer modified and made responsive

Redesigned "Go to wallet" page

🛠 Type of Change

[x] ✨ New feature

✅ Checklist
To ensure a smooth review process, please check off each item as you complete it:

[x] Code Style: My code adheres to the project’s style guidelines.
[x] Self-Review: I have reviewed my own code and made improvements.
[x] Warnings: My changes introduce no new warnings.
[x] Tests: I’ve added tests to verify that my changes work as expected.
[x] Passes Locally: All new and existing unit tests pass on my local machine.

Earlier:
https://github.com/user-attachments/assets/b39b1061-5336-47e3-b124-72ea94f5df0c
After Modifications:
https://github.com/user-attachments/assets/fa448bfd-c860-4c83-87e6-dd621355e1a6

We appreciate your contributions! If you have any questions or need further assistance, feel free to reach out.

hey! @cb7chaitanya could you please review it.

The newer version doesn't look great


DRILL-6426: Refactor TestFunctionsWithTypeExpoQueries test to be independent on limit 0 optimization option

@vvysotskyi please review.

It is fine to make these tests independent of the default value of limit 0 optimization option.
LGTM, +1


Dependency management options

Research and compare godep vs dep, vs glide or others?
Come up with final proposal that shall be used.

The deliverable for research task is a comprehensive comment inside the issue that provide valuable information about the researched topic. It will be very helpful to be organised a knowledge sharing session with the team on the topic, that explains the matter and provide some examples. The issue can be closed once the team agrees on the technology that shall be used for each one specific aspect.

Dependency management options
Efficient dependency management is paramount for every successful project. In the Go Community there's only one solution, which has proven to be safe and stable - dep.
Dep
dep is a dependency management tool for Go. It requires Go 1.9 or newer to compile and is safe for production use. The tool is currently in the process of becoming the official Go tool for managing dependencies.
dep provides us with the following functionalities:

automated ability to determine all of a project's dependencies
identify the latest version of a package that satisfies all dependencies in the dependency graph
ability to specify a range of acceptable versions of packages that satisfy the project's dependencies
ability to pin the range of acceptable versions to a set of explicit versions used for reproducible builds
ability to prune any unnecessary packages from the resulting vendor set

Other dependency management tools
godep and glide are probably the next well known dependency management tools in the Go Community but production for each of them has stopped and both reference dep as the way to go.

BTP Operator
We managed to deploy our own hacked btp operator and made it pass the cloudfoudry environment when querying the service-manager for offerings and plans.
As a result we were able to see the postgresql-db offering and its development plan, but when we created a serviceinstance resource we observed the following error condition it its status:
apiVersion: v1
items:
- apiVersion: services.cloud.sap.com/v1
  kind: ServiceInstance
  spec:
    ...
  status:
    conditions:
    - lastTransitionTime: "2023-03-10T10:43:08Z"
      message: |
        request POST https://service-manager.cfapps.eu10.hana.ondemand.com/v1/service_instances failed: StatusCode: 404 Body: {"error":"NotFound","description":"could not find such service plan"}

It looked like the btp operator was sending the cloudfoudry environment parameter to the service-manager correctly, but the service manager was dropping it on the floor and was not seeing the development plan itself.
Service Manager
We managed to replicate the requests that the btp operator is making to the service-manager using the smctl and did get the same errors that the btp operator was getting. We were then able to find the places in the service-manager sources that produces these errors.
Create service instance
By offering name and plan name
❯ smctl curl "/v1/service_instances" --param async=true -X POST -d '{
  "name": "my-service-instance",
  "service_offering_name": "postgresql-db",
  "service_plan_name": "development"
}'
Error: request POST https://service-manager.cfapps.eu10.hana.ondemand.com/v1/service_instances?async=true failed: StatusCode: 400 Body: {"error":"BadRequest","description":"service plan development not found for service offering postgresql-db"}

Here is the origin of this Bad Request error
This is the query to the database that lists service instances by offering and plan names
This is the uderlying SQL query.
By plan id
❯ smctl curl "/v1/service_instances?async=true" -X POST -d '{
  "service_plan_id": "4d6e27f5-a5b3-4c88-b012-663f14ce93ea"
}'
Error: request POST https://service-manager.cfapps.eu10.hana.ondemand.com/v1/service_instances?async=true failed: StatusCode: 404 Body: {"error":"NotFound","description":"could not find such service plan"}

Here is the origin of this NotFound error
This is the query to the database
This is the underlying SQL query
Conclusion
It looks like in both cases the service instance results are being filtered out by their platform visibility as it is persisted in the database. The desired platform in both cases above is hardcoded to [service-manager
(https://github.com/Peripli/service-manager/blob/41e0c0fa825797e09a71d9712161eed1453aea7f/pkg/types/platform.go#L32) - it is neither cloudfoudry nor kubernetes and this cannot be configured.

It looks like there are two ways forward:

Ask the service-manager team to provide us with a hacked deployment of the service manager that will disable this visibility filtering or will set its default platform to cloudfoudry rather than service-manager
Try to provision a hana instance and deploy the MTA against hana


ESLint: enable strict rule

I removed the node env globally and then added only to node files.
After I enabled the strict rules which is (almost) compatible with JSLint.
Since I've removed the IIFE in node file you see a lot of changes.
You can look at https://github.com/adobe/brackets/pull/12718/files?w=1 to see code changes only.

LGTM


expected struct geo::types::Coordinate, found struct geo_types::Coordinate

I don't know if I'm doing something wrong, but upon importing the crate geo_types and try and use geohash I get this error when trying to use the encode function.
expected struct geo::types::Coordinate, found struct geo_types::Coordinate

I changed the dependency from geo_types to just geo and the error changed to:
expected struct geo::types::Coordinate, found struct geo::Coordinate

there's probably a version mismatch. what's the version of geo in your Cargo.lock file?

hm. can you paste any of the code your working on? or maybe just the section of code you're working with?


Fix restoration of widgets on refresh.

Before, this whole clause would error out when it got to an output message that was not a display_data message.

Do you ever sleep?


Please remove vis from io-package dependancies

This adapter doesn't require VIS to function; it can be used independently without VIS.

but it contains widgets

But that depends on the way you look at it. My adapters are aimed more at those with less IT skills and therefore want to use the VIS functionality directly.
Anyone who doesn't need vis can remove it again by pressing a button.
Maybe you (iobroker core team) should create a guideline about what is recommended and when.
I had been asking for a while (about 2 years ago) whether widgets and server logic should be in different adapters. now recently also on discord whether you can/should pack vis1 and vis2 widgets in one adapter or create a 2. adapter with the vis2 widgets and double the server functionality. Unfortunately there is no recommendation yet.

Anyone who doesn't need vis can remove it again by pressing a button.

The problem is that I must install vis, if I want to use your adapter and than I cant delete vis because of your adapter, because if I try it, I will get an error.

Maybe you (iobroker core team) should create a guideline about what is recommended and when.

We have next week a meeting and I will take this point

the create-adapter script actualy also creates the vis dependency if you say that widgets are included

Ohh... that is a point. We need to change this. I will create a issue. Thanks

removed in >v1.1.0


Vulkan: Adding Gear Controller support to GVRf

Vulkan port of Adding Gear Controller support to GVRf #1101
This pull request shall be 'merged' and not 'rebased'

Looks good to me


Implement build cache based on history array

carry #24711
fixes #26065
Adds capability to specify images used as a cache source on build. These images do not need to have local parent chain and can be pulled from other registries. User needs to make sure to only use trusted images as sources.
Usage:
docker pull myimage:v1.0
docker build --cache-from myimage:v1.0 -t myimage:v1.1 .

Is this not going to be plugin based like https://github.com/docker/docker/pull/24711#event-799582657 ?

@graingert If you look at the contents of #24711 it is not about the plugin method. This was changed if favor of #26065 proposal a long time.

cc @stevvooe @aaronlehmann @dmcgowan @KJTsanaktsidis

I think design was already approved, so I'm tentatively moving to code review.
Thanks for the carry @tonistiigi!

LGTM after the small nit.

LGTM after nits

@stevvooe @aaronlehmann updated

LGTM

LGTM too. Thanks for picking up the ball on this one! Simple and gets the job done.

Thanks! I haven't followed the full discussion, and from just the current description of this flag, it's not really clear to me how to use this feature. Would it be possible to add an actual example / workflow for using this?

This one probably doesn't require more docs than just the changes to the CLI and API references, so I think we're good to go :+1:

when is that due to be released?

Where is documentation for this?
I'd like to better understand the implications of using a cache source.

@VinceMD It is included in v1.13 that is currently in rc phase. Stable release expected in ~3 weeks.
@gajus Docs are in this PR. Using a source image should be compatible with build cache from local images.

I'm excited for release!
How would I use --cache-from if my docker build is itself handled by docker-compose?
Thanks.

@dnephin ^

You wont be able to  until Compose supports this flag, and I don't see any support for it in the upcoming release.

Hi guys,
Is docker pull myimage:v1.0 strictly necessary? Won't just docker build --cache-from myimage:v1.0 -t myimage:v1.1 . do pull as well? https://docs.docker.com/engine/reference/builder/ or CLI help does not explain this unfortunately.
I also struggled to find some explanation of what happens if there are multiple --cache-from. I've got a GitLab CI script that builds an image and I'd like it to reuse previous builds to save time. The idea is to grab a previously built image with the current branch tag, then if this fails pull master and if both pulls fail, just build from scratch.
Should the following work for all possible states of the "cache"? Or is anything here missing or redundant?
docker pull $CI_REGISTRY_IMAGE:$CI_BUILD_REF_NAME || docker pull $CI_REGISTRY_IMAGE:master || true
docker build --tag=$CI_REGISTRY_IMAGE:$CI_BUILD_REF_NAME --cache-from=$CI_REGISTRY_IMAGE:$CI_BUILD_REF_NAME --cache-from=$CI_REGISTRY_IMAGE:master .

This resolves to:
docker pull registry.gitlab.com/group/repo:my-branch || docker pull registry.gitlab.com/group/repo:master || true
docker build --tag=registry.gitlab.com/group/repo:my-branch --cache-from=registry.gitlab.com/group/repo:my-branch --cache-from=registry.gitlab.com/group/repo:master .

As far as my testing goes, docker build --cache-from is sufficient.
However, I have written a blog post about using --cache-from in my GitLab EE CI setup<EMAIL_ADDRESS>and someone commented that docker pull is missing.
I am not sure whats the relevance of docker pull when using --cache-from should automatically attempt to pull the image. Is that not the case?

Yeah, that's what is unclear to me too. If --cache-from does pull an image, what will happen if it does not exist or if there is a problem with logging in? If I use multiple --cache-from and the first image exists, will docker build attempt to pull the second and the third image and reuse as much layers as possible? If at least one of the images fails to pull, with the whole build command fail? Or will it warn? Or will it just silently build from scratch?
I know that these questions can be answered through several of experiments, but it'd be great if the were documented so that people could write robust CI scripts for themselves without too much iteration.

I'd like to know so I can add --cache-from to shipwright.

--cache-from does not pull if an image is not found. There have been discussions about it but the way we would like to enable it is to not pull full images but only pull data that is needed to determine the cache hit and from there decide to actually pull layers.
When using multiple --cache-from they are checked for a cache hit in the order that user specified. If one of the images produces a cache hit for a command only that image is used for the rest of the build.


usb: device_next: usb3 support

This adds definitions needed for USB3 support.
There is no USB3 controller supported upstream yet. Should I wait to have the driver contributed in the same PR?
Here is the result of USB3CV for a this upcoming driver:
https://josuah.net/paste/rOzDHBjCbAIWO8d4qZu3/Chapter_9_Tests_USB_3_Gen_X_Failed_2024_12_10_08_18_16.html
It fails at SetFeature, as well as re-enumerating as USB2 (but this is related to the driver, not the USB3 handling).
But everything else is passing.
It also runs well with Twister on SuperSpeed configuration:

west twister --platform native_sim --scenario tests/subsys/usb/device_next/usb.device_next --inline-logs

Renaming output directory to /home/tinyvision/zephyrproject/zephyr/twister-out.1
INFO    - Using Ninja..
INFO    - Zephyr version: v4.0.0-1781-gbb86ae133c77
INFO    - Using 'zephyr' toolchain.
INFO    - Building initial testsuite list...
INFO    - Writing JSON report /home/tinyvision/zephyrproject/zephyr/twister-out/testplan.json
INFO    - JOBS: 1
INFO    - Adding tasks to the queue...
INFO    - Added initial list of jobs to queue
INFO    - Total complete:    1/   1  100%  built (not run):    0, filtered:    0, failed:    0, error:    0
INFO    - 1 test scenarios (1 configurations) selected, 0 configurations filtered (0 by static filter, 0 at runtime).
INFO    - 1 of 1 executed test configurations passed (100.00%), 0 built (not run), 0 failed, 0 errored, with no warnings in 25.02 seconds.
INFO    - 2 of 2 executed test cases passed (100.00%) on 1 out of total 880 platforms (0.11%).
INFO    - 1 test configurations executed on platforms, 0 test configurations were only built.
INFO    - Saving reports...
INFO    - Writing JSON report /home/tinyvision/zephyrproject/zephyr/twister-out/twister.json
INFO    - Writing xunit report /home/tinyvision/zephyrproject/zephyr/twister-out/twister.xml...
INFO    - Writing xunit report /home/tinyvision/zephyrproject/zephyr/twister-out/twister_report.xml...
INFO    - Run completed

force-push:

CI fixes
doc fixes

force-push:

Fix a typo for the udc caps struct
Add SET_ISOCH_DELAY as a no-op, as the host informs the device of an end-to-end delay observed, not used at this stage, but it might help with compliance to support it even if it does nothing.

The USB3 driver in question is soon to be contributed, and the implementation lives here in the meantime:

https://github.com/tinyvision-ai-inc/tinyvision_zephyr_sdk/tree/main/drivers/usb/udc


Hydra pallas issue reproduced.

Here we can see a hydra transaction with modified ledger params.
minFeeA: 1
minFeeB: 1
utxoCostPerWord: 0,
utxoCostPerByte: 0
maxTxExecutionUnits": {
"memory":<PHONE_NUMBER>854775806,
"steps":<PHONE_NUMBER>854775806
},
Unfortunately this fails to be deserialised, all attempts to fix this for the moment failed.

---- block::tests::test_hydra_tx_with_adjusted_ledger_params stdout ----
thread 'block::tests::test_hydra_tx_with_adjusted_ledger_params' panicked at 'called `Result::unwrap()` on an `Err` value: Error { err: Message, pos: None, msg: "unknown cbor data type:i32 for Alonzo Value enum." }', pallas-traverse/src/block.rs:225:306
stack backtrace:


Update tests data

Description
Please add an informative description that covers that changes made by the pull request and link all relevant issues.
If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
All SDK Contribution checklist:

[x] The pull request does not introduce [breaking changes]
[ ] CHANGELOG is updated for new features, bug fixes or other significant changes.
[ ] I have read the contribution guidelines.

General Guidelines and Best Practices

[ ] Title of the pull request is clear and informative.
[ ] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[ ] Pull request includes test coverage for the included changes.

/azp run python - maps - tests

API change check
API changes are not detected in this pull request.


style(dns): style and typo fixes

Summary
DON'T MERGE until #12305 is cherry-picked successfully.
KAG-5001

two blank lines between blocks
optimize table.insert
family should compare to domain, not name.

Checklist

[ ] The Pull Request has tests
[x] A changelog file has been created under changelog/unreleased/kong or skip-changelog label added on PR if changelog is unnecessary. README.md
[ ] There is a user-facing docs PR against https://github.com/Kong/docs.konghq.com - PUT DOCS PR HERE

Issue reference

Fix #[issue number]

I drafted this, cause we need to add more tests case, wait a moment while I add the test cases


⚠ Bofrost.de has degraded performance

In 5b83d96, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1626 ms

Resolved: Bofrost.de performance has improved in fc2edac.


NIO: Support string file attributes

Implement these method:
  public Map<String, Object> readAttributes(Path path, String attributes, LinkOption... options) {
    // Java 7 NIO defines at least eleven string attributes we'd want to support
    // (eg. BasicFileAttributeView and PosixFileAttributeView), so rather than a partial
    // implementation we rely on the other overload for now.
    throw new UnsupportedOperationException();
  }

  /**
   * Throws {@link UnsupportedOperationException} because Cloud Storage objects are immutable.
   */
  @Override
  public void setAttribute(Path path, String attribute, Object value, LinkOption... options) {
    throw new CloudStorageObjectImmutableException();
  }

This hasn't been a priority so far, because a type-safe version of this API exists that offers the exact same functionality. We consider that API better. Bet we need to support this too.

cc @jean-philippe-martin

@jean-philippe-martin this issue is more than a year old, can you comment on the need to address it?

This issue may no longer be relevant due to its age.  If you are still experiencing this issue and are reasonably certain that it is a bug, please feel free to re-open this it with enough information to help us reproduce it.

ReadAttributes is still unimplemented to this day. It's not critical, but certainly would be nice to have.


OpenQA.Selenium.WebDriverException: An unknown error occurred in the remote end while processing the command.

Hi
I upgraded a User Interface project, .NET 4.7 to .NET core, I'm getting all test case passes on local but, while trying on VM i always got "OpenQA.Selenium.WebDriverException: An unknown error occurred in the remote end while processing the command."
I tried some approach which i found on old ticket .

enable developer mode.
Run WinAppDriver.exe as admin
I used "session.SwitchTo().Window(session.CurrentWindowHandle)" to focus on current window.
I'm using winappdriver version "1.2.2009.2003"
Appium Version:

Error:

Please let me know if any required info.

I get this exception when the system gets' locked. Are you staring winappdriver.exe once or in every test case.

Hello @anunay1
i'm starting once but my system isn't getting locked.

ok, do you get this exception randomly or none of the test cases are working. There is a bug with winappdriver.exe that it does not flush the message the the messages are buffered, it's always better to start the winaddpdriver.exe before the test case and close it after the test case.

i'm doing same but getting error. it's random but i didn't found any complete run without error. while trying with single test case it runs fine. i got confused in it.

Was it working fine with .net 4.7

no but a bit good as compare to net 6

Can you share the code?

Is the VM in cloud?

yes

Azure

and all the test case running fine on local

Are you using the default port 4623? Are you launching the VM through the pipeline? I don't know whether it will fix the issue or not but try changing the port.

4273

thanks I'll try with other port. let see it'll fix or not, i'll reply tomorrow about the result. Thanks @anunay1 for the response.

same errors with other ports.

I am not sure what's wrong at ur end, can you schedule a teams call?

@anunay1 @ravi46kom Is this issue resolved? Any inputs ?

Hi @anunay1
I got the solution. In my case I got my VM locked while running test cases. I've worked on that. And it looks fine to close this ticket, Thanks for your support.


fetching resource list please wait

locally the swagger UI is working as expected but when I deploy to our dev web server I get  "Fetching resource list xxxxx please wait." When I hit the url it is waiting on directly, it returns to me all the json I would expect. There are no errors in the browser console.
Any suggestions are much appreciated!

Are you still seeing this issue - my suggestion would be to do exactly what you've done - hit the json URL directly and then check for browser console errors.

We have resolved the  issue. Thanks for checking.
On Mar 30, 2016 12:36 PM, "domaindrivendev"<EMAIL_ADDRESS>wrote:

Are you still seeing this issue - my suggestion would be to do exactly
what you've done - hit the json URL directly and then check for browser
console errors.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/domaindrivendev/Swashbuckle/issues/539#issuecomment-203544023

I have this problem and i have found why.
After start http://localhost:52536/swagger/ i see just:
"fetching resource list: http://localhost:52536/swagger/v5/swagger.json; Please wait"
It is never done.
The thread of the browser use CPU as much as it can an memory is growing from few MB to more than 4 GB and then it restarts and starts again.
In model is a cycle reference.
I found that Attribute

[JsonIgnore]

can resolve the problem, bud this is not the best solution.
In MVC I can use this configuration:
services.AddMvc().AddJsonOptions(setupAction => { setupAction.SerializerSettings.PreserveReferencesHandling = Newtonsoft.Json.PreserveReferencesHandling.All; });
https://www.newtonsoft.com/json/help/html/PreserveReferencesHandlingObject.htm
How can I configure JsonOptions in Swagger?
services.AddSwaggerGen ???

I have this problem and i have found why.
After start http://localhost:52536/swagger/ i see just:
"fetching resource list: http://localhost:52536/swagger/v5/swagger.json; Please wait"
It is never done.
The thread of the browser use CPU as much as it can an memory is growing from few MB to more than 4 GB and then it restarts and starts again.
In model is a cycle reference.
I found that Attribute

[JsonIgnore]

can resolve the problem, bud this is not the best solution.
In MVC I can use this configuration:
services.AddMvc().AddJsonOptions(setupAction => { setupAction.SerializerSettings.PreserveReferencesHandling = Newtonsoft.Json.PreserveReferencesHandling.All; });
https://www.newtonsoft.com/json/help/html/PreserveReferencesHandlingObject.htm
How can I configure JsonOptions in Swagger? services.AddSwaggerGen ???

Great @MSAAAAuto. I hadn't even noticed the memory consumption and CPU usage, it was huge. My problem is this cycle referencing too. I added many [JsonIgnore] attributes and now I can see my Swagger documentation. But this isn't the solution, since I need these attributes that are now being ignored. Do you have figured out how to solve this?


Improve performance of type-safe effect cancel token lookup

Our current recommendation of using a dedicated type for effect cancel tokens unfortunately leads to the equivalent of a linear search due to Swift's default hashing behavior:
struct A: Hashable {}
struct B: Hashable {}

A().hashValue == B().hashValue // true

This PR introduces an internal wrapper type that includes the type's unique identifier in the hashing logic, which should improve the hashing of these identifiers:
struct CancelToken: Hashable {
  let id: AnyHashable
  let discriminator: ObjectIdentifier

  init(id: AnyHashable) {
    self.id = id
    self.discriminator = ObjectIdentifier(type(of: id.base))
  }
}

CancelToken(id: A()).hashValue == CancelToken(id: A()).hashValue // true
CancelToken(id: B()).hashValue == CancelToken(id: B()).hashValue // true
CancelToken(id: A()).hashValue == CancelToken(id: B()).hashValue // false

We even have A().hashValue == Hasher().finalize()!
It may seem surprising at first, but it corresponds to the way you would implement Hashable manually for the empty struct A.

Some naive benchmarks. Even with just 10 poorly-hashed cancellable effects in-flight, the wrapper with type(of:) overhead performs better:
name                         time           std        iterations
-----------------------------------------------------------------
CancelToken                      292.000 ns ±  57.27 %    1000000
Empty AnyHashable               1208.000 ns ±  21.68 %    1000000

With 10,000 long-living cancellable effects (probably unlikely but anything is possible!):
name                         time           std        iterations
-----------------------------------------------------------------
CancelToken                      292.000 ns ±  57.27 %    1000000
Empty AnyHashable            1088917.000 ns ±   4.24 %       1286

@stephencelis Nice! I was thinking about benchmarking them, as I was worrying a little about ObjectIdentifier. Glory to the hash table then!
About the initial issue and default Hashable implementation, it is also interesting to confirm that the ordering of your struct's fields matters:
struct A: Hashable {
  let int: Int = 0
  let string: String = ""
}

struct B: Hashable {
  let int: Int = 0
  let string: String = ""
}

struct C: Hashable {
  let string: String = ""
  let int: Int = 0
}

A().hashValue == B().hashValue // true
A().hashValue == C().hashValue // false


Edde\Store: Implement IStoreManager::push/pop

Currently there is not way how to push currently selected store; so when store is "locally" changed, there is no way to restore it back.

Done.


Best practice for multi-users with encrypted realm FRC cache

I'm currently using your FRC in a platform that supports multiple users. Encryption is also turned on for realm. I noticed that if I logged out, and tried to log in as a different user, an exception stating the wrong encryption key is being used to open the cache. I tried calling deleteCacheWithName and passing in nil to delete everything, but then another exception:
Terminating app due to uncaught exception 'RLMException', reason: 'Realm at path '/Users/jasperchan/Library/Developer/CoreSimulator/Devices/60242241-EB72-4C8C-A7DA-8D017E03F860/data/Containers/Data/Application/540996A9-147F-4AAC-B9CA-EB03A50B4AE5/Documents/RBQFetchedResultsControllerCache/sceneFileCache/sceneFileCache.realm' already opened with different encryption key'

I was hoping if you could provide the best practice using this FRC to resolve this issue. Thanks

How have you setup the cache to use encryption, by default it doesn't?

I've done my best to mimic your example. I didn't set encryption anywhere for FRC.
- (RBQFetchedResultsController *)createSceneFileFRC
{
    @try
    {
        RLMRealm *defaultRealm = [RLMRealm defaultRealm];
        NSPredicate *predicate = [NSPredicate predicateWithFormat:@"status = %d", SceneFileStatus_OPEN];

        RBQFetchRequest *fetchRequest = [RBQFetchRequest fetchRequestWithEntityName:@"RLMSceneFile"
                                                                            inRealm:defaultRealm
                                                                          predicate:predicate];

        // Edit the sort key as appropriate.
        RLMSortDescriptor *sortDescriptor = [RLMSortDescriptor sortDescriptorWithProperty:@"lastModifiedDate" ascending:NO];
        NSArray *sortDescriptors = @[sortDescriptor];
        [fetchRequest setSortDescriptors:sortDescriptors];

        RBQFetchedResultsController *FRC = [[RBQFetchedResultsController alloc] initWithFetchRequest:fetchRequest
                                                                                sectionNameKeyPath:nil
                                                                                cacheName:@"sceneFileCache"];

        return FRC;
    }
    @catch (NSException *exception) {
        [ErrorDebugHelper logException:THIS_FILE thisMethod:THIS_METHOD exception:exception];
        return nil;
    }
}

Then I just call performFetch.

Ah I think the issue is that you have set the default configuration to use encryption and FRC uses the default configuration to create a second Realm file. I can create a PR to fix.
However, the exception you are seeing is that you haven't actually deallocated the FRC, so there is a RLMRealm for the cache hanging around. You will need to release the FRC (i.e. don't hold a strong reference to it so ARC can clean up), and then call the deleteCacheWithName: passing in nil. This will actually remove the underlying Realm file.

So this PR would fix your issue: https://github.com/Roobiq/RBQFetchedResultsController/pull/70
But I am not sure this is really what you want. I think you would want the FRC to be encrypted as well, since this would defeat the encryption.
I guess my suggestion is that you should not use a cache, so the cache ends up being in-memory. Just pass nil for the cache name.
If not then you will need to follow my instructions to make sure the FRC is deallocated, and thus the FRC cache Realm will be closed, allowing you to delete it safely and recreate with a new encryption key.

I would agree with you that it would defeat the purpose of encryption, but thanks for doing the PR!
I'll try without using cache and see what the performance is like. Have you done any performance testing between in-memory and cache?
Thanks!

@bigfish24 So I did a little test on our software and I noticed with a couple thousand records, eventually the app is killed off due to memory usage if I was to use in-memory.
Your suggestion to ensure the FRC is being properly deallocated is correct. Thanks for your help!

I find it odd the memory use was that high with in-memory, as this points to a potential issue, but if you were able to properly deallocate the FRC and everything is working fine then I guess its not worth digging into.


ClientAddress not available in some scenarios

The details are documented here:
Bug 29439207: The function WTSQuerySessionInformation does not return the ClientAddress if the connection has been established through the RDS Gateway
Bug 29464971: The function WTSQuerySessionInformation does not return the ClientAddress if the connection originated from the "Microsoft Remote Desktop" Store App

@gbrag-ms : Thanks for your contribution! The author(s) have been notified to review your proposed change.


ERROR: frame_id query param is not defined

I followed the Instructions of the official Discord Documantation Getting started with my First Activity but it doesnt work.
https://discord.com/developers/docs/activities/building-an-activity
When I add this code to the main.js file the Page is blank. When I start the server with just the HTML code it shows the Hello World and everything. In the console of the Developer mode of the page with this code I have to add it throws the error message when it comes to line 8. The error Message is "frame_id query param is not defined". It has to have something to do with the SDK because the DISCORD_CLIENT_ID is set correctly I checked that.
This is the code I have to Add:

This is the code where the page works:

The SDK is installed correctly so this shoud not be the Problem. And it shoud be Imported correctly.

The guide states that you should REALLY use the cloudflared tunnel, it you do not add it to your URL mappings the app is displayed as a blank page

Another reason this error can be shown is if your app navigates the iframe without preserving the query string.
For example, I found this gem in my code:
// Note: gets rid of query string (?) portion of the URL
// This is desired for upgrading backwards compatibility URLs;
// may not be desired for future cases.
const new_url = `${location.origin}${location.pathname}#${new_hash}`;

So I changed it to:
// Note: previously this omitted the query string (`location.search`) portion of the URL
// to support upgrading backwards compatibility URLs, but the query string is needed for the Discord app.
// TODO: fix backwards compatibility URLs? what were they? are they still relevant? probably not...
const new_url = `${location.origin}${location.pathname}${location.search}#${new_hash}`;

Some things to search your codebase for:

location =
location.href =
location.search =
history.replaceState
history.pushState


task runner updates

Coverage remained the same at 100.0% when pulling 48b2c4a42d20123426bd7e4651123721d5937a27 on dev into 4e2492c59d56265a4591c0f5455e93f0d4ef444e on master.


unable to rename or delete Vector Layers?

beta3
Seven WFS based vector layers were added to a map.  Due to the Title field being obscured when the long URL is pasted in, I made typos in the Title.  I cannot seem to edit the Title (rename the layers) or delete them and start anew.

see #22

i will implement editing and deleting of items in the vector layer catalog.

1.0.0-beta.6
Click on layer in catalog to see remove icon (only if layer is not in app)
Hit Enter while layer selected to edit title

i could get the layer to delete (via the red icon) but i was not successful in renaming the layer in the vector list by hitting enter.  i used Chrome.

Because of Reasons, hitting Enter to edit the layer name only works on a Mac. However, other ways to trigger editing also work, either hitting F2, or holding SHIFT and clicking on the name. I think this can be improved, but I think we should make it a post-release fix

figured it might be a Mac thing.  agree- post-launch.


Windows Console: cterm colour names not working after setting termguicolors

cterm colour names do not work in Windows with termguicolors
According to :help cterm-colors, it seems that I should be able to write hi Normal ctermfg=DarkCyan to get DarkCyan on both xterm and Windows console. However, I got Yellow instead, if termguicolors is set under the Windows Command Prompt.
To Reproduce
Detailed steps to reproduce the behavior:

Run vim --clean
Open any file, or open the help
Type :hi Normal ctermfg=DarkCyan
The text colour is the correct DarkCyan
Type :set termguicolors
The text colour becomes Yellow

Expected behavior
Text colour is always the specified one, regardless of termguicolors.
Environment (please complete the following information):

Vim version 8.2.1459
OS: Windows 10 1909
Terminal: Command Prompt

does windows terminal actually support termguicolors or are you talking about the new Windows terminal?

Looks like a duplicate of #1740.

The problem seems solved, as the colour switch between steps 5 and 6 ceases to happen now in the current Vim 9 build.
However, a similar colour switch will happen if one turns off termguicolors. I guess this is not as significant a problem. So it may be closed.

Yes, there is a similar issue after turning off termguicolors, see #9498


docs: update gRPC, add feature comparison

Address https://github.com/coreos/jetcd/issues/307.
/cc @lburgazzoli @fanminshi
@lburgazzoli Can you help update jetcd feature column?

Will update jetcd features in following PR.


can you please fix it to work with delphi 10.2

hi
thank you for you great work.
can you please make the demo for fmx work with delphi 10.2 thanks
ray

please check the fixed demo! I have used Delphi 10.3 Rio.

thank you all is good  :)


Add ability to provide an optional Controller Name

One of the issues I've come across is that all your View references need to absolute and the renderer cannot find views within the controller specific Views directory.
Even if you specify the absolute path, if you have views that call other views, such as EditorTemplates within the controller specific Views directory, then those views cannot be found
So the ability to add an optional controller name looks like this.
			RouteData routeData = new();
			if (!string.IsNullOrWhiteSpace(controllerName))
			{
				routeData.Values.Add("controller", controllerName!);
			}

passing that routeData into the ActionContext constructor allows the Views relative to the "Views/{controllerName}/ path to be found, so something like this would be the fix, obviously the need then becomes such that you then need to pass in the controllerName to those methods that call it
        private ActionContext GetActionContext(string? controllerName = null)
        {
            var httpContext = new DefaultHttpContext
            {
                RequestServices = _serviceProvider
            };
            var app = new ApplicationBuilder(_serviceProvider);
            var routeBuilder = new RouteBuilder(app)
            {
                DefaultHandler = new CustomRouter()
            };

            routeBuilder.MapRoute(
                string.Empty,
                "{controller}/{action}/{id}",
                new RouteValueDictionary(new { id = "defaultid" }));

			RouteData routeData = new();
			if (!string.IsNullOrWhiteSpace(controllerName))
			{
				routeData.Values.Add("controller", controllerName!);
			}

            var actionContext = new ActionContext(httpContext, routeData, new ActionDescriptor());
            actionContext.RouteData.Routers.Add(routeBuilder.Build());
            return actionContext;
        }

Hey @dammitjanet, thanks for raising the issue.
This needs some investigation to see if it's possible to dynamically get the currently executing controller name in the MVC project.
For other types of workloads like Console, Worker Service, I believe this shouldn't apply.

For other types of workloads like Console, Worker Service, I believe this shouldn't apply.

yeah, agreed
Here's some code (based on an SO answer here, improved over time and has the ability as noted above. Hopefully it might prove useful as it works as expected.
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Abstractions;
using Microsoft.AspNetCore.Mvc.ModelBinding;
using Microsoft.AspNetCore.Mvc.Razor;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.AspNetCore.Mvc.ViewEngines;
using Microsoft.AspNetCore.Mvc.ViewFeatures;
using Microsoft.AspNetCore.Routing;

namespace My.AspNetCore.MVC
{
	public class HtmlRenderService(IServiceProvider serviceProvider) : IHtmlRenderService
	{
		#region IHtmlRenderService impls

		public string RenderToString(string view, object? model, string? controllerName = null)
		{
			using (var output = new StringWriter())
			{
				var (viewContext, viewEngineResult) = BuildRequest(view, model, controllerName, output);
				viewEngineResult.View!.RenderAsync(viewContext).GetAwaiter().GetResult();
				return output.ToString();
			}
		}

		public async Task<string> RenderToStringAsync(string view, object model, string? controllerName = null)
		{
			using (var output = new StringWriter())
			{
				var (viewContext, viewEngineResult) = BuildRequest(view, model, controllerName, output);
				await viewEngineResult.View!.RenderAsync(viewContext);
				return output.ToString();
			}
		}

		#endregion

		#region private methods

		private (ViewContext viewContext, ViewEngineResult viewEngineResult) BuildRequest(string view, object? model, string? controllerName, StringWriter output)
		{
			var httpContext = new DefaultHttpContext { RequestServices = serviceProvider };

			RouteData routeData = new();
			if (!string.IsNullOrWhiteSpace(controllerName))
			{
				routeData.Values.Add("controller", controllerName!);
			}

			var actionContext = new ActionContext(httpContext, routeData, new ActionDescriptor());

			if (serviceProvider.GetService(typeof(ITempDataProvider)) is not ITempDataProvider tempDataProvider)
			{
				throw new Exception("Can't find ITempDataProvider");
			}

			if (serviceProvider.GetService(typeof(IRazorViewEngine)) is not IRazorViewEngine engine)
			{
				throw new Exception("Can't find IRazorViewEngine");
			}

			var viewEngineResult = engine.FindView(actionContext, view, false);

			if (viewEngineResult == null || !viewEngineResult.Success || viewEngineResult.View == null)
			{
				throw new InvalidOperationException($"Unable to find view '{view}'");
			}

			var viewDictionary = new ViewDataDictionary(new EmptyModelMetadataProvider(), new ModelStateDictionary())
			{
				Model = model
			};

			var viewContext = new ViewContext(actionContext, viewEngineResult.View!,
				viewDictionary, new TempDataDictionary(actionContext.HttpContext, tempDataProvider),
				output, new HtmlHelperOptions());

			return (viewContext, viewEngineResult);
		}

		#endregion
	}
}

That's nice. You are free to raise a PR if you're interested. Otherwise I can have a look at this when I get some free time.
Thanks!

Hey @dammitjanet, I'm pleased to shared that the prerelease package has been published with the fix if you want to give it a try
https://github.com/soundaranbu/Razor.Templating.Core/releases/tag/v2.1.0-rc.1

This is now released in v2.1.0. Thanks for raising this issue :)


fontSize plugin bug with sizeList in px

Hi,
I see a bug with fontSize plugin with the new option "sizeList", you can put custom size like "14px,18px,22px" but in the text you have select the size is "size=2 or size=3" and not "font-size:14px / font-size:18px"
Thanks

Sorry I just see that you have already correct the bug, thanks


Error Library generation

Basic information

My operating system: Windows 11
My mzmine version: 4.1.0

What happened
I tried to create my spectral library from the library generation workflow following the tutorial. But when I want to import the created library, it seems like the library is empty...

I worked in FIA with a QTOF in PRM mode.
When I look at the raw data, MZmine is able to show MS1 and MS2 spectra.
Raw data list :

My batch queue is :

Here are all the files I used
240604_batch_workshop_SOP_tab.json
ms_library_minimal_metadata_tab_1.txt
240604_log.txt
I can't upload the project file here, it's too big... and the batch file is not supported...
Thank you for your help
Julie Flecheux - PhD student

Can you try the processing wizard with flow injection and library generation?

This will exchange the chromatogram builder with the MSn tree builder which also works for MS2.

Your spectral library json is empty, you can open it in a text editor.
Another reason might be the unit resolution mz column. Better to provide just the formula of the neutral molecule or the SMILES / InChI for the structure and mzmine will calculate the neutral mass from this and add different adducts.
I ran our metadata cleanup on your file to retrieve SMILES, InChI, and much more information:
https://github.com/corinnabrungs/msn_tree_library
You can use this file for library generation:
ms_library_minimal_metadata_tab_1_cleaned.zip


feat(businessAttribute): parallelize-business-attribute-propagation

Checklist

[ ] The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
[ ] Links to related issues (if applicable)
[ ] Tests for the changes have been added/updated (if applicable)
[ ] Docs related to the changes have been added/updated (if applicable). If a new feature has been added a Usage Guide has been added for the same.
[ ] For any breaking change/potential downtime/deprecation/big changes an entry has been made in Updating DataHub

LGTM

@david-leifker, Please review

Thanks!


Cloud backup should not be performed when security questions are not available.

If Security Question is not available the cloud backup cannot be done and the message is shown to the user.
Also the SQ has both options as during initialisation.

Also change the text for Security Question text on the button to Set Password
cc: @summikhan11

@summikhan11 - can you pls also reverse the direction of the buttons in the UX. Set Password first and then cloud backup

https://xd.adobe.com/view/3c76a519-ed48-4944-a7a5-026a2aca5a6d-6925/screen/2844f53f-22fe-489c-b3b5-d9aee96a9c6f/

Verified this issue on dev app v1.8.0(322)


Add driver and executor pod template params to Spark config

TL;DR
Add driver and executor pod template params to Spark config
Type

[ ] Bug Fix
[x] Feature
[ ] Plugin

Are all requirements met?

[ ] Code completed
[ ] Smoke tested
[ ] Unit tests added
[ ] Code documentation added
[ ] Any pending items have an associated Issue

Complete description
This change adds pairs of pod template and pod template name params for the driver and executor pods. This mirrors the interface we provide for container tasks generally.
TODO: once we get consensus on the api I will populate the SparkJob proto and add tests
Tracking Issue
https://github.com/flyteorg/flyte/issues/4105

Closing until we get consensus on the proto interface for multi-role pod template overrides. See comment here.


Use symbol instead of string when defining callback

Passing string to define callback is removed in Rails 5.1
In the rails repo see line 284, it raises this error on rails 5.1
https://github.com/rails/rails/blob/master/activesupport/lib/active_support/callbacks.rb
It is similar issue example:
https://github.com/swanandp/acts_as_list/pull/192
I didn't understand how to fix it, i have tried converting strings to symbol
Anybody can fix this?

@likelazyeyes  any news on this issue?

@likelazyeyes @temkin What versions of the Jsonb Accessor and ActiveRecord are you using? I just updated the project to run the tests against ActiveRecord 5.1.3 and everything was green.

@crismali my bad, latest version 1.0.0.beta.7 works like a charm!

@temkin No problem!

I was tested on 5.1.2 and downgraded to 5.0.1 again. This week i try upgrade again. Which branch should i use?

@likelazyeyes the most recent release is v1.0.0


FR: BaseSmartContractAccount signMessageWith6492

Is your feature request related to a problem? Please describe.
In BaseSmartContractAccount there is a method to sign a message using ERC-6492 signMessageWith6492.
This method currently throws signMessageWith6492 not supported.
Will this be supported in the future or should it be implemented by SDK Users?
If it should be implemented by SDK Users - is there a working example to reference?

Hey! Thanks for your question :)
BaseSmartContractAccount is an abstract class. So, for that method in particular, we expect classes that extend BaseSmartContractAccount to have their own implementation of that method.
Shortly, we'll be adding SCA implementations atop BaseSmartContractAccount that will implement signMessageWith6492. Stay tuned!

@avasisht23 we can probably make this experience a little bit better by refactoring BaseSmartContractAccount to implement the wrapWith6492 method and have sign*With6492 methods call this.isDeployed and this.sign*.
That way devs only need to implement sign* in their implementations

Resolved by https://github.com/OMGWINNING/aa-sdk-staging/pull/79

Dennis worked on this and we'll be adding this solution to the next version!


Couple of warnings (might not affect anything)

Hi,
just a couple of warnings that keep popping up, I just wanted to let you know
1.)
daemon.js: WARNING: Caught an error in the targeting loop: TypeError: Cannot read properties of null (reading 'ramAvailable')
2.)
Warning, hack stole 0 money. Might be a misfire. ["omega-net",1640838358728,1640838423852,65124,"Batch 12-hack",0,0,0]

I suspect the first issue can only occur if you are deleting servers manually while the daemon is actively running. If that's the case, then there's 100s of places where such issues can occur and I've intentionally dealt with them by wrapping the entire main loop in a try/catch and simply updating the list of available servers on the next iteration.
Let me know if that's what you did to cause it, and I'll close this as working as expected.
Second is definitely intended behaviour. If your cycle timing is configured too tight, or your computer is lagging or putting the tab to sleep, you will get "misfires" and your hack/grow/weaken calls will fail to have the desired effect. This is an expected part of cycle timing, and these warnings are to help you identify systematic issues and adjust your timing to correct them.


URL-decode the deep link received transaction

the transaction is sent from an app link, e.g. helium://add_gateway/XXX
this path shall not contain any slash, so the incoming transaction (in base64) must be URL-encoded to be safely passed
this change will URL-decode the received transaction so that it is valid base64
e.g.
helium://add_gateway/CroBCiEAd9p%2FZOinDi87

transaction string is CroBCiEAd9p%2FZOinDi87
real base64 string is CroBCiEAd9p/ZOinDi87

This is not the right approach; the protobuf should simply be base64url encoded. It was exactly designed for this purpose.

I know, but the string is decoded as base64. My fix is prob wrong then, it should change the decoder to base64url instead.

In which case the fix would be to revert my commit and fix here instead: https://github.com/helium/helium-js/blob/master/packages/transactions/src/AddGatewayV1.ts#L86
But changing there would force the change from base64 to base64url everywhere, I think the implications are bigger.

This seems to be used drop-in for the QR code, so I believe the spec for the QR code would be helium://add_gateway/txn_in_b64url
I had initially expected the QR code to be the binary transaction (MUCH shorter than the b64url equivalent, so the QR code is much less complex and thus easier to scan with poorer cameras/lighting conditions).

In which case the fix would be to revert my commit and fix here instead: https://github.com/helium/helium-js/blob/master/packages/transactions/src/AddGatewayV1.ts#L86
But changing there would force the change from base64 to base64url everywhere, I think the implications are bigger.

There's no need to change from base64 to base64url! Please read the documentation (https://nodejs.org/api/buffer.html#buffer_buffers_and_character_encodings) the base64 decoder already decodes base64url-encodings.

This seems to be used drop-in for the QR code, so I believe the spec for the QR code would be helium://add_gateway/txn_in_b64url
I had initially expected the QR code to be the binary transaction (MUCH shorter than the b64url equivalent, so the QR code is much less complex and thus easier to scan with poorer cameras/lighting conditions).

The QR-code contains the minimal-size partially signed add-gateway transaction. You seem to suggest that CroBCiEAd9p/ZOinDi87 (28 bytes) could also be the transaction. I don't know where you get this from, because that's technically impossible. Here you can see the proto: https://github.com/helium/proto/blob/master/src/blockchain_txn_add_gateway_v1.proto. Just the signature of the gateway (ECDSA P-256) is already 64-bytes without any structure-encoding (like DER).

I didn't know that the decoder did both. Thank you. Problem solved.
My suggestion was just for illustration purposes. It's about 190 bytes actually when complete, a little less for the partial transaction.


Breaks if inactive for a long time?

@sethhoward1988 We've gotten several user complaints that if they leave their window open and inactive for a long time (I believe at least a day), this stops working and fails silently. Which is really bad, because it's already resulted in several users losing hours of work :(
I was able to reproduce locally - it looks like, on a heathy tab, making a change hits /save, /bind, and then /upload. But, on the broken / timed out tab, it just hits /upload. BUT, /upload returns status 200, as if everything's ok - but it's not actually saving the file
It gets even more interesting when looking at the JS console:
Drive Realtime API Error: token_refresh_required: The OAuth token must be refreshed. drive.google.com/otservice/api:435
Then:
Uncaught TypeError: Cannot read property 'authorize' of undefined   realtime-client-utils.js:166
    at onError (realtime-client-utils.js:166)
    at Object.ua (drive.google.com/otservice/api:435)
    at QA (drive.google.com/otservice/api:213)
    at Yv (drive.google.com/otservice/api:128)
    at Zh (drive.google.com/otservice/api:34)
    at Qt.d.Qa (drive.google.com/otservice/api:288)
    at eh.d.Lc (drive.google.com/otservice/api:298)
    at XMLHttpRequest.<anonymous> (drive.google.com/otservice/api:71)
    at XMLHttpRequest.<anonymous> (drive.google.com/otservice/api:426)

Which I'm guessing is the line where things go wrong. After that, it logs Refreshed Auth Token every 30 or so minutes, but even right after a token refresh, it still has the same behavior described above.
For the record, our repo: https://github.com/Fabricate-IO/expedition-quest-creator
You can try out the app at http://quests.expeditiongame.com
The file that handles the file uploading: https://github.com/Fabricate-IO/expedition-quest-creator/blob/master/app/actions/quest.tsx
Client user auth: https://github.com/Fabricate-IO/expedition-quest-creator/blob/master/app/actions/user.tsx
Server user auth: https://github.com/Fabricate-IO/expedition-quest-creator/blob/master/lib/oauth2.js

To clarify after running it past a friend, the drive uploading thing is actually working properly - it is, in fact, saving the files to drive fine. So the problem is specifically that realtime is losing sync

@sethhoward1988 think I figured out the root cause - looks like it specifically breaks if you're offline during the every-30-minute re-auth cycle, and then even if it re-auths after that, it fails to pick up changes

Feel free to send a patch, I won't be able to look at this for a few days.
On Sun, Jan 22, 2017 at 10:59 AM Todd Medema<EMAIL_ADDRESS>wrote:

@sethhoward1988 https://github.com/sethhoward1988 think I figured out
the root cause - looks like it specifically breaks if you're offline during
the every-30-minute re-auth cycle, and then even if it re-auths after that,
it fails to pick up changes
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/googledrive/realtime-utils/issues/6#issuecomment-274347024,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABTRkL2xDaDElFRml--5LC-qkCVMZHTDks5rU5kUgaJpZM4LqaLI
.


Cannot read property 'panel' of undefined

VSCode Version: Code - Insiders 1.18.0-insider (e6a76e4bd3f52ab07452bb181e861f5a9bfb6596, 2017-10-27T04:19:22.491Z)
OS Version: Windows_NT x64 6.1.7601
Extensions:

Extension
Author (truncated)
Version

vscode-database
baj
1.2.0

jshint
dba
0.10.15

vscode-eslint
dba
1.4.0

githistory
don
0.2.3

python
don
0.7.0

xml
Dot
1.9.2

vsc-material-theme
Equ
1.0.5

code-runner
for
0.8.2

extension-leaderboard
for
0.0.2

beautify
Hoo
1.1.1

intellij-idea-keybindings
k--
0.2.15

MagicPython
mag
1.0.12

cpptools
ms-
0.14.0

debugger-for-chrome
msj
3.4.0

material-icon-theme
PKi
2.2.4

python
tht
0.2.3

local-history
xyz
1.6.1

(2 theme extensions excluded)

Steps to Reproduce:

Go to Extensions
Type anything on search form

Reproduces without extensions: Yes/No
No

Duplicate of #37026

Closing as dup of #37026