Code Monkey home page Code Monkey logo

Comments (5)

WhyNotHugo avatar WhyNotHugo commented on June 12, 2024 1

Indeed, category support is unreleased. I guess there's nothing blocking a 4.2.0 release at this point.

from todoman.

WhyNotHugo avatar WhyNotHugo commented on June 12, 2024

For any issue, I need a sample ics file and a series of steps that you take to reproduce the issue. This is necessary to understand what happens and evaluate how to fix it.

The --category argument is still not working.

What do you mean by "not working"? Some tests run todo list --category... and those seem to be working fine.

The categories are not displayed, either in list, show or edit.

Correct, see: #10

If the ics file contains more than one category per line, Todoman destroys the information.

What exactly did you do? I'd like to be able to reproduce this, sounds like a serious bug.

If there is only one category, sometimes it leaves it alone, but eventually destroys it.

Ditto.

The CATEGORIES field disappears after launching Todoman.

todoman does not write to files when reading them. Did you edit the tasks? What exactly did you do? Editing a few with categories does not

from todoman.

tkapias avatar tkapias commented on June 12, 2024

Hello,

Thanks for paying attention to my message.

In the meantime, I discovered that by uninstalling the version from Debian Testing and installing the one from PIP, everything was normal. They are both in 4.1.0 (4.1.0-1 for debian).

I wanted to make an analysis of the differences to provide you with an explanation, so I reinstalled the Debian version, but I don't have the same problems as yesterday... I need to make a clean reproduction, I don't have time today, I'll do it in the week.

Content of a basic VTODO from Android Tasks (stay same in Baikal and Vdirsync):

BEGIN:VCALENDAR
VERSION:2.0
PRODID:+//IDN bitfire.at//ical4android
BEGIN:VTODO
DTSTAMP:20220706T083000Z
UID:546700398054453231
CREATED:20220706T082946Z
LAST-MODIFIED:20220706T082946Z
SUMMARY:TestTask1
DESCRIPTION:TestDescription
PRIORITY:9
STATUS:NEEDS-ACTION
CATEGORIES:TestTag1,TestTag2
DUE;VALUE=DATE:20220710
END:VTODO
END:VCALENDAR

My config:

cache_path = "~/.config/todoman/cache.sqlite3"
date_format = "%Y-%m-%d"
default_due = 48
default_list = "Principal"
default_priority = 9
humanize = False
path = "~/.calendars/*"
time_format = "%H:%M"

Debian version informations:

Package: todoman
Version: 4.1.0-1
Priority: optional
Section: utils
Maintainer: Debian Python Team <[email protected]>
Installed-Size: 437 kB
Depends: python3-atomicwrites, python3-click, python3-click-log, python3-dateutil, python3-humanize, python3-icalendar, python3-parsedatetime, python3-urwid, python3-xdg, python3:any, libjs-sphinxdoc (>= 4.3), sphinx-rtd-theme-common (>= 1.0.0+dfsg)
Suggests: vdirsyncer
Homepage: https://github.com/pimutils/todoman
Download-Size: 85,5 kB
APT-Sources: https://deb.debian.org/debian testing/main amd64 Packages
Description: Simple CalDAV-based todo manager
 Todoman is a simple, standards-based, cli todo (aka: task) manager. Todos are
 stored into icalendar files, which means you can sync them via CalDAV using,
 for example, vdirsyncer.

 Size Name
  958 /usr/bin/todoman
  --- /usr/lib/python3/dist-packages/todoman
    - ├── bin
   89 │  └── todoman
  126 ├── __init__.py
   94 ├── __main__.py
 16Ki ├── cli.py
6,7Ki ├── configuration.py
1,0Ki ├── exceptions.py
9,0Ki ├── formatters.py
6,0Ki ├── interactive.py
 33Ki ├── model.py
  142 ├── version.py
5,3Ki └── widgets.py

PIP version informations:

Name: todoman
Version: 4.1.0
Summary: A simple CalDav-based todo manager.
Home-page: https://github.com/pimutils/todoman
Author: Hugo Osvaldo Barrera
Author-email: [email protected]
License: ISC
Location: /home/user/.local/lib/python3.10/site-packages
Requires: atomicwrites, click, click-log, humanize, icalendar, parsedatetime, python-dateutil, pyxdg, urwid
Required-by:

 Size Name
  208 /home/user/.local/bin/todo
  --- /home/user/.local/lib/python3.10/site-packages/todoman
  133 ├── __init__.py
   94 ├── __main__.py
 16Ki ├── cli.py
6,7Ki ├── configuration.py
1,0Ki ├── exceptions.py
9,0Ki ├── formatters.py
6,0Ki ├── interactive.py
 33Ki ├── model.py
  142 ├── version.py
5,3Ki └── widgets.py

from todoman.

Schubisu avatar Schubisu commented on June 12, 2024

I think it's correct that category support does not work in version 4.1.0. When I understand correctly from here and here, the releases (from December 2021) have been generated before category support was added (commit messages feat(categories)) in January 2022 (tui support in July 2022).

I can confirm that it works well when installed from latest github main branch. But the new release v4.2.0 as mentioned in the change log seems to be not yet available.

from todoman.

Schubisu avatar Schubisu commented on June 12, 2024

Thanks, just installed 4.2.0 via pip :)

from todoman.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.