Skip to content

Instantly share code, notes, and snippets.

** unknown exception encountered, please report by visiting
** https://mercurial-scm.org/wiki/BugTracker
** Python 3.9.2 (default, Feb 28 2021, 17:03:44) [GCC 10.2.1 20210110]
** Mercurial Distributed SCM (version 6.1.1)
** Extensions loaded: churn, convert, extdiff, graphlog, hgext3rd.evolve 10.5.1, hgext3rd.topic 0.24.1.dev, hgk, histedit, journal, keyword, mq, narrow, pager, patchbomb, purge, rebase, record, schemes, share, show, strip
Traceback (most recent call last):
File "/usr/bin/hg", line 61, in <module>
dispatch.run()
File "/usr/lib/python3/dist-packages/mercurial/dispatch.py", line 144, in run
status = dispatch(req)
\documentclass[
12pt,
sections,
headheight=30pt,
headinclude,
firstfoot=false,
enlargefirstpage=true,
foldmarks=false,
backaddress=false,
subject=titled,
\documentclass[12pt,sections,headheight=30pt,headinclude,firsthead=false,firstfoot=false,foldmarks=false,foldmarks=blmtP,fromalign=center,fromphone,fromemail,version=last, backaddress=false, subject=titled, twoside, cleardoublepage=current, pagenumber=headright, topright]{scrlttr2}
\renewcommand\pagemark{{\usekomafont{pagenumber}This is page number \thepage\ }}
\usepackage{lipsum}
\usepackage{lastpage}
\RequirePackage[T1]{fontenc}
\usepackage{scrlayer-scrpage}
%\ohead*{\jobname.tex\hspace{0.5cm}\today}
\renewcommand*{\pagestyle}{scrheadings}
%\renewcommand*{\letterpagestyle}{empty}
\begin{document}
\documentclass[12pt,sections,headheight=30pt,headinclude,firsthead=false,firstfoot=false,foldmarks=false,foldmarks=blmtP,fromalign=center,fromphone,fromemail,version=last, backaddress=false, subject=titled, twoside=semi, cleardoublepage=current, pagenumber=headright, topright]{scrlttr2}
\renewcommand\pagemark{{\usekomafont{pagenumber}This is page number \thepage\ }}
\usepackage{scrlayer-scrpage}
\ohead*{\jobname.tex\hspace{0.5cm}\today}
\renewcommand*{\letterpagestyle}{scrheadings}
\usepackage{lipsum}
\usepackage{lastpage}
\RequirePackage[T1]{fontenc}
\begin{document}
\def\today{19th February, 2022}
# see "man logrotate" for details
# global options do not affect preceding include directives
# rotate log files weekly
weekly
# keep 4 weeks worth of backlogs
rotate 4
Title: Attempting to use interact produces TypeError: write() argument must be str, not bytes
The following Python script using `pexpect` connects to the POP3
server `pop3.mailbox.org`. It does not download any email. It will
most likely work on any server.
```python3
#!/usr/bin/python3
/.
/bin
/bin/dmesg
/bin/findmnt
/bin/lsblk
/bin/more
/bin/mountpoint
/bin/su
/bin/wdctl
/etc
diff --git a/debian/control b/debian/control
--- a/debian/control
+++ b/debian/control
@@ -8,11 +8,10 @@ Uploaders:
Standards-Version: 4.3.0
Build-Depends:
mercurial (>= 4.7),
- python,
python3,
debhelper (>= 10),
/*
Example from
https://chat.stackexchange.com/transcript/message/59383566#59383566
You may use tput. Examples: tput >/dev/null (status == 2, usage
error), TERM=foo tput >/dev/null (status == 3, no information for
the terminal type), tput foo >/dev/null (status == 4, unknown
capability). It can also return 1, which POSIX says is
"unspecified" and historically used to tell the terminal doesn't
have the specified capability (e.g. TERM=vt100 tput setaf
execve("./execlp2", ["./execlp2"], 0x7ffefe2ae0d0 /* 78 vars */) = 0
brk(NULL) = 0x5583216d4000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=265036, ...}) = 0
mmap(NULL, 265036, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fd1bfbc8000
close(3) = 0
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0@n\2\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1839792, ...}) = 0