[Python-modules-team] Bug#794920: docutils-common: rst.el doesn't indent description lists properly

2015-08-07 Thread David Bremner
Package: docutils-common
Version: 0.12+dfsg-1
Severity: normal
Tags: upstream

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Consider the following description list, from the rst docs.  Place the
cursor on the line containing "Definition 1.". Press  any number
of times; the only indentation offered is at the beginning of the
line, which breaks the syntax of the list.

term 1
Definition 1. 

term 2
Definition 2, paragraph 1.

Definition 2, paragraph 2.


- -- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (900, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.0.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages docutils-common depends on:
ii  sgml-base  1.26+nmu4
ii  xml-core   0.13+nmu2

Versions of packages docutils-common recommends:
ii  python-docutils   0.12+dfsg-1
ii  python3-docutils  0.12+dfsg-1

docutils-common suggests no packages.

- -- debconf-show failed

-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQGcBAEBCAAGBQJVxYkFAAoJEPIClx2kp54sIBYL/3r882d4y/YNSh1Qo+TTfxDU
298AL9qi3HmzlEfMp2CKk56u+NIg+GTfHIyY0/FPOppjBHOmd061KWtJl66T+9RT
eIsXuD4PRxgnyd5m0ii4OtU+8g0LtdDzW3nrAzC8+QAtYWX3o9QnVYpFclqRdbWY
TlOqNgrgDGKiBAbFYN/uJVFi6+jY9ipJNtv6E6PHmg2Y5tt97G2Os6ozHE9Jlwic
y7o+JcwqUb+bb5grJyhtKtDkwO4lKmCAMqk44uFdnsOir+hzLpsporOoJ/5UGK23
N4Znp8hzHf3fK36ZCKXJ9jv8PwsSJLf3PNxwQwcAnzZuGlVMiyAac423RuqHWhJc
5euAZ3On1YyWxEF6IsIO8PFMCEnA3aIdiW8nmMgJeXChQVDI0Qon0smMkNH1Yi6t
sY7HIhA8mx+nlxMUROy9B2Tie5dHeRRbtvqgsgVNNGQR2IpCvVSkoR2fXS/lerRv
Nj3qzEGT3rsJZklERDhJLuYMD/J3kpvB7072mO3Iew==
=YCNx
-END PGP SIGNATURE-

___
Python-modules-team mailing list
Python-modules-team@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team


[Python-modules-team] Bug#886400: python3-pyqt5.qtwebengine: segfaults on simple test

2018-01-05 Thread David Bremner
Package: python3-pyqt5.qtwebengine
Version: 5.9.2+dfsg-1
Severity: important

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

I encountered this when trying to run webmacs (a browser written in
python) on Debian.

The attached script segfaults, seemingly on any URL. Feel free to
adjust the severity up or down; I'm guessing the package works for
some people / applications, but this seems like pretty core
functionality to be broken.

- -- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (900, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.14.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_CA:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages python3-pyqt5.qtwebengine depends on:
ii  libc6   2.25-5
ii  libqt5core5a5.9.2+dfsg-6
ii  libqt5gui5  5.9.2+dfsg-6
ii  libqt5webengine55.9.2+dfsg-2
ii  libqt5webenginecore55.9.2+dfsg-2
ii  libqt5webenginewidgets5 5.9.2+dfsg-2
ii  libqt5widgets5  5.9.2+dfsg-6
ii  libstdc++6  7.2.0-18
ii  python3 3.6.4-1
ii  python3-pyqt5.qtwebchannel  5.9.2+dfsg-1

python3-pyqt5.qtwebengine recommends no packages.

python3-pyqt5.qtwebengine suggests no packages.

- -- no debconf information

-BEGIN PGP SIGNATURE-

iQGzBAEBCAAdFiEE3VS2dnyDRXKVCQCp8gKXHaSnniwFAlpPZAQACgkQ8gKXHaSn
niwVqAv/eS5KaAeWk9ngJUi6AXWAG0dnntZhKwyi7mYfvD6faTtjQg1ig4F93aSN
BV+45qjwJqWsOdvyrV3rOODkBYEJe2eThjGjtwFPY17+8KLaN0oW369Y4MSxmN9u
cbhQMMmFYV6Ks0X0aGfZEuUlnolor2gkbdGpsycwInC6Tyg6oauUu1v8hbd5oVnu
N0gEZx/5hEj8YbLZoUxYrV7lyw4bxpcbdk5oYTLwJbgn7GYoCwtCYrte2GzetlYr
GuoQgTL5hZMowmz5mfWmp2PirWBnwIgbMP7MG8+hjKD+dl749fWh7bnFnkfkpU+f
rlSFEtmMnRpcVMFpwDESf61W8qcMX+c7SZ/jhN+0O2g3SUdywGiD1Nfu68yxp7SR
OMqlngtiK05fpS9DkXyr/h4uLYn56RRcU/78evtqxcGr9JQoM8coNeQBpskmcUJK
f8z1YAuCDVy5ag2DpEyvBV7pinEYtKcP8dR0zZ44RL320YW1i+iifGV3kgfQm5ZI
xccf0Ilv
=ZOUB
-END PGP SIGNATURE-
#!/usr/bin/env python3
# vim: ft=python fileencoding=utf-8 sts=4 sw=4 et:

# Copyright 2014-2017 Florian Bruhin (The Compiler) 
#
# This file is part of qutebrowser.
#
# qutebrowser is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# qutebrowser is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with qutebrowser.  If not, see .

"""Very simple browser for testing purposes."""

import sys
import argparse

from PyQt5.QtCore import QUrl
from PyQt5.QtWidgets import QApplication
from PyQt5.QtWebEngineWidgets import QWebEngineView


def parse_args():
"""Parse commandline arguments."""
parser = argparse.ArgumentParser()
parser.add_argument('url', help='The URL to open')
return parser.parse_known_args()[0]


if __name__ == '__main__':
args = parse_args()
app = QApplication(sys.argv)
wv = QWebEngineView()

wv.loadStarted.connect(lambda: print("Loading started"))
wv.loadProgress.connect(lambda p: print("Loading progress: {}%".format(p)))
wv.loadFinished.connect(lambda: print("Loading finished"))

wv.load(QUrl.fromUserInput(args.url))
wv.show()

app.exec_()
___
Python-modules-team mailing list
Python-modules-team@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#886400: python3-pyqt5.qtwebengine: segfaults on simple test

2018-01-05 Thread David Bremner
Dmitry Shachnev  writes:

> Hi David!
>
> On Fri, Jan 05, 2018 at 07:39:59AM -0400, David Bremner wrote:
>> I encountered this when trying to run webmacs (a browser written in
>> python) on Debian.
>>
>> The attached script segfaults, seemingly on any URL. Feel free to
>> adjust the severity up or down; I'm guessing the package works for
>> some people / applications, but this seems like pretty core
>> functionality to be broken.
>
> I cannot reproduce this (tested with e.g. https://www.debian.org).
>
> Can you please attach some stacktrace?
>

Sure, here is a stracktrace from

 /usr/bin/python3 testbrowser_webengine.py url=https://www.debian.org
 
If you let me know which debug symbol packages to install, I'm happy to
try again with more symbols.

#0  0x in  ()
#1  0x71333826 in QOpenGLContext::makeCurrent(QSurface*) () at 
/usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#2  0x7fffe733f6c7 in  () at 
/usr/lib/x86_64-linux-gnu/libQt5QuickWidgets.so.5
#3  0x7fffe734199e in QQuickWidget::resizeEvent(QResizeEvent*) ()
at /usr/lib/x86_64-linux-gnu/libQt5QuickWidgets.so.5
#4  0x7fffee6bfedd in  () at 
/usr/lib/x86_64-linux-gnu/libQt5WebEngineWidgets.so.5
#5  0x71af2742 in QWidget::event(QEvent*) () at 
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#6  0x7fffee6c01fb in  () at 
/usr/lib/x86_64-linux-gnu/libQt5WebEngineWidgets.so.5
#7  0x71ab359c in QApplicationPrivate::notify_helper(QObject*, QEvent*) 
()
at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#8  0x71abae64 in QApplication::notify(QObject*, QEvent*) ()
at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#9  0x7254f97e in  () at 
/usr/lib/python3/dist-packages/PyQt5/QtWidgets.cpython-36m-x86_64-linux-gnu.so
#10 0x76042258 in QCoreApplication::notifyInternal2(QObject*, QEvent*) 
()
at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x71aeac4b in QWidgetPrivate::sendPendingMoveAndResizeEvents(bool, 
bool) ()
at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#12 0x71aeea23 in QWidgetPrivate::show_helper() () at 
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#13 0x71aee93e in QWidgetPrivate::showChildren(bool) () at 
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#14 0x71aeea3f in QWidgetPrivate::show_helper() () at 
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#15 0x71af173b in QWidget::setVisible(bool) () at 
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#16 0x7fffee8e7183 in  ()
at 
/usr/lib/python3/dist-packages/PyQt5/QtWebEngineWidgets.cpython-36m-x86_64-linux-gnu.so
#17 0x72523512 in  () at 
/usr/lib/python3/dist-packages/PyQt5/QtWidgets.cpython-36m-x86_64-linux-gnu.so
#18 0x004c4dfd in _PyCFunction_FastCallKeywords ()
#19 0x0054f974 in  ()
#20 0x0055405f in _PyEval_EvalFrameDefault ()
#21 0x0054f571 in  ()
#22 0x00550523 in PyEval_EvalCode ()
#23 0x0042b4e9 in PyRun_FileExFlags ()
#24 0x0042b6d5 in PyRun_SimpleFileExFlags ()
#25 0x00441bcb in Py_Main ()
#26 0x00421f64 in main ()

___
Python-modules-team mailing list
Python-modules-team@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team