After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 740527 - Crash on bad CSS syntax
Crash on bad CSS syntax
Status: RESOLVED FIXED
Product: gaupol
Classification: Other
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gaupol-maint@gnome.bugs
gaupol-maint@gnome.bugs
Depends on:
Blocks:
 
 
Reported: 2014-11-22 10:15 UTC by gdb
Modified: 2014-11-22 14:43 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description gdb 2014-11-22 10:15:34 UTC
Traceback

File: /usr/local/bin/gaupol
Line: 24
In: <module>

    gaupol.main.main(sys.argv[1:])

File: /usr/local/lib/python3.2/dist-packages/gaupol/main.py
Line: 89
In: main

    _init_application(opts, args)

File: /usr/local/lib/python3.2/dist-packages/gaupol/main.py
Line: 36
In: _init_application

    application = gaupol.Application()

File: /usr/local/lib/python3.2/dist-packages/gaupol/application.py
Line: 131
In: __init__

    self._init_gui()

File: /usr/local/lib/python3.2/dist-packages/gaupol/application.py
Line: 193
In: _init_gui

    self._init_css()

File: /usr/local/lib/python3.2/dist-packages/gaupol/application.py
Line: 159
In: _init_css

    provider.load_from_path(path)

File: /usr/lib/python3/dist-packages/gi/types.py
Line: 43
In: function

    return info.invoke(*args, **kwargs)

gi._glib.GError: gaupol.css:7:16: Horizontal and vertical offsets are required

Environment

Platform: Linux-3.7.6-x86_64-with-debian-7.1
Locale: fr_FR.utf_8

Libraries

Python: 3.2.3
GTK+: 3.4.2
PyGObject: 3.2.2
GStreamer: 0.10.36.0

Python Packages

aeidon: 0.27
gaupol: 0.27
enchant: None
chardet: None
Comment 1 Osmo Salomaa 2014-11-22 14:32:56 UTC
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.

commit ec1ab1285f5827c3c2a2f5ae14ba5e15173bc2b6
Author: Osmo Salomaa <otsaloma@iki.fi>
Date:   Sat Nov 22 16:30:15 2014 +0200

    Remove text-shadow from CSS.
    
    This is a no-longer needed leftover and seems to cause some problems.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=740527

https://github.com/otsaloma/gaupol/commit/ec1ab1285f5827c3c2a2f5ae14ba5e15173bc2b6
Comment 2 gdb 2014-11-22 14:43:37 UTC
Yes, it works ! Thanks !