From: Zurd <zu...@ya...> - 2007-03-13 07:42:15
|
Ok, I changed one thing in the code and added a debug information. Get revision 105, install, run with whatever parameter and paste the output, if there's an error it'll either be at 1485 or 1486 which will help me narrow the bug further. --- Lacrocivious Acrophosist <alt...@ya...> a écrit : > > --- Zurd <zu...@ya...> wrote: > > > As you see from one of the last lines of the strace > > : > > > stat64("/usr/share/gprename", 0xbfb6cb18) = -1 > > ENOENT (No such file or directory) > > > > It shouldn't call '/usr/share/gprename' at all but I > > modified a few thing, > > get the latest revision, it's 104, just call > > gprename-install.sh and then > > open gprename, if there's still an error, paste it > > to me, without the strace > > and also paste the results of : > > ls -lR /usr/share/gprename > > cat /usr/local/bin/gprename > > > > Thanks > > > > Alas, r104 behaves the same way. I only tested on the > one FC6 system. > > Below are output captures from the commands you asked > me to run: > > [username@hostname movies]$ gprename > variable not allowed to be undef where GtkTreeIter is > wanted at /usr/local/share/gprename/bin/gprename.pl > line 1485. > > [username@hostname movies]$ ls -lR /usr/share/gprename > ls: /usr/share/gprename: No such file or directory > > [username@hostname movies]$ ls -lR > /usr/local/share/gprename > /usr/local/share/gprename: > total 48 > drwxr-xr-x 2 root root 4096 Mar 12 23:44 bin > -rwxr-xr-x 1 root root 17987 Mar 12 23:44 COPYING > -rwxr-xr-x 1 root root 1687 Mar 12 23:44 > gprename-install.sh > -rwxr-xr-x 1 root root 714 Mar 12 23:44 > gprename-uninstall.sh > drwxr-xr-x 2 root root 4096 Mar 12 23:44 icon > drwxr-xr-x 2 root root 4096 Mar 12 23:44 languages > -rwxr-xr-x 1 root root 7391 Mar 12 23:44 README > > /usr/local/share/gprename/bin: > total 68 > -rwxr-xr-x 1 root root 63814 Mar 12 23:44 gprename.pl > > /usr/local/share/gprename/icon: > total 8 > -rwxr-xr-x 1 root root 6566 Mar 12 23:44 > gprename_icon.png > > /usr/local/share/gprename/languages: > total 40 > -rwxr-xr-x 1 root root 2749 Mar 12 23:44 lang.en > -rwxr-xr-x 1 root root 2141 Mar 12 23:44 > lang.es.ISO-8859-1 > -rwxr-xr-x 1 root root 2168 Mar 12 23:44 lang.es.UTF-8 > -rwxr-xr-x 1 root root 3145 Mar 12 23:44 > lang.fr.ISO-8859-1 > -rwxr-xr-x 1 root root 3203 Mar 12 23:44 lang.fr.UTF-8 > -rwxr-xr-x 1 root root 2561 Mar 12 23:44 > lang.pl.ISO-8859-2 > -rwxr-xr-x 1 root root 2621 Mar 12 23:44 lang.pl.UTF-8 > -rwxr-xr-x 1 root root 2724 Mar 12 23:44 > lang.pt-br.ISO-8859-1 > -rwxr-xr-x 1 root root 2784 Mar 12 23:44 > lang.pt-br.UTF-8 > -rwxr-xr-x 1 root root 564 Mar 12 23:44 langs.pl > > [username@hostname movies]$ cat > /usr/local/bin/gprename > #!/bin/sh > > index=`expr index "$1" /`; > > if [ $index != 1 ] > then > dir=`pwd`/$1; > else > dir="$1"; > fi > > if [[ -e "/usr/local/share/gprename" ]]; then > perl /usr/local/share/gprename/bin/gprename.pl $dir > elif [[ -e "/usr/share/gprename" ]]; then > perl /usr/share/gprename/bin/gprename.pl $dir > fi > > > > > > ____________________________________________________________________________________ > Expecting? Get great news right away with email Auto-Check. > Try the Yahoo! Mail Beta. > http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Gprename-users mailing list > Gpr...@li... > https://lists.sourceforge.net/lists/listinfo/gprename-users > __________________________________________________ Do You Yahoo!? En finir avec le spam? Yahoo! Courriel vous offre la meilleure protection possible contre les messages non nollicités http://mail.yahoo.ca Yahoo! Courriel |