From: the-maldridge <the-maldridge@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [ISSUE] [CLOSED] terminator-1.91_1 option parse error
Date: Sun, 04 Oct 2020 02:27:35 +0200 [thread overview]
Message-ID: <20201004002735.hLdm5YvQxsop_STL2cwuvHWZfiUXvBtNSkrxxnqdXc0@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-2671@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 3763 bytes --]
Closed issue by paoloschi on void-packages repository
https://github.com/void-linux/void-packages/issues/2671
Description:
### System
* xuname:
Void 4.18.7_2 x86_64 GenuineIntel uptodate rFF
* package:
pkgver: terminator-1.91_1
### Expected behavior
executing `terminator -h` the list of available program options is printed into the terminal
### Actual behavior
```
$ terminator -h
Traceback (most recent call last):
File "/usr/bin/terminator", line 68, in <module>
OPTIONS = terminatorlib.optionparse.parse_options()
File "/usr/lib/python2.7/site-packages/terminatorlib/optionparse.py", line 110, in parse_options
(options, args) = parser.parse_args()
File "/usr/lib/python2.7/optparse.py", line 1400, in parse_args
stop = self._process_args(largs, rargs, values)
File "/usr/lib/python2.7/optparse.py", line 1444, in _process_args
self._process_short_opts(rargs, values)
File "/usr/lib/python2.7/optparse.py", line 1551, in _process_short_opts
option.process(opt, value, values, self)
File "/usr/lib/python2.7/optparse.py", line 789, in process
self.action, self.dest, opt, value, values, parser)
File "/usr/lib/python2.7/optparse.py", line 811, in take_action
parser.print_help()
File "/usr/lib/python2.7/optparse.py", line 1670, in print_help
file.write(self.format_help().encode(encoding, "replace"))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 1115: ordinal not in range(128)
```
I tried running in terminator itself and also from xterm
with the void terminator-1.91_1 package NOT INSTALLED, extracting [terminator-1.91.tar.gz](https://launchpad.net/terminator/gtk3/1.91/+download/terminator-1.91.tar.gz) and executing `./terminator -h ` from the extraction directory, I get:
```
$ ./terminator -h
Usage: terminator [options]
Options:
-h, --help show this help message and exit
-v, --version Display program version
-m, --maximise Maximize the window
-f, --fullscreen Make the window fill the screen
-b, --borderless Disable window borders
-H, --hidden Hide the window at startup
-T FORCEDTITLE, --title=FORCEDTITLE
Specify a title for the window
--geometry=GEOMETRY Set the preferred size and position of the window(see
X man page)
-e COMMAND, --command=COMMAND
Specify a command to execute inside the terminal
-g CONFIG, --config=CONFIG
Specify a config file
-x, --execute Use the rest of the command line as a command to
execute inside the terminal, and its arguments
--working-directory=DIR
Set the working directory
-c CLASSNAME, --classname=CLASSNAME
Set a custom name (WM_CLASS) property on the window
-i FORCEDICON, --icon=FORCEDICON
Set a custom icon for the window (by file or name)
-r ROLE, --role=ROLE Set a custom WM_WINDOW_ROLE property on the window
-l LAYOUT, --layout=LAYOUT
Launch with the given layout
-s, --select-layout Select a layout from a list
-p PROFILE, --profile=PROFILE
Use a different profile as the default
-u, --no-dbus Disable DBus
-d, --debug Enable debugging information (twice for debug server)
--debug-classes=DEBUG_CLASSES
Comma separated list of classes to limit debugging to
--debug-methods=DEBUG_METHODS
Comma separated list of methods to limit debugging to
--new-tab If Terminator is already running, just open a new tab
```
parent reply other threads:[~2020-10-04 0:27 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-2671@inbox.vuxu.org>]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20201004002735.hLdm5YvQxsop_STL2cwuvHWZfiUXvBtNSkrxxnqdXc0@z \
--to=the-maldridge@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).