[Bug 1896775] Re: sddm silently fails to open login screen if no good OpenGL

2020-09-23 Thread Daniel Letzeisen
** Package changed: ubuntu => sddm (Ubuntu)

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to sddm in Ubuntu.
https://bugs.launchpad.net/bugs/1896775

Title:
  sddm silently fails to open login screen if no good OpenGL

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sddm/+bug/1896775/+subscriptions

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 1896775] [NEW] sddm silently fails to open login screen if no good OpenGL

2020-09-23 Thread Launchpad Bug Tracker
You have been subscribed to a public bug:

After updating my system (ubuntu 20.04) I ended in situation with sddm
running, but without displaying login screen. Manually starting X in a
tty2 let me google for the issue and find old ticket about sddm behaving
bad if no valid opengl implementation available. Quick check with
glxinfo showed that SGI implementation was used instead of NVIDIA one.
After dist-upgrade kernel image and modules were rebuilt and sddm
started normally.

I understand that in this case sddm failed to start due to unfortunate
circumstances resulting in invalid system state. However, in this state
it is not possible for inexperienced users to google for the problem.
Please, consider at least better diagnostics for the situation until
upstream fixes the issue. Spoiler: the original ticket is from 2017
https://github.com/sddm/sddm/issues/799

** Affects: sddm (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: bot-comment focal sddm
-- 
sddm silently fails to open login screen if no good OpenGL
https://bugs.launchpad.net/bugs/1896775
You received this bug notification because you are a member of Kubuntu Bugs, 
which is subscribed to sddm in Ubuntu.

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 1857824] [NEW] kmimetypefinder5 misidentifies mimetype of python files containing certain strings

2020-09-23 Thread Launchpad Bug Tracker
You have been subscribed to a public bug:

Expected behavior:

$ kmimetypefinder5 example.py 
text/x-python3

or

$ kmimetypefinder5 example.py 
text/x-python

or

$ kmimetypefinder5 example.py 
text/plain

Actual behavior:

$ kmimetypefinder5 example.py 
application/xhtml+xml

Summary: Python scripts with a string containing HTML can be
misidentified as HTML files by kmimetypefinder5.

For example, this python script is identified as
"application/xhtml+xml":

#! /usr/bin/env python3
example_string = \
"""\
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
http://www.w3.org/1999/xhtml";>
  
Example title
  
  
Example body
  

"""
print('Hello, world!')

This difficulty is not shared by other mimetype identification tools.

$ kmimetypefinder5 example.py 
application/xhtml+xml
$ cat example2.py #! /usr/bin/env python3
print('Hello, world!')
$ kmimetypefinder5 example2.py 
text/x-python3
$ mimetype 'example.py'
example.py: text/x-python
$ mimetype 'example2.py'
example2.py: text/x-python
$ file --mime-type 'example.py'
example.py: text/plain
$ file --mime-type 'example2.py'
example2.py: text/plain

$ lsb_release -rd
Description:Ubuntu 18.04.3 LTS
Release:18.04
$ apt-cache policy kde-cli-tools
kde-cli-tools:
  Installed: 4:5.12.8-0ubuntu0.1
  Candidate: 4:5.12.8-0ubuntu0.1
  Version table:
 *** 4:5.12.8-0ubuntu0.1 500
500 http://us.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 
Packages
100 /var/lib/dpkg/status
 4:5.12.4-0ubuntu1 500
500 http://us.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: kde-cli-tools 4:5.12.8-0ubuntu0.1
ProcVersionSignature: Ubuntu 4.15.0-72.81-generic 4.15.18
Uname: Linux 4.15.0-72-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.9
Architecture: amd64
CurrentDesktop: KDE
Date: Sun Dec 29 13:28:37 2019
InstallationDate: Installed on 2018-12-12 (381 days ago)
InstallationMedia: Kubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 
(20180725)
SourcePackage: kde-cli-tools
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: kde-cli-tools (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: amd64 apport-bug bionic third-party-packages
-- 
kmimetypefinder5 misidentifies mimetype of python files containing certain 
strings
https://bugs.launchpad.net/bugs/1857824
You received this bug notification because you are a member of Kubuntu Bugs, 
which is subscribed to kde-cli-tools in Ubuntu.

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 1890716] Re: misidentifies .html file as Perl script when it contains JavaScript "use strict"

2020-09-23 Thread Sebastien Bacher
> > dpkg -S /usr/bin/mimetype
> libfile-mimeinfo-perl: /usr/bin/mimetype

how is that supposed to prove it's a shared-mime-info bug?

** Changed in: shared-mime-info (Ubuntu)
   Status: New => Fix Committed

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kde-cli-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1890716

Title:
  misidentifies .html file as Perl script when it contains JavaScript
  "use strict"

To manage notifications about this bug go to:
https://bugs.launchpad.net/shared-mime-info/+bug/1890716/+subscriptions

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 1857824] Re: kmimetypefinder5 misidentifies mimetype of python files containing certain strings

2020-09-23 Thread Sebastien Bacher
@Kai, so you use a 'command is provided by a perl utility' as a reason
to reasing to shared-mime-info, what's the logic? also xdg-mime works
fine under GNOME or when using gio that uses shared-mime-info...

** Package changed: shared-mime-info (Ubuntu) => kde-cli-tools (Ubuntu)

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kde-cli-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1857824

Title:
  kmimetypefinder5 misidentifies mimetype of python files containing
  certain strings

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/kde-cli-tools/+bug/1857824/+subscriptions

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 1857824] [NEW] kmimetypefinder5 misidentifies mimetype of python files containing certain strings

2020-09-23 Thread Launchpad Bug Tracker
You have been subscribed to a public bug:

Expected behavior:

$ kmimetypefinder5 example.py 
text/x-python3

or

$ kmimetypefinder5 example.py 
text/x-python

or

$ kmimetypefinder5 example.py 
text/plain

Actual behavior:

$ kmimetypefinder5 example.py 
application/xhtml+xml

Summary: Python scripts with a string containing HTML can be
misidentified as HTML files by kmimetypefinder5.

For example, this python script is identified as
"application/xhtml+xml":

#! /usr/bin/env python3
example_string = \
"""\
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
http://www.w3.org/1999/xhtml";>
  
Example title
  
  
Example body
  

"""
print('Hello, world!')

This difficulty is not shared by other mimetype identification tools.

$ kmimetypefinder5 example.py 
application/xhtml+xml
$ cat example2.py #! /usr/bin/env python3
print('Hello, world!')
$ kmimetypefinder5 example2.py 
text/x-python3
$ mimetype 'example.py'
example.py: text/x-python
$ mimetype 'example2.py'
example2.py: text/x-python
$ file --mime-type 'example.py'
example.py: text/plain
$ file --mime-type 'example2.py'
example2.py: text/plain

$ lsb_release -rd
Description:Ubuntu 18.04.3 LTS
Release:18.04
$ apt-cache policy kde-cli-tools
kde-cli-tools:
  Installed: 4:5.12.8-0ubuntu0.1
  Candidate: 4:5.12.8-0ubuntu0.1
  Version table:
 *** 4:5.12.8-0ubuntu0.1 500
500 http://us.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 
Packages
100 /var/lib/dpkg/status
 4:5.12.4-0ubuntu1 500
500 http://us.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: kde-cli-tools 4:5.12.8-0ubuntu0.1
ProcVersionSignature: Ubuntu 4.15.0-72.81-generic 4.15.18
Uname: Linux 4.15.0-72-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.9
Architecture: amd64
CurrentDesktop: KDE
Date: Sun Dec 29 13:28:37 2019
InstallationDate: Installed on 2018-12-12 (381 days ago)
InstallationMedia: Kubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 
(20180725)
SourcePackage: kde-cli-tools
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: kde-cli-tools (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: amd64 apport-bug bionic third-party-packages
-- 
kmimetypefinder5 misidentifies mimetype of python files containing certain 
strings
https://bugs.launchpad.net/bugs/1857824
You received this bug notification because you are a member of Kubuntu Bugs, 
which is subscribed to kde-cli-tools in Ubuntu.

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 1890716] Re: misidentifies .html file as Perl script when it contains JavaScript "use strict"

2020-09-23 Thread Kai Kasurinen
probably fixed on shared-mime-info 2.0:
https://gitlab.freedesktop.org/xdg/shared-mime-info/-/commit/18bb7cfc6c43d710ecf60339b5dd9bd19c297cdf

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kde-cli-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1890716

Title:
  misidentifies .html file as Perl script when it contains JavaScript
  "use strict"

To manage notifications about this bug go to:
https://bugs.launchpad.net/shared-mime-info/+bug/1890716/+subscriptions

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 1857824] Re: kmimetypefinder5 misidentifies mimetype of python files containing certain strings

2020-09-23 Thread Kai Kasurinen
> dpkg -S /usr/bin/mimetype
libfile-mimeinfo-perl: /usr/bin/mimetype
> /usr/bin/mimetype --magic-only foo.py
foo.py: application/xhtml+xml

** Package changed: kde-cli-tools (Ubuntu) => shared-mime-info (Ubuntu)

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kde-cli-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1857824

Title:
  kmimetypefinder5 misidentifies mimetype of python files containing
  certain strings

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/shared-mime-info/+bug/1857824/+subscriptions

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 1857824] Re: kmimetypefinder5 misidentifies mimetype of python files containing certain strings

2020-09-23 Thread Sebastien Bacher
it's not a shared-mime-info issue, on a GNOME session the result is
right

$ xdg-mime query filetype index.py
text/x-python


** Package changed: shared-mime-info (Ubuntu) => kde-cli-tools (Ubuntu)

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kde-cli-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1857824

Title:
  kmimetypefinder5 misidentifies mimetype of python files containing
  certain strings

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/kde-cli-tools/+bug/1857824/+subscriptions

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 1857824] [NEW] kmimetypefinder5 misidentifies mimetype of python files containing certain strings

2020-09-23 Thread Launchpad Bug Tracker
You have been subscribed to a public bug:

Expected behavior:

$ kmimetypefinder5 example.py 
text/x-python3

or

$ kmimetypefinder5 example.py 
text/x-python

or

$ kmimetypefinder5 example.py 
text/plain

Actual behavior:

$ kmimetypefinder5 example.py 
application/xhtml+xml

Summary: Python scripts with a string containing HTML can be
misidentified as HTML files by kmimetypefinder5.

For example, this python script is identified as
"application/xhtml+xml":

#! /usr/bin/env python3
example_string = \
"""\
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
http://www.w3.org/1999/xhtml";>
  
Example title
  
  
Example body
  

"""
print('Hello, world!')

This difficulty is not shared by other mimetype identification tools.

$ kmimetypefinder5 example.py 
application/xhtml+xml
$ cat example2.py #! /usr/bin/env python3
print('Hello, world!')
$ kmimetypefinder5 example2.py 
text/x-python3
$ mimetype 'example.py'
example.py: text/x-python
$ mimetype 'example2.py'
example2.py: text/x-python
$ file --mime-type 'example.py'
example.py: text/plain
$ file --mime-type 'example2.py'
example2.py: text/plain

$ lsb_release -rd
Description:Ubuntu 18.04.3 LTS
Release:18.04
$ apt-cache policy kde-cli-tools
kde-cli-tools:
  Installed: 4:5.12.8-0ubuntu0.1
  Candidate: 4:5.12.8-0ubuntu0.1
  Version table:
 *** 4:5.12.8-0ubuntu0.1 500
500 http://us.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 
Packages
100 /var/lib/dpkg/status
 4:5.12.4-0ubuntu1 500
500 http://us.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: kde-cli-tools 4:5.12.8-0ubuntu0.1
ProcVersionSignature: Ubuntu 4.15.0-72.81-generic 4.15.18
Uname: Linux 4.15.0-72-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.9
Architecture: amd64
CurrentDesktop: KDE
Date: Sun Dec 29 13:28:37 2019
InstallationDate: Installed on 2018-12-12 (381 days ago)
InstallationMedia: Kubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 
(20180725)
SourcePackage: kde-cli-tools
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: kde-cli-tools (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: amd64 apport-bug bionic third-party-packages
-- 
kmimetypefinder5 misidentifies mimetype of python files containing certain 
strings
https://bugs.launchpad.net/bugs/1857824
You received this bug notification because you are a member of Kubuntu Bugs, 
which is subscribed to kde-cli-tools in Ubuntu.

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs