Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught TypeError: can't convert undefined to object #2623

Closed
2 tasks done
vendion opened this issue Jan 7, 2024 · 5 comments
Closed
2 tasks done

Uncaught TypeError: can't convert undefined to object #2623

vendion opened this issue Jan 7, 2024 · 5 comments

Comments

@vendion
Copy link

vendion commented Jan 7, 2024

Please complete the following tasks.

  • Web browser cache cleared
  • Web browser and ruTorrent version provided

Tell us about your environment

Web Browser: Mozilla Firefox 121.0
ruTorrent: v4.2.9

What were you trying to do?

Load ruTorrent after upgrade from v3.x of ruTorrent. The UI just hangs at the "Loading" screen with no visible logs other than the JS error.

What us the error message?

Uncaught TypeError: can't convert undefined to object
Error: Promised response from onMessage listener went out of scope

Give us the stack trace.

Uncaught TypeError: can't convert undefined to object
makeContent https://192.168.86.65:8080/js/content.js?v=429:325
https://192.168.86.65:8080/js/webui.js?v=429:3222
jQuery 9
e
t
setTimeout handler*Deferred/then/l/<
c
add
then
Deferred
then
ready
https://192.168.86.65:8080/js/webui.js?v=429:3220
content.js:325:18
makeContent https://192.168.86.65:8080/js/content.js?v=429:325
https://192.168.86.65:8080/js/webui.js?v=429:3222
jQuery 9
https://192.168.86.65:8080/js/webui.js?v=429:3220
Error: Promised response from onMessage listener went out of scope background.min.js:1:34933

@vendion
Copy link
Author

vendion commented Jan 7, 2024

If I roll back to v3.x it works as expected.

@stickz
Copy link
Collaborator

stickz commented Jan 7, 2024

This stack trace points to theUILang.speedGraphDurationOptions .
Let me guess. You forgot to copy the lang folder when upgrading versions.

@vendion
Copy link
Author

vendion commented Jan 8, 2024

No, I did copy the lang directory, in fact, I copied everything. The way I did the upgrade was I updated config/config.php to point to my rtorrent socket file and then ran cp -r ruTorrent-4.2.9/* ruTorrent/

@stickz
Copy link
Collaborator

stickz commented Jan 9, 2024

Please try upgrading to v4.2.10. We resolved a web browser caching issue when changing versions, that could trigger this error.

@stickz
Copy link
Collaborator

stickz commented May 17, 2024

No response from user. We presume this to be a caching issue with version upgrades which has been resolved.

@stickz stickz closed this as completed May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants