|
From: Rüdiger A. <rue...@gm...> - 2022-08-19 20:45:43
|
Sounds reasonable, but why does it work out of the box on both Debian
stable and OpenSuse Leap?
Don't know whether it matters or not:
Leap comes with Perl 5.26.1, and its DynaLoader.pm also contains
"&$xs(@args);" (line 210).
Cheers
Am 19.08.22 um 18:33 schrieb zu...@gm...:
> Oh interesting, thanks for the reply. After installing GPRename, it
> should create this file: ~/.config/gprename/gprename
>
> I think something was wrong with the variable remember_last_directory_path
>
> It might have been set to like /root which might explain why it couldn't
> open gprename while not root
>
>
> On 2022-08-19 09:04, Rüdiger Arp wrote:
>> Thanks for the input.
>>
>> "gprename /home/<username>" does work on OpenSuse Tumbleweed (rolling
>> release).
>> On both Debian stable and OpenSuse Leap ('stable') I had no problem at
>> all.
>>
>> Solution for Tumbleweed:
>> - After successfully using "gprename /home/<username>" just once,
>> gprename can now successfuly be started on OpenSuse Tumbleweed without
>> any parameters.
>> Today, I first tried starting gprename w/o any parameters but got the
>> same error message again. Therefore, I am very positive that invoking
>> "gprename /home/<username>" fixed the error for reasons far beyond my
>> limited capacity to comprehend. ;-)
>>
>> This reminds me of a post in which a Manjaro user reported the same
>> issue I had but he fixed it by installing and removing "gtk2-perl":
>> https://www.linuxquestions.org/questions/linux-newbie-8/gprename-perl-path-does-not-exist-error-4175689591/
>>
>> Cheers
>>
>>
>> Am 18.08.22 um 16:43 schrieb zu...@gm...:
>>> I have Linux Mint and not OpenSuse so can't test it. Would be
>>> interesting if someone else with OpenSuse could replicate this.
>>>
>>> Error message isn't helpful, probably too many weird characters, google
>>> can't find anything related to &$xs(@args)
>>>
>>> Might be something with OpenSuse or maybe KDE, hard to say.
>>>
>>> What if you try with an argument? Like "gprename /home/your_user"
>>>
>>>
>>> On 2022-08-17 14:36, Rüdiger Arp wrote:
>>>> Hi zurd,
>>>>
>>>> Yep, "kdesu" ist part of KDE Plasma. I'm running OpenSuse Tumbleweed.
>>>> "sudo gprename" works as expected: "cannot open display:".
>>>>
>>>> I don't want to run it with root rights, though. I only added the kdesu
>>>> bit to say it's basically capable of running properly but does have an
>>>> issue with permissions.
>>>>
>>>> Cheers
>>>>
>>>>
>>>> Am 17.08.22 um 19:26 schrieb zu...@gm...:
>>>>> Hi, I see those messages also for many years when starting gprename on
>>>>> the command line. However, your last line, I don't have it, the one
>>>>> with
>>>>> &$xs.
>>>>>
>>>>> Also my error messages is about line 210 and yours is 223. Looks like
>>>>> you have Perl 5.36 and I have Perl 5.30. What distro are you using?
>>>>>
>>>>> kdesu seems to be for KDE. What if you just run "sudo gprename"?
>>>>>
>>>>> My line: GLib-GObject-CRITICAL **: g_boxed_type_register_static:
>>>>> assertion 'g_type_from_name (name) == 0' failed at
>>>>> /usr/lib/x86_64-linux-gnu/perl/5.30/DynaLoader.pm line 210.
>>>>>
>>>>>
>>>>>
>>>>> On 2022-08-17 12:16, Rüdiger Arp wrote:
>>>>>> Hi there,
>>>>>>
>>>>>> As per the subject line:
>>>>>> When trying to start gprename as normal user, all it does is printing
>>>>>> the following messages:
>>>>>> ------------------------------------
>>>>>> $ gprename
>>>>>> GLib-GObject-CRITICAL **: g_boxed_type_register_static: assertion
>>>>>> 'g_type_from_name (name) == 0' failed at
>>>>>> /usr/lib/perl5/5.36.0/x86_64-linux-thread-multi/DynaLoader.pm line
>>>>>> 223.
>>>>>> GLib-GObject-CRITICAL **: g_boxed_type_register_static: assertion
>>>>>> 'g_type_from_name (name) == 0' failed at
>>>>>> /usr/lib/perl5/5.36.0/x86_64-linux-thread-multi/DynaLoader.pm line
>>>>>> 223.
>>>>>> GLib-GObject-CRITICAL **: g_boxed_type_register_static: assertion
>>>>>> 'g_type_from_name (name) == 0' failed at
>>>>>> /usr/lib/perl5/5.36.0/x86_64-linux-thread-multi/DynaLoader.pm line
>>>>>> 223.
>>>>>> GLib-GObject-CRITICAL **: g_boxed_type_register_static: assertion
>>>>>> 'g_type_from_name (name) == 0' failed at
>>>>>> /usr/lib/perl5/5.36.0/x86_64-linux-thread-multi/DynaLoader.pm line
>>>>>> 223.
>>>>>> Path doesn't exist!
>>>>>> ------------------------------------
>>>>>>
>>>>>> Line 223 in
>>>>>> /usr/lib/perl5/5.36.0/x86_64-linux-thread-multi/DynaLoader.pm only
>>>>>> contains:
>>>>>> &$xs(@args);
>>>>>>
>>>>>> If, however, I use "kdesu gprename" and enter the root password,
>>>>>> gprename starts without printing any message and appears to work as
>>>>>> expected.
>>>>>>
>>>>>> Cheers
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Gprename-users mailing list
>>>>>> Gpr...@li...
>>>>>> https://lists.sourceforge.net/lists/listinfo/gprename-users
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Gprename-users mailing list
>>>>> Gpr...@li...
>>>>> https://lists.sourceforge.net/lists/listinfo/gprename-users
>>>
>>>
>>> _______________________________________________
>>> Gprename-users mailing list
>>> Gpr...@li...
>>> https://lists.sourceforge.net/lists/listinfo/gprename-users
>>
>>
>> _______________________________________________
>> Gprename-users mailing list
>> Gpr...@li...
>> https://lists.sourceforge.net/lists/listinfo/gprename-users
>
>
> _______________________________________________
> Gprename-users mailing list
> Gpr...@li...
> https://lists.sourceforge.net/lists/listinfo/gprename-users
|