Hi Assaph,
Thanks for the quick reply.
Copying the storage directory should work (specifically, the <port>
directory within the storage, e.g. 2500).
Yes, I did just that.
There should be two sets of files: snapshots and command_logs (which
are incremental changes from the latest snapshot). Make sure you got
all files.
After killing the pimki (1.2) process:
---------------------------------- 8< ----------------------------------
zoso@velutha:~/src/pimki-1.2.092$ ls -a storage/2500/
total 568
drwxr-xr-x 2 zoso zoso 4096 2005-01-16 22:05 ./
drwx------ 3 zoso zoso 4096 2004-12-10 22:12 ../
-rw-rw-rw- 1 zoso zoso 54683 2004-12-11 00:29 000000000000000000001.command_log
-rw-rw-rw- 1 zoso zoso 68619 2004-12-11 02:54 000000000000000000002.command_log
-rw-rw-rw- 1 zoso zoso 24469 2004-12-11 16:25 000000000000000000003.command_log
-rw-rw-rw- 1 zoso zoso 26770 2004-12-12 04:13 000000000000000000004.command_log
-rw-rw-rw- 1 zoso zoso 8490 2004-12-12 15:08 000000000000000000005.command_log
-rw-rw-rw- 1 zoso zoso 1560 2004-12-12 17:51 000000000000000000006.command_log
-rw-rw-rw- 1 zoso zoso 6614 2004-12-14 01:29 000000000000000000007.command_log
-rw-rw-rw- 1 zoso zoso 19183 2004-12-27 23:48 000000000000000000008.command_log
-rw-rw-rw- 1 zoso zoso 16432 2004-12-28 20:03 000000000000000000009.command_log
-rw-rw-rw- 1 zoso zoso 3240 2004-12-30 17:48 000000000000000000010.command_log
-rw-rw-rw- 1 zoso zoso 29954 2004-12-30 22:59 000000000000000000011.command_log
-rw-rw-rw- 1 zoso zoso 19824 2005-01-02 01:50 000000000000000000012.command_log
-rw-rw-rw- 1 zoso zoso 4951 2005-01-02 23:58 000000000000000000013.command_log
-rw-rw-rw- 1 zoso zoso 4951 2005-01-03 17:17 000000000000000000014.command_log
-rw-rw-rw- 1 zoso zoso 4951 2005-01-04 00:34 000000000000000000015.command_log
-rw-rw-rw- 1 zoso zoso 10203 2005-01-04 23:31 000000000000000000016.command_log
-rw-rw-rw- 1 zoso zoso 3399 2005-01-05 17:41 000000000000000000017.command_log
-rw-rw-rw- 1 zoso zoso 17606 2005-01-06 23:12 000000000000000000018.command_log
-rw-rw-rw- 1 zoso zoso 1552 2005-01-07 18:41 000000000000000000019.command_log
-rw-rw-rw- 1 zoso zoso 39066 2005-01-09 00:45 000000000000000000020.command_log
-rw-rw-rw- 1 zoso zoso 8484 2005-01-09 17:55 000000000000000000021.command_log
-rw-rw-rw- 1 zoso zoso 11344 2005-01-11 01:00 000000000000000000022.command_log
-rw-rw-rw- 1 zoso zoso 3467 2005-01-11 23:30 000000000000000000023.command_log
-rw-rw-rw- 1 zoso zoso 13513 2005-01-12 23:52 000000000000000000024.command_log
-rw-rw-rw- 1 zoso zoso 6934 2005-01-13 20:49 000000000000000000025.command_log
-rw-rw-rw- 1 zoso zoso 73348 2005-01-15 00:06 000000000000000000026.command_log
-rw-rw-rw- 1 zoso zoso 10284 2005-01-16 21:40 000000000000000000027.command_log
-rw-rw-rw- 1 zoso zoso 3184 2005-01-16 21:57 000000000000000000028.command_log
-rw-rw-rw- 1 zoso zoso 6571 2005-01-16 23:20 000000000000000000029.command_log
---------------------------------- >8 ----------------------------------
No snapshots? After that, I did:
---------------------------------- 8< ----------------------------------
zoso@velutha:~/src/pimki-1.4.092$ mv storage{,~}
zoso@velutha:~/src/pimki-1.4.092$ cp -a ../pimki-1.2.092/storage .
---------------------------------- >8 ----------------------------------
Is it possible that you've grabbed an old directory?
Hmmm... I don't think so, I only have one pimki directory and no backups,
AFAIK...
or that perhaps
the latest snapshot/command_log file was open by a running instance of
pimki when you copied and wasn't copied properly?
Yes, I thought that, but killed pimki, tried to copy again and didn't work
either :-? BTW, the HomePage version was from December 10th, and I have
updated almost daily for the last several weeks.
Oh, and I forgot to say that I get some errors at startup, I don't know if
it can be related:
---------------------------------- 8< ----------------------------------
zoso@velutha:~/src/pimki-1.4.092$ ruby pimki.rb
#<LoadError: No such file to load -- rubygems>
pdfeTeX (Web2C 7.4.5) 3.14159-1.10b-2.1
kpathsea version 3.4.5
Copyright (C) 1997-2003 The NTS Team (eTeX)/Han The Thanh (pdfTeX).
Kpathsea is copyright (C) 1997-2003 Free Software Foundation, Inc.
There is NO warranty. Redistribution of this software is
covered by the terms of both the pdfeTeX copyright and
the GNU General Public License.
For more information about these matters, see the files
named COPYING and the pdfeTeX source.
Primary author of pdfeTeX: The NTS Team (eTeX)/Han The Thanh (pdfTeX).
Kpathsea written by Karl Berry and others.
[2005-01-16 23:26:41] INFO WEBrick 1.3.1
[2005-01-16 23:26:41] INFO ruby 1.8.2 (2004-12-23) [i386-linux]
[2005-01-16 23:26:41] INFO Your WEBrick server is now running on http://localhost:2500
/home/zoso/src/pimki-1.4.092/app/controllers/wiki.rb:4: warning: already initialized constant RenderedTodo
/home/zoso/src/pimki-1.4.092/app/controllers/wiki.rb:209: warning: already initialized constant FAR_FUTURE
/home/zoso/src/pimki-1.4.092/app/controllers/wiki.rb:210: warning: already initialized constant TODO_RE
---------------------------------- >8 ----------------------------------
Regards,
···
On Mon, Jan 17, 2005 at 08:11:08AM +0900, Assaph Mehr wrote:
--
Esteban Manchado Velázquez <zoso@foton.es> - http://www.foton.es
EuropeSwPatentFree - http://EuropeSwPatentFree.hispalinux.es