text:
Getting some infinite transferSpeeds on progress delegate

I was getting some sporadic errors (value is infinity, so no assign to long possible) in my download progress delegate.
Thus, the first thing was to use (in my own progress delegate code):
double.IsInfinity(p.TransferSpeed) ? long.MaxValue : (long)p.TransferSpeed)
Then I had a look at FtpProgress.cs and saw:
			if (double.IsNaN(transferSpeed) && double.IsInfinity(transferSpeed)) {
				transferSpeed = 0;
			}

Trouble is, I was getting PositiveInfinity, once in a while.
Should it not be:
			if (double.IsNaN(transferSpeed) || double.IsInfinity(transferSpeed)) {
				transferSpeed = 0;
			}

But I decided to make the checks more specific to the possible division by zero errors possible in the try section.
I also believe that progressValue is safe because of if (fileSize > 0).
I also corrected the spelling mistake: estimatedRemaingTime
Please look the suggest code and review.

I am closing this one. Casting double to long was as additional problem.
Still believe we need an "or" in there and not an "and", but I will do further research if I ever have time.

repo: robinrodricks/FluentFTP


text:
Updating Lyrics

I'm trying to replace ID3 Editor with taglib-ruby. I've been able to update all the required ID3 tags except for (a) lyrics and (b) podcast description. In ID3 Editor these two are described as:

-ls utext            Set the lyrics or text transcription
-pcds  utext      Set the podcast description
I can't seem to figure out how to update these two tags using taglib-ruby. Any help would be appreciated or if you could just point me to some sample code specifically for these two tags.
Thanks.

Also, to see what frames ID3 Editor wrote, do something like this:
TagLib::MPEG::File.open(path, false) do |file|
  tag = file.id3v2_tag
  tag.frame_list.each do |frame|
    puts frame.frame_id
  end
end

Closing this, let us know if you run into a bug or need further help.

Thanks Robin -- that's very helpful.

On Jan 6, 2015, at 1:12 AM, Robin Stocker notifications@github.com wrote:
Also, to see what frames ID3 Editor wrote, do something like this:
TagLib::MPEG::File.open(path, false) do |file|
tag = file.id3v2_tag
tag.frame_list.each do |frame|
puts frame.frame_id
end
end
—
Reply to this email directly or view it on GitHub.

source: gharchive/issue

authors: omerkhan robinst

repo: robinst/taglib-ruby

license: mit

license_type: permissive

license_source: bigquery


text:
Readme docs links 404

Type: Bug

Packages
Version

react-fela
11.5.2

Description
A documentation link in the react-fela readme 404s. Maybe others in other readmes also 404; I haven't checked.
Steps to reproduce

Go to the readme.md of react-fela (https://github.com/robinweser/fela/tree/v11.5.2/packages/react-fela#usage).
Click the "Fela Documention - Usage with React." link. Note that Documention is actually a spelling error.

Expected Behavior
Documentation links do not 404, or contain spelling errors.
Actual Behavior
Documentation links 404, and contain spelling errors.

Good catch, we recently moved to a completely new website and those links changed. Haven't checked all sub packages yet. Simply to go https://fela.js.org directly and look into Usage with React, that's all you need to know!

Just quickly fixed the links.

authors: jaydenseric robinweser

repo: robinweser/fela

license: MIT

license_source: github-api


text:
Row Count keyword in DataBase Library returns -1

Hello Everyone,
Issue:
When I use the default DataBase Library (pyodbc) and run a direct SQL Query to fetch the Row Count using the "Row Count" keyword, it returns -1 as the output. Request your thoughts over this issue.
Sample documentation:
${var2}	Row Count	select * from XXXDB.dbo.tblYYY where ID = 1100
Workaround that I tried:
I achieved the same using the "Query" keyword using Count (*) in my query, but that one returns a list which I need to convert to an integer for further use. So this is not that a great hack.
Note:
I have to work this out using the default library first; only when it is impossible to achieve, I can request some other data base library, hence I haven't tried any other database library.

This issue doesn't seem to have anything to do with Robot Framework core. If there is a problem in a database library, please submit an issue to its own tracker.

authors: ctchef pekkaklarck

repo: robotframework/robotframework


text:
Refine thermal model with inductive load

          A F2F chat with @pattacini and @maggia80 highlighted that it is important to consider how the PWM signal is generated (whether it is in Left-aligned mode or Center-aligned), and how the current is measured.

Since we are dealing with an inductive load, we need to consider exponential transitory effect, during which the PWM signal of a phase is positive.
The current is measured in the middle of the positive PWM, during which the transitory might not be exhausted. This depends on the time constant (Phase resistance and inductance), and on the duty cycle.
Therefore accounting for the electrical transitory period might be the key to improve the model and reduce the performance discrepancy in continuous current (aka Iq in the case above).
Support material:

UNDERSTANDING THE EFFECT OF PWM WHEN CONTROLLING A BRUSHLESS DC MOTOR

Originally posted by @mfussi66 in https://github.com/robotology/icub-firmware-models/issues/36#issuecomment-1553154677

Hi @fgarini,
We would need your help to get to know how the PWM is actually generated in our AMCLBDC board to better organize in view of the OP.
cc @andreaderito @maggia80 @Nicogene @mfussi66

[WIP COMMENT]
Details

Ciao, in the amc_bldc the pwm generation is center-aligned.

The ADC in use is the 2nd and the conversion is triggered by tim1 6th channel, oc2ref.
(tim1 configuration)

(adc2 configuration)

The ADC  has a silicon bug that requires to execute two consecutive conversions and discard the second one, for each phase.

I remain at your disposal.
Other useful information is written by Giorgio in the user manual contained in the repo amc_bldc\docs

I  completed the comment above. Let me add a few considerations: the motor IIT code 15562 has a quite high L/R constant with respectively 3,15mH and 25.9Ohm = 122uS
the PWM period is (1/82kHz) = 12uS.
Even in short circuit with a full-period PWM applied, the actual delta in the current current would be:

I=I_{0}(1−e^{−t./τ}) \\

With 42V and 25.9Ohm, I0 is 1.62A
The dI is: [1.62A * (1-e^{-12uS/122uS)] = [1.62A * 0,094] = 0.15A.
I did very conservative the calculations, since i put the condition of short circuit simultaneously applying the maximum charge voltage for the whole sample period.
In addition to that I don't find critical the settling time/step response of the current sensor ACS70331, that is nominally less than 550ns

authors: fgarini pattacini

repo: robotology/icub-firmware-models


text:
ELIFECYCLE error

First thanks for this awesome really needed fix for missing --preid support of npm version.
May I'm wrong here.
Though my eslint and stylelint tests exits both with 0 exist code.
And run both combined within an npm test scripts exits with 0 too.
But running them together before npmversion fails by ELIFECYCLE error with exit code of 1:

@axa-ch/patterns-library@2.0.0-beta prebump-major-beta /Users/axawinterthur/dev/axa-ch_style-html-guide
test
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @axa-ch/patterns-library@2.0.0-beta prebump-major-beta: test
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @axa-ch/patterns-library@2.0.0-beta prebump-major-beta script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/axawinterthur/.npm/_logs/2017-12-13T16_43_48_507Z-debug.log

It's super wierd, really works alone 🤔
package.json
{
"scripts": {
    "test": "parallelshell 'npm run test-eslint' 'npm run test-stylelint'",
    "test-eslint": "eslint src/",
    "test-stylelint": "stylelint 'src/**/*.scss'",
"bump-major": "test && npmversion --increment major",
    "bump-minor": "test && npmversion --increment minor",
    "bump-patch": "test && npmversion --increment patch",
    "bump-major-beta": "test && npmversion --increment major --preid beta"
}
}

Anyone facing this issue, make sure to use npm run test, not only test.
correct package.json
{
"scripts": {
    "test": "parallelshell 'npm run test-eslint' 'npm run test-stylelint'",
    "test-eslint": "eslint src/",
    "test-stylelint": "stylelint 'src/**/*.scss'",
"bump-major": "npm run test && npmversion --increment major",
    "bump-minor": "npm run test && npmversion --increment minor",
    "bump-patch": "npm run test && npmversion --increment patch",
    "bump-major-beta": "npm run test && npmversion --increment major --preid beta"
}
}

Hi
Many thanks for your feedback
I will check what can I do, but I think this error is occured before the npmversion tool is called.
However, I will make some tests, because maybe we can face to this issue if we use the pre- and post- npm run scripts around npmversion.
I know that Eslint always return a 0 status code when an error is occured. And for CI, this is quiet annoyed, because the build fails and do not propagate the reports.
So, I often do the following stuff (which works on all platforms):
{
  "scripts": {
    "checkstyle": "node node_modules/eslint/bin/eslint.js --config=.eslintrc --output-file ./target/eslint-reporter-checkstyle.xml --format checkstyle ./app/**/*.js || exit 0"
  }
}

In all cases, I will check what can I do to prevent that.
Many thanks again
Regards

@rochejul
Thanks for you quick answer.
I already fixed the issue, it was caused by running the test script without npm run before.
It's wrong in your Readme.md at those lines or my npm version (3.10.10)  doesn't support that shorter syntax:
https://github.com/rochejul/npmversion/blame/master/README.md#L97-L101
https://github.com/rochejul/npmversion/blame/master/README.md#L123-L127
https://github.com/rochejul/npmversion/blame/master/README.md#L163-L167

Ok I will update the documentation too
Regards

authors: AndyOGo rochejul

repo: rochejul/npmversion


text:
yolov5s sigmoid量化结果异常

使用rknn toolkit（版本为1.7.5）转换yolov5s模型，使用i8和u8两种量化方式。用accuracy_analysis进行分析，sigmoid层量化结果与浮点结果相差巨大（eculidean_norm=1.000000	cosine_norm=nan），层名为24_Sigmoid_47_out0_nhwc_1_3_80_80_8；这两个量化模型在板端进行推理运行，捞取每层结果发现sigmoid层的输入正常、但输出全是0。
同样的模型，采用i16量化或者不量化（即bf），运行效果与原型基本一致。
综上，我想确认的是，rknn对sigmoid的8bit量化是否存在bug，还是说我使用出错导致这个结果异常？

附上转换脚本和模型，里面存放了snapshot的结果，可以看到sigmoid层量化异常的信息。若要复现这个过程，执行./run.sh即可。链接为https://github.com/rzzhangtao/rv1126_u8_sigmoid_err

do you solved this problem?

authors: HaoLiuHust rzzhangtao

repo: rockchip-linux/rknn-toolkit


text:
Add an Import Manager

The import manager's job is it to generate the import section automatically.
For example client generator code will call ${importManager.getType("javaslang.collection.List")}, which

returns List and generates an additional import javaslang.collectionList, if no other List is 'registered' yet
return javaslang.collection.List, if another List is registered already (e.g. java.util.List)

Additionally the priority of the current package is higher than others regarding generation of simple names.

TODO:

Use reflection to add java.lang.* to knownSimpleClassNames, in order to prevent classes with same simple names to be imported
Handle static imports, i.e. implement ImportManager.getStatic() to import static methods
Add a wildCardThreshold feature, which defines, when multiple imports from the same package (type) or class (static) are reduced to one import statement using wildcard '*'

The 'Use reflection to add java.lang.* to knownSimpleClassNames, in order to prevent classes with same simple names as java.lang.* to be imported' feature is dropped due to a (cost / benefit analysis](http://stackoverflow.com/questions/520328/can-you-find-all-classes-in-a-package-using-reflection).
The preferred way is to control the import behavior by using the (already existing) knownSimpleClassNames parameter. I.e. set knownSimpleClassNames = List("java.lang.String")if ImportManager.getType("my.package.String") should result in not importing my.package.String and use full qualified references within the code.

repo: rocketscience-projects/javaslang


text:
Add support for IEnumShellItems

hi
I'm trying to use the BindToHandler method to iterate over objects in a folder. According to the examples I have found I should use the EnumItems BHID for that. But that constant requires the IEnumShellItems interface which I don't believe is supported in this library. I have attemtped to use IShellItemArray instead like so let ish_arr = shi.BindToHandler::<IShellItemArray>(None, &BHID::EnumItems).unwrap(); but then I get a No such interface supported.
Is there an alternative to this or will this interface be supported in the near-future?
Thanks!

Let me know if it worked for you.

It felt natural to implement an iterator for IEnumShellItems, so here it is.

Thanks that indeed seems to work.
FYI, I did end up going for windows-rs even though this library provides an easier and cleaner interface because I needed quite a few more features than are currently implemented.

authors: Benassou rodrigocfd

repo: rodrigocfd/winsafe


text:
Copyable handles are probably unsound

The fact that you can close a handle and then keep using it (since e.g. RegCloseKey takes self by value, but HANDLE impls Copy so you can keep using the value afterwards anyway) seems unsound. Immediate reuse generally results in the invalid handle error being reported, but if you wait and reuse it later after other code has run, the handle value might match a newly opened handle. That new handle would definitely point at the wrong thing (e.g. a registry key handle opened for one key, when reused, would now modify a totally different key), and might even be the wrong type (e.g. a registry key handle might now refer to a file instead). This seems like it should probably be considered to violate memory safety.

Making the handles non-Copy wouldn't fix this issue either. An user could close a handle and still keep it indefinitely, then call a function with this handle later – pontentially causing the behavior you described. That's a rather hard problem to solve.
One solution I can think of is to make the function calls operate by reference (instead of by value), and "closing" functions would then set the handle to null. Subsequent calls would then return an ERROR_INVALID_HANDLE, which could be properly caught as ordinary errors.
What do you think?

What would be most intuitive to me is that the handles are non-Copy, non-Clone, do not have an explicit close function, and automatically close on drop. Is there a reason that wouldn’t work?
The iterator used for enumerating values would have to borrow the handle, I assume. That seems sensible to me, to ensure the handle outlives the iterator.

This would be the perfect solution – in fact, my very first implementation tried to follow this concept. The problem is that sometimes you should not close the handles.
From the top of my head:

basically all HWND functions, like CreateWindowEx and GetParent;

the messy GDI objects, whose handles are sometimes returned again by SelectObject;

the HIMAGELIST, which is created and, if passed to a ListView with LVS_SHAREIMAGELISTS style, should not be deleted (the ListView takes ownership of it).

After facing many weird situations, I eventually gave up the idea.
However...
Rethinking this solution, I could simply segregate the handles types. Some of them would be returned wrapped in to a smart pointer implementing Deref, and they would implement Drop to call the close functions, thus removing the manual close altogether. This would work like a glove for cases like HKEY and HFILE.
The problem with this approach is that I would have two "categories" of handles, which would be potentially confusing.
Another idea is having high-level structs, like File does over HFILE, to properly work on the resource cleanup. In this specific case, a high-level Registry struct.

Hm, yes, there is some complexity there. Some handles are pretty simple, but others not so much.
For the HGDIOBJ case, I thought of two ideas.
Option 1
SelectObject takes an HGDIOBJ by value and std::mem::forgets it. It then takes the return value of the raw function call, i.e. the previously selected value, wraps it in a new handle wrapper, and returns it. This is pretty easy to understand, but it is somewhat limited: you can’t keep an HGDIOBJ in a read-only place (e.g. a struct to which you have only a shared reference) and still be able to select it into a DC, and it also means you can’t select the same object into two DCs at the same time.
Option 2
Instead of SelectObject, you could do a scope-bound thing. So the DC type would have something like a with_selected method, which would be used something like this:
let my_brush = …;
let my_dc = …;
// At this time, the default brush is selected.
my_dc.with_selected(&my_brush, || {
  // Inside this lambda, my_brush is selected.
  // It is taken by shared reference, so it can still be reused elsewhere, but it cannot be destroyed.
});
// When the lambda completes, the original default brush is re-selected to the DC before `with_selected` returns.
// `my_brush` has now been unlocked and is safe to destroy.

I’ve seen this kind of pattern elsewhere, though I’m not sure how ergonomic it would be in this case. It also forces an extra SelectObject call to restore the original brush; I’m not sure whether that will have a performance impact or not, and I’m not that familiar with GDI so I’m not actually even sure whether you might need to do that anyway before destroying the DC.

Option 1 has the limitations you point out.
Option 2 has the problem to be completely alien to the Win32 API – if creating a whole new layer is the answer, then I'd rather implement a whole new struct over HGDIOBJ, leaving it alone.
The idea of setting the handle to null in "closing" functions still seems to be the most attractive to me, so far. It would prevent accidental handle reuse, which is the original problem you pointed out, and you are 100% right about this.

That’s fair. Although, for a HANDLE, what null value would you use? NULL or INVALID_HANDLE_VALUE?

Actually, would that even help? You’d still have to make the handles non-Copy, non-Clone, otherwise one handle would be nulled out, but all the others wouldn’t. And even then, AFAICT it wouldn’t stop someone from deleting a GDI object that was currently selected, would it? Is it actually possible to do this safely, or do the handles themselves need to be unsafe and then the higher-level wrappers be safe?

I believe INVALID_HANDLE_VALUE would be clearer for the given intent.
Yes, the handles would still have to be non-Copy and non-Clone.
It has been a long time since I wrote my last GDI program, but as far as I remember, deleting a GDI object which is in use simply will revert the resource to its stock one, not causing any other harms. I'll have to test this. The high-level wrapper will certainly prevent this, though.


text:
Make initial shape accumulate value type explicit

On many compilers (tested on gcc 9.2) the std::accumulate function will use the type of the initial value as the accumulated value type. The previous version of the code passed a literal '1' which defaults to an 'int' type. This makes the code vulnerable to type overflows for arrays with many elements. Explicitly casting to size_t should fix this.

@rogersce  are you still reviewing PRs ?

source: gharchive/pull-request

repo: rogersce/cnpy


text:
Periodically showing "x number of requests" to controller#action?

I have a controller action called "snapshot" - this action is called 200 times per second fetching live snapshot from many cameras.
I would like to know that this controller is being called, but I don't want to log every request.
Either to log every say 100 requests to this action, or to periodically say x requests to this action. Is there any way to achieve this?

The technique you are referring to is essentially sampling. This is theoretically possible with lograge but we don't support this behaviour out of the box. However, you could hack together an approach with ignore_custom and some kind of state to track the number of requests to the action:
config.lograge.ignore_custom = lambda do |event|
  # track the state and return false until you hit your required sample rate here
end

authors: benlovell hackeron

repo: roidrage/lograge


text:
HOW TO CHANGE TIME RECHECKING WHEN USER OFFLINE

I want to change rechecking time when user offline. Now rechecking time is 2 minute I wanna change to 10-20 minutes

Change the WaitTime values in enums.py

repo: roju/tiktok-live-recorder


text:
9FUS 8.2.0 blinks blue no upgrade; MD5 Checksum?

Hi,
after changing SD-cards ( manufactorers, sizes etc.) , formatted with Cam, Unix and MS7, the Cam won't be flashed and hangs hours in blinking blue. Was unzipped with 7zip and with an Unix OS....
After removing the SDs it works in old YI-manner. After hours of investigation I suspect an error during download. Can someone who's cam is working with the new code provide me with an MD5, please?

My MD5 hash of
y20ga_0.2.2.tar
is
5c5930304fb25926a4b301c663a3b673
generated with WinMD5Free under W7
Anyone there to confirm? Would be great!
Cheers
Peter

You have to decompress tar archive also.
Your sd must contain:

Factory
newhome
home_y20gam.stage

Of course, I did. Need only a point to start with the MD5....

Calculated with Hashcalc:
5c5930304fb25926a4b301c663a3b673

THX a lot for the MD5 Roleo :-) You are doing a great job always :-) So, now I have to figure out whats going on with a readable SD-card and a checked downloaded image. Will now try to log via the serial what's happening...report follows. Additional ideas to solve the issue?

Are you sure the hack doesn't start?
Did you try to open the web interface http://ip:8080 ?

Yes, no chance with the actual 0.2.2. direct installation. But: according to "9FUSY312E5 not flashing
#97" I tried directly the "debug_version" with with 0.1.7!
Worked once with the Webserver than no connection, no ping, etc.
Analysing the  network traffic with Wireshark showed up some ack's of connection tries, then timed out. So SD-Card cleaned and again the "debug" with the virgin factory file installed.
Success: 1st time flash worked and I disabled all possible number crunching staff wasting ressources of the tiny cam-cpu. 1st step was to enable RSTS. Result was still a stable connection! VLC streaming etc. works great! Reboot, PWR-off etc. of the cam doesn't influence.
BTW the card is a SanDisk 32GB with 80MB/s.
Next step is the in-path SW update to the 0.2.2....tell you later.
Guess the whole trouble was caused by overloading the tiny cam cpu after reboot with a handfull processes...will crosscheck it out with the 2nd 9FUS/8.2.0 cam.
If everyting is fine the next task ist to bring the BFUSY's with 9.19.02 on stage... keep you informed.
Cheers Peter

authors: Flugdino roleoroleo

repo: roleoroleo/yi-hack-Allwinner


text:
Support for YI Home 3 FW 8.3.0.0A_201912271707

Hi. I just bought a Yi Home Camera on amazon.es whose name is IFUSY32VBU and fw 8.3.0.0A_201912271707.
I tried the y25ga_0.2.6 release and I think I may have bricked it (stuck with yellow led on). Interesting to note, the files on the sd card end with *.done extension...
Any clues on how I could fix it and wether it could be supported ?

Thanks but I really think I bricked it and I hadn't made any backups.
Before it did something and stayed with the blue blinking led. Then, when I tried to reset it with the button on the back it got bricked and it does nothing but lighting the yellow led, no matter whats in the sd card.

I will check if I have a backup.

You are right again, with swap file I have no more restarts. Now the problem I have is I cant have audio enabled in the rtsp stream. I have tried all audio options but I cant see the audio stream being transmited. I don't know if maybe its better to open another issue.
Thanks!

Please, try it without user and password.

I have just tried with no user/password, Same results.

Also If I try to stream the audio only stream it does not connect to it.

Just for testing purposes I have killed the process and launch it manually like I saw in another issue:
killall wd_rtsp.sh
killall rRTSPServer
RRTSP_RES=high RRTSP_AUDIO=aac RRTSP_USER=test RRTSP_PWD=test ./rRTSPServer

And now I see this in VLC:

So launching it manually seems to be working 🤷♂

Some more information, although I can see the codec of the audio transmitting in VLC I can't actually hear anything coming from the cam. There is no sound.

Please, post your config.

Ok its quite erratic, now it seems to be working (with sound) if I put this command manually:
RRTSP_RES=high RRTSP_AUDIO=aac RRTSP_USER=test RRTSP_PWD=test ./rRTSPServer
This is my system.conf
HTTPD=yes
TELNETD=no
SSHD=yes
FTPD=no
BUSYBOX_FTPD=no
DISABLE_CLOUD=no
REC_WITHOUT_CLOUD=no
MQTT=no
RTSP=yes
RTSP_STREAM=high
RTSP_AUDIO=aac
SPEAKER_AUDIO=yes
ONVIF=yes
ONVIF_WSDD=yes
ONVIF_PROFILE=high
ONVIF_WM_SNAPSHOT=no
NTPD=yes
NTP_SERVER=pool.ntp.org
PROXYCHAINSNG=no
SWAP_FILE=yes
RTSP_PORT=554
ONVIF_PORT=80
HTTPD_PORT=8080
USERNAME=########
PASSWORD=########
TIMEZONE=CET-1CEST,M3.5.0,M10.5.0/3
FREE_SPACE=0
FTP_UPLOAD=no
FTP_HOST=
FTP_DIR=
FTP_DIR_TREE=no
FTP_USERNAME=
FTP_PASSWORD=
FTP_FILE_DELETE_AFTER_UPLOAD=yes
SSH_PASSWORD=############
CRONTAB=

Could you check the command line when the daemon starts (when audio doesn't work)?
Get the process id with ps and get the command line with:
cat /proc/PID/cmdline

The output is just:
rRTSPServer

Please try the environment:
cat /proc/PID/environment

There you go
USER=rootRRTSP_MODEL=y25gaRRTSP_AUDIO=aacSHLVL=5LD_LIBRARY_PATH=/lib:/usr/lib:/home/lib:/home/qigan/lib:/home/app/locallib:/home/lib:/home/yi-hack/lib:/tmp/sd/yi-hack/libHOME=/OLDPWD=/partitions=boot@mtdblock1:rootfs@mtdblock2:home@mtdblock3:env@mtdblock4:mfg@mtdblock5:conf@mtdblock6:UDISK@mtdblock7earlyprintk=sunxi-uart,0x05000000boot_type=3cma=0TERM=vt102PATH=/usr/bin:/usr/sbin:/bin:/sbin:/home/base/tools:/home/app/localbin:/home/base:/home/base/tools:/home/yi-hack/bin:/home/yi-hack/sbin:/home/yi-hack/usr/bin:/home/yi-hack/usr/sbin:/tmp/sd/yi-hack/bin:/tmp/sd/yi-hack/sbinRRTSP_RES=highuboot_message=2018.05-00002-g932b424-dirty(12/13/2019-18:21:53)RRTSP_PWD=*********SHELL=/bin/shRRTSP_USER=*******PWD=/home/appTZ=CET-1CEST,M3.5.0,M10.5.0/3RRTSP_PORT=554

BTW /proc/PID/environment is not found I had to type /proc/PID/environ

The environment is ok.
The problem happens only with aac or even with xlaw?

I have tried with all audio modes. Same result.

Another try please.
If you kill rRTSPServer when it doesn't work and wait for it to restart (by watchdog), it works?

Another try please.
If you kill rRTSPServer when it doesn't work and wait for it to restart (by watchdog), it works?

Yes, when the watchdog restart the process it's working correctly!

BTW which audio codec is the best?

BTW which audio codec is the best?

It depends.
Alaw and ulaw are light and require low cpu resouces. But some programs don't support it (eg. ha).
Aac requires high cpu resources.

When you say AAC requires high CPU resources you mean YiCamera CPU resources or client CPU resources?
If its YICAM resources should it run better if I disable services like ONVIF, Yi Cloud, etc?
I asking because I would like to integrate the cam with HA, and if AAC is que only compatible codec ...
thanks!!!!!

I mean cam resources.
If you want to use ha, I advise you to use these custom components:

https://github.com/roleoroleo/yi-hack_ha_integration
https://github.com/AlexxIT/WebRTC

with alaw/ulaw audio.

Yes, when the watchdog restart the process it's working correctly!

Please try to extend the sleep after rmm starts.
Edit /home/yi-hack/script/system.sh
and change sleep from 6 to 10
        LD_LIBRARY_PATH="/home/yi-hack/lib:/lib:/usr/lib:/home/lib:/home/qigan/lib:/home/app/locallib" ./rmm &
        sleep 10
        dd if=/tmp/audio_fifo of=/dev/null bs=1 count=8192

at lines 127 and 154.

Yes, when the watchdog restart the process it's working correctly!

Please try to extend the sleep after rmm starts.
Edit /home/yi-hack/script/system.sh
and change sleep from 6 to 10
        LD_LIBRARY_PATH="/home/yi-hack/lib:/lib:/usr/lib:/home/lib:/home/qigan/lib:/home/app/locallib" ./rmm &
        sleep 10
        dd if=/tmp/audio_fifo of=/dev/null bs=1 count=8192

at lines 127 and 154.

With this little tweak is working correctly, tried with alaw and aac, both working when I restart the camera normally.
Thanks so much @roleoroleo !!

I will update the repo.

@torcuat here you have the backup bin file: mtdblock3.bin

Thank you very much, it worked!

Hi,
i have two bricked cameras here (base version 8.3.0.0A_201912271707, model suffix y25ga). After updating to 0.2.6, both no longer boot. I have a backup of another camera of the same type, but I don't know exactly where to enter the commands to copy it back? How is it possible to stop the boot at the U-Boot prompt?  This are my current boot messages:
Camera1:
[38]HELLO! BOOT0 is starting Nov 14 2019 20:01:31!
[43]BOOT0 commit : 81c18ee
[46]board init start
[48]set pll start
[50]set pll end
[52][pmu]: bus read error
[54]board init ok
[56]chip id check OK
[58]DRAM BOOT DRIVE INFO: V0.41
[61]DRAM CLK = 528 MHz
[63]DRAM Type = 2 (2:DDR2,3:DDR3)
[67]DRAMC read ODT  off.
[69]DRAM ODT off.
[71]DRAM SIZE =64 M
[78]DRAM simple test OK.
[80]rtc standby flag is 0x0, super standby flag is 0x0
[86]dram size =64
[88]spinor id is: c8 40 18, read cmd: 03
[92]Succeed in reading toc file head.
[96]The size of toc is 6c000.
[170]Entry_name        = optee
[173]Entry_name        = u-boot
[178]Entry_name        = dtb
[181]Jump to secend Boot.
MESSAGE: [0x0] TEE-CORE: OP-TEE version: sun8iw19p1_v0.6.0-12-g97f2688 #1 2019年                                                                                11月 08日 星期五 08:26:51 UTC arm
ERROR:   [0x0] TEE-CORE:platform_standby_fdt_parse:126: no pmu node
ERROR:   [0x0] TEE-CORE:sunxi_twi_parse_from_dt:84: no pmu node
U-Boot 2018.05-00002-g932b424-dirty (Dec 13 2019 - 18:21:53 +0800) Allwinner Tec                                                                                hnology
[00.249]CPU:   Allwinner Family
[00.252]Model: sun8iw19
I2C:   ready
[00.257]DRAM:  64 MiB
[00.259]Relocation Offset is: f9f6a000
[00.276]secure enable bit: 0
[00.278]pmu_axp2101_probe pmic_bus_read fail
[00.282]drivers/sunxi_power/pmu_axpnull.c pmu_axpnull_probe 26 axpdummy probe
[00.289]bmu_axp2101_probe pmic_bus_read fail
[00.293]BMU: AXPNULL
[00.296]CPU=816 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz  MBus=132Mhz
[00.302]gic: sec monitor mode
[00.304]flash init start
[00.307]workmode = 0,storage type = 3
SF: Detected gd25q128 with page size 256 Bytes, erase size 64 KiB, total 16 MiB
[00.319]sunxi flash init ok
[00.322]Loading Environment from SUNXI_FLASH... OK
[00.342]sprite_led_gpio start
[00.347]update dts
root_partition is rootfs
set root to /dev/mtdblock2
[00.355]update part info
[00.357]update bootcmd
[00.359]No ethernet found.
[00.361]get mem for descripter OK !
[00.587]Card did not respond to voltage select!
card0 init failed
No sd-card insert,will normal boot
Hit any key to stop autoboot:  0
Booting kernel from Legacy Image at 45000000 ...
Image Name:   ARM OpenWrt Linux-4.9.118
Image Type:   ARM Linux Kernel Image (uncompressed)
Data Size:    2080440 Bytes = 2 MiB
Load Address: 40008000
Entry Point:  40008000
[01.937]Starting kernel ...
[    0.000000] ion_mem_reserve: err format for ion reserve list!
[    0.112511] ion_heap_create: Invalid heap type 4
[    0.119935] sunxi_i2c_probe()2209 - [i2c1] warning: failed to get regulator i                                                                                d
[    0.147735] uart uart0: get regulator failed
[    0.175374] sunxi-wlan wlan: request pincrtl handle for device [wlan] failed
[    0.183723] sunxi-wlan wlan: get gpio chip_en failed
[    0.206062] mtd: partition "UDISK" is out of reach -- disabled
[    0.217426] VE: get debugfs_mpp_root is NULL, please check mpp
[    0.217426]
[    0.490997] mmc:failed to get gpios
[    0.534458] sunxi-mmc sdc1: smc 1 p1 err, cmd 52, RTO !!
[    0.541311] sunxi-mmc sdc1: smc 1 p1 err, cmd 52, RTO !!
[    0.551771] sunxi-mmc sdc1: smc 1 p1 err, cmd 8, RTO !!
[    0.558541] sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !!
[    0.565326] sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !!
[    0.572114] sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !!
[    0.578900] sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !!
[    0.585690] sunxi-mmc sdc1: smc 1 p1 err, cmd 55, RTO !!
[    0.592538] sunxi-mmc sdc1: smc 1 p1 err, cmd 55, RTO !!
[    0.599402] sunxi-mmc sdc1: smc 1 p1 err, cmd 55, RTO !!
[    0.606280] sunxi-mmc sdc1: smc 1 p1 err, cmd 55, RTO !!
[    0.613282] sunxi-mmc sdc1: smc 1 p1 err, cmd 1, RTO !!
starting pid 465, tty '': '/etc/init.d/rcS boot'
[RCS]: /etc/init.d/S01udev
Populating /dev using udev: [    0.919551] udevd[470]: could not create /run/ude                                                                                v: No such file or directory
done
[RCS]: /etc/init.d/S02app
/home/app/init.sh not exist!
[RCS]: /etc/init.d/S20urandom
read-only file system detected...done
starting pid 480, tty '/dev/console': '-/bin/sh'
BusyBox v1.27.2 () built-in shell (ash)
        __    __   _
        \ \  / /  | |
         \ \/ /   | |
          \  /    | |
          / /     | |
         /_/      |_|

Welcome to XiaoYi Linux.
root@xiaoyi:/#

Camera2:
root@xiaoyi:/# ^C[149]HELLO! BOOT0 is starting Nov 14 2019 20:01:31!
[154]BOOT0 commit : 81c18ee
[157]board init start
[159]set pll start
[161]set pll end
[163][pmu]: bus read error
[166]board init ok
[168]chip id check OK
[170]DRAM BOOT DRIVE INFO: V0.41
[173]DRAM CLK = 528 MHz
[175]DRAM Type = 2 (2:DDR2,3:DDR3)
[179]DRAMC read ODT  off.
[181]DRAM ODT off.
[184]DRAM SIZE =64 M
[190]DRAM simple test OK.
[193]rtc standby flag is 0x0, super standby flag is 0x0
[198]dram size =64
[201]spinor id is: 1c 70 18, read cmd: 03
[205]Succeed in reading toc file head.
[208]The size of toc is 6c000.
[282]Entry_name        = optee
[285]Entry_name        = u-boot
[290]Entry_name        = dtb
[294]Jump to secend Boot.
MESSAGE: [0x0] TEE-CORE: OP-TEE version: sun8iw19p1_v0.6.0-12-g97f2688 #1 2019年 11月 08日 星期五 08:26:51 UTC arm
ERROR:   [0x0] TEE-CORE:platform_standby_fdt_parse:126: no pmu node
ERROR:   [0x0] TEE-CORE:sunxi_twi_parse_from_dt:84: no pmu node
U-Boot 2018.05-00002-g932b424-dirty (Dec 13 2019 - 18:21:53 +0800) Allwinner Technology
[00.362]CPU:   Allwinner Family
[00.365]Model: sun8iw19
I2C:   ready
[00.369]DRAM:  64 MiB
[00.372]Relocation Offset is: f9f6a000
[00.388]secure enable bit: 0
[00.390]pmu_axp2101_probe pmic_bus_read fail
[00.394]drivers/sunxi_power/pmu_axpnull.c pmu_axpnull_probe 26 axpdummy probe
[00.401]bmu_axp2101_probe pmic_bus_read fail
[00.405]BMU: AXPNULL
[00.408]CPU=816 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz  MBus=132Mhz
[00.414]gic: sec monitor mode
[00.417]flash init start
[00.419]workmode = 0,storage type = 3
SF: Detected en25qh128 with page size 256 Bytes, erase size 64 KiB, total 16 MiB
[00.430]sunxi flash init ok
[00.433]Loading Environment from SUNXI_FLASH... OK
[00.464]sprite_led_gpio start
[00.469]update dts
root_partition is rootfs
set root to /dev/mtdblock2
[00.478]update part info
[00.480]update bootcmd
[00.482]No ethernet found.
[00.485]get mem for descripter OK !
card_caps:0x3000000a
host_caps:0x3000003f
** Unrecognized filesystem type **
Nothing updated, start normal boot
Hit any key to stop autoboot:  0
Booting kernel from Legacy Image at 45000000 ...
Image Name:   ARM OpenWrt Linux-4.9.118
Image Type:   ARM Linux Kernel Image (uncompressed)
Data Size:    2080440 Bytes = 2 MiB
Load Address: 40008000
Entry Point:  40008000
[02.362]Starting kernel ...
[    0.000000] ion_mem_reserve: err format for ion reserve list!
[    0.112266] ion_heap_create: Invalid heap type 4
[    0.119630] sunxi_i2c_probe()2209 - [i2c1] warning: failed to get regulator id
[    0.147594] uart uart0: get regulator failed
[    0.175185] sunxi-wlan wlan: request pincrtl handle for device [wlan] failed
[    0.183565] sunxi-wlan wlan: get gpio chip_en failed
[    0.205754] mtd: partition "UDISK" is out of reach -- disabled
[    0.217119] VE: get debugfs_mpp_root is NULL, please check mpp
[    0.217119]
[    0.491756] mmc:failed to get gpios
[    0.540063] sunxi-mmc sdc1: smc 1 p1 err, cmd 52, RTO !!
[    0.546949] sunxi-mmc sdc1: smc 1 p1 err, cmd 52, RTO !!
[    0.557450] sunxi-mmc sdc1: smc 1 p1 err, cmd 8, RTO !!
[    0.564224] sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !!
[    0.571009] sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !!
[    0.577779] sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !!
[    0.584546] sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !!
[    0.591342] sunxi-mmc sdc1: smc 1 p1 err, cmd 55, RTO !!
[    0.598240] sunxi-mmc sdc1: smc 1 p1 err, cmd 55, RTO !!
[    0.605143] sunxi-mmc sdc1: smc 1 p1 err, cmd 55, RTO !!
[    0.612041] sunxi-mmc sdc1: smc 1 p1 err, cmd 55, RTO !!
[    0.619058] sunxi-mmc sdc1: smc 1 p1 err, cmd 1, RTO !!
starting pid 471, tty '': '/etc/init.d/rcS boot'
[RCS]: /etc/init.d/S01udev
Populating /dev using udev: [    0.927051] udevd[476]: could not create /run/udev: No such file or directory
done
[RCS]: /etc/init.d/S02app
[RCS]: /etc/init.d/S20urandom
--------------------------home app init.sh--------------------------
read-only file system detected...done
starting pid 487, tty '/dev/console': '-/bin/sh'
BusyBox v1.27.2 () built-in shell (ash)
vm.dirty_background_ratio = 2
vm.dirty_expire_centisecs = 500
vm.dirty_ratio = 2
        __    __   _
        \ \  / /  | |
         \ \/ /   | |
          \  /    | |
          / /     | |
         /_/      |_|

Welcome to XiaoYi Linux.
root@xiaoyi:/# vm.dirty_writeback_centisecs = 100
fs.mqueue.msg_max = 256
checkdisk.c(get_tfcard_size_v2-105)[00:00:04.871]:TF card total size : 3780 MB
checkdisk.c(get_fs_type-251)[00:00:04.872]:FS TYPE : VFAT
checkdisk.c(get_cluster_size-313)[00:00:04.889]:cluster_size = 32768 Bytes
checkdisk.c(check_partion_vfat-152)[00:00:04.889]:TF Card  checking ....
checkdisk.c(do_fat_check-117)[00:00:04.889]:Can fat check
checkdisk.c(do_fat_check-121)[00:00:05.020]:retBuf(fsck.fat 3.0.26 (2014-03-07)
step 0 4
0x41: Dirty bit is set. Fs was not properly unmounted and some data may be corrupt.
step 1 4
step 2 4
step 3 4
step 4 4
step 5 5
step 6 5
/dev/mmcblk0p1: 15 files, 886/120704 clusters
)
checkdisk.c(do_fat_check-140)[00:00:05.030]:Mount sd ok.
checkdisk.c(check_partion_vfat-156)[00:00:05.030]:TF Card check finished.
checkdisk, main() ret_status(10000)
checkdisk, main() ret_status(10000),g_sysconf_ptr->tf_status.stat(10000)
---update file(home_y20gam) Not exist---
--------------------------insmod sound--------------------------
[    3.500130] --->sunxi_daudio_dev_probe<--- strat.
[    3.507000] --->sunxi_daudio_dev_probe<--- end.
--------------------------insmod sensor--------------------------
[    3.953972] 8189fs: section 3 reloc 9361 sym 'skb_pull': relocation 10 out of range (0xbf875fb0 -> 0xc01a6d2b)
[    3.982759] 8189fs: section 3 reloc 9361 sym 'skb_pull': relocation 10 out of range (0xbf951fb0 -> 0xc01a6d2b)
insmod: can't insert '/home/base/wifi/8189fs.ko': invalid module format
ifconfig: SIOCGIFFLAGS: No such device
/home/app/init.sh: line 147: /home/yi-hack/script/system.sh: not found
hue, start_with_reset = 1 @get_config()->g_sysconf.ssid == 0

#########is_sd_exit chg to: 10000<<<<<<<<<<<<<<<<<<<

Press enter after the power on.
The cam should stop.
https://github.com/roleoroleo/yi-hack-Allwinner/wiki/Unbrick-the-cam

Thanks! it works, but you have to wait for the very exact moment at "Hit any key to stop autoboot"
Now i have written back the file mtdblock3.bin.  Now i get this with inserted SD card:
root@xiaoyi:/#
checkdisk.c(get_tfcard_size_v2-105)[00:00:05.346]:TF card total size : 30436 MB
checkdisk.c(get_fs_type-251)[00:00:05.351]:FS TYPE : VFAT
checkdisk.c(get_cluster_size-313)[00:00:05.369]:cluster_size = 32768 Bytes
checkdisk.c(check_partion_vfat-152)[00:00:05.369]:TF Card  checking ....
checkdisk.c(do_fat_check-117)[00:00:05.370]:Can fat check
checkdisk.c(do_fat_check-121)[00:00:05.737]:retBuf(fsck.fat 3.0.26 (2014-03-07)
step 0 5
0x41: Dirty bit is set. Fs was not properly unmounted and some data may be corrupt.
step 1 5
step 2 5
step 3 5
step 4 5
step 5 5
step 6 5
/dev/mmcblk0p1: 3 files, 4/973584 clusters
)
checkdisk.c(do_fat_check-140)[00:00:05.742]:Mount sd ok.
checkdisk.c(check_partion_vfat-156)[00:00:05.743]:TF Card check finished.
checkdisk, main() ret_status(10000)
checkdisk, main() ret_status(10000),g_sysconf_ptr->tf_status.stat(10000)
---update file(home_y25gam) Not exist---
--------------------------insmod sound--------------------------
[    4.019507] --->sunxi_daudio_dev_probe<--- strat.
[    4.029880] --->sunxi_daudio_dev_probe<--- end.
--------------------------insmod sensor--------------------------
without SD:
root@xiaoyi:/# cat: can't open '/sys/block/mmcblk0/device/cid': No such file or directory
checkdisk, main() ret_status(10012)
checkdisk, main() ret_status(10012),g_sysconf_ptr->tf_status.stat(10012)
umount: can't unmount /tmp/sd: Invalid argument
mount: mounting /dev/mmcblk0p1 on /tmp/sd failed: No such file or directory
---update file(home_y25gam) Not exist---
--------------------------insmod sound--------------------------
[    3.576595] --->sunxi_daudio_dev_probe<--- strat.
[    3.586831] --->sunxi_daudio_dev_probe<--- end.
--------------------------insmod sensor--------------------------
Any idea what can be wrong now?
Thanks meyomey

What's the problem?
Does the cam start?

Hi, the camera starts, but only the yellow LED lights up continuously.
The camera cannot be connected to the app, no "waiting for connect" The reset button does not work.

Post the whole log starting from power on, if you have serial cable connected.

There are no problem in the log.
Please run the following commands:
ps
lsmod
mount
ls -laR /

Thats the related log:
putty.log

The output of the ps command is not ok.
Processes don't start.
It's difficult to understand the problem. Probably something wrong in the startup procedure.
Check if /home/app/init.sh is ok and try to run it manually.

Hello,
I just bought a Yi Home Camera  whose model is 9FUSY32IX2JA4R200611 and fw 8.3.0.0A_201912271707 (same version as torcuat but not same model).
I tried the y25ga_0.2.6 release and wait for more than 1 hour but nothing append only yellow led constant on.
Reading this post, I tried the y25ga_0.1.9.tar.gz from Pablito but no succes same behavior.
I change 2 times sd card (16 Gb and 32 Gb) and use the original power supply.
Then I tried the proposed version from roleoroleo y25ga_0.2.6.tar.gz from 11 may => idem no boot yellow led stays on for hours.
Is there something I missed ?
I put the file and the 2 directories on a blank format sd card as in the instructions.

Question : During the flash process I suppose the yellow led must blink ... I never saw that.
On an older Yi cam I could, without problem, flash it with the mstart hack.
How can I help searching the problem ?
Thanks in advance for your help
Patou

Don't try to hack the cam with unsupported versions.
Or with a version created for a different model.
You could brick the cam.
Your version is y25ga. If it doesn't work try to change or reformat the sd.
During the hack the cam doesn't blink, only MStar blinks.

Hello Roleo,
Thanks for your answer.
Today, I took a second brand new camera 9 FUSY 32 VPIRFMS 200319 date 2020 06 with  sn 9Y25GAEUW06015044.

took a 16 Gb new formatted sd card empty
make the pairing with the Yi app and got the pairing and wifi connected, saw the video on smartphone and pc
format this same sd card again and load the file and 2 directories of y25ga_0.2.6.tar.gz (from 11 may in this post) in the root of the sd card
put this sd in the camera, power on with the original power supply from the camera, green led comes on and after 10 sec the relay clicks, and then nothing changed for more than 1 hour. I cannot see the cam in the Yi app.
disconnect power supply, reformat sd card (empty card) and place it again the camera, the camera works again on the Yi app.
Question : how can I recognize that the new firmware has been flashed ?

Is the Factory folder rename to Factory.done?
Are you able to connect to the website on port 8080?

Hello
Thnaks for your reaction
No : the factory folder has still the name factory and no access with "myip":8080

If the hack didn't run:

The cam is not allwinner based.
The sd card is not compatible.

If you want to solve definitively this problem you need to connect a serial cable.

What brand or spec of sd card do you recommend ?
Is max size of 32 Gb OK ? it becomes difficult to find smaller cards !!!

I can't recommend a card.
But small is better.
I have a lot of small cards (1 or 2GB) from old smartphones that work great.

Hello
Thanks for all your answers ... but still no succes.
I tried 2 other smaller size sd cards 2 Gb and 1 Gb.
No change in the directory names, no visible Ip to see on the network
So, actually, the  9 FUSY 32 VPIRFMS camera even with the same firmware (fw 8.3.0.0A_201912271707) as IFUSY32VBU is not working. with this hack.
How can I find out the real camera hardware ?
Fortunately I could always come back to the original situation working with the factory app.
Have a nice day
Patou

Maybe the sd card slot is not working.

If you want to solve definitively this problem you need to connect a serial cable.

Hello
Return from vacation and format the sd card on the camera and not on the pc and it works
Thanks for your support

@torcuat here you have the backup bin file: mtdblock3.bin

Hi, anyway you can reupload the backup file? I think I bricked my cam. Thanks.

@torcuat here you have the backup bin file: mtdblock3.bin

Please can you share this backup file to me too? Many thanks

@torcuat here you have the backup bin file: mtdblock3.bin

Please can you share this backup file to me too? Many thanks

Here you go mtdblock3.bin

@torcuat here you have the backup bin file: mtdblock3.bin

Please can you share this backup file to me too? Many thanks

Here you go mtdblock3.bin

Many many thanks!!!

Hi,
could someone please re-share mtdblock3.bin? The links above are unfortunately no longer active. I, on the other hand, have a problem of a different kind but releated to topic camera. The 9FUS camera after about a month of work disconnected from the wifi network. After that, I noticed that every 1min you can hear the characteristic whir of a relay turning on inside camera. I restore factory settings - it did not help. After connecting the UART to the camera, I noticed that the restart is taking place because the wlan0 interface is missing (logs below). The camera goes into an endless reboot loop. I think this is the reason for the malfunction and a proper home directory backup will help. Thanks in advance!!
--------------------------insmod sound--------------------------
[    3.339756] --->sunxi_daudio_dev_probe<--- strat.
[    3.345508] --->sunxi_daudio_dev_probe<--- end.
--------------------------insmod sensor--------------------------
[    3.791461] 8189fs: section 3 reloc 8406 sym 'sprintf': relocation 10 out of range (0xbf871024 -> 0xc00fe0df)
[    3.823386] 8189fs: section 3 reloc 8406 sym 'sprintf': relocation 10 out of range (0xbf94d024 -> 0xc00fe0df)
insmod: can't insert '/home/base/wifi/8189fs.ko': invalid module format
ifconfig: SIOCGIFFLAGS: No such device

dispatch.c(get_config-1256)[00:00:09.249]:got sn(3wYr8mz5u7cxGbzTkQjrhO6pzh2cqcMI)

dispatch.c(get_config-1257)[00:00:09.249]:got pwd()

dispatch.c(get_config-1258)[00:00:09.249]:got ssid()

dispatch.c(get_config-1259)[00:00:09.249]:got tnp_init_string()
hue, start_with_reset = 1 @get_config()->g_sysconf.ssid == 0

dispatch.c(get_config-1267)[00:00:09.249]:reset because no wifi config

I have the same problem. My YICAM restarts constantly. I tried version 0.2.6->0.3.1. Has anyone solved this problem yet?

authors: Fluke1975 Ppatou bustamantemarlon meyomey nghetienhiep pablitofernandez pablofernandez-deusto pieter487 roleoroleo torcuat


text:
Add ability to mark DA included using inclusion proofs

Currently, the DA included field for a rollup block is only updated once a node sees it on the DA layer by scraping the DA layer itself.
However, this isn't ideal always especially when a new rollup full node is syncing from scratch after the DA layer has pruned the rollup block data. We should add the ability to mark rollup blocks DA included also if a DA inclusion proof is received so rollup full nodes do not run into this problem.

Related: https://github.com/rollkit/rollkit/issues/1214

repo: rollkit/rollkit


text:
Optional installs not well implemenented

Currently there is an optional install for schism that installs pyschism. If you don't install this, the whole package currently fails. This is due to the fact that SCHISMConfig is imported as an option for ModelRun.
CONFIG_TYPES = Union[BaseConfig, SwanConfig, SwanConfigComponents, SchismCSIROConfig]
The solution will be to make this list dynamic based on available imports

Fixed with with https://github.com/rom-py/rompy/commit/a4cfbd8ae7d71f4beed0f99919df970e7d37a4bf

repo: rom-py/rompy


text:
feat : Added Slider

Default slider

Loved the feature of slider, good to merge!

Thankyou :)

repo: romabulani/MuffinUI


text:
inconsistent slashes in rake-db generated table definitions (windows)

on windows here is an example generated definition file after db migrations are run.
import { orchidORM } from 'orchid-orm';
import { Expansion } from './definitons\tables\expansion.table';
import { Region } from './definitons\tables\region.table';
import { Realm } from './definitons\tables\realm.table';
import { Ingame_icon } from './definitons\tables\ingame_icon.table';
import { Achievement } from './definitons\tables\achievement.table';

export const db = orchidORM(
  {
    databaseURL: 'postgres://postgres:postgres@localhost:5432/wowtrackdev',
    ssl: false,
  },
  {
    expansion: Expansion,
    region: Region,
    realm: Realm,
    ingame_icon: Ingame_icon,
    achievement: Achievement,
  }
);

I'm not sure if path names are still okay but at first glance '\' may cause some headaches?

Cool, you have even tested code generation!
Yes, that's a bug, need to fix

By the way, there is also a command to generate migrations from existing db:
npm run db pull

I just added it to the docs.

Update is released for this issue, now it should write correct slashes on windows

authors: bonesoul romeerez

repo: romeerez/orchid-orm


text:
Consider changing governance voting rules to be private

Right now the GOVERNANCE.md section for core contributor induction says this about voting:

New core contributors will be decided based on a vote conducted in the #contributors-private Discord channel.

Upon further reflection, having the vote done in public can result in people not wanting to voice their dissent or disapproval.
Should we change this to instead require messaging a steward (only me right now) to place a vote? This should be for both yes and no. This also adds some anonymity if the vote fails.

I agree that votes should be made in private. I also think that the subjective aspect of messaging a steward vs. using a private voting bot adds a necessary human element.

@romefrontend/core-contributors Anyone want to draft a PR? Final decision/approval can be made there.

authors: bitpshr sebmck

repo: romefrontend/rome


text:
!perf: Use string for iteration and error reporting

The string type is smaller than a []byte and can be copied much faster. Copying structs <= 32 bytes on modern 64-bit systems is essentially free whereas Error[[]byte] is 40 bytes wide
making jscan work faster with string than with []byte. This PR eliminates the overhead at the cost of backward compatibility improving performance by about 14%.

👎🏻 This change requires the use of unsafe.
👎🏻 Requires backward incompatible changes to type Error:

Removed type parameter.
Removed field Src.

👍🏻 Slightly better performance overall.
👍🏻 Type Error is no longer required to be type-parameterized.

Benchmark results:
goos: darwin
goarch: arm64
pkg: github.com/romshark/jscan/v2
                                    │  main.bench  │        string-iterator.bench        │
                                    │    sec/op    │   sec/op     vs base                │
CalcStats/miniscule_1b__________-10    20.63n ± 0%   14.28n ± 0%  -30.80% (p=0.000 n=10)
CalcStats/tiny_8b_______________-10    27.84n ± 0%   25.92n ± 0%   -6.90% (p=0.000 n=10)
CalcStats/small_336b____________-10    311.8n ± 0%   317.2n ± 0%   +1.75% (p=0.000 n=10)
CalcStats/large_26m_____________-10    13.84m ± 0%   13.79m ± 0%   -0.35% (p=0.000 n=10)
CalcStats/nasa_SxSW_2016_125k___-10    115.4µ ± 0%   114.2µ ± 0%   -1.09% (p=0.000 n=10)
CalcStats/escaped_3k____________-10    1.399µ ± 0%   1.397µ ± 0%   -0.14% (p=0.000 n=10)
CalcStats/array_int_1024_12k____-10    13.83µ ± 0%   13.31µ ± 0%   -3.72% (p=0.000 n=10)
CalcStats/array_dec_1024_10k____-10    11.73µ ± 4%   11.91µ ± 7%        ~ (p=0.105 n=10)
CalcStats/array_nullbool_1024_5k-10    7.482µ ± 1%   7.480µ ± 1%        ~ (p=0.436 n=10)
CalcStats/array_str_1024_639k___-10    146.4µ ± 0%   146.2µ ± 0%   -0.15% (p=0.000 n=10)
Valid/deeparray_____________-10       15.680n ± 1%   4.966n ± 0%  -68.33% (p=0.000 n=10)
Valid/unwind_stack__________-10       15.665n ± 1%   4.966n ± 0%  -68.30% (p=0.000 n=10)
Valid/miniscule_1b__________-10       11.430n ± 0%   7.760n ± 0%  -32.11% (p=0.000 n=10)
Valid/tiny_8b_______________-10        17.38n ± 0%   16.76n ± 0%   -3.57% (p=0.000 n=10)
Valid/small_336b____________-10        236.2n ± 0%   225.9n ± 0%   -4.34% (p=0.000 n=10)
Valid/large_26m_____________-10        11.09m ± 0%   11.00m ± 0%   -0.80% (p=0.000 n=10)
Valid/nasa_SxSW_2016_125k___-10        85.25µ ± 0%   83.16µ ± 0%   -2.45% (p=0.000 n=10)
Valid/escaped_3k____________-10        1.387µ ± 0%   1.386µ ± 0%   -0.07% (p=0.001 n=10)
Valid/array_int_1024_12k____-10        9.135µ ± 1%   9.447µ ± 0%   +3.42% (p=0.000 n=10)
Valid/array_dec_1024_10k____-10        8.672µ ± 0%   8.661µ ± 0%        ~ (p=0.280 n=10)
Valid/array_nullbool_1024_5k-10        3.415µ ± 5%   3.243µ ± 4%   -5.04% (p=0.001 n=10)
Valid/array_str_1024_639k___-10        142.3µ ± 0%   142.4µ ± 0%        ~ (p=0.105 n=10)
Yo/bytes-10                                          13.04n ± 0%
Yo/string-10                                         12.89n ± 1%
geomean                                3.038µ        1.681µ       -13.86%

Alternatively, the error reporting can be changed to avoid needing Src in the first place.
The downside would be slightly less convenient error messages:
error at index 6: illegal control character

instead of:
error at index 6 (0x02): illegal control character

But this can still be replicated by the API user if necessary.

repo: romshark/jscan


text:
Add new AI assisted contact form project

Feel free to suggest and ask anything if you facing any issue in this commit 😄

Merging, Star the repo if you like it.


text:
豆瓣frodo失效，不能直接查询imdb编号

PT 助手版本:1.51

PT 助手安装方式：（市场安装，或zip包安装）zip

浏览器名称及版本：chrome

浏览器是否安装了其他插件：是

停用其他插件后是否正常工作：是

问题描述：豆瓣frodo失效，不能直接查询imdb编号

相关截图：

重现步骤：

说实在的，frodo接口关掉（更正，目前情况不明）之后，
豆瓣唯一一个开放的就  https://movie.douban.com/j/subject_suggest?q=${query}
然而这个接口虽然能传入query为imdb编号形式，并不能从response中直接获得imdb编号，而且返回信息也有限。

@Rhilip 通过subject_suggest拿到豆瓣id后，可以通过这个接口https://movie.querydata.org/api?id=1302425 拿豆瓣信息。
项目地址：https://github.com/iiiiiii1/douban-imdb-api。作者应该还在维护。

@techmovie 不会考虑走第三方接口

https://github.com/ronggang/PT-Plugin-Plus/discussions/984

authors: Cyberxxt Rhilip techmovie ted423

repo: ronggang/PT-Plugin-Plus


text:
AvistaZ 架构不支持

PT 助手版本:v1.5.2.f2e4f20
PT 助手安装方式：市场安装
浏览器名称及版本：Edge
浏览器是否安装了其他插件：97.0.1072.69
停用其他插件后是否正常工作：
问题描述：AvistaZ 架构不支持，不能搜索，也不能够推送。之前是能够搜索，不能推送，但是现在怎么样都不行了。

@starsjf

最新版本以及功能建议登录后从Action里获取。如有问题请参看Wiki
提Issue前请务必检查Dev版本

最新版本以及功能建议登录后从Action里获取。如有问题请参看Wiki
提Issue前请务必检查Dev版本

我是

@zexindai 扩展版本号都不对

@zexindai https://github.com/ronggang/PT-Plugin-Plus/issues/942

@zexindai 提Issue前请务必检查Dev版本、Pull Request以及之前的Issue

@zexindai #942

@zexindai 扩展版本号都不对

从action重新安装dev版© 栽培者 2022, 版本 v1.5.2.70f942a crx后已解决，感谢

我这里 dev版© 栽培者 2022, 版本 v1.5.2.70f942a 还是不行，az站搜索451，尝试定义站点搜索入口配置也会报错

删了重加试试

删了两回才正常，不知道为啥 😆

authors: HenryQW starsjf ted423 zexindai


text:
[Framework] Upgrade policies of Rooch framework

Discuss the upgrade policies of Rooch framework. Some related discussion before: #146 and #83 .
Two basic policies:  compatible, immutable.
The discussion is mainly about compatibility upgrading policy as we will definitely upgrade the framework.
There are two way to manage the upgrading process:

Multi-signature.
A two-phase upgrade policy coupled with the DAO system like Starcoin does.

Option 1 adopts a multi-signature approach, allowing for an upgrade once N-of-M signatures agree. It is convenient, flexible, and enables rapid iteration.
Option 2 allows for the involvement of a larger ecosystem of users, including end-users. But the upgrading process may be lengthy involving proposal, public disclosure, voting, and other lengthy processes.

We can support on-chain Multi-signature for option 1

We support UpgradeCap and also support Bitcoin native multisign accounts. The application can customise the upgrade policies based on UpgradeCap.

repo: rooch-network/rooch


text:
Set keep_attrs=True in call to SpatialAverager

Pull Request Checklist:

[x] This PR addresses an already opened issue (for bug fixes / features)

This PR fixes issue #199

[x] Tests for the changes have been added (for bug fixes / features)
[ ] Documentation has been added / updated (for bug fixes / features)
[x] HISTORY.rst has been updated (with summary of main changes)
[x] I have added my relevant user information to AUTHORS.md

What kind of change does this PR introduce?:
Feature

Does this PR introduce a breaking change?:
No

Other information:

@sol1105 Hi Martin, could you please review ?

I also do not see a use-case. Some of the global or variable attributes might be outdated after the operation (like cell_measures, cell_methods, grid, grid_label, history), but if required, that can be dealt with at a later time.

Merging this as discussed with @huard on Slack.

authors: agstephens huard sol1105

repo: roocs/clisops


text:
🛑 TROJAN 🇳🇱 Netherlands NLB 1 is down

In 7104361, TROJAN 🇳🇱 Netherlands NLB 1 (https://nlt-1.opensvr.net/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: TROJAN 🇳🇱 Netherlands NLB 1 is back up in 3b1fcc8.

repo: roosterkid/opentunnel-status-server


text:
🛑 V2RAY 🇭🇰 Hong Kong HKM 1 is down

In 061683b, V2RAY 🇭🇰 Hong Kong HKM 1 (https://hkv-1.openv2ray.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: V2RAY 🇭🇰 Hong Kong HKM 1 is back up in c3579a8.


text:
🛑 TROJAN 🇩🇪 Germany DEH 1 is down

In dd740e2, TROJAN 🇩🇪 Germany DEH 1 (https://det-1.opensvr.net/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: TROJAN 🇩🇪 Germany DEH 1 is back up in 8f8bb17.


text:
🛑 V2RAY 🇺🇸 United States USF 3 is down

In 3a984f5, V2RAY 🇺🇸 United States USF 3 (https://usv-3.openv2ray.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: V2RAY 🇺🇸 United States USF 3 is back up in ac47a9d.


text:
🛑 XRAY 🇸🇬 Singapore SGO 2 is down

In 20296cb, XRAY 🇸🇬 Singapore SGO 2 (https://sgx-3.openv2ray.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: XRAY 🇸🇬 Singapore SGO 2 is back up in 770352c.


text:
🛑 V2RAY 🇱🇻 Latvia LVH 1 is down

In f8ac86d, V2RAY 🇱🇻 Latvia LVH 1 (https://lvv-1.openv2ray.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: V2RAY 🇱🇻 Latvia LVH 1 is back up in e5f3529.


text:
🛑 V2RAY 🇩🇪 Germany DEH 1 is down

In 6c4621d, V2RAY 🇩🇪 Germany DEH 1 (https://dev-1.openv2ray.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: V2RAY 🇩🇪 Germany DEH 1 is back up in c684658.


text:
🛑 OVPN 🇸🇬 Singapore SGD 2 is down

In 27a1dc5, OVPN 🇸🇬 Singapore SGD 2 (http://sgo-3.opensvr.net:8080/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: OVPN 🇸🇬 Singapore SGD 2 is back up in f10a654.


text:
🛑 XRAY 🇺🇸 United States USF 1 is down

In 45d8066, XRAY 🇺🇸 United States USF 1 (https://usx-1.openv2ray.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: XRAY 🇺🇸 United States USF 1 is back up in ed8ea33.


text:
🛑 SSH 🇸🇬 Singapore SGL 1 is down

In 1d49559, SSH 🇸🇬 Singapore SGL 1 (http://sgs-3.opensvr.net:8080/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: SSH 🇸🇬 Singapore SGL 1 is back up in 4ff7064.


text:
🛑 TROJAN 🇸🇬 Singapore SGP 1 is down

In 9f24664, TROJAN 🇸🇬 Singapore SGP 1 (https://sgt-2.opensvr.net/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: TROJAN 🇸🇬 Singapore SGP 1 is back up in 670d85a.


text:
🛑 TROJAN 🇸🇬 Singapore SGO 1 is down

In 1795089, TROJAN 🇸🇬 Singapore SGO 1 (https://sgt-2.opensvr.net/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: TROJAN 🇸🇬 Singapore SGO 1 is back up in bc362f1.


text:
can't access CLN (or LND) Wallet after failed 1.8rc2 upgrade attempt

I had a running system on 1.7.2, CLN 0.12 and tried to update to 1.8rc2. The upgrade went fine until the system got stock on first fresh reboot and an never ending Lightning Progress: Prepare Sync Loop. Couldn't find a solution, so I tried to switch back to my old 1.7.2 SD Card.
But CLN did not start anymore: "ModuleNotFoundError: No module named 'tqdm'" and some other errors, probably the same as now (see below)
then I created a CL-RESCUE File, upgraded again to 1.8rc2, tried a fresh install, kept the blockchain and recovered from CL-RESCUE
... in the process, the system got stuck on "Preparing Provisioning". Also the "keep blockchain" part was way too quick, seems as it did not erase the SSD.
So, I installed 1.7.2 again and repeated the fresh install, keep blockchain and restore vom CL RESCUE part.
Now I have a running node with CLN and LND not starting:
admin@10.0.0.70:~ ₿ sudo journalctl -u lightningd
-- Journal begins at Fri 2022-01-28 03:21:52 GMT, ends at Fri 2022-07-01 21:55:16 BST. --
Jul 01 17:49:07 raspberrypi systemd[1]: Starting c-lightning daemon on mainnet...
Jul 01 17:49:07 raspberrypi cl.check.sh[829551]: chmod: cannot access '/home/bitcoin/.lightning/bitcoin/lightning-rpc': No s>
Jul 01 17:49:07 raspberrypi systemd[1]: Started c-lightning daemon on mainnet.
Jul 01 17:49:10 raspberrypi sh[829743]: Traceback (most recent call last):
Jul 01 17:49:10 raspberrypi sh[829743]:   File "/home/bitcoin/cl-plugins-enabled/backup.py", line 10, in
Jul 01 17:49:10 raspberrypi sh[829743]:     from backend import Change
Jul 01 17:49:10 raspberrypi sh[829743]:   File "/home/bitcoin/cl-plugins-available/plugins/backup/backend.py", line 7, in
Jul 01 17:49:10 raspberrypi sh[829743]:     from tqdm import tqdm
Jul 01 17:49:10 raspberrypi sh[829743]: ModuleNotFoundError: No module named 'tqdm'
Jul 01 17:49:10 raspberrypi sh[829575]: lightningd: /home/bitcoin/.lightning/config line 39: grpc-port=4772: unrecognized op>
Jul 01 17:49:10 raspberrypi systemd[1]: lightningd.service: Main process exited, code=exited, status=1/FAILURE
Jul 01 17:49:10 raspberrypi systemd[1]: lightningd.service: Failed with result 'exit-code'.
Jul 01 17:49:10 raspberrypi systemd[1]: lightningd.service: Consumed 3.035s CPU time.
Jul 01 17:49:40 raspberrypi systemd[1]: lightningd.service: Scheduled restart job, restart counter is at 1.
Jul 01 17:49:40 raspberrypi systemd[1]: Stopped c-lightning daemon on mainnet.
Jul 01 17:49:40 raspberrypi systemd[1]: lightningd.service: Consumed 3.035s CPU time.
Jul 01 17:49:40 raspberrypi systemd[1]: Starting c-lightning daemon on mainnet...
Jul 01 17:49:40 raspberrypi cl.check.sh[834244]: chmod: cannot access '/home/bitcoin/.lightning/bitcoin/lightning-rpc': No s>
Jul 01 17:49:40 raspberrypi systemd[1]: Started c-lightning daemon on mainnet.
Jul 01 17:49:41 raspberrypi sh[834259]: Traceback (most recent call last):
Jul 01 17:49:41 raspberrypi sh[834259]:   File "/home/bitcoin/cl-plugins-enabled/backup.py", line 10, in
Jul 01 17:49:41 raspberrypi sh[834259]:     from backend import Change
Jul 01 17:49:41 raspberrypi sh[834259]:   File "/home/bitcoin/cl-plugins-available/plugins/backup/backend.py", line 7, in
Jul 01 17:49:41 raspberrypi sh[834259]:     from tqdm import tqdm
Jul 01 17:49:41 raspberrypi sh[834259]: ModuleNotFoundError: No module named 'tqdm'
Jul 01 17:49:41 raspberrypi sh[834246]: lightningd: /home/bitcoin/.lightning/config line 39: grpc-port=4772: unrecognized op>
Jul 01 17:49:41 raspberrypi systemd[1]: lightningd.service: Main process exited, code=exited, status=1/FAILURE
Jul 01 17:49:41 raspberrypi systemd[1]: lightningd.service: Failed with result 'exit-code'.
Jul 01 17:49:41 raspberrypi systemd[1]: lightningd.service: Consumed 2.411s CPU time.
Jul 01 17:50:11 raspberrypi systemd[1]: lightningd.service: Scheduled restart job, restart counter is at 2.
Jul 01 17:50:11 raspberrypi systemd[1]: Stopped c-lightning daemon on mainnet.
Jul 01 17:50:11 raspberrypi systemd[1]: lightningd.service: Consumed 2.411s CPU time.
Jul 01 17:50:11 raspberrypi systemd[1]: Starting c-lightning daemon on mainnet...
Jul 01 17:50:11 raspberrypi cl.check.sh[838100]: chmod: cannot access '/home/bitcoin/.lightning/bitcoin/lightning-rpc': No s>
Jul 01 17:50:11 raspberrypi systemd[1]: Started c-lightning daemon on mainnet.
Jul 01 17:50:12 raspberrypi sh[838115]: Traceback (most recent call last):
Anything I can do? I am thinking of a fresh install without CL-RESCUE first and then again from the already running system, maybe hsm_secret backup only. I know my peers, they could force close, at least that is something

the folder lightning-rpc does not exist
I tried
patch
config.scripts/cl-plugin.backup.sh off
sudo rm -rf /home/bitcoin/cl-plugins-available/plugins
config.scripts/cl-plugin.backup.sh on

Did a fresh Setup on 1.8rc2 now. Fresh LND Node, fresh CLN Node. As everything was set up I did a CL Backup Restore via CL Repair option.
Everything went fine, Node is running now. All channels and funds still there and accessable 😊

repo: rootzoll/raspiblitz


text:
Docs: export c-lightning-REST tls.cert (certificate.pem)

Currently LND has an 'Export' option under CONNECT > EXPORT to export macaroons & TLS.cert. When using CLN this option is not available.

CLN works differently. You might want to refer to the commando plugin documentation.

When connecting Zeus to my node it displays a macaroon. It also requests a certificate for verification.

Yes, that is for C-LightningREST
get it again from CONNECT - MOBILE - CLREST

Where can I get the TLS cert?

Where can I get the TLS cert?

it is shown as a QR code when you go through. CONNECT as well but you don't really need it.

I don't see a QR for it and it isn't mentioned anywhere either. (Going though ZEUS_CLREST option)

Revisiting this issue, there is no option to export the TLS cert to prevent MITM attacks.

For mainnet the file is under:
/home/bitcoin/c-lightning-REST/bitcoin/certs

extract it as a string:
cert=$(grep -v 'CERTIFICATE' /home/bitcoin/c-lightning-REST/bitcoin/certs/certificate.pem | tr -d '=' | tr '/+' '_-' | tr -d '\n')
echo ${cert}

generate a QRcode with the shortcut in the admin user:

qr ${cert}

Related docs: https://github.com/Ride-The-Lightning/c-lightning-REST#security

Curious are you planning to use it with Zeus (import to Android?) or please describe the use case.

Yes I am planning on importing it to Android for Zeus. When you scan the QR in Zeus it warns you to do this to prevent MITM. If I am not mistaken there were instructions in raspiblitz how to do this when I was using LND but not CLN. Thank you for the docs link.

It needs to be in DER format for Android to read the .crt file:
# convert to DER format
sudo -u bitcoin openssl x509 -outform der -in  /home/bitcoin/c-lightning-REST/bitcoin/certs/certificate.pem -out  /home/bitcoin/c-lightning-REST/bitcoin/certs/certificate.crt

Did not find a good way yet to transfer the file remotely. The QRcode does not work with binary and Tor is too broken for onionshare.

authors: benjamin-wilson openoms


text:
curl hangs if target is not available

Add some flags to curl:
-f, --fail          Fail silently (no output at all) on HTTP errors
-S, --show-error    Show error even when -s is used
-m, --max-time <seconds> Maximum time allowed for the transfer

good improvement. thx.

+cp into dev

authors: ChuckNorrison rootzoll


text:
invalid Credentials every time

Hey ropnop, first of all awesome tool, and I love that you've re-written it in Go! I've run into an issue today that I'm stumped by. I'm trying to run the simple module queries like admin-objects against a domain controller in the lab environment. I have 2 separate working sets of valid domain user credentials, and have confirmed they're valid through other tools (rpcclient, crackmapexec, ldapdomaindump, etc), yet I keep getting invalid Credentials upon every query attempt. Sample commands:
windapsearch --dc dc01.lab.local -u <user> -p <password> -m admin-objects
windapsearch --domain lab.local -u <user> -p <password> -m admin-objects
I followed the instructions on building the project with mage and ran into no issues on that front. Any idea on why this would be happening?

Hey thanks! Hmm that’s strange. A few questions:
What format are you providing the username in? Is it “user@domain.com” ? Are there any special characters in the password? Can you try running it with verbose and debug options on and share the output?
It’s really interesting that ldapdomaindump works but windapsearch doesn’t. I’d love to get to the bottom of this. If possible, if you could get a wireshark capture of the LDAP bind failing that would be really helpful too!

Ah, this is embarrassing, I didn't realize the username format needed to be user@domain.com. I was just doing username. Running it with the corrected format seems to have done the trick and it's working flawlessly now.
Thank you!

Heh, no worries. I guess it doesn’t make sense to require that part of the username when the domain is given. I’ll change that in the next version so either should work!

@ropnop Hello
Getting invalid Credentials error everytime. sudo ./windapsearch.py  --dc-ip 192.168.142.135 -u mydomain.local\user -p Password@1 -U tried both user@domain.com and domain\user format nothing works.

authors: b1gbroth3r hkrsanjeet ropnop

repo: ropnop/go-windapsearch


text:
Open Source RobotWare Addin

Would it be possible to open source the RobotWare Adding as well? I'm currently trying to adapt the driver for the Omnicore Platform and have now the problem, that the driver checks for the installed addin. But currently the adding is not available for RW7.

I reimplemted it by myself for a simple test-run. You can find it here https://github.com/herrvonregen/statemachine_add_in_rw7


text:
cmake file from new version of shiboken2 does not set SHIBOKEN_BINARY any more

At least for shiboken2 v5.13.0, cmake file set target Shiboken2::shiboken2, not variable SHIBOKEN_BINARY any more.
In shiboken_helper.cmake, we should detect and then choose to use ${SHIBOKEN_BINARY} or Shiboken2::shiboken2 correspondingly.
Workaround for users with this issue: change ${SHIBOKEN_BINARY} to Shiboken2::shiboken2 in shiboken_helper.cmake.

Please consider to contribute a pull request to address this.

@dirk-thomas Is the MR #77 okay? It should fix the issue and be compatible with older Shiboken versions.

authors: MikeChou dirk-thomas no-preserve-root


text:
Unit tests broken since 0.9.10

Hi,
The unit tests are broken since https://github.com/ros/catkin/commit/11217b3acf661133427345871b2cea756349e614. Steps to reproduce:
git clone https://github.com/ros/catkin
mkdir catkin/build
cd catkin/build
cmake ..
make test

I will try to look into it next week.

Want to back this issue? Place a bounty on it! We accept bounties via Bountysource.

I just found out that this was due to catkin 0.6.9 in my paths. Also, that should be a 0.6.10 in the title, sorry.

repo: ros/catkin


text:
Change Heifu branch for documentation and source

Is it possible to change this information using the bloom-release command?

Not sure. Maybe Bloom needs to bump the version?
I think this is okay, but I'll let @jacobperron say for sure.

Not sure. Maybe Bloom needs to bump the version?
I think this is okay, but I'll let @jacobperron say for sure.

authors: BV-OpenSource mabelzhang

repo: ros/rosdistro


text:
Add python3-pyopt-pip

Please add the following dependency to the rosdep database.
Package name:
pyotp
Package Upstream Source:
https://github.com/pyauth/pyotp
PIP: https://pypi.org/project/pyotp
Purpose of using this:
This dependency is being used to create one time passwords in python
Distro packaging links:
Links to Distribution Packages
https://pypi.org/project/pyotp

Debian: https://packages.debian.org/

PIP: https://pypi.org/project/pyotp

Ubuntu: https://packages.ubuntu.com/

PIP: https://pypi.org/project/pyotp

Fedora: https://packages.fedoraproject.org/

PIP: https://pypi.org/project/pyotp

macOS: https://formulae.brew.sh/
-PIP: https://pypi.org/project/pyotp

python3-pyotp seems to be available for most of the distros suggested as a system package https://pkgs.org/search/?q=pyotp. As a general rule, when there is a system package we encourage the use of it over the pip dependency and to avoid ABI problems the pip tag is not included in the rosdep files.
You're more than welcome to send a PR adding the system packages to the relevant distros.

Thank you, I  will re-submit with the system packages.

authors: lennewbrook marcoag


text:
Possible repeated items in cross compiling article

In cross compiling article, looks like there are some repeated items about using  ONLY
https://github.com/ros2/ros2_documentation/blame/master/source/Tutorials/Cross-compilation.rst#L58
I guess you also want to introduce BOTH?

Please consider to provide a pull request to address the problem you have identified.


text:
Graphs without labels

Some graphs in the notebook tutorial are plotting without axis labels. @juvianna could point them out.

PR #178 closes this issue

repo: ross-rotordynamics/ross


text:
Output folder

Closes #34.

Coverage increased (+0.26%) to 90.34% when pulling 04da56a028934762def70304a9f6297a3ea9befa on output-folder into 83d1f66aff1eef00866cc92d9d50abe538496e30 on master.

authors: coveralls rossant

repo: rossant/ipymd


text:
Notation on multiple elements?

Great thanks for this awesome library! 🎉
In my project, I want to add a notation on multiple elements. However, it would generate multiple notations. An example below
My HTML:

  I would like to add
  a notation here.

And I want to add only one notation on the last two span elements. How can I make this?

You could create a span around the two spans, or create an animation group.
const config = { type: 'underline', color: 'red' };
const a1 = annotate(span1, config);
const a2 = annotate(span2, config);

const ag = annotationGroup([a1, a2]);
ag.show();

Does that solve your use case?

Thanks for your reply. Actually I'm trying to combine rough-notation with my library (which enables users to highlight some words on a website).
I have tried annotationGroup. But the notations are not visually continuous.

Beside, there is a case that creating a span around the two spans fails.
I would like to add a notation here.

When users want to highlighting the two i elements, I can't easily wrap them in one element.

My main concern is that if we allow multiple elements then I am not guaranteed that the elements are continuous or even have the same parent. They may also have margins between them. RoughNotation injects SVG relative to the element, but if there are multiple elements without a common parent it may get tricky where to inject the svg.  Also, what happens when the selected text spans multiple elements across multiple lines?
I am trying to consider when someone else comes along whose use case is different than yours, and they pass two elements, what are their expectations? what if those elements are not next to each other.
Anyways, now that I understand your use case, let me think about it a bit more.

authors: alienzhou pshihn

repo: rough-stuff/rough-notation


text:
App crashes with java.lang.IllegalStateException

Hi,
i'm currently using flutter_facebook_login 2.0.1. But for some user the app crashed when they try to login with facebook. This is the stack trace that we see in the google logs:
Caused by: java.lang.IllegalStateException:    at io.flutter.embedding.engine.dart.DartMessenger$Reply.reply (DartMessenger.java:124)   at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler$1.success (MethodChannel.java:204)   at com.roughike.facebooklogin.facebooklogin.FacebookLoginResultDelegate.finishWithResult (FacebookLoginResultDelegate.java:58)   at com.roughike.facebooklogin.facebooklogin.FacebookLoginResultDelegate.onCancel (FacebookLoginResultDelegate.java:43)   at com.facebook.login.LoginManager.finishLogin (LoginManager.java:703)   at com.facebook.login.LoginManager.onActivityResult (LoginManager.java:245)   at com.facebook.login.LoginManager$1.onActivityResult (LoginManager.java:174)   at com.facebook.internal.CallbackManagerImpl.onActivityResult (CallbackManagerImpl.java:92)   at com.roughike.facebooklogin.facebooklogin.FacebookLoginResultDelegate.onActivityResult (FacebookLoginResultDelegate.java:53)   at io.flutter.app.FlutterPluginRegistry.onActivityResult (FlutterPluginRegistry.java:222)   at io.flutter.app.FlutterActivityDelegate.onActivityResult (FlutterActivityDelegate.java:142)   at io.flutter.app.FlutterActivity.onActivityResult (FlutterActivity.java:142)   at com.chatetyamo.MainActivity.onActivityResult (MainActivity.java:40)   at android.app.Activity.dispatchActivityResult (Activity.java:6510)   at android.app.ActivityThread.deliverResults (ActivityThread.java:3710)
Could someone please help with this issue?
Best regards
Gervais

I'm getting the same issue.. only happens on release builds.. hope someone can fix

I'm getting the same issue.

anything update?

facing same issue resolve it please

+1


text:
Breaking Update in App Store - Deprecated UIWebView APIs. FBSDKLogin please upgrade 4.39.1 to 5.5.0

ITMS-90809: Deprecated API Usage - Apple will stop accepting submissions of apps that use UIWebView APIs . See https://developer.apple.com/documentation/uikit/uiwebview for more information
Change Log
5.5.0
2019-08-30 | Full Changelog
Changed
Replaced UIWebView with WKWebView as Apple will stop accepting submissions of apps that use UIWebView APIs
Added support for Catalyst
Fixed
Various bug fixes

@roughike Giving this a bump! :)

@eleomilagrosa PR #169 already exists to fix this.
Until it's merged in, you should be able to modify your pubspec.yaml to:
  flutter_facebook_login:
    git:
      url: https://github.com/roughike/flutter_facebook_login.git
      ref: 16ecb49

3.0.0 uses the latest SDKs and is pushed to Pub.

authors: chynnasevilleno cpboyd eleomilagrosa roughike


text:
🛑 Fossil based IRC Log is down

In 6b5ffc1, Fossil based IRC Log (https://rouilj.dynamic-dns.net/fossil/roundup_irc_logs/doc/trunk/log/roundup/) was down:

HTTP code: 503
Response time: 442 ms

Resolved: Fossil based IRC Log is back up in ae49bef.

repo: rouilj/RoundupAssets


text:
user can override x-powered-by header

fixes #27

As of now, the x_powered_by_post_middleware middleware is added as last middleware, that's why the user can't delete/update it. So, we only need to add this x_powered_by_post_middleware middleware as first post middleware, so that user can delete/overwrite this.

authors: NikosEfthias rousan

repo: routerify/routerify


text:
Question: obstacles

Hello,
This is probably a stupid question, but I have a project I'm working on where the grid obstacles change often and the grid map is shared with multiple agents. I don't want my agents to be able to walk through each other, so I need to be able to update my grid easily. I see there is an option to disconnect a node, which seems to make the position on the grid unusable, but is there anyway to add the same node back after you remove it?

Hey James,
You can use the Grid.AddEdge method to add a connection between two points again :).

Wow! How didn't I see that thanks so much

Haha it happens, no worries!

From: James Purvis @.>
Sent: Thursday, December 15, 2022 3:25:40 PM
To: roy-t/AStar @.>
Cc: Roy Triesscheijn @.>; State change @.>
Subject: Re: [roy-t/AStar] Question: obstacles (Issue #49)
Wow! How didn't I see that thanks so much
—
Reply to this email directly, view it on GitHubhttps://github.com/roy-t/AStar/issues/49#issuecomment-1353176682, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAEYIEV2XTEROMZOS4YXWS3WNMS6JANCNFSM6AAAAAAS7NKFRI.
You are receiving this because you modified the open/close state.Message ID: @.***>

authors: JamesPurvis roy-t

repo: roy-t/AStar


text:
🛑 Analytics is down

In e9c56ce, Analytics (https://shynet.anton.royletron.dev) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Analytics is back up in e5bd679.

repo: royletron/anton-uptime


text:
DndSidebar always floats to the bottom right / top left

In a twocolumn layout, it seems that the DndSidebar always floats to the bottom of the right column if given parameter [float=!b] or to the top left if given [float=!t].
Is there a way to float it to the bottom left, or the top right?

Please provide a Minimum Working Example (MWE), a .tex file that can be compiled against the class in place of the example.tex file, that demonstrates the problem. I am able to float DndSidebar to any corner, so this will help figure out what is going wrong for you.

Looks like it was solved by an update to 0.8.0, I was still on 0.7.1.

authors: BrianCriswell Hawke


text:
Update LibreSSL/OpenSSL compat shims

This adds annotations for the individual functions we currently need. We require LibreSSL 3.5.0 or later, which have X509_get_extension_flags(), so remove that. Add a compat implementation for OpenSSL_cleanup().

Interesting that x509.h was missing from noinst_HEADERS but make distcheck still worked.
This PR is fine please merge.

authors: botovq cjeker

repo: rpki-client/rpki-client-portable

license: ISC


text:
Can't get it to work at all

Hi there,
I hope you could help me out, because I just can't get this to work (I'm inexperienced with Angular).
My config is defined like this:
$stateProvider.state('articledetail', {
                url: 'articledetail/:article',
                templateUrl: '/articledetail/articleDetail.html',
                controller: 'articleDetailController',
                controllerAs: 'vm'
            }).state('articledetail.tab1', {
                url: '/tab1',
                templateUrl: '/articledetail/tab1.html'
            }).state('articledetail.tab2', {
                url: '/tab2',
                templateUrl: '/articledetail/tab2.html'
            }).state('articledetail.tab13', {
                url: '/tab3',
                templateUrl: '/articledetail/tab3.html'
            }).state('articledetail.tab4', {
                url: '/tab4',
                templateUrl: '/articledetail/tab4.html'
            });

            $stateProvider.state('error', {
                url: '/error',
                templateUrl: '/error/error.html'
            })

I'm moving to my articledetail state:
$state.go('articledetail', { 'article': article.itemNumber });

In the controller (articleDetaillController), I'm defining the tabs:
        vm.tabData   = [
            {
                heading: 'Algemene info',
                route:   'articledetail.tab1'
            },
            {
                heading: 'Info 2',
                route:   'articledetail.tab2'
            },
            {
                heading: 'Info 3',
                route:   'articledetail.tab3'
            },
            {
                heading: 'Info 4',
                route:   'articledetail.tab4'
            }
        ];

My articledetail.html:

    <tabs data="vm.tabData" type="tabs" />
    <form class="form-horizontal" name="editForm" novalidate>

                <button class="btn btn-primary pull-right" type="submit">Artikelgegevens aanpassen</button>

    </form>

The 4 tab html's contain content that should be loaded at the place of ui-view
It just doesn't work, that's all I can say. I'm not getting ANY error at all, the tabs are just not displayed (and I've confirmed vm.tabData exists in the view) and no tabs are loaded.
What am I doing wrong here?

See https://github.com/rpocklin/ui-router-tabs/tree/issues/29 for a working example based on your code.
Main problem was not declaring a parent route for the tabs, and I cleaned up the routing parameters a little (you can change this depending on your situation but this shows it working).
Hope it helps.

Closing due to inactivity.

I believe I had the same issue, I used <tabs data="vm.tabData" type="tabs" /> with no luck, but switched it to <tabs data="vm.tabData" type="tabs"></tabs> and it worked

Ahh yes.  That's a tricky one, and i've been stung by that before.  It's because, technically self-closing custom tags aren't a standard.  In Angular you should always close directive tags with a separate closing tag.  This is particular to Angular.js and nothing to do with this library.
Most browser won't complain so it gets 'hidden' but you don't get the functionality you are after!

authors: Bv202 lbialachowski-act rpocklin

repo: rpocklin/ui-router-tabs


text:
iOS fix for video not showing up

This is a fix for iOS video now showing up, as reported here https://github.com/rretamal/MauiVLC/issues/3

Thank you for your PR @m-kojic!

authors: m-kojic rretamal

repo: rretamal/MauiVLC


text:
Dahua DB11 Doorbell not able to connect

Version of the custom_component
0.5.0 (as mentioned in the manifest file)
Used Dahua Camera
Doorbell DHI-DB11
https://dahuawiki.com/Doorbell/DB11
Describe the bug
When trying to setup the DB11 Doorbell, the system can't accept the setup, as there is no port 80 (or no web interface at all) for this doorbell. There is an RTSP stream, you can login to the device with username and password. Also the Config Tool is able to configure the device as other Dahua camera's.
It would be nice if we are able to connect for the stream. Maybe even an event for a button push is possible.
Possible option
Connect the doorbell without the web interface requirement.

The DB11 has the same guts as the Amcrest AD110 doorbell which does connect.   Both lack a webUI, but both have a web server that respond to API calls over port 80 as well as RTSP.
There is already the ability for this custom integration to pass events to Home Assistant.   This allows HASS to trigger on both pixel change motion (VideoMotion)  and doorbell button press (CallNoAnswered) events.

authors: GaryOkie JSEHV

repo: rroller/dahua


text:
bug: build is called every-time any function from the provider is called

Describe the bug
After changing state of AutoDisposeAsyncNotifierProvider the value goes back to null. I am not sure if this is a bug or something I am doing wrong.
Using riverpod 2.1.1
To Reproduce
This is the provider code.
@riverpod
class SingleAddressController extends _$SingleAddressController {
  @override
  FutureOr<AddressInfo?> build() {
    return state.value;
  }

  Future<void> onSave(GlobalKey<FormState> formKey, context) async {
    log(state.value.toString()); // <--- Here value is null

    if (formKey.currentState!.validate() && !state.value.isNull()) {
      await ref.read(addressServiceProvider.notifier).addOrUpdateAddress(state.value!);
      Navigator.pop(context);
    }
  }

  void newAddressSetup() {
    final _uuid = ref.read(uuidProvider);
    ref.read(addressFormControllerProvider.notifier).clearSgLocateData();
    state = AsyncData(AddressInfo(addressId: _uuid.v4()));
  }

  void updateAddressDetails(AddressInfo address) {
    state = AsyncData(state.value!.updateAddressDetails(address));
  }
}

I am calling the newAddressSetup before going to the page. But the value always resets back to null.
       onPressed: () {
          ref.read(singleAddressControllerProvider.notifier).newAddressSetup();
          Navigator.of(context).push(AddOrEditAddressView.route(false));
        },

Expected behavior
I am trying to set up an address before I go to the AddOrEditAddressView and when onSave is called, it will save the address to my database.

This is not a bug. It’s the expected behavior.
You might need to check https://github.com/rrousselGit/riverpod/issues/1329 for more details and alternative solutions.

repo: rrousselGit/riverpod


text:
Feature: pass Offset as argument when playing

Start playing an audiobuffer with a certain offset. The native api supports it on start. Is it difficult to introduce this parameter on play? What do you think?

If it's in the native API, it shouldn't be hard to implement on play, but I haven't tried to implement it. It would probably weird to use offset in combination with a volume envelope, though I'm not sure if anyone would want to do that anyway.

I was digging deeper in the source today and now I understand what you mean. The use case is to start playback and dynamically stop it or start with an offset. As I understand the asdr envlope is not usable for this scenario, so there should be a kind of "dynamic" mode, where stop is not scheduled in startEnv but controlled from outside.

I just added an offset parameter to the constructor and the play() method that allows you to play an audio clip starting from partway through the clip.

repo: rserota/wad


text:
[rx adapter] Requester.requestChannel - No actual subscription until first requester emission

Expected Behavior
client -> .requestChannel
server -> receives .requestChannel
server -> sends message 1
client -> receives message 1
client -> sends message 2
server -> receives message 2
Actual Behavior
client -> .requestChannel
client -> sends message 1
server -> receives .requestChannel
Possible Solution
This looks intentional, there is some extra logic to do this in the code but I don't know why it is done this way. Receiving message before sending them sounds like a perfectly valid use case for me.
https://github.com/rsocket/rsocket-js/blob/c6d6c4712fc137e3f1c5e5f9105936cdef83e5ca/packages/rsocket-adapter-rxjs/src/Requesters.ts#L133-L159
Why is this done? Wouldnt be better to subscribe right away, even if there is no initial payload?

RSocket version(s) used:

"rsocket-adapter-rxjs": "1.0.0-alpha.2",
"rsocket-core": "1.0.0-alpha.1",

Hi @MarcoScabbiolo!
This is indeed intentional. As per spec, the Request_Channel frame carries the first payload with it (metadata from which we extract route as well as data, thus we await the first element before initiating the call.
Technically, you can overcome that problem by sending an empty data element.
Alternativelly, we can technically introduce an overloaded method with first element as a parameter, so it can be null. In that case, you may have REQUEST_CHANNEL frame sent upon subscription without the wait for the first element.

authors: MarcoScabbiolo OlegDokuka

repo: rsocket/rsocket-js


text:
Make wording more accurate.

The existing wording was confusing for this situation:

You have two specs, a and b.
Spec a always fails.
Spec b fails only if a runs first.

In such a situation, your failures are order dependent,
but our bisector printed "failure is not order dependent",
which was quite confusing. The new wording,
"failures(s) do not require any non-failures to run first"
is more accurate.

:+1:

authors: JonRowe myronmarston

repo: rspec/rspec-core


text:
Fix broken link at README

Links are broken when rendered on github.
I used link to rubydoc instead of relative path.

Thanks for the fix, but these need to be relative in both http://rubydoc.info/github/rspec/rspec-expectations and http://rubydoc.info/gems/rspec-expectations, so a hard link won't work. I'm not sure what the right solution is yet, other than not including any links in the README. Any ideas?

Thx for your checking and explanation. :)
I have no ideas about it..

authors: dchelimsky imaz

repo: rspec/rspec-expectations


text:
Bring RSpec current with rails 5 beta 3

Biggest issue here is a regression introduced in the rails controller
testing gem which forces us to do a require of
action_controller/metal/rendering in order to not give a NameError
when booting our test app.

This closes #1571, right?

Also, I think the require issue just got fixed on Rails master: https://github.com/rails/rails/commit/12cce89c89b48b15dcf2fcdb41feaaa5b7c06991

@bquorning I worked with @sgrif from rails core on this, so it's likely they've got patches.

I think, if you rebase on master (after #1571) you’ll have just 1 failing spec.

@bquorning I've just pushed a rebased version of this. Let's see what happens.

Yes, there is now one spec example failing:
Failures:
  1) Action Mailer railtie hook in the development environment respects a custom `preview_path`
     Failure/Error:
       expect(
         capture_exec(
           custom_env.merge('CUSTOM_PREVIEW_PATH' => '/custom/path'),
           exec_script
         )
       ).to eq('/custom/path')

       expected: "/custom/path"
            got: #<struct CaptureExec io="/home/travis/build/rspec/bundle/ruby/2.2.0/gems/rb-inotify-0.9.7/lib/rb-inot...d/rspec/rspec-rails/tmp/example_app/spec/support/default_preview_path:9:in `<main>'", exit_status=0>

       (compared using ==)

       Diff:
       @@ -1,2 +1,2 @@
       -"/custom/path"
       +"#<struct CaptureExec io=\"/home/travis/build/rspec/bundle/ruby/2.2.0/gems/rb-inotify-0.9.7/lib/rb-inot...d/rspec/rspec-rails/tmp/example_app/spec/support/default_preview_path:9:in `<main>'\", exit_status=0>"

     # ./spec/verify_mailer_preview_path_spec.rb:62:in `block (3 levels) in <top (required)>'

Running specs locally while bisecting the Rails repository, it seems that https://github.com/rails/rails/commit/de6ad5665d2679944a9ee9407826ba88395a1003 is the first offending commit. And sure enough, commenting out config.file_watcher = ActiveSupport::EventedFileUpdateChecker from the generated config/environments/development.rb in our example app makes the spec pass.
Maybe just add one line to our example_app_generator/generate_action_mailer_specs.rb?
comment_lines 'config/environments/development.rb', /file_watcher/

Note: I haven’t investigated why that particular line causes the rspec-rails mailer specs to fail.

…or just use the --skip-listen flag when creating the example app – see https://github.com/rails/rails/commit/94dbc48887bf39c241ee2ce1741ee680d773f202

@rspec/rspec can I get a review on this?

:heart

Most of this can/should be reverted once Rails 5.0.0 is out, right?

@bquorning we'll assess which parts of it are necessary when the release candidate drops.

authors: JonRowe bquorning samphippen

repo: rspec/rspec-rails


text:
plugin support

Add plugins bool (intended for root command) to enable implicit embedding of [spec.name]-plugin completion (e.g. cargo-fmt, git-extras).
name: example
plugins: true

Or should this be the default?

Additional specs using dot as delimiter might be a good way.
example.pluginA.yaml
gh.dash.yaml
No specific config required and plugin are registered implicitly.

repo: rsteube/carapace-spec


text:
ESP32: Unable to reconnect to wifi

Hardware
ESP32
Firmware version
v2.4.1
Application version
v2.4.1
What happened? What did you expect to happen?
When I restart my router or there is a power cut, then the device is not able to reconnect to wifi.
How to reproduce it (step by step)
1. power cut
2. wait for the router to restart and offer wifi services
3. verify that the device doesn't reconnect

Logs
No response

Is the AP available when this occurs?

Is the AP available when this occurs?

Need to check

@chemelli74 I did some work to better recover from a condition where there is a power cut and the router is not ready to accept connections yet in v2.4.3.  In some cases it was possible to get the SSID to appear and start the connection but still never get an IP address from the network.   In essence it would indicate it was connected but without any registered IP address.
I have detected this condition and bumped the Arduino core which fixes the premature connection reporting.  v2.4.3 will be going to general release this weekend.

Thx, will update and report back at the first occurrence

I am going to close this for now as I do believe I replicated your issue and found where it was being reported as connected although there was no IP address.

repo: rstrouse/ESPSomfy-RTS

license: Unlicense


text:
saveAsImage option in toolbox does not seem to work/be supported

"@rsuite/charts": "5.1.0",
"echarts": "^5.3.3"
I am currently trying to add a saveAsImage button and it does not seem to be working.
Here is my configuration:
        <LineChart
            data={seriesData.map(([date, ...s]: any[]) => [date, ...s.map((v: string) => parseFloat(v))])}
            option={{
                title: {
                    text: title,
                    left: -5,
                    top: 5,
                    textStyle: {
                        color: TextColors.Subtle.getColorString(),
                        fontWeight: 300,
                        fontSize: 14,
                    },
                },

                grid: {
                    left: 0,
                    top: 50,
                    right: 0,
                    bottom: 20,
                },
                legend: {
                    top: 5,
                    right: 10,
                },
                xAxis: {
                    axisLine: { show: false },
                    splitLine: { show: false },
                },
                yAxis: {
                    axisLine: { show: false },
                    splitLine: { show: false },
                    min: 0,
                    max: 100,
                },
                toolbox: {
                    show: true,
                    feature: { saveAsImage: { show: true, title: title, type: 'png' } },
                },
            }}
        >
            {series.map((_s, i) => {
                return (
                    <Line
                        symbol={'circle'}
                        yAxisIndex={i}
                        symbolSize={10}
                        name={legend.name}
                        key={generateId('line-graph')}
                    />
                );
            })}
        </LineChart>

Going to close as I found a solution. The logs warn you if you have not enabled ToolboxComponent at echarts level.
So all I had to do was:
import * as echarts from 'echarts';
import { ToolboxComponent } from 'echarts/components';
echarts.use([ToolboxComponent]);

This is not related to rsuite echarts but might be useful for people that stumble across similar issue

repo: rsuite/charts


text:
Custom Format objects

Let users pass a callable (derive placeholders based on what has defaults?). How to distinguish from old-style formats in config?
E.g.
def my_format(id, name, is_nice=None) -> str:
    s = f"{id}:{name}"
    if is_nice is not None:
        s += f":{is_nice}"
    return s

Would be equivalent to Format("{id}:{name}[:{is_nice}]").

Effect on complex formats (implicit joins with other tables)?
https://github.com/rsundqvist/id-translation/blob/master/tests/dvdrental/test_complex_format.py

repo: rsundqvist/id-translation