← Back to team overview

qpdfview team mailing list archive

Re: qpdfview do not start!

 

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


Hi all,

I started the build. However, the Launchpad builders are apparently
busy so it will take an hour. (Don't worry about the bug, that's what
we get for being "trunk-testers". :-) )

Cheers,
Benjamin

Am 15.10.2013 19:32, schrieb Adam Reichold:
> Hello Arnaud, hello Benjamin,
> 
> this was definitely worth a bug report and by no means a problems 
> of the packages (all of them that built from trunk were affected). 
> :-(
> 
> I worked on the assumption that default object name of the 
> application would be empty or null, but it uses the application 
> name... Fixed it by setting it to the null string before parsing 
> the command-line arguments. Should be in trunk revision 1331 and 
> will immediately trigger a rebuild of the dailydebs. (Could you do 
> the same Benjamin? Thanks.)
> 
> I am sorry for the inconvenience, I obviously did not test this in 
> a hurry. I'll try to be more careful in the future.
> 
> Best regards, Adam.
> 
> Am 15.10.2013 10:23, schrieb Benjamin Eltzner:
> 
>> 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/

iQIcBAEBAgAGBQJSXX45AAoJEK27BRz67lmp4t4P+gLT0XyhtGviP38I2qcXwif5
vcHaK8b08+0+f79ZSaP7CG7OJqum8U79+6clHXV3jZGkR2qOi4SiPFIECJP1P43z
1iTJoyHkZMrkJ2asxN4J7IeOml/adJVd5+L+IW62lvvWQo+MK57gxahXRgTcnYnA
bXpqGuSuhUih7yWy+649800w1XU3z8BTlVcfG+k3hEQhWFKqBuhzYZTuLV/UKspR
S2D4jqBY5sldzSerjVObvNJSENtrp7nYOHiHsfHWAaeEge04l0QvRg60CFe2OEJS
Ost/RYpTGtxz3hO/mJGcRf8DprrYdcLCorHQoRcKU+QYyxzj1PShN4d0/Rl3fTdl
UWxj6dlR8iIxaPiA8Scctyv4cyShs/FyfxrawCJeWS9GiGti3/YQVLXM10x6afZ1
HTeg9MkosaddyX/G87JX4BpY+NuCJAXtAJ1xW1xn5p2lw4EKUSmT+nI7p9ZZq+pW
YBOLg023HzCcjJWL92gEqFR0o4GsPMg18m7K5O2m73i1MLKiL8hIQDuB162U5ASn
R3ivx2wrOdYmykl4dzUwqLSkWmCw9IsOKsH5otJM7UHrJsOqmVTJT0I3rhSNS8S3
DpYuljFHfQM37iD8TK3biZm8tPdZzQcYR9qjj+db5MkIJlOxwB6qO8UoaWK8k9v7
aA1hvIYsT4hjDh37nZjs
=jYJf
-----END PGP SIGNATURE-----


Follow ups

References