Closed tzarebczan closed 3 years ago
Think this is related to the local in https://github.com/lbryio/lbry-desktop/blob/be89a119046c31d238056a935848adfc7c440398/src/ui/index.jsx#L195
A user in South Africa ran into this and it was fixed by changing their locale. Maybe try/catch and then default to US if it fails?
Here's a recent similar one: User(xxxxx) Desktop Error: Uncaught error app version: 0.35.3 sdk version: 0.40.0 page: #/@MaxWrist:0/maxwrist-hits-one-million:5 RangeError: Invalid language tag: de_DE at new DateTimeFormat (native) at Date.toLocaleDateString (native) at p.render (file:///opt/LBRY/resources/app.asar/ui.js:22:15089) at Oa (file:///opt/LBRY/resources/app.asar/ui.js:240:63001) at ja (file:///opt/LBRY/resources/app.asar/ui.js:240:62796) at La (file:///opt/LBRY/resources/app.asar/ui.js:240:66630) at Yo (file:///opt/LBRY/resources/app.asar/ui.js:240:90674) at $o (file:///opt/LBRY/resources/app.asar/ui.js:240:91058) at As (file:///opt/LBRY/resources/app.asar/ui.js:240:97945) at js (file:///opt/LBRY/resources/app.asar/ui.js:240:97325)
@tzarebczan I would like to work on this issue. Can you guide me on what's to be done, please?
Sorry @AdityaSrivast
I'm pretty sure this has been fixed. The issue was just never closed.
This is still an issue in some cases. Reaching out to the user to see what localization settings they are using:
app version: 0.36.1
sdk version: 0.42.1
page: #/@TheLinuxGamer:f/i-got-my-hands-on-the-librem5-phone:2
RangeError: Unsupported time zone specified undefined
at new DateTimeFormat (native)
at Date.toLocaleDateString (native)
at d.render (file:///app/lbry-app/resources/app.asar/ui.js:22:14876)
at Oi (file:///app/lbry-app/resources/app.asar/ui.js:226:63001)
at ji (file:///app/lbry-app/resources/app.asar/ui.js:226:62796)
at Ni (file:///app/lbry-app/resources/app.asar/ui.js:226:66630)
at qo (file:///app/lbry-app/resources/app.asar/ui.js:226:90674)
at $o (file:///app/lbry-app/resources/app.asar/ui.js:226:91058)
at As (file:///app/lbry-app/resources/app.asar/ui.js:226:97945)
at js (file:///app/lbry-app/resources/app.asar/ui.js:226:97325)
Will be included in the next app release
Still happens on the wallet page:
User(2205995) Desktop Error: Uncaught error
app version: 0.38.2
sdk version: 0.50.1
page: #/$/wallet
RangeError: Unsupported time zone specified undefined```
Also on settings page:
User(2590497) Desktop Error: Uncaught error
app version: 0.39.1
sdk version: 0.54.1
page: #/$/settings
RangeError: Unsupported time zone specified undefined
at new DateTimeFormat (native)
at Date.toLocaleTimeString (native)
at n.r.to12Hour (file:///app/lbry-app/resources/app.asar/ui.js:211:60724)
at file:///app/lbry-app/resources/app.asar/ui.js:211:67365
at Array.map (<anonymous>)
at n.r.render (file:///app/lbry-app/resources/app.asar/ui.js:211:67299)
at ja (file:///app/lbry-app/resources/app.asar/ui.js:286:63002)
at Oa (file:///app/lbry-app/resources/app.asar/ui.js:286:62797)
at Ia (file:///app/lbry-app/resources/app.asar/ui.js:286:66631)
at qo (file:///app/lbry-app/resources/app.asar/ui.js:286:90675)
at Yo (file:///app/lbry-app/resources/app.asar/ui.js:286:91059)
at As (file:///app/lbry-app/resources/app.asar/ui.js:286:97946)
at Os (file:///app/lbry-app/resources/app.asar/ui.js:286:97326)
at Le (file:///app/lbry-app/resources/app.asar/ui.js:286:103717)
at Ne (file:///app/lbry-app/resources/app.asar/ui.js:286:10304)
at On (file:///app/lbry-app/resources/app.asar/ui.js:286:30826)
Hi! Is this open for grabs? I am new here and I want to contribute. I may need some guidance initially as I am not familiar with the codebase.
@HarshKhandeparkar thanks for taking a shot. This one may be tougher to reproduce since we aren't sure of the exact scenario yet, but it was fixed previously in other components.
Welcome to LBRY and check out lbry.tech/contribute to get an overview
I looked through the good first issues but couldn't find one that is not taken up or already fixed. Can you suggest something for me to do? Like search a specific keyword or label?
On Sun, 19 Apr, 2020, 12:06 AM Thomas Zarebczan, notifications@github.com wrote:
@HarshKhandeparkar https://github.com/HarshKhandeparkar thanks for taking a shot. This one may be tougher to reproduce since we aren't sure of the exact scenario yet, but it was fixed previously in other components.
Welcome to LBRY and check out lbry.tech/contribute to get an overview
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/lbryio/lbry-desktop/issues/2498#issuecomment-615922985, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIJI5H6N757OQAXTRWGHKJTRNHXLHANCNFSM4HODQ7CQ .
I want to try something super simple or even stupid like a typo fix just get used to the codebase and the development. After that, I can contribute to other issues.
On Sun, 19 Apr, 2020, 12:08 AM M K, mjkgoa@gmail.com wrote:
I looked through the good first issues but couldn't find one that is not taken up or already fixed. Can you suggest something for me to do? Like search a specific keyword or label?
On Sun, 19 Apr, 2020, 12:06 AM Thomas Zarebczan, notifications@github.com wrote:
@HarshKhandeparkar https://github.com/HarshKhandeparkar thanks for taking a shot. This one may be tougher to reproduce since we aren't sure of the exact scenario yet, but it was fixed previously in other components.
Welcome to LBRY and check out lbry.tech/contribute to get an overview
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/lbryio/lbry-desktop/issues/2498#issuecomment-615922985, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIJI5H6N757OQAXTRWGHKJTRNHXLHANCNFSM4HODQ7CQ .
I've tagged a few more issues as help wanted and good first issue, check some of those out. Or maybe find something else you come across while familiarizing yourself with the app.
Oh thank you! I'll have a look tomorrow.
On Sun, 19 Apr, 2020, 12:54 AM Thomas Zarebczan, notifications@github.com wrote:
I've tagged a few more issues as help wanted and good first issue, check some of those out. Or maybe find something else you come across while familiarizing yourself with the app.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/lbryio/lbry-desktop/issues/2498#issuecomment-615931479, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIJI5H62P2ABXZBW5TD445TRNH45ZANCNFSM4HODQ7CQ .
Have not seen this happen.
The Issue
This pops up once in a while - not sure which timezone or bug is causing it.
Tell us your suggested solutions if you have any.
System Configuration
Anything Else
Screenshots