Skip to content
This repository has been archived by the owner on Oct 20, 2022. It is now read-only.

JS error: Uncaught TypeError: Cannot read property 'attr' of undefined #4

Open
agokhandemir opened this issue Nov 1, 2020 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@agokhandemir
Copy link

Hello,

I am using rtorrent 0.9.8/0.13.8 & rutorrent 3.10 which was installed with swizzin script on a Ubuntu 18.04 server.

I installed your plugin, and by installation I mean I copied your "rename" folder to my plugins directory, and later I changed the owner, usergroup, and permissions.

Now, when I am adding a new torrent, I am receiving "JS error: [https://xxx.yyy.net/rutorrent/js/stable.js : 1742] Uncaught TypeError: Cannot read property 'attr' of undefined" as a red notification bubble on rutorrent. I need to reload the browser tab otherwise, it does not show the newly added torrent. I am receiving this error even if I may or may not fill the "Name" field on the Add Torrent window, which appeared after the rename plugin is installed. However, that does not break anything. Renaming works as intended. Is this because I installed the plugin wrong?

Also, renamed torrents change back to their original names when I disable the plugin. Is this also meant to work this way? I thought renaming would be permanent.

Thanks.

@Fleshgrinder
Copy link
Owner

Hey @agokhandemir and thanks for reporting. The renaming is only for the UI and its effects are gone once the plugin is gone.

I'll check what the reason could be for your JavaScript error.

@Fleshgrinder Fleshgrinder self-assigned this Nov 2, 2020
@Fleshgrinder Fleshgrinder added the bug Something isn't working label Nov 2, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants