divelogs.de: parsing response on upload

Dirk Hohndel dirk at hohndel.org
Sat Dec 7 07:35:57 UTC 2013


Let's copy Rainer directly - I'm not sure he reads the mailing list
every day...

/D

On Sat, 2013-12-07 at 17:16 +0200, Lubomir I. Ivanov wrote:
> hello,
> 
> the new upload code can be tested from here:
> git at github.com:neolit123/subsurface.git web
> 
> notes:
> - there were merge conflicts with my existing branch and master.
> - you can right click a dive to call "upload to divelogs.de..."
> 
> the temporary zip file is created in QDir::QDir::tempPath() and dives
> are added to it. then it is uploaded via:
> DivelogsDeWebServices::uploadDives(QIODevice *dldContent)
> 
> and the transfer is reported as successful, but then this is the
> server response:
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <divelogsDataImport version="1.0">
>   <Login>succeeded</Login>
>   <FileCopy>failed</FileCopy> <---------------- ?
>   <entered>0</entered>
>   <skipped>0</skipped>
>   <profiles>0</profiles>
> </divelogsDataImport>
> 
> and the uploaded dive is missing in the web interface.
> any ideas?
> 
> lubomir
> --
> _______________________________________________
> subsurface mailing list
> subsurface at hohndel.org
> http://lists.hohndel.org/cgi-bin/mailman/listinfo/subsurface




More information about the subsurface mailing list