From: Jukka S. <j+...@20...> - 2007-01-16 18:46:24
|
Hi, I just gave TiLP2 (tilp2-1.01, libticables2-1.0.2, libticalcs2-1.0.1, libtifiles2-1.0.1, libticonv-20061030) a try on a NetBSD/i386 system and am impressed: it works fine almost out of the box! Good work, thanks! However, I failed trying to do a calculator backup (klicking the "Backup" button...): after the data seems to be transferred, TiLP prints "Unable to move file.", and then "Unable to move the temporary file." Trying to debug this revealed TiLP calling tilp_file_move_with_check(/var/tmp/tilp.tigroup, /root/backup.tig) tilp_file_copy(/var/tmp/tilp.tigroup, /root/backup.tig) g_fopen(/var/tmp/tilp.tigroup, "rb") failed but `/var/tmp/tilp.tigroup' seems not to exist at that moment. Any hints? TIA, Jukka -- bashian roulette: $ ((RANDOM%6)) || rm -rf ~ |
From: Tyler C. <ty...@ty...> - 2007-01-17 05:07:09
|
Hello, This seems quite simple, make sure your file permissions are set to read/write because you will need both read and write access in your temporary directory and the directory you want to save your file to. See what that does. -Tyler > Hi, > > I just gave TiLP2 (tilp2-1.01, libticables2-1.0.2, libticalcs2-1.0.1, > libtifiles2-1.0.1, libticonv-20061030) a try on a NetBSD/i386 system > and am impressed: it works fine almost out of the box! Good work, > thanks! > > However, I failed trying to do a calculator backup (klicking the > "Backup" button...): after the data seems to be transferred, TiLP > prints "Unable to move file.", and then "Unable to move the temporary > file." > > Trying to debug this revealed TiLP calling > > tilp_file_move_with_check(/var/tmp/tilp.tigroup, /root/backup.tig) > tilp_file_copy(/var/tmp/tilp.tigroup, /root/backup.tig) > g_fopen(/var/tmp/tilp.tigroup, "rb") failed > > but `/var/tmp/tilp.tigroup' seems not to exist at that moment. > > Any hints? > > > TIA, Jukka > > -- > bashian roulette: > $ ((RANDOM%6)) || rm -rf ~ > > ------------------------------------------------------------------------- > 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 > _______________________________________________ > TiLP-devel mailing list > TiL...@li... > https://lists.sourceforge.net/lists/listinfo/tilp-devel > -- -Tyler TiLP Team Member Websites I own: http://www.tylerc.org/ http://www.calcforge.org/ |
From: Jukka S. <j+...@20...> - 2007-01-17 09:00:19
|
Hi, Tyler Cassidy --> tilp-devel (2007-01-16 22:07:00 -0700): > Hello, > > This seems quite simple, make sure your file permissions are set to > read/write because you will need both read and write access in your > temporary directory and the directory you want to save your file to. See > what that does. hmm, that's probably not the problem: the temp directory has mode 1777, and I'm running TiLP as root... Regards, Jukka > -Tyler > > > > Hi, > > > > I just gave TiLP2 (tilp2-1.01, libticables2-1.0.2, libticalcs2-1.0.1, > > libtifiles2-1.0.1, libticonv-20061030) a try on a NetBSD/i386 system > > and am impressed: it works fine almost out of the box! Good work, > > thanks! > > > > However, I failed trying to do a calculator backup (klicking the > > "Backup" button...): after the data seems to be transferred, TiLP > > prints "Unable to move file.", and then "Unable to move the temporary > > file." > > > > Trying to debug this revealed TiLP calling > > > > tilp_file_move_with_check(/var/tmp/tilp.tigroup, /root/backup.tig) > > tilp_file_copy(/var/tmp/tilp.tigroup, /root/backup.tig) > > g_fopen(/var/tmp/tilp.tigroup, "rb") failed > > > > but `/var/tmp/tilp.tigroup' seems not to exist at that moment. > > > > Any hints? > > > > > > TIA, Jukka > > > > -- > > bashian roulette: > > $ ((RANDOM%6)) || rm -rf ~ > > > > ------------------------------------------------------------------------- > > 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 > > _______________________________________________ > > TiLP-devel mailing list > > TiL...@li... > > https://lists.sourceforge.net/lists/listinfo/tilp-devel > > > > > -- > -Tyler > TiLP Team Member > Websites I own: > http://www.tylerc.org/ > http://www.calcforge.org/ > > > ------------------------------------------------------------------------- > 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 > _______________________________________________ > TiLP-devel mailing list > TiL...@li... > https://lists.sourceforge.net/lists/listinfo/tilp-devel -- bashian roulette: $ ((RANDOM%6)) || rm -rf ~ |
From: Tyler C. <ty...@ty...> - 2007-01-18 04:55:02
|
Does just copying all the files manually work? -Tyler > Hi, > > Tyler Cassidy --> tilp-devel (2007-01-16 22:07:00 -0700): >> Hello, >> >> This seems quite simple, make sure your file permissions are set to >> read/write because you will need both read and write access in your >> temporary directory and the directory you want to save your file to. See >> what that does. > > hmm, that's probably not the problem: the temp directory has mode 1777, > and I'm running TiLP as root... > > > Regards, Jukka > > >> -Tyler >> >> >> > Hi, >> > >> > I just gave TiLP2 (tilp2-1.01, libticables2-1.0.2, libticalcs2-1.0.1, >> > libtifiles2-1.0.1, libticonv-20061030) a try on a NetBSD/i386 system >> > and am impressed: it works fine almost out of the box! Good work, >> > thanks! >> > >> > However, I failed trying to do a calculator backup (klicking the >> > "Backup" button...): after the data seems to be transferred, TiLP >> > prints "Unable to move file.", and then "Unable to move the temporary >> > file." >> > >> > Trying to debug this revealed TiLP calling >> > >> > tilp_file_move_with_check(/var/tmp/tilp.tigroup, /root/backup.tig) >> > tilp_file_copy(/var/tmp/tilp.tigroup, /root/backup.tig) >> > g_fopen(/var/tmp/tilp.tigroup, "rb") failed >> > >> > but `/var/tmp/tilp.tigroup' seems not to exist at that moment. >> > >> > Any hints? >> > >> > >> > TIA, Jukka >> > >> > -- >> > bashian roulette: >> > $ ((RANDOM%6)) || rm -rf ~ >> > >> > ------------------------------------------------------------------------- >> > 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 >> > _______________________________________________ >> > TiLP-devel mailing list >> > TiL...@li... >> > https://lists.sourceforge.net/lists/listinfo/tilp-devel >> > >> >> >> -- >> -Tyler >> TiLP Team Member >> Websites I own: >> http://www.tylerc.org/ >> http://www.calcforge.org/ >> >> >> ------------------------------------------------------------------------- >> 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 >> _______________________________________________ >> TiLP-devel mailing list >> TiL...@li... >> https://lists.sourceforge.net/lists/listinfo/tilp-devel > > -- > bashian roulette: > $ ((RANDOM%6)) || rm -rf ~ > > ------------------------------------------------------------------------- > 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 > _______________________________________________ > TiLP-devel mailing list > TiL...@li... > https://lists.sourceforge.net/lists/listinfo/tilp-devel > -- -Tyler TiLP Team Member Websites I own: http://www.tylerc.org/ http://www.calcforge.org/ |
From: Jukka S. <j+...@20...> - 2007-01-18 07:49:42
|
Tyler Cassidy --> tilp-devel (2007-01-17 21:54:56 -0700): > Does just copying all the files manually work? Yes. I probably should have mentioned this in my original post, sorry. Regards, Jukka > -Tyler > > > Hi, > > > > Tyler Cassidy --> tilp-devel (2007-01-16 22:07:00 -0700): > >> Hello, > >> > >> This seems quite simple, make sure your file permissions are set to > >> read/write because you will need both read and write access in your > >> temporary directory and the directory you want to save your file to. See > >> what that does. > > > > hmm, that's probably not the problem: the temp directory has mode 1777, > > and I'm running TiLP as root... > > > > > > Regards, Jukka > > > > > >> -Tyler > >> > >> > >> > Hi, > >> > > >> > I just gave TiLP2 (tilp2-1.01, libticables2-1.0.2, libticalcs2-1.0.1, > >> > libtifiles2-1.0.1, libticonv-20061030) a try on a NetBSD/i386 system > >> > and am impressed: it works fine almost out of the box! Good work, > >> > thanks! > >> > > >> > However, I failed trying to do a calculator backup (klicking the > >> > "Backup" button...): after the data seems to be transferred, TiLP > >> > prints "Unable to move file.", and then "Unable to move the temporary > >> > file." > >> > > >> > Trying to debug this revealed TiLP calling > >> > > >> > tilp_file_move_with_check(/var/tmp/tilp.tigroup, /root/backup.tig) > >> > tilp_file_copy(/var/tmp/tilp.tigroup, /root/backup.tig) > >> > g_fopen(/var/tmp/tilp.tigroup, "rb") failed > >> > > >> > but `/var/tmp/tilp.tigroup' seems not to exist at that moment. > >> > > >> > Any hints? > >> > > >> > > >> > TIA, Jukka > >> > > >> > -- > >> > bashian roulette: > >> > $ ((RANDOM%6)) || rm -rf ~ > >> > > >> > ------------------------------------------------------------------------- > >> > 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 > >> > _______________________________________________ > >> > TiLP-devel mailing list > >> > TiL...@li... > >> > https://lists.sourceforge.net/lists/listinfo/tilp-devel > >> > > >> > >> > >> -- > >> -Tyler > >> TiLP Team Member > >> Websites I own: > >> http://www.tylerc.org/ > >> http://www.calcforge.org/ > >> > >> > >> ------------------------------------------------------------------------- > >> 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 > >> _______________________________________________ > >> TiLP-devel mailing list > >> TiL...@li... > >> https://lists.sourceforge.net/lists/listinfo/tilp-devel > > > > -- > > bashian roulette: > > $ ((RANDOM%6)) || rm -rf ~ > > > > ------------------------------------------------------------------------- > > 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 > > _______________________________________________ > > TiLP-devel mailing list > > TiL...@li... > > https://lists.sourceforge.net/lists/listinfo/tilp-devel > > > > > -- > -Tyler > TiLP Team Member > Websites I own: > http://www.tylerc.org/ > http://www.calcforge.org/ > > > ------------------------------------------------------------------------- > 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 > _______________________________________________ > TiLP-devel mailing list > TiL...@li... > https://lists.sourceforge.net/lists/listinfo/tilp-devel -- bashian roulette: $ ((RANDOM%6)) || rm -rf ~ |
From: Romain <ro...@li...> - 2007-01-18 07:54:34
|
Hi, which calc model are you using? roms. Jukka Salmi a =E9crit : > Hi, > > I just gave TiLP2 (tilp2-1.01, libticables2-1.0.2, libticalcs2-1.0.1, > libtifiles2-1.0.1, libticonv-20061030) a try on a NetBSD/i386 system > and am impressed: it works fine almost out of the box! Good work, > thanks! > > However, I failed trying to do a calculator backup (klicking the > "Backup" button...): after the data seems to be transferred, TiLP > prints "Unable to move file.", and then "Unable to move the temporary > file." > > Trying to debug this revealed TiLP calling > > tilp_file_move_with_check(/var/tmp/tilp.tigroup, /root/backup.tig) > tilp_file_copy(/var/tmp/tilp.tigroup, /root/backup.tig) > g_fopen(/var/tmp/tilp.tigroup, "rb") failed > > but `/var/tmp/tilp.tigroup' seems not to exist at that moment. > > Any hints? > > > TIA, Jukka > > -- > bashian roulette: > $ ((RANDOM%6)) || rm -rf ~ > > -----------------------------------------------------------------------= -- > 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=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV > _______________________________________________ > TiLP-devel mailing list > TiL...@li... > https://lists.sourceforge.net/lists/listinfo/tilp-devel > --=20 email: <ro...@li...> web: <http://www.lievin.net> "Linux, y'a moins bien mais c'est plus cher !" |
From: Jukka S. <j+...@20...> - 2007-01-18 10:17:51
|
Romain Li=E9vin --> tilp-devel (2007-01-18 08:54:18 +0100): > Hi, >=20 > which calc model are you using? TI 92-Plus. Regards, Jukka > roms. >=20 > Jukka Salmi a =E9crit : > > Hi, > > > > I just gave TiLP2 (tilp2-1.01, libticables2-1.0.2, libticalcs2-1.0.1, > > libtifiles2-1.0.1, libticonv-20061030) a try on a NetBSD/i386 system > > and am impressed: it works fine almost out of the box! Good work, > > thanks! > > > > However, I failed trying to do a calculator backup (klicking the > > "Backup" button...): after the data seems to be transferred, TiLP > > prints "Unable to move file.", and then "Unable to move the temporary > > file." > > > > Trying to debug this revealed TiLP calling > > > > tilp_file_move_with_check(/var/tmp/tilp.tigroup, /root/backup.tig) > > tilp_file_copy(/var/tmp/tilp.tigroup, /root/backup.tig) > > g_fopen(/var/tmp/tilp.tigroup, "rb") failed > > > > but `/var/tmp/tilp.tigroup' seems not to exist at that moment. > > > > Any hints? > > > > > > TIA, Jukka > > > > -- > > bashian roulette: > > $ ((RANDOM%6)) || rm -rf ~ > > > > -----------------------------------------------------------------------= -- > > 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=3Djoin.php&p=3Dsourceforge&CID= =3DDEVDEV > > _______________________________________________ > > TiLP-devel mailing list > > TiL...@li... > > https://lists.sourceforge.net/lists/listinfo/tilp-devel > > >=20 >=20 > --=20 > email: <ro...@li...> > web: <http://www.lievin.net> > "Linux, y'a moins bien mais c'est plus cher !" >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share y= our > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV > _______________________________________________ > TiLP-devel mailing list > TiL...@li... > https://lists.sourceforge.net/lists/listinfo/tilp-devel --=20 bashian roulette: $ ((RANDOM%6)) || rm -rf ~ |
From: Romain <ro...@li...> - 2007-01-18 15:10:42
|
Hi, Jukka Salmi a =E9crit : > Romain Li=E9vin --> tilp-devel (2007-01-18 08:54:18 +0100): >> Hi, >> >> which calc model are you using? > > TI 92-Plus. well, I will take a look at your problem on this evening or later. > > > Regards, Jukka roms. > >> roms. >> >> Jukka Salmi a =E9crit : >> > Hi, >> > >> > I just gave TiLP2 (tilp2-1.01, libticables2-1.0.2, libticalcs2-1.0.1= , >> > libtifiles2-1.0.1, libticonv-20061030) a try on a NetBSD/i386 system >> > and am impressed: it works fine almost out of the box! Good work, >> > thanks! >> > >> > However, I failed trying to do a calculator backup (klicking the >> > "Backup" button...): after the data seems to be transferred, TiLP >> > prints "Unable to move file.", and then "Unable to move the temporar= y >> > file." >> > >> > Trying to debug this revealed TiLP calling >> > >> > tilp_file_move_with_check(/var/tmp/tilp.tigroup, /root/backup.tig) >> > tilp_file_copy(/var/tmp/tilp.tigroup, /root/backup.tig) >> > g_fopen(/var/tmp/tilp.tigroup, "rb") failed >> > >> > but `/var/tmp/tilp.tigroup' seems not to exist at that moment. >> > >> > Any hints? >> > >> > >> > TIA, Jukka >> > >> > -- >> > bashian roulette: >> > $ ((RANDOM%6)) || rm -rf ~ >> > >> > --------------------------------------------------------------------= ----- >> > 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 ca= sh >> > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&C= ID=3DDEVDEV >> > _______________________________________________ >> > TiLP-devel mailing list >> > TiL...@li... >> > https://lists.sourceforge.net/lists/listinfo/tilp-devel >> > >> >> >> -- >> email: <ro...@li...> >> web: <http://www.lievin.net> >> "Linux, y'a moins bien mais c'est plus cher !" >> >> >> >> >> >> >> >> >> >> ----------------------------------------------------------------------= --- >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get the chance to shar= e >> your >> opinions on IT & business topics through brief surveys - and earn cash >> http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID= =3DDEVDEV >> _______________________________________________ >> TiLP-devel mailing list >> TiL...@li... >> https://lists.sourceforge.net/lists/listinfo/tilp-devel > > -- > bashian roulette: > $ ((RANDOM%6)) || rm -rf ~ > > -----------------------------------------------------------------------= -- > 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=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV > _______________________________________________ > TiLP-devel mailing list > TiL...@li... > https://lists.sourceforge.net/lists/listinfo/tilp-devel > --=20 email: <ro...@li...> web: <http://www.lievin.net> "Linux, y'a moins bien mais c'est plus cher !" |
From: Jukka S. <j+...@20...> - 2007-01-18 17:34:29
Attachments:
diff
|
Hi, Romain Li=E9vin --> tilp-devel (2007-01-18 16:10:02 +0100): > Hi, >=20 > Jukka Salmi a =E9crit : > > Romain Li=E9vin --> tilp-devel (2007-01-18 08:54:18 +0100): > >> Hi, > >> > >> which calc model are you using? > > > > TI 92-Plus. >=20 > well, I will take a look at your problem on this evening or later. Thanks! I just had a look at tifiles_file_write_tigroup() from libtifiles2/src/tigroup.c, and I don't really understand what is intended; but `filename' is unlinked at the end of the for loop (why?), and if I remove that line (see attached patch) then calc backups with TiLP seem to produce a valid backup. Cheers, Jukka --=20 bashian roulette: $ ((RANDOM%6)) || rm -rf ~ |
From: Romain <ro...@li...> - 2007-01-20 18:43:36
|
Hi, > I just had a look at tifiles_file_write_tigroup() from > libtifiles2/src/tigroup.c, and I don't really understand what is > intended; but `filename' is unlinked at the end of the for loop (why?), > and if I remove that line (see attached patch) then calc backups with > TiLP seem to produce a valid backup. You're right! The unlink is a bug; it should not be here. Bug has been fixed in the repository but don't expect a release soon! I'm too busy... > Cheers, Jukka thx, roms. > > -- > bashian roulette: > $ ((RANDOM%6)) || rm -rf ~ > -----------------------------------------------------------------------= -- > 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=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV_______________________________________________ > TiLP-devel mailing list > TiL...@li... > https://lists.sourceforge.net/lists/listinfo/tilp-devel > --=20 email: <ro...@li...> web: <http://www.lievin.net> "Linux, y'a moins bien mais c'est plus cher !" |