Re: sudo 4.6.4 Aborted

2017-05-14 Thread Thiago Macieira
On domingo, 14 de maio de 2017 23:22:55 PDT Martin Měřinský wrote: > > we should fix the reason you run as root in the first place. > > > > > Because importing dives from DC doesn't work for me as a user. So > > > for > > > the short moment I run Subsurface as a root. > > > > > > I tried, what ma

Re: Ratio iX3M connection fails

2017-05-14 Thread Jef Driesen
On 2017-05-15 05:13, Miika Turkia wrote: On Sun, May 7, 2017 at 10:22 AM, Jef Driesen wrote: On 07-05-17 07:07, Miika Turkia wrote: We have a bug report that iX3M download does not work after latest firmware update. Do you Jef (or anyone else) have ideas what is going on? https://github.com/

Re: sudo 4.6.4 Aborted

2017-05-14 Thread Martin Měřinský
> we should fix the reason you run as root in the first place. > > > Because importing dives from DC doesn't work for me as a user. So > > for > > the short moment I run Subsurface as a root. > > > > I tried, what manual says, but it didn't work. > > > > sudo usermod -a -G dialout mermar > > sud

Re: sudo 4.6.4 Aborted

2017-05-14 Thread Thiago Macieira
On domingo, 14 de maio de 2017 21:52:56 PDT Dirk Hohndel wrote: > Ah, apparently this is a Qt bug that was declared not a bug at some point > (you can find quite a few threads about this), and the way to work around > it is to implement your own Logger class and exit() instead of abort() > when you

Re: sudo 4.6.4 Aborted

2017-05-14 Thread Dirk Hohndel
On Mon, May 15, 2017 at 06:43:36AM +0200, Martin Měřinský wrote: > > New info: happens only with Wayland. Under X, it requests for -- > allow_run_as_root and with this option it works. I was going to ask you about that as that's the error I get. I wonder why you don't get that under Wayland... bu

Re: sudo 4.6.4 Aborted

2017-05-14 Thread Dirk Hohndel
On Sun, May 14, 2017 at 09:43:49PM -0700, Dirk Hohndel wrote: > On Sun, May 14, 2017 at 09:32:45PM -0700, Thiago Macieira wrote: > > On domingo, 14 de maio de 2017 21:20:01 PDT Martin Měřinský wrote: > > > sudo subsurface divelog.xml > > > [sudo] password for mermar: > > > QStandardPaths: XDG_RUNTI

Re: sudo 4.6.4 Aborted

2017-05-14 Thread Dirk Hohndel
On Sun, May 14, 2017 at 09:32:45PM -0700, Thiago Macieira wrote: > On domingo, 14 de maio de 2017 21:20:01 PDT Martin Měřinský wrote: > > sudo subsurface divelog.xml > > [sudo] password for mermar: > > QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime- > > root' > > No protocol s

Re: sudo 4.6.4 Aborted

2017-05-14 Thread Martin Měřinský
On Sun, 2017-05-14 at 21:32 -0700, Thiago Macieira wrote: > On domingo, 14 de maio de 2017 21:20:01 PDT Martin Měřinský wrote: > > sudo subsurface divelog.xml > > [sudo] password for mermar: > > QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to > > '/tmp/runtime- > > root' > > No protocol spec

Re: sudo 4.6.4 Aborted

2017-05-14 Thread Thiago Macieira
On domingo, 14 de maio de 2017 21:20:01 PDT Martin Měřinský wrote: > sudo subsurface divelog.xml > [sudo] password for mermar: > QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime- > root' > No protocol specified > QXcbConnection: Could not connect to display :0 > Aborted (core du

sudo 4.6.4 Aborted

2017-05-14 Thread Martin Měřinský
Hi. In Ubuntu 17.04, running Subsurface under sudo (two displays setup) makes it fail. Without sudo it seems to work. subsurface --version Subsurface v4.6.4, built with libdivecomputer v0.6.0-devel-Subsurface- branch (b04f393b97fbc5762ac21b09df8e097f205ba0ec) sudo subsurface divelog.xml  [sudo] p

Re: Ratio iX3M connection fails

2017-05-14 Thread Miika Turkia
On Sun, May 7, 2017 at 10:22 AM, Jef Driesen wrote: > On 07-05-17 07:07, Miika Turkia wrote: >> >> We have a bug report that iX3M download does not work after latest >> firmware update. Do you Jef (or anyone else) have ideas what is going >> on? >> >> https://github.com/Subsurface-divelog/subsurfa