Codesandbox - change language - codesandbox

Is there any way to change language in Typescript error popup messages in codesandbox?
Below error message is in PL
But when I hover HTML error, I am getting error in EN language:
Note that error ts(2531) is in PL

This was an error before but has been fixed in prod, checking as of today, this issue should be gone.

Related

facebook feed page plugin error: Uncaught SyntaxError: Unexpected token ':'

I am trying to display a simple facebook feed on a website using page plugin
But I keep getting the following error. Does anyone know what it means? and perhaps any way to resolve it?
Uncaught SyntaxError: Unexpected token ':'
at a (f1ExCm8DHSA.js?_nc_x=Ij3Wp8lg5Kz:254:358)
at a.c._inlineJS (f1ExCm8DHSA.js?_nc_x=Ij3Wp8lg5Kz:255:1551)
at b (f1ExCm8DHSA.js?_nc_x=Ij3Wp8lg5Kz:255:1002)
at xyCIQCGmYe4.js?_nc_x=Ij3Wp8lg5Kz:14:3616
at Array.forEach (<anonymous>)
at j (xyCIQCGmYe4.js?_nc_x=Ij3Wp8lg5Kz:14:3596)
at Object.appendContent (xyCIQCGmYe4.js?_nc_x=Ij3Wp8lg5Kz:14:2032)
at Object.setContent (xyCIQCGmYe4.js?_nc_x=Ij3Wp8lg5Kz:14:1880)
at b.<anonymous> (Miz6oWqAvcL.js?_nc_x=Ij3Wp8lg5Kz:39:2329)
at ug (Miz6oWqAvcL.js?_nc_x=Ij3Wp8lg5Kz:59:58919)
at Sj (Miz6oWqAvcL.js?_nc_x=Ij3Wp8lg5Kz:59:118576)
at Rj (Miz6oWqAvcL.js?_nc_x=Ij3Wp8lg5Kz:59:118136)
at Qj (Miz6oWqAvcL.js?_nc_x=Ij3Wp8lg5Kz:59:117671)
at Ok (Miz6oWqAvcL.js?_nc_x=Ij3Wp8lg5Kz:59:127937)
at Nk (Miz6oWqAvcL.js?_nc_x=Ij3Wp8lg5Kz:59:127252)
at Ak (Miz6oWqAvcL.js?_nc_x=Ij3Wp8lg5Kz:59:123724)
at Wf (Miz6oWqAvcL.js?_nc_x=Ij3Wp8lg5Kz:59:52973)
at tk (Miz6oWqAvcL.js?_nc_x=Ij3Wp8lg5Kz:59:120748)
at Object.enqueueSetState (Miz6oWqAvcL.js?_nc_x=Ij3Wp8lg5Kz:59:59325)
at b.a.setState (Miz6oWqAvcL.js?_nc_x=Ij3Wp8lg5Kz:58:1753)
at Miz6oWqAvcL.js?_nc_x=Ij3Wp8lg5Kz:39:2237
at AsyncRequest._dispatchResponse (x9ZrO_yAkJs.js?_nc_x=Ij3Wp8lg5Kz:16:6351)
at Object.applyWithGuard (f1ExCm8DHSA.js?_nc_x=Ij3Wp8lg5Kz:58:9980)
at AsyncRequest.c (f1ExCm8DHSA.js?_nc_x=Ij3Wp8lg5Kz:58:10684)
at x9ZrO_yAkJs.js?_nc_x=Ij3Wp8lg5Kz:15:84
at e (f1ExCm8DHSA.js?_nc_x=Ij3Wp8lg5Kz:322:291)
at Object.applyWithGuard (f1ExCm8DHSA.js?_nc_x=Ij3Wp8lg5Kz:58:9980)
at d (f1ExCm8DHSA.js?_nc_x=Ij3Wp8lg5Kz:296:2252)
I was having this problem too and much like most responses, I was cracking my brain figuring where is the problem coming from. The source in console didn't really have any errors, but yet it reported as error.
After some detailed testing, I realized that if I include the timeline parameter in the tabs section, then I get this error. As soon as I removed it, the error disappeared. Probably the semicolon is coming from the feed or something. Might help someone else having this problem.

wrong place for wavy-underline errors and warnings in VS Code

In the python files of VS Code, the error and warnings wavy-underline are shown but under wrong place.
For example, instead of underlining the exact error, it underlines a comment and shows the message of that error when the mouse pointer hovers over the comment. However, the intellisense is fine as the correct hint would appear correctly.
What I have tried : I tried to search through the setting section, but I haven't found the related setting
In where can I fix this wrong placement of error and warnings underline ?
ps 1 : I also notice most of the warning message are related to torch,for example
an error is which I suspect might be related :
torch has no sum member
then I found this https://github.com/pytorch/pytorch/issues/1942, and add torch correspondingly and it seems the error has gone.

An invalid or illegal selector was specified - Protractor code issue

I have written the xpath in the below format for selecting the country from the dropdown, but getting the error as mentioned in the title.
sendKeys(undefined,
element(by.xpath("
.//*[#id='/declaration/parties[partyRoleType="EX"]/physicalAddress/countryCode]'/span/input")), "GB", undefined, true, 5);
When tried to search the xpath
".//*[#id='/declaration/parties[partyRoleType="EX"]/physicalAddress/countryCode]'/span/input"
in web console, the element is found, but the above xpath is showing as error in VSC. Any help on the same is highly appreciated and if you could let me know how to handle the dropdowns in protractor, I would be more than thankfull.
Thanks,

if($bans[$i]['ip'] == $_SERVER['REMOTE_ADDR'])

i have created a website with Ultimate video curator using wordpress, also buy a plugin "wp sensei" for protect this site from hacking. I have also installed this plugin, but when i clicked on activate showing me
"Plugin could not be activated because it triggered a fatal error." and
"Warning: Illegal string offset 'ip' in /home4/worldvj5/public_html/halloweencostumes/wp-content/plugins/wp-sensei/wplockup.php on line 108
Warning: Illegal string offset 'time' in /home4/worldvj5/public_html/halloweencostumes/wp-content/plugins/wp-sensei/wplockup.php on line 119
Fatal error: Cannot unset string offsets in /home4/worldvj5/public_html/halloweencostumes/wp-content/plugins/wp-sensei/wplockup.php on line 120"
so what is the main problem, and how to solve it, please solve this problem.
and when i go to this page with 108 line in wp sensei, i see that "if($bans[$i]['ip'] == $_SERVER['REMOTE_ADDR'])"
please help me.
Odds are, the $bans array is empty. Add a bogus IP to be banned using the plugin, and then try it again.

Display and Expression Views are giving errors

I am using SpringSource Tool Suite 2.9.2 and Grails 2.0.3. I am trying to use the Expressions and Display windows, but both are giving me errors.
The Expression Window says:
org.eclipse.debug.core.DebugException:
com.sun.jdi.ObjectCollectedException occurred retrieving type
This message is different sometimes and says it could not get the right types as if I didn't include packages.
The Display Window says:
"Evaluation failed. Reason(s): An exception occurred durring
evaluation."
Anyone have any idea what is going on?
EDIT:
Andrew, all of those items in the Preferences were checked with the exception of "Enable extra Groovy debug support on all projects (not just Groovy projects)." which I checked.
I still get the error, and for some reason nothing is showing up in the log, but the Expressions opens a sub window that says:
See error log: startup failed:
__Eval.groovy: 7: unable to resolve class mydomain.User # line 7, column 23. import mydomain.User;
^
1 error
Something that is probably relevant: This import is the 3rd domain import on the page. The other two that look like they are working are in the "domain" folder in my "grails-app" folder, but the one that is not working is in "src/groovy" as the project is using Hibernate.xml files. I would expect the Expressions to work for either, but maybe this is the problem?
There are several things that you need to do before debug evaluations can work in Groovy. Most of the time, these things are configured automatically, but sometimes you need to do one or two things manually.
Go to Preferences -> JDT Weaving, make sure it is enabled
Go to Preferences -> Groovy -> Debugger -> Extended debugging. Make sure that all check boxes are selected.
If you are still getting this exception, then this may be a bug. Please update your question with the full stack trace from the error log (Window -> Show view -> Other -> Error log). Also, include the code snippet that you are evaluating.