← Back to team overview

qpdfview team mailing list archive

Re: qpdfview do not start!

 

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Hi Arnaud,

as I use the same packages, I can confirm the problem. I use Adam's
recipe for the experimental daily builds but I think the problem is
not in the packages.) I have the suspicion, that the new "check for
legal command line arguments" does some blunder here or the problem is
related to one of the last two versions.

Maybe the problem is in line 243 of main.cpp
if(!unique && !qApp->objectName().isEmpty())
in conjuction with not replacing line 92
static QString instanceName = "";
by, say
qApp->setObjectName();
i.e. the qApp->objectName() does not get the empty string (or NULL) to
point to if there is no instance name but remains uninitialized and
therefore the pointer points somewhere. If you feel lucky, you could
try to compile with
qApp->setObjectName();
added in Line 92 to check this hypothesis.

Cheers,
Benjamin


Am 15.10.2013 08:12, schrieb Arnaud Schmittbuhl:
> 
> The version I am working with was compiled by benjamin [as:~]$ cat
> /etc/apt/sources.list|grep qpdfview # qpdfview deb
> http://ppa.launchpad.net/b-eltzner/qpdfview-exp-daily/ubuntu 
> precise main
> 
> 
> Le Tue, 15 Oct 2013 07:28:29 +0200, Arnaud Schmittbuhl
> <aschmittbuhl@xxxxxxxxxxxxxx> a écrit :
> 
>> 
>> This morning, qpdfview do not start!
>> 
>> [as:~]$ LANG=EN qpdfview "Using '--instance' is not allowed
>> without using '--unique'." (same trouble as root) (I do not have
>> any aliases.)
>> 
>> [as:~]$ qpdfview --unique
>> 
>> works fine. It looks like --unique became a mandatory command
>> line option!
>> 
>> [as:~]$ dpkg -l | grep qpdfview ii  qpdfview 
>> 0.4.6.99~1330~49~ubuntu12.04.1     amd64        tabbed PDF
>> viewer
>> 
>> on a debian testing/sid)
>> 
>> bye,
>> 
> 
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBAgAGBQJSXPtmAAoJEK27BRz67lmpoQsP/1IWe/hyC/NypTV6rQakV6NP
dwOveG4JK+m6tHvKWxkA9x4xGQ3pJq7w6waVYj2B4DmSPfcMl4414+e9ft+5yDTO
vRhMUmVNSbHz/XnTE69hNLRvf8j9AduFIimmoLkv90uxslTn25n9YNlZLu+z5LPC
+7+wS98SNRqUYCBiw6Ags28CrYNV4Xxj7qWjlctPczhoBBaE4jTzjopeoKJnkQtb
se5b7b41VKGTPPgCsgDnUeIz6PypN2eXCs5IZRVO6nT147+ICsJgKWbt/XJ+JJUz
08mL98WQv1Q51K8lz+ppgSGXK2c16cNhea7iaM+JRvQ+7BwJzKDmYhhdZ1Xl/BJO
iem3PZ+1KqMhcJvJ3S2fctOHC9gx+9axRg+3R+AcHYeXy8iVm8JPkA8TuE99Vs8z
/A27mGdv/APKPIRejC6i5DZmllA7qyUvA/oCouT4oSqA7ER7SIFR/TJTTbnQYN2j
LV5BE93Le4r+5i6vbfyuwXc6JovbvvkvL72raLtd6wMrBsX5NHN/9XAB64W7WM9O
+RiaOKQm6sj/LyUEYZKWbNSrNXkyMwONWFIKHmiDc2wWnXdaBDlw+CE/4OZtWqaP
N8zvsXdiilOvgE0sXVjN9/Y5paQuJP2WuSeXSFbhrkKsOT5Oso7d2RIFVGJ/GvY1
zvZY1kppESLDuR8TbwwY
=plIO
-----END PGP SIGNATURE-----


Follow ups

References