Hi Thomas If templates in 2007-02-01 are stored correctly. Should i now store template objects in 2007-03-01. Rishabh Sharma Anantya R&D http://www.anantyarnd.in
This is wrong. The changes to the software need to be done using
libraries in the lib/perl directory.
Changes are not done in lib/perl/ArchEc/ReDIF.pm it is modified to ReDIF_mod.pm. bin/read_redif_mod uses ReDIF_mod.pm lib not ReDIF.pm.
We are not interested in dealing with the fobis at this time. Only templates need to be stored.
This is what saveURL doing just storing the tobi. fobi is no where in scene.
I don't understand this roun
This is is the wrong way of doing it.
If i am wrong than what is the right way of doing it. All templates 2007-02-01 are already stored. Please login in archec@archec.repec.orgaccount to see if they are stored correctly or not.
The result look find, but we don't need two scripts here. The time stamp inversion, file creation, checking for earlier version from the database etc have to be handled in a library because they are shared between tobis and fobis.
If result looks fine than what is the problem. I dont understand what does this mean library is shared between tobis and fobis but if it is shared also i have not touched ReDIF.pm the file is as it is i just created new lib ReDIF_mod.pm using the codes in this file.
Rishabh Sharma writes
If templates in 2007-02-01 are stored correctly. Should i now store template objects in 2007-03-01.
Do we have the database? We only store a new version if it has changed. I think I still need to review what you have done. I can't do much this right now as I am close to a nerveous breakdown because of various serious issues I am facing.. Cheers, Thomas Krichel http://openlib.org/home/krichel http://authorprofile.org/pkr1 skype: thomaskrichel
saveURL should not be called like this, we are storing templates The code is suppored ot be written in Perl, not in C. You should recode the entire thing. Where is the saveURL C code actually? I don't see it. Giving us a binary only is not acceptable. Why do you use copies of the C system libraries? Cheers, Thomas Krichel http://openlib.org/home/krichel http://authorprofile.org/pkr1 skype: thomaskrichel
Hello Thomas
saveURL should not be called like this, we are storing templates
The code is suppored ot be written in Perl, not in C. You should recode the entire thing. Where is the saveURL C code actually? I don't see it. Giving us a binary only is not acceptable. I am not good at perl thats why i coded it in cpp. I will send you the code. Why do you use copies of the C system libraries? saveurl needs shared libraries as dependency. Although some libraries might be present on server but i copied all ldd libraries as i dont know which lib packages are already installed on server. Please tell me if the work done by saveurl is correct or not. If its wrong what changes i need to do and also im not able to understand cache structure.
Rishabh Sharma writes
I am not good at perl thats why i coded it in cpp.
We can't work like this.
I will send you the code.
We don't send code. We use a server to do the work and there we store code.
Why do you use copies of the C system libraries? saveurl needs shared libraries as dependency. Although some libraries might be present on server but i copied all ldd libraries as i dont know which lib packages are already installed on server.
You could ask me to install packages if the softwar is not there.
Please tell me if the work done by saveurl is correct or not. If its wrong what changes i need to do
I think the work is correct but it needs to be coded in Perl. You also need to build/maintain a caching database.
and also im not able to understand cache structure.
You need to set this out from the requiremnts. For tobi ids we need disk locations. If we look at a different dump we need store new version of the template if it has changed. Cheers, Thomas Krichel http://openlib.org/home/krichel http://authorprofile.org/pkr1 skype: thomaskrichel
Hi, rewritten the code in perl please check ReDif.pm. Thanku Rishabh Sharma http://www.anantyarnd.in
Rishabh Sharma writes
rewritten the code in perl please check ReDif.pm.
you mean ~/lib/perl/ArchEc/ReDIF.pm It's ok but please set some form of verbosity parameter. Now it it is time to think about the database, I will try to install mongodb perl for you. Cheers, Thomas Krichel http://openlib.org/home/krichel http://authorprofile.org/pkr1 skype: thomaskrichel
Thomas Krichel writes
I will try to install mongodb perl for you.
I think I sort-of succeeded, try archec@rishu:~$ man mongodb Cheers, Thomas Krichel http://openlib.org/home/krichel http://authorprofile.org/pkr1 skype: thomaskrichel
participants (2)
-
Rishabh Sharma -
Thomas Krichel