Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot get version: QString::arg: 1 argument(s) missing in TeXworks %1 (%2) [r.%3, %4] #966

Closed
davidhcefx opened this issue Mar 14, 2022 · 3 comments
Labels

Comments

@davidhcefx
Copy link

Bug description:

$ texworks -v
QString::arg: 1 argument(s) missing in TeXworks %1 (%2) [r.%3, %4]


Copyright (C) 2007-2021  Jonathan Kew, Stefan Löffler, Charlie Sharpsteen
License GPLv2+: GNU GPL (version 2 or later) <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Steps to reproduce the problem:

  1. Execute texworks -v from command line.

Expected behavior:

Show version info as in Menu > Help > About TeXworks... would display in the GUI program.

General information:
TeXworks version: 0.6.6 (MiKTeX 22.1)
TeXworks obtained from: Ubuntu ppa
Operating system: Linux linux 5.4.0-65-generic #73~18.04.1-Ubuntu SMP Tue Jan 19 09:02:24 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Additional information:

@davidhcefx davidhcefx added the bug label Mar 14, 2022
@stloeffler
Copy link
Member

So far, I cannot reproduce this, neither with (the outdated) 0.6.6 nor with (the current) 0.6.7. For me, the 0.6.6 version prints TeXworks 0.6.6 ("launchpad") [r.24442ac0, 11.03.21 11:03] on the command line and also displays Version 0.6.6 ("launchpad") [r.24442ac0, 11.03.21 11:03] in the "About" dialog. What do you see in the "About" dialog?
The only thing that might be different is the calculation of the date/time, which uses the system locale (see main.cpp@l84). The rest should be just fixed, static data set during the build (which would not show up on my system either if it were corrupted somehow). What locale/time settings are you using?

@davidhcefx
Copy link
Author

davidhcefx commented Mar 14, 2022

The About dialog displays Version 0.6.6 (MiKTeX 22.1) [r.24442ac0, 3/11/21 6:03 PM].
Anything more I can try?

$ locale
LANG=en_US.UTF-8
LANGUAGE=en_US:en
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC=en_US.UTF-8
LC_TIME=en_US.UTF-8
LC_COLLATE="en_US.UTF-8"
LC_MONETARY=en_US.UTF-8
LC_MESSAGES="en_US.UTF-8"
LC_PAPER=en_US.UTF-8
LC_NAME=en_US.UTF-8
LC_ADDRESS=en_US.UTF-8
LC_TELEPHONE=en_US.UTF-8
LC_MEASUREMENT=en_US.UTF-8
LC_IDENTIFICATION=en_US.UTF-8
LC_ALL=
$ ls -l /etc/localtime
lrwxrwxrwx 1 root root 31 Nov 28 06:33 /etc/localtime -> /usr/share/zoneinfo/Asia/Taipei

@stloeffler
Copy link
Member

The fact that it says MiKTeX 22.1 instead of launchpad suggests that you are using a binary built and shipped by the MiKTeX project, not the Ubuntu ppa. If that is the case, this is probably a problem in MiKTeX's building process and should be reported to the MiKTeX devs. Maybe they changed something to that particular part of the code for some reason.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants