Re: [freenet-support] IndexClient

2001-06-15 Thread Brandon


You don't use IndexClient. You use KeyIndexClient. IndexClient is a
lower-level tool that isn't really supposed to be used by itself, but
mainly as part of a script or just a demo.

> How do I place a key in an index?

java Freenet.client.KeyIndexClient -insert snarfoo -key mykey.txt
You replace the arguements to the insert and key parameters with what
index and key you want to insert.

> How do I view keys in an index?

java Freenet.client.KeyIndexClient -list snarfoo
You replace the arguement to the list parameter with the index you want to
list.

Other useful parameters:
-htl 100 (set search depth to 100 (very high))
-past 1 (view yesterday's keys instead of today's)
-past 2 (view keys from two days ago)



___
Support mailing list
[EMAIL PROTECTED]
http://lists.freenetproject.org/mailman/listinfo/support



Re: [freenet-support] IndexClient

2001-06-15 Thread Mr . Bad

> "MDC" == Michael D Carey <[EMAIL PROTECTED]> writes:

MDC> Can someone point me to documentation on how this works?  How
MDC> do I place a key in an index?

MDC> How do I view keys in an index?

Hahaha! Perfect timing!

http://www.freenetproject.org/doc/in-freenet-keyindex.html

~Mr. Bad

-- 
 ~
 Mr. Bad <[EMAIL PROTECTED]> | Pigdog Journal | http://pigdog.org/ 
 "Your description of coffee is how you interpret Sex."
  -- "Personality Quiz" chain letter
 ~

___
Support mailing list
[EMAIL PROTECTED]
http://lists.freenetproject.org/mailman/listinfo/support



[freenet-support] IndexClient

2001-06-15 Thread Michael D. Carey

Can someone point me to documentation on how this works?

How do I place a key in an index?

How do I view keys in an index?

Thanks in advance,

Michael Carey

___
Support mailing list
[EMAIL PROTECTED]
http://lists.freenetproject.org/mailman/listinfo/support



Re: [freenet-support] Need help with "Couldn't load DataStore" error

2001-06-15 Thread Rob Cakebread

On Friday 15 June 2001 07:36 pm, you wrote:
> Hi,
>
> I have a Intel box with Redhat 6.2 and Suns jdk 1.3.1.  I just installed
> freenet.  After I start the server I get:
> [root@mysite Freenet]# ./freenet_server
> + java Freenet.node.Node
>
> Seems fine, but when I connect to localhost:8081 I get an error.  The
> freenet.log gives:
>
> Jun 15, 2001 9:24:36 PM:Normal:Couldn't load DataStore from
> .freenet/store_0 Jun 15, 2001 9:24:37 PM:Freenet.node.Node:Normal:Freenet
> Core running on 1349 (build 391)
>
> Any ideas?
>

The store_0 tells me that it didn't find which port to use. Do you have this 
line set in your .freenetrc and is .freenetrc in that same directory you ran 
./freenet_server from?

listenPort=19114


> thanks
> chad
>
>
> ___
> Support mailing list
> [EMAIL PROTECTED]
> http://lists.freenetproject.org/mailman/listinfo/support

___
Support mailing list
[EMAIL PROTECTED]
http://lists.freenetproject.org/mailman/listinfo/support



[freenet-support] Need help with "Couldn't load DataStore" error

2001-06-15 Thread Chad Phillips

Hi,

I have a Intel box with Redhat 6.2 and Suns jdk 1.3.1.  I just installed
freenet.  After I start the server I get:
[root@mysite Freenet]# ./freenet_server
+ java Freenet.node.Node

Seems fine, but when I connect to localhost:8081 I get an error.  The
freenet.log gives:

Jun 15, 2001 9:24:36 PM:Normal:Couldn't load DataStore from .freenet/store_0
Jun 15, 2001 9:24:37 PM:Freenet.node.Node:Normal:Freenet Core running on
1349 (build 391)

Any ideas?

thanks
chad


___
Support mailing list
[EMAIL PROTECTED]
http://lists.freenetproject.org/mailman/listinfo/support



Re: [freenet-support] install - java issues?

2001-06-15 Thread Dave Hooper

It was sarcasm.  Sorry.
Won't happen again.

- Original Message -

> For the benefit of people who can't be bothered to read the list archives
at
> http://lists.freenetproject.org/pipermail/support/
> , I will be re-sending the following email to [EMAIL PROTECTED]
> every 12 hours.

How will that help?  Anyone who can't be bothered to check the archives
probably isn't subscribed before asking for help.



___
Support mailing list
[EMAIL PROTECTED]
http://lists.freenetproject.org/mailman/listinfo/support



Re: [freenet-support] install - java issues?

2001-06-15 Thread Mr . Bad

> "DH" == Dave Hooper <[EMAIL PROTECTED]> writes:

>> If we can't manage to add two or three more strings
>> ("kaffe.exe", "japhar.exe", "jre.exe" etc.) to the JVM search
>> facility in the Windows install, we suck.

DH> Oh, if only it were that simple.

Wow! OK, that's a lot of stuff. I'm backing WAY DOWN on this one. B-)

~Mr. Bad

-- 
 ~
 Mr. Bad <[EMAIL PROTECTED]> | Pigdog Journal | http://pigdog.org/ 
 "Your description of coffee is how you interpret Sex."
  -- "Personality Quiz" chain letter
 ~

___
Support mailing list
[EMAIL PROTECTED]
http://lists.freenetproject.org/mailman/listinfo/support



Re: [freenet-support] install - java issues?

2001-06-15 Thread Dave Hooper

> Personally, I think this suX0rs. I don't know much about the state of
> Free JVMs on Windows, but I'm pretty damn sure that none of them are
> going to support JDK 1.3 stuff.

They don't need to.

> Freenet is an Open Source Java project. We should support people who
> want to use Open Source Java systems. Mandating a particular
> proprietary JVM is lame.

It is.  We're working on it but currently the only JVM that we  _know_  (and
I mean _really know_) works under Windows is the Sun JRE 1.3.1 .   Name any
other and we'll give you a list of the problems we've encountered trying to
use it / get it to work.

> If we can't manage to add two or three more strings ("kaffe.exe",
> "japhar.exe", "jre.exe" etc.) to the JVM search facility in the
> Windows install, we suck.

Oh, if only it were that simple.

jre.exe is INCOMPATIBLE with java.exe

java.exe uses the 'CLASSPATH' environment variable
jre.exe REQUIRES that we use "-cp" and/or "-classpath" on the command line.
jre.exe does NOT use (or, if it does, does not use RELIABLY) the 'CLASSPATH'
environment variable
"-cp" and "-classpath" are compatible with java.exe but incompatible with
jview.exe, which requires instead that we use "/cp" and/or "/classpath"
...
you see the can of worms?

Like I said, we're working on it.  But to build a list of different jre
executable files AND an internal structure that describes how each one
should be run and its arguments ... THAT sucks.
If they were all compatible, it wouldn't be a problem.

And there's other issues too.  java.exe (Sun JRE 1.3.1), for example, can
create an ugly black console window.  On windows 2000 we can close this
window programatically.   On Win9X and Win ME we cannot.  javaw.exe is the
correct Win32 version of the JRE.  But what is the situation with kaffe.exe?
Or japhar.exe?  Do they create console windows?  Can they be shut
programmatically?  Do they run in the Windows subsystem?  If so, do they
automatically close down when we send child windows the
WM_SYSCOMMAND[SC_CLOSE] message?

I hear that Sun JRE 1.1.xxx does not include the Swing libraries - we (or
the user more likely) would need to install these separately.  Another
potential installation to perform.  So much for user-friendliness or
intuiutive-installation-process.

I mean, gimme some time and I'll literally try all of the JREs I can get my
hands on.  But I can't do all the testing myself.  I've been on the project,
what, a month and a half?  Most of the current support problems are due to
installation process problems (now that I've fixed all of the freenet.exe
bugs and rewritten the old assembler stuff into maintainable C) and it is
these that I am currently concerned about.  By limiting to one JRE
**currently** we can concentrate on other issues, while users get on with
**using**  freenet, and we get on with evaluating alternative JREs.

Jeeez.

Anyways, it's easy enough (for users, you, me, everybody) to do testing with
an alternative JRE for Windows once Freenet is installed.  Just substitute
the path to your jre in the keys
Javaw=
Javaexec=
in the "Flaunch.ini" file.  Preferably, use Javaw= to specify a proper
windows subsystem JRE (no 'dos' windows) and javaexec= to specify a 'dos' or
Win32 console subsystem JRE.
Then exit freenet (if it was already running) and reload it.  This forces it
to reload flaunch.ini and from this point it will use your JRE instead of
the Sun JRE 1.3.1 thing.
Do some testing, try various combinations of EVERYTHING, then get back to
me.

We have a release test lying around somewhere - a bullet-pointed checklist
for evaluation of Windows freenet releases.  I don't see why we couldn't
reuse this to evaluate alternative JREs, assuming the existence of a fully
working freenet as a base point.


Dave


___
Support mailing list
[EMAIL PROTECTED]
http://lists.freenetproject.org/mailman/listinfo/support



Re: [freenet-support] install - java issues?

2001-06-15 Thread Mr . Bad

> "DH" == Dave Hooper <[EMAIL PROTECTED]> writes:

DH> Finally, one active developer in the Freenet world has this to
DH> say

>> I like your idea of mandating the use of Sun Java 1.3 This will
>> make Freenet vastly easier to support, mark my words.
>> Underlying message to user is "Install Sun JRE 1.3, or forget
>> about running Freenet".

Personally, I think this suX0rs. I don't know much about the state of
Free JVMs on Windows, but I'm pretty damn sure that none of them are
going to support JDK 1.3 stuff.

Freenet is an Open Source Java project. We should support people who
want to use Open Source Java systems. Mandating a particular
proprietary JVM is lame.

If we can't manage to add two or three more strings ("kaffe.exe",
"japhar.exe", "jre.exe" etc.) to the JVM search facility in the
Windows install, we suck.

~Mr. Bad

-- 
 ~
 Mr. Bad <[EMAIL PROTECTED]> | Pigdog Journal | http://pigdog.org/ 
 "Your description of coffee is how you interpret Sex."
  -- "Personality Quiz" chain letter
 ~

___
Support mailing list
[EMAIL PROTECTED]
http://lists.freenetproject.org/mailman/listinfo/support



Re: [freenet-support] install - java issues?

2001-06-15 Thread Greg Wooledge

Dave Hooper ([EMAIL PROTECTED]) wrote:

> For the benefit of people who can't be bothered to read the list archives at
> http://lists.freenetproject.org/pipermail/support/
> , I will be re-sending the following email to [EMAIL PROTECTED]
> every 12 hours.

How will that help?  Anyone who can't be bothered to check the archives
probably isn't subscribed before asking for help.

-- 
Greg Wooledge  |   "Truth belongs to everybody."
[EMAIL PROTECTED]  |- The Red Hot Chili Peppers
http://wooledge.org/~greg/ |

 PGP signature


[freenet-support] inform.php is still down, but less so

2001-06-15 Thread Jim Hunziker

Well, inform.php doesn't crash now, but it returns the same 10 nodes every
time.  I don't believe any of them are up.

--- Jim

___
Support mailing list
[EMAIL PROTECTED]
http://lists.freenetproject.org/mailman/listinfo/support



Re: [freenet-support] install - java issues?

2001-06-15 Thread Dave Hooper

For the benefit of people who can't be bothered to read the list archives at
http://lists.freenetproject.org/pipermail/support/
, I will be re-sending the following email to [EMAIL PROTECTED]
every 12 hours.

> This seems to be a very common problem so I've decided to look into it.
> The Sun JRE 1.1.8_007 does NOT install files named java.exe and javaw.exe
> which is the general assumption for a java runtime environment (JRE)
> Instead, the Sun JRE 1.1.8_007 installs files named "jre.exe" and
> "jrew.exe".  The part of the freenet installer that looks for a Java
runtime
> environment only searches for "java.exe" and "javaw.exe" and hence the Sun
> JRE 1.1.8_007 is NOT found because it uses incorrect filenames.
>
> Because of this incompatibility I recommend you use an alternative JRE.
> For example, Sun JRE 1.3.1:
>
> http://java.sun.com/j2se/1.3/jre/download-windows.html
>
>
> There is a remote possibility that a future freenet installer may be
tested
> against Sun JRE 1.1.8_007 and that it may be modified to seek for
"jre.exe"
> and "jrew.exe" as alternative java interpreters.
>
> Dave

Did I say that?  I meant "we ain't ever gonna support Sun JRE 1.1.x"

The following is from the Freenet Bugtracker:

> Date: 2001-06-11 21:57
> Sender: nobody
> Logged In: NO
>
> Please update the site to reflect this "reccomendation"
> (read "requirement?"), as pages like
> http://freenet.sourceforge.net/index.php?page=quickstart
> claim that any JRE higher than 1.1 will do.  Some of us
> still have Sun JRE 1.1.8 since it's the what came packaged
> with StarOffice.  :)

followed by

> Date: 2001-06-14 12:52
> Sender: nobody
> Logged In: NO
>
> I think the claim is meant to indicate that any JRE higher
> than 1.1.xxx will work.
> E.g.  1.2.xxx
>
> The installation program has been changed to display a
> message to this effect when a compatible java.exe cannot be
> found.
>


Finally, one active developer in the Freenet world has this to say

> I like your idea of mandating the use of Sun Java 1.3
> This will make Freenet vastly easier to support, mark my words.
> Underlying message to user is "Install Sun JRE 1.3, or forget about
running
> Freenet".

Ok? ok.


Dave

- Original Message -
From: "Ashraf Shaaban" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, June 15, 2001 3:06 PM
Subject: [freenet-support] install - java issues?


> During installation the program said it couldn't find the 'java
interpreter'
> and directed me to download a JRE.  Did as much and it still doesn't work.
> Asks me to update setting when after I thought it works and I finally had
to
> cancel out of it.  Help pls.  Thx
>
> ___
> Support mailing list
> [EMAIL PROTECTED]
> http://lists.freenetproject.org/mailman/listinfo/support
>


___
Support mailing list
[EMAIL PROTECTED]
http://lists.freenetproject.org/mailman/listinfo/support



[freenet-support] install - java issues?

2001-06-15 Thread Ashraf Shaaban

During installation the program said it couldn't find the 'java interpreter'
and directed me to download a JRE.  Did as much and it still doesn't work.
Asks me to update setting when after I thought it works and I finally had to
cancel out of it.  Help pls.  Thx

___
Support mailing list
[EMAIL PROTECTED]
http://lists.freenetproject.org/mailman/listinfo/support



[freenet-support] inform.php down

2001-06-15 Thread Jim Hunziker

I'm not sure who the maintainer is, but my node's not working today because
http://www.octayne.com/inform.php is down.  Hope this gets to the right
person!

--- Jim

___
Support mailing list
[EMAIL PROTECTED]
http://lists.freenetproject.org/mailman/listinfo/support