<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    Hello Salva,<br>
    <br>
    i checked the cloud storage - it's ok. Thanks for your great work. <br>
    <br>
    I also tried the steps with different users. That's also very
    helpful. I will also import in the furure only new dives like
    suggested.<br>
    <br>
    Of course you can send the corrupt files to Berthold for debugging.
    I think he should start from the corrupt cloud storage. Do you still
    have a copy of it?<br>
    <br>
    best regards<br>
    <br>
    Manfred<br>
    <br>
    <div class="moz-cite-prefix">On 16.08.2020 13:19, Salvador Cuñat
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CABxRwCCeM5J5TkFsxm+Z_-zwOhuzu-EQw-J6MK3XPmzLYF70KQ@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div dir="ltr">
          <div>Hello Manfred.</div>
          <div>I've just fixed your cloud storage.  It seems good to
            me.  Please check it.</div>
          <div><br>
          </div>
        </div>
        <br>
        <div class="gmail_quote">
          <div dir="ltr" class="gmail_attr">El dom., 16 ago. 2020 a las
            8:31, Manfred Hantl (<<a
              href="mailto:Manfred.Hantl@web.de" moz-do-not-send="true">Manfred.Hantl@web.de</a>>)
            escribió:<br>
          </div>
          <blockquote class="gmail_quote" style="margin:0px 0px 0px
            0.8ex;border-left:1px solid
            rgb(204,204,204);padding-left:1ex">
            <div><br>
              One more question - i manage my and my wifes log on the
              same computer. I do this by setting the userid in
              settings, opening then the relevant cloud storage,
              importing the relevant wlog file and uploading again to
              the cloud. This works but is a bit cumbersome due to the
              change of the userid in the settings. Is there a better
              way? Can the cloud user be stored in the local copy of the
              ssrf file ? --
            </div>
          </blockquote>
          <div><br>
          </div>
          <div>Yes, there is.</div>
          <div><br>
          </div>
          <div>You can call Subsurface from command line (or set
            appropriately the desktop link in Win10, if any) like:</div>
          <div><br>
          </div>
          <div>subsurface --user=Manfred   (Manfred is example)</div>
          <div><br>
          </div>
          <div>First time you do this you have to set all preferences
            for the "user" Manfred.  This includes cloud user and
            password (your current are stored locally but not bound to a
            user), units, if you want to automatically open the cloud,
            gradient factors, etc, etc.</div>
          <div>Once you are done all settings are bound to the user
            "Manfred", and next time you just have to call subsurface
            using the flag --user=Manfred as before.</div>
          <div><br>
          </div>
          <div>Repeat for your wife, with a different user, off course
            ;-)</div>
          <div><br>
          </div>
          <div>The thing I'd change, for sure, is the way you are
            updating your Subsurface divelog.  Try this:</div>
          <div><br>
          </div>
          <div>- open subsurface as usual</div>
          <div>- close your regular divelog (cloud or file)</div>
          <div>- with the main tab empty ...</div>
          <div>- import your .log file  -> you should get all dives
            in the log file.</div>
          <div>- Select the last dive you have in your current
            subsurface divelog</div>
          <div>- Go down the dive list to the first one.</div>
          <div>- Press "shift" and left click on the mouse at once ->
            you have selected a range of dives.</div>
          <div>- right click on the mouse and, in the appearing menu
            select "delete dive/s"</div>
          <div>- now you should only have in the dive list those dives
            you want to add to the divelog.</div>
          <div>- from main menu select "save as" and choose a fancy name
            like "temp_manfred.ssrf" in the folder you prefer.</div>
          <div>- Open again your subsurface divelog</div>
          <div>- go to import menu -> choose your temp_manfred.ssrf"
            file.</div>
          <div>- renumber the dives as those imported will have
            different sequence numbers than previous.<br>
          </div>
          <div>- Save your updated subsurface divelog.</div>
          <div><br>
          </div>
          <div>This seems annoying but is longer to explain than to do. 
            Once you have set users for your wife and you, it may be
            even faster using command line.  By calling subsurface like:</div>
          <div><br>
          </div>
          <div>subsurface /path/to/my/wlog_divelog.log</div>
          <div><br>
          </div>
          <div>you will be directly in step #5</div>
          <div><br>
          </div>
          <div>May be I've been too verbose explaining this as you have
            used Subsurface for some time now, but in Spain we use to
            say "Mejor que sobre que no que falte" (vaguely "better too
            much than too few").</div>
          <div><br>
          </div>
          <div>BTW.  Berthold had asked for the bogus file to try to fix
            the issues derived from repeatedly merging the same dives
            once and again. Do you mind if I send it to him?</div>
          <div><br>
          </div>
          <div>Sorry for this long brick, best regards.</div>
          <div><br>
          </div>
          <div>Salva.<br>
          </div>
          <div><br>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="100">--
Manfred Hantl
Helga-Seibert-Str. 41
76149 Karlsruhe
Telefon +49 721 46726072
Mobil +49 171 2217468
</pre>
  </body>
</html>