Re: Import WLOG no longer working

2020-08-14 Thread Berthold Stoeger via subsurface
On Freitag, 14. August 2020 22:27:00 CEST Linus Torvalds wrote: > That said, looking at that commit, I feel I found a completely > unrelated bug. In "merge_events()" we stop merging aftrer we've done > *one* event from a divecomputer when we've run out of events from the > other divecomputer. You

Re: Import WLOG no longer working

2020-08-14 Thread Manfred Hantl via subsurface
Hello Salva, i can imagine this. As i wrote earlier to you the dives were imported from severeal different applications - DataTrak, Wlog, SmartTrak and DiverLog for Oceanic and manually added. Don't know which fields were importable which not and if all fields were m

Re: Import WLOG no longer working

2020-08-14 Thread Salvador Cuñat via subsurface
Hellow. The morning coffee seems to trigger my imagination and I think I've got it. The data in cloud storage seems to be screwed badly for some reason. It shows some dives lasting 500hr or more and other inconsistencies ... Most of this dives are pretty old, while newer are correct, so neither Ma

Re: Import WLOG no longer working

2020-08-14 Thread Linus Torvalds via subsurface
On Fri, Aug 14, 2020 at 1:55 PM Salvador Cuñat wrote: > > Dive num = 394 -- ev type = 11 > ev->gas,index = 1 > Dive num = 398 -- ev type = 11 > ev->gas,index = 1 > Dive num = 401 -- ev type = 25 > ev->gas,index = 0 > Dive num = 401 -- ev type = 6 > Dive num = 401 -- ev type = 3 > Dive num = 401 --

Re: Import WLOG no longer working

2020-08-14 Thread Salvador Cuñat via subsurface
Good night. El vie., 14 ago. 2020 a las 22:27, Linus Torvalds (< torva...@linux-foundation.org>) escribió: > On Fri, Aug 14, 2020 at 12:34 PM Dirk Hohndel wrote: > > > > So we are merging dives and are renumbering cylinders, and then things > go kaboom here: > > > > static void event_renumber(st

Re: Import WLOG no longer working

2020-08-14 Thread Linus Torvalds via subsurface
On Fri, Aug 14, 2020 at 12:34 PM Dirk Hohndel wrote: > > So we are merging dives and are renumbering cylinders, and then things go > kaboom here: > > static void event_renumber(struct event *ev, const int mapping[]) > ... > ev->gas.index = mapping[ev->gas.index]; > > Line 2139 is that last assig

Re: Import WLOG no longer working

2020-08-14 Thread Dirk Hohndel via subsurface
> On Aug 14, 2020, at 12:20 PM, Salvador Cuñat wrote: >> That's frustrating and shouldn't happen. But the meta data on the cloud >> server >> show me that Manfred successfully stored data in the cloud from a Windows >> machine earlier today - so I'm not sure that statement is correct, either. >

Re: Import WLOG no longer working

2020-08-14 Thread Salvador Cuñat via subsurface
Hi Dirk. On Fri, Aug 14, 2020 at 11:53:20AM -0700, Dirk Hohndel wrote: > > That's frustrating and shouldn't happen. But the meta data on the cloud server > show me that Manfred successfully stored data in the cloud from a Windows > machine earlier today - so I'm not sure that statement is correct,

Re: Import WLOG no longer working

2020-08-14 Thread Dirk Hohndel via subsurface
Can you send me the log file that you try to import? Thanks /D > On Aug 14, 2020, at 12:10 PM, Manfred Hantl wrote: > > Hello Dirk, > > i always do the same - start subsurface - open the cloud storage - this loads > successfully all dives > which were last save 9.7.2020. Then i try ro import

Re: [subsurface/subsurface] [WIP] Filter constraint prototype (#2854)

2020-08-14 Thread Willem Ferguson via subsurface
On 2020/08/12 20:08, Dirk Hohndel wrote: This hasn't seen updates in ages. I thought @willemferguson was going to look into UI work, and then, err, forgot. What are reasonable next steps to move this forward. I've played with it and think it is a very good

Re: Import WLOG no longer working

2020-08-14 Thread Manfred Hantl via subsurface
Hello Dirk, i always do the same - start subsurface - open the cloud storage - this loads successfully all dives which were last save 9.7.2020. Then i try ro import the newest wlog or Salva's srrf. After a few seconds subsurface crashes. I can do and did the same with the data of my wife birgi

Re: Import WLOG no longer working

2020-08-14 Thread Dirk Hohndel via subsurface
> On Aug 14, 2020, at 10:00 AM, Salvador Cuñat wrote: > > Hi Manfred, > I'm copying this mail to to Dirk and the mail list too. Most of what > I'm talking about is for them. > > On Fri, Aug 14, 2020 at 05:32:53PM +0200, Manfred Hantl wrote: >> are you now able to use my cloud storage? The emai

Re: Import WLOG no longer working

2020-08-14 Thread Salvador Cuñat via subsurface
Hi Manfred El vie., 14 ago. 2020 12:23, Manfred Hantl escribió: > > I can send you the wlog log when you want to test. And you can also have > my cloud login data. I don't care about data protection > Yes, please, send me your log file as I can't produce a crash with any of the sample files I h

Re: Import WLOG no longer working

2020-08-14 Thread Manfred Hantl via subsurface
Hello Salva, thx for your answer. Here are the anwers to your questions i use the latest Windows 10 Pro Build 2004 i download to Wlog i use several different tanks i import the always the whole log. That's the easiest best regards

Re: Import WLOG no longer working

2020-08-14 Thread Salvador Cuñat via subsurface
El vie., 14 ago. 2020 11:49, Manfred Hantl via subsurface < subsurface@subsurface-divelog.org> escribió: > . Since i have an old Aladin AIR computer i have to use > datatrak or wlog for reading the dives from the computer. > By the way, this isn't necessary, serial Aladin devices are supported fr

Re: Import WLOG no longer working

2020-08-14 Thread Salvador Cuñat via subsurface
Hi Manfred. It's been a long time I haven't tried Datatrak/Wlog import. I was, in fact, wondering some days ago if any one still used it :) Nevertheless, I have some time today to look at it. Some preliminary questions: - Which OS are you using? Windows, Linux ... - Are you downloading from your

Import WLOG no longer working

2020-08-14 Thread Manfred Hantl via subsurface
i use subsurface for managing my dives. Since i have an old Aladin AIR computer i have to use datatrak or wlog for reading the dives from the computer. From time to time i imported them to subsurface. This worked successfully for a long time but nowadays subsurface crashes without further notic