[pskmail] Re: File uploads via PSKMail.

  • From: Per Crusefalk <per@xxxxxxxxxxxx>
  • To: pskmail@xxxxxxxxxxxxx
  • Date: Fri, 05 Jun 2009 13:48:53 +0200

Hi Ian,

This is very interesting!
I treat bug reports as gifts, they are proof that someone cares enough
to write down what the trouble is. And for every bug report there are
numerous users that just stop and go elsewhere... So, thanks!

Regarding that problem I am quite certain that its caused by the older
version you tried earlier. It has left a broken configuration file and
the new version tries to read that (and refuses to use it). You can get
past that problem by deleting configuration.xml within .pskmail (and any
other configuration.xml file it may have created).

Regarding the jre versions that was a problem at the start as netbeans
used a layoutmanager that required the latest jre. Macs in particular
had trouble there as they have real problems updating (its tied to the
version of the os, have to upgrade the entire os).

Once we have a nice and stable version then there should not be issues
like these. Its not a complete product yet, the perl stuff has been
tested a lot and is much more stable as you say.

I see the a whole range of problems with perl but I wont detail them
here, its just not good enough going forward.

But, I realize that there are problems with java too, its just that the
end result can be so much better if we go that way so I hope you hang in
there. For instane the integrated map tab just would not have been
possible within perl (its an integrated open streetmap on a separate
tab, you can see your position and all other received positions there).

But, we need better interaction so that there is a way to handle
problems. Perhaps its time for a bugzilla or a way to file problems?

73 de Per, sm0rwo

P.s. Take it easy, its just a hobby ;-)


fre 2009-06-05 klockan 21:01 +1000 skrev Ian Bennett:
> Hi Per,
>       You have opened a can of worms here ;-)
>       I have never had any success running java apps. They run slow (they 
> seem to 
> for me anyway), I never seem to have the right jre installed and the verbose 
> and cryptic error messages mean nothing to me.
>       I am grappling with a problem as we speak. When I start jpskmail, I get 
> a 
> dialog box saying:
> 
> Message: For input string:'"'
> From class: class java.lang.NumberFormatException
> Problems with config parameter.
> 
>         Then I get another box saying:
> 
> Could not store setting: ICON
> 
>       I have just installed v0.3.6 but it did the same thing with 0.3.4
>       There is nothing in the Wiki or the manual that tells me what this 
> means nor 
> how to fix it. I have followed the installation instructions to the letter.
>       These frustrations are what is stopping me using pskmail.
>       I have no such issues with the perl version but I can't transfer files 
> (upload) with it. John (VK2ETA) has suggested a possible solution but I need 
> to run jpskmail.
>       In my opinion, the project should have stuck with perl. I am by no 
> means 
> proficient with perl but I do understand a little and all errors I have 
> encountered with other scripts I have managed to fix.
>       I'll go take my medication now; my blood pressure has gone through the 
> roof 
> (only joking).
> 
> Ian
> VK1IAN.
> 
> On Fri, 5 Jun 2009 20:46:34 Per Crusefalk wrote:
> > Hi,
> >
> > I didn't write that so I'm leaving the legacy stuff for Rein to
> > comment ;-)
> >
> > But, I'm interested in the feelings about java. Is there a problem
> > somewhere that makes it difficult to use java? Anything in particular
> > that causes problems? I know java, swing, used to be ugly as h... but I
> > find its looking like a native app (on all the platforms) now.
> >
> > 73 de Per, sm0rwo
> >
> > fre 2009-06-05 klockan 20:17 +1000 skrev Ian Bennett:
> > > Thanks John,
> > >   Steve is out at his block but I'm going out there tomorrow so will pass
> > > it on.
> > >   Might be able to give it a go whilst we are out there.
> > >   mmm...Java....yep; that makes me happy....NOT :-(
> > >   Thanks again. Will let you know how we get on.
> > >
> > > Ian
> > > VK1IAN
> > >
> > > On Fri, 5 Jun 2009 20:10:25 vk2eta@xxxxxxxxx wrote:
> > > > Steve,
> > > >
> > > > I had a look through the code and the only way I can see without code
> > > > writting is to use the latest server (0.8.5) and the java client which
> > > > allows you to attach a file to an email.
> > > >
> > > > An option, if the objective is just to upload and not send the file by
> > > > email is the follwing: in the current sever code, the attachement
> > > > received by the server is deleted after being send, but by commenting
> > > > out one line in the send_MIME() subroutine the file coud be left there
> > > > and used for other purposes than emailing (like for an ftp or http
> > > > server for example).
> > > >
> > > > The line to comment out is:
> > > >
> > > > `rm "$ENV{HOME}/.pskmail/uploads/$afile"`;
> > > >
> > > > The directory $ENV{HOME}/.pskmail/uploads would then contain the files
> > > > that were send as an attachment to the emails.
> > > >
> > > > It seems that each email can only have one attachment but that needs to
> > > > be confirmed. And of course that is only available with the java client
> > > > whih will make Ian happy :).
> > > >
> > > > Hope this helps.
> > > >
> > > > 73, John.
> > > >
> > > > On 03/06/2009 8:49pm, stevez@xxxxxxxxxx wrote:
> > > > > Hello all,
> > > > >
> > > > >
> > > > >
> > > > > I was wondering if it is possible (and if so, how) to send a file to
> > > > > (or
> > > > >
> > > > > even via) a PSKMail server.
> > > > >
> > > > > I notice an uploads directory in my ~/.pskmail on my server.
> > > > >
> > > > > I've also seen talk in the mailing list archives about speed
> > > > > comparisons
> > > > >
> > > > > between binary and text uploads, and even some talk about updating
> > > > >
> > > > > source code via PSKMail - so some way of uploading files must be
> > > > >
> > > > > possible. The trouble is I have no idea how this would be done.
> > > > >
> > > > >
> > > > >
> > > > > Any hints welcome, and I promise to update doco or the FAQ with what
> > > > >
> > > > > ever I learn.
> > > > >
> > > > >
> > > > >
> > > > > Thanks all
> > > > >
> > > > > Steve (VK2ZSZ)
> 
> 


Other related posts: