Edgewall Software

{10} Assigned, Active Tickets by Owner (Full Description) (17 matches)

Christian Boos (1 match)

Ticket Summary Component Milestone Type Severity Created
Description
#12681 Restore the t.e.o specific customization after the switch to Jinja2 project 1.6.1 defect normal Feb 8, 2017

cf. TracDev/Proposals/Jinja/TracInterfaceCustomization


Jun Omae (6 matches)

#5390 Zip Archive: aliases, symlinks version control/browser next-major-releases defect normal May 30, 2007

Downloading source from the Trac Browsers "Zip Archive" generates Mac aliases or symlinks as files instead of links.


#13332 Use pytidylib for HTML5 validation with jinjachecker general 1.6.1 enhancement normal Dec 19, 2020

Discussed in comment:30:ticket:11988.


#13456 distutils is deprecated and will be removed in Python 3.12 general 1.6.1 defect normal Jan 4, 2022

https://docs.python.org/3/whatsnew/3.10.html#distutils-deprecated

$ git grep -w distutils mirror/trunk
mirror/trunk:.travis.yml:      print_sitelib='from distutils.sysconfig import get_python_lib; print(get_python_lib())'
mirror/trunk:trac/dist.py:`distutils.command.build` and `setuptools.command.install_lib` classes
mirror/trunk:trac/dist.py:from distutils import log as distlog
mirror/trunk:trac/dist.py:from distutils.cmd import Command
mirror/trunk:trac/dist.py:from distutils.command.build import build as _build
mirror/trunk:trac/dist.py:from distutils.errors import DistutilsOptionError

#13482 6 failures in unit-test with Babel 2.10.1 i18n 1.6.1 defect normal Apr 24, 2022

Babel 2.10.1 has been released recently, which upgraded CLDR 41 from CLDR 37.


======================================================================
FAIL: test_i18n_datetime_hint (trac.util.tests.datefmt.I18nDateFormatTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jun66j5/src/tracdev/git/trac/util/tests/datefmt.py", line 1250, in test_i18n_datetime_hint
    self.assertIn(datefmt.get_datetime_format_hint(fr),
AssertionError: 'd MMM y, HH:mm:ss' not found in ('d MMM yyyy HH:mm:ss', 'd MMM y HH:mm:ss', "d MMM y 'à' HH:mm:ss")

======================================================================
FAIL: test_i18n_format_datetime (trac.util.tests.datefmt.I18nDateFormatTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jun66j5/src/tracdev/git/trac/util/tests/datefmt.py", line 1175, in test_i18n_format_datetime
    self.assertIn(datefmt.format_datetime(t, tzinfo=tz, locale=fr),
AssertionError: '28 août 2010, 13:45:56' not found in ('28 août 2010 13:45:56', '28 août 2010 à 13:45:56')

======================================================================
FAIL: test_i18n_format_time (trac.util.tests.datefmt.I18nDateFormatTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jun66j5/src/tracdev/git/trac/util/tests/datefmt.py", line 1233, in test_i18n_format_time
    self.assertIn(datefmt.format_time(t, tzinfo=tz, locale=zh_CN),
AssertionError: '13:45:56' not found in ('下午01:45:56', '下午1:45:56')

======================================================================
FAIL: test_i18n_parse_date_datetime (trac.util.tests.datefmt.I18nDateFormatTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jun66j5/src/tracdev/git/trac/util/tests/datefmt.py", line 1367, in test_i18n_parse_date_datetime
    self.assertEqual(expected,
AssertionError: datet[16 chars]0, 8, 28, 13, 45, 56, tzinfo=<FixedOffset "GMT +2:00" 2:00:00>) != datet[16 chars]0, 8, 28, 1, 45, 56, tzinfo=<FixedOffset "GMT +2:00" 2:00:00>)

======================================================================
FAIL: test_i18n_parse_date_datetime_meridiem (trac.util.tests.datefmt.I18nDateFormatTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jun66j5/src/tracdev/git/trac/util/tests/datefmt.py", line 1398, in test_i18n_parse_date_datetime_meridiem
    self.assertEqual(expected_am,
AssertionError: datet[16 chars]1, 2, 22, 0, 45, 56, tzinfo=<FixedOffset "GMT +2:00" 2:00:00>) != datet[16 chars]1, 2, 22, 12, 45, 56, tzinfo=<FixedOffset "GMT +2:00" 2:00:00>)

======================================================================
FAIL: test_i18n_parse_date_roundtrip (trac.util.tests.datefmt.I18nDateFormatTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jun66j5/src/tracdev/git/trac/util/tests/datefmt.py", line 1454, in test_i18n_parse_date_roundtrip
    self.assertEqual(tz_t, actual,
AssertionError: datet[16 chars]0, 8, 28, 13, 45, 56, tzinfo=<FixedOffset "GMT +2:00" 2:00:00>) != datet[16 chars]0, 8, 28, 1, 45, 56, tzinfo=<FixedOffset "GMT +2:00" 2:00:00>) : datetime.datetime(2010, 8, 28, 13, 45, 56, tzinfo=<FixedOffset "GMT +2:00" 2:00:00>) != datetime.datetime(2010, 8, 28, 1, 45, 56, tzinfo=<FixedOffset "GMT +2:00" 2:00:00>) ('2010年8月28日 B1:45:56' Locale('zh', territory='TW', script='Hant'))

----------------------------------------------------------------------
Ran 2762 tests in 41.802s

FAILED (failures=6, skipped=5)

#13493 Make compatible with Python 3, Mercurial 6.2+ and Trac 1.5.3+ plugin/mercurial defect normal Aug 31, 2022

Mercurial 6.2 has been released on 2022-07-11. The release supports only Python 3.6+ but mercurial plugin doesn't support Python 3 neither Trac 1.5.3+.


#13607 sqlite3.version_info is deprecated since Python 3.12 and will be removed in Python 3.14 database backend 1.6.1 defect normal May 31, 2023

https://docs.python.org/3.12/library/sqlite3.html#sqlite3.version_info

After the following patch, it will retrieve pysqlite3.version_info only when pysqlite3 is used.

  • contrib/make_status.py

    diff --git a/contrib/make_status.py b/contrib/make_status.py
    index 65278624a..ab4962a8d 100755
    a b PACKAGES = [  
    5151    ("Jinja2",            'jinja2.__version__'),
    5252    ("multipart",         'multipart.__version__'),
    5353    ("Babel",             'babel.__version__'),
    54     ("sqlite3",           ('sqlite3.version',
    55                            'sqlite3.sqlite_version')),
     54    ("sqlite3",           'sqlite3.sqlite_version'),
    5655    ("PySqlite3",         ('__main__._pysqlite3_version()',
    5756                           'pysqlite3.dbapi2.sqlite_version')),
    5857    ("PyMySQL",           'pymysql.__version__'),
  • trac/db/sqlite_backend.py

    diff --git a/trac/db/sqlite_backend.py b/trac/db/sqlite_backend.py
    index dc0bf4ca9..8f38af387 100644
    a b try:  
    3737    import pysqlite3.dbapi2 as sqlite
    3838except ImportError:
    3939    import sqlite3 as sqlite
     40    pysqlite3_version = None
     41else:
     42    pysqlite3_version = get_pkginfo(sqlite).get('version', '%d.%d.%s' %
     43                                                           sqlite.version_info)
    4044
    4145sqlite_version = sqlite.sqlite_version_info
    4246sqlite_version_string = sqlite.sqlite_version
    43 pysqlite_version = sqlite.version_info
    44 pysqlite_version_string = get_pkginfo(sqlite).get('version',
    45                                                   '%d.%d.%s'
    46                                                   % pysqlite_version)
    4747min_sqlite_version = (3, 0, 0)
    4848
    4949
    class SQLiteConnector(Component):  
    273273
    274274    def get_system_info(self):
    275275        yield 'SQLite', sqlite_version_string
    276         yield 'pysqlite', pysqlite_version_string
     276        if pysqlite3_version:
     277            yield 'pysqlite3', pysqlite3_version
    277278
    278279    @lazy
    279280    def _extensions(self):
  • trac/tests/env.py

    diff --git a/trac/tests/env.py b/trac/tests/env.py
    index e0f949949..80a700208 100644
    a b class SystemInfoTestCase(unittest.TestCase):  
    520520            self.assertEqual(info_before, info_after)
    521521            self.assertRegex(get_info(info_before, 'SQLite'),
    522522                             r'^\d+(\.\d+)+$')
    523             self.assertRegex(get_info(info_before, 'pysqlite'),
    524                              r'^\d+(\.\d+)+$')
    525523        else:
    526524            self.fail("Unknown value for dburi %s" % self.env.dburi)
    527525

Ryan J Ollos (10 matches)

#12930 Spambayes dependency conflicts with dnspython plugin/spamfilter plugin - spam-filter defect normal Oct 14, 2017
$ pip install dnspython
Collecting dnspython
  Using cached dnspython-1.15.0-py2.py3-none-any.whl
Installing collected packages: dnspython
Successfully installed dnspython-1.15.0
$ python -c "import dns"
$ pip install spambayes
Collecting spambayes
Collecting lockfile>=0.2 (from spambayes)
  Using cached lockfile-0.12.2-py2.py3-none-any.whl
Collecting pydns>=2.0 (from spambayes)
Installing collected packages: lockfile, pydns, spambayes
Successfully installed lockfile-0.12.2 pydns-2.3.6 spambayes-1.1b2
$ python -c "import dns"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/Users/rjollos/Documents/Workspace/trac-dev/pve-spamfilter/lib/python2.7/site-packages/dns/__init__.py", line 14, in <module>
    import Type,Opcode,Status,Class
ImportError: No module named Opcode

I edited SpamFilter@129 before determining that pydns is required by spambayes, so the suggestion of uninstall pydns is not the right solution.

Oddly, I have these same package versions installed in a virtualenv hosting trac-hacks.org and don't see the conflict for that case.


#13275 Improve option documentation general 1.6.1 task normal Apr 25, 2020

For 1.5.x there are a few tasks we could do on the option doc strings:

  • Review and improve
  • Ensure special values are documented. Example, what does the value 0 mean for changeset.max_diff_files?
  • Remove (since …) for versions < 1.1

#13276 Submit IP address to BadIP page plugin/spamfilter plugin - spam-filter enhancement normal Apr 29, 2020

Spam entries could have a submit that adds the offending IP address to the BadIP page.


#13286 Add select all checkbox to Spam Filtering multiselect users page plugin/spamfilter plugin - spam-filter enhancement normal May 6, 2020


#13301 Remove "Can't synchronize" warnings or only show if user has TRAC_ADMIN version control next-dev-1.7.x enhancement normal May 20, 2020

First mentioned in comment:18:ticket:11269.

This warning describes a configuration problem and we shouldn't display it to a non-admin user.


#13302 Display plugin enable/disable message near anchor admin/web next-dev-1.7.x enhancement normal May 20, 2020

See comment:1:ticket:11269.

On submit the page refreshes and scrolls to the anchor (e.g. /admin/general/plugin#no21). The message is displayed at the top of the page, but is not visible.


#13311 Toolbar button to quote text as a discussion citation general 1.6.1 enhancement normal Jun 4, 2020

All Trac text input fields (like this ticket description field) have a little toolbar with buttons to make text bold or italic, insert a heading, a link, a code block, a horizontal rule, a new paragraph, a line break or an image.

It would be useful to have an additional button to quote the currently selected text as DiscussionCitations by adding > before each selected line.


#13406 Replace jQuery UI Timepicker web frontend 1.6.1 enhancement normal May 27, 2021

The Timepicker add-on is deprecated (see JavaScript). Since we are doing a major release, we should replace it with an equivalent that is maintained.


#13480 Incorrect cache invalidation for BadIP and BadContent plugin/spamfilter plugin - spam-filter defect normal Apr 19, 2022

In a multiprocess environment the cache is not refreshed for other processes. Jun has suggested:

We should use patterns method with @cache decorator and call del self.patterns when changing the wiki page.

The changes need to be implemented in:

  • IPRegexFilterStrategy: tracspamfilter/filters/ip_regex.py
  • RegexFilterStrategy: tracspamfilter/filters/regex.py

#13613 Remove code for creating Windows installers general 1.6.1 enhancement normal Sep 23, 2023

Remove code in Makefile and elsewhere for creating the Windows installers.


Note: See TracReports for help on using and creating reports.