Hi Nicklas,

>>
>>I got a confusing message when I was using the Experiments > Import.
>>Basically, BASE was expecting a zip file and I was (perhaps stupidly)
>>trying to upload a single file. The BASE WWW interface returned:
>>
>>'We couldn't find any file format mathing the file
>>/home/Admin/latestbluefuse.txt.'
>>
>>In the error log the problem is clear.
>>
>>===================================== ===========NEW BATCH IMPORT
>>========= ===================================== file is not a zip
>>file java.lang.NullPointerException at
>>sbrn.base.BatchDataImporter.isImportable(BatchDataImporter.java:181) 
>>at
>>net.sf.basedb.util.AutoDetectFileFormat.findPlugins(AutoDetectFileFormat.java:145)
>>
>>
>>
>>Could a similar message be shown in the GUI? 
> 
> 
> As it is currently implemented it is not possible. A plugin can only 
> answer yes or no when asked if it can import a file. Unfortunately, it 
> can't give any reason why the file can't be imported.


Perhaps the button and/or title could be changed to reflect the function in the 
meantime e.g.

Button name = 'Batch Import' and the title pop up = 'Import a zip file'?

Regards and thanks,

Steve


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
The BASE general discussion mailing list
basedb-users@lists.sourceforge.net
unsubscribe: send a mail with subject "unsubscribe" to
[EMAIL PROTECTED]

Reply via email to