Menu

#24 Hangs when renaming long lines.

v1.0_(example)
open
nobody
None
5
2022-01-08
2022-01-08
Alan
No

When replacing text in filenames that are very long, gprename does the work but then the cursor just keeps spinning or hour glass or whatever you theme is.
Example of long line is:
An appetizing start to the year: 25% off pizza! 🍕 - Marcos Loyalty Rewards noreply@marcos.com - 2022-01-05 2033
This was the title that Thunderbird created when I did a 'save as' with multiple emails. I was trying to remove some of the special characters like the pizza. I had no issue doing it, other than gprename would hang and I would just have to close the window then restart the program.

If it's any help, I ran gprename from a terminal prompt and got these errors.
Wide character in print at /usr/bin/gprename line 861.
unhandled exception in callback:
Wide character at /usr/bin/gprename line 862.
*** ignoring at /usr/bin/gprename line 548.

Help says gprename 5, Synaptic for Linux Mint 20.2 says version is 20140325 -1, which seems a bit old if I read that right.

Discussion

  • Alan

    Alan - 2022-01-08

    I downloaded the latest tarball and installed it. Help shows proper version but it still does the same thing.

     
  • Zurd

    Zurd - 2022-01-08

    Does it still rename it? I had similar problems before, gprename would just spin forever but if I close the application, the renaming was a success.

    I ain't coding GPRename anymore, I hate GTK-Perl. If anyone wants to do a patch, please do :)

    p.s. the Save As in Thunderbird and Outlook is totally broken in my opinion, better you rename it yourself manually so you don't get weird characters in it or an extremely long filename.

     
  • Alan

    Alan - 2022-01-08

    Yes, it does rename, at least some.
    I was trying to take the pizza character out of several filenames and one filename had 2 pizzas in it. I removed the first one in each file but not the 2nd pizza in a filename. So I had to run rename again.

    It's no big issue, I do this so infrequent and it does work. I should try bulky which is a rename that come in Linux Mint and see how that works. I like gprename, and I'm familiar with it.

    If no one gets to fix it, then it can be worked around. Thanks.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.