-
Notifications
You must be signed in to change notification settings - Fork 413
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
Files right click theWebUI.dirs[theWebUI.dID] is undefined #2631
Comments
|
|
Interesting, the problem solved, I deleted the /share/users/[exampleuser]/ settings and tmp directories, now i can click files section |
Do you know which version of ruTorrent those old settings files are from? This is likely a version upgrade issue. |
There were 4.2 versions, but as soon as a new version came out, I immediately upgraded it, but there were no errors immediately after the version update. |
This was caused (for me, v.4.2.9) by clicking "View > As List" in the Files tab of a torrent with several files selected. I have no clue what that option does, so I wanted to check it out. Teach me to assume there are non-app-breaking options in the right-click menu.. Will try to delete the .dat files that @Csaba27 indicated and report back after. //edit: |
I've deleted the .dat files, that helped with the problem, thanks |
This is a third-party plugin issue: filemanager. It only occurs when the file list tab is set to "List View" and right-clicking on any of the files in the file list. Disabling that plugin will take this error away, so the conclusion can be confirmed. Removing "WebUISettings.dat" file might not be the best solution, because this will wipe all the user defined UI settings and restore everything to default. As a workaround, disabling the filemanager plugin and set file list back to "Tree View" is a better solution. |
Please open an issue reports with the third party plugin. This issued is not related to the base ruTorrent. |
Please complete the following tasks.
Tell us about your environment
Web browser: latest firefox and chrome
What were you trying to do?
Click files section and rigth click and throws error
What us the error message?
Firefox:
S error: [https://***/rutorrent/ line 2 > injectedScript : 2818] TypeError: theWebUI.dirs[theWebUI.dID] is undefined
Chrome:
JS error: [ : 2818] Uncaught TypeError: Cannot read properties of undefined (reading 'isDirectory')
Give us the stack trace.
Firefox:
TypeError: theWebUI.dirs[theWebUI.dID] is undefined from plugin.ui.handleTorrentFilesMenu@https:///rutorrent/ line 2 > injectedScript:2818:23
plugin.ui.init/theWebUI.createFileMenu@https://***/rutorrent/ line 2 > injectedScript:2987:31
flsSelect@https:///rutorrent/js/webui.js?v=429:1295:19
onselect@https:///rutorrent/js/webui.js?v=429:53:40
dxSTable.prototype.selectRow@https:///rutorrent/js/stable.js?v=429:1129:8
Chrome:
Uncaught TypeError: Cannot read properties of undefined (reading 'isDirectory') from TypeError: Cannot read properties of undefined (reading 'isDirectory')
at plugin.ui.handleTorrentFilesMenu (:2818:51)
at theWebUI.createFileMenu (:2987:31)
at Object.flsSelect (https:///rutorrent/js/webui.js?v=429:1295:19)
at dxSTable.onselect (https:///rutorrent/js/webui.js?v=429:53:40)
at dxSTable.selectRow (https:///rutorrent/js/stable.js?v=429:1129:8)
at dxSTable.handleClick (https:///rutorrent/js/stable.js?v=429:265:8)
at HTMLTableSectionElement. (https:///rutorrent/js/common.js?v=429:166:64)
at HTMLTableSectionElement.dispatch (https:///rutorrent/js/jquery.js?v=429:2:39997)
at v.handle (https://***/rutorrent/js/jquery.js?v=429:2:37968)
The text was updated successfully, but these errors were encountered: