TaskCoach Ubuntu 20.04 LTS cannot be installed

Asked by René Driessen

The TaskCoach cannot be installed on Ubuntu 20.04 LTS:
* It is not available in Ubuntu Software Center
* Install repository 'PPA for Ubuntu' from TaskCoach didn't work for the Focal Fossa distribution.
* Install debian package (deb) via ' Software Install (default)' didn't work because of unmet dependencies.

Unmet dependencies: python-wxgtk3.0 python-wxgtk3.0 python-wxversion python-twisted ttf-dejavu python-igraph

Packages can be installed except packages python-twisted and python-igraph.

rene@TP:~/Downloads$ sudo apt-get install python-twisted python-igraph
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package python-twisted is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package python-igraph is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'python-twisted' has no installation candidate
E: Package 'python-igraph' has no installation candidate

How to install or resolve these unmet dependencies?

Question information

Language:
English Edit question
Status:
Answered
For:
Task Coach Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Jérôme Laheurte (fraca7) said :
#1

What was the unmet dependency exactly ?

Revision history for this message
Jérôme Laheurte (fraca7) said :
#2

What was the unmet dependency exactly ?

Revision history for this message
Daniel (2-ubuntuone-4) said :
#3

Hi, I have the same Problem with Ubuntu 20.04:
--- Snip from Terminal ----
The following packages have unmet dependencies:
 taskcoach : Depends: python-wxgtk3.0 (>= 3.0.0.0) but it is not going to be installed
             Depends: python-wxversion but it is not going to be installed
             Depends: python-twisted (>= 10.0) but it is not installable
             Depends: ttf-dejavu but it is not going to be installed
             Depends: python-igraph but it is not installable
             Recommends: python-notify but it is not installable
             Recommends: libgnome2-0 but it is not installable
             Recommends: libavahi-compat-libdnssd1 but it is not going to be installed
--- Snip ----

Revision history for this message
Manfred Hampl (m-hampl) said :
#4

Ubuntu 20.04 has stopped providing Python2 and related packages.
An example: python-twisted does not exist on Ubuntu 20.04 any more; there now is python3-twisted, working with Python3

Revision history for this message
Jérôme Laheurte (fraca7) said :
#5

No python2 at all ? Well not much we can do. Task Coach has never been ported to Python3 unfortunately, and that's too much work for me to do right now.

Revision history for this message
Manfred Hampl (m-hampl) said :
#6

To go more into details:
Python 2 is not part of a standard Ubuntu 20.04 Installation, but it can be installed (the package is named python2).
Several related packages like python-twisted, however, do not exist any more on Ubuntu 20.04.
see also https://lists.ubuntu.com/archives/ubuntu-devel/2020-February/040918.html

And for the general development with respect to python 2 see https://www.python.org/doc/sunset-python-2/

Revision history for this message
Jérôme Laheurte (fraca7) said :
#7

Yes, I'm well aware of the python2 situation. Nevertheless porting Task Coach would be a really big work, and I don't even have time to fix bugs. I guess the best solution left would be a virtualenv and install dependencies by hand.

Revision history for this message
ThomasN (tnetter) said :
#8

In Ubuntu 20.04 one has to re-install python2.7 and pip2
See also:
https://linuxconfig.org/install-python-2-on-ubuntu-20-04-focal-fossa-linux
https://linuxize.com/post/how-to-install-pip-on-ubuntu-20.04/

My instructions may be incomplete because it took me hours to sort this out.
Follow instructions to install and configure python2 and pip2 at above pages.
Then:
curl https://bootstrap.pypa.io/get-pip.py --output get-pip.py
sudo python2 get-pip.py
sudo pip2 install twisted
sudo pip2 install notify
Download taskcoach_1.4.6-1.deb and then
sudo dpkg --force-all -i taskcoach_1.4.6-1.deb
And then launch from command line:
taskcoach.py

I don't yet know what I broke on my system when setting python2 as default instead of python3
It would be very helpful if Taskcoach developers could update to python3
In any case, thank you Jérôme and friends -- I've been using TaskCoach for many years and hope I can still do so.

Revision history for this message
ThomasN (tnetter) said :
#9

An alternative would be if the developers would provide instructions to configure TaskCoach to call and work with python2 on a system that has both python2 and python3 installed but where python3 is the default.
Thank you!

Revision history for this message
ThomasN (tnetter) said :
#10

Answering my own question:
Edit /usr/bin/taskcoach.py
or /usr/local/bin/taskcoach.py

Add a 2 at the end of the first line:
#!/usr/bin/python2

Then execute
sudo update-alternatives --config python
select 0 (/usr/bin/python3 2 auto mode)

And then launch taskcoach.py

Revision history for this message
Steve (steveasks) said :
#11

So what about creating a snap for this? If the developer created a YAML file and hosted a copy on GitHub they would automatically generate a snap package.

Revision history for this message
Anna Kleiner (skinofthesoul) said :
#12

Hey everybody,
I installed Kubuntu 20.04 yesterday and so came across this problem as well. I got Taskcoach to work by going ThomasN's route as outlined in comment #8. The sudo update-alternatives thing from #10 did not work for me, said something like "no alternatives for python".

Anyway the problem for me was that apt would still complain about unmet dependencies python-igraph and python-twisted for Taskcoach, and I couldn't install or deinstall other things. I solved this in a very hacky way by editing /var/lib/dpkg/status and deleting those two dependencies from the Taskcoach package… works for now and I'll keep my fingers crossed!

But yes, I would also be very happy to see a snap package to resolve those kinds of headaches. I absolutely love Taskcoach, it is integral to my workflow by now – I would gladly offer to help out, but I really don't know the first thing about python – not my programming language :-\ In any case, I'm super glad I got it running for now, thank you for all your work on Taskcoach!!

Revision history for this message
ThomasN (tnetter) said :
#13

Hi Anna,
Thanks for your solution.
I forgot to list that I had also installed python2, i.e., python 2.7.
Going back into my command history I see I had done a:

sudo apt install python2.7 python2.7-dev build-essential libxml2-dev libxslt1-dev zlib1g-dev

Anyway, I'm glad you found a simpler solution!

Revision history for this message
Aaron Wolf (wolftune) said :
#14

Jerome recently mentioned making AppImages perhaps. Anyway, besides directly helping, anyone could potentially help with *recruiting* experienced Python developers. I have too many other priorities but wish I could get to that myself more (the recruiting).

Revision history for this message
Aaron Wolf (wolftune) said :
#15

ugh, I'm now getting stuck with this myself!

Please can anyone help? I did the pip2 stuff and the --force-all for dpkg, and the error I'm still getting is:

$ taskcoach.py
Traceback (most recent call last):
  File "/usr/bin/taskcoach.py", line 39, in <module>
    wxversion.select(["2.8-unicode", "3.0"], optionsRequired=True)
  File "/usr/lib/python2.7/dist-packages/wxversion.py", line 152, in select
    raise VersionError("Requested version of wxPython not found")
wxversion.VersionError: Requested version of wxPython not found

I guess I don't have wxPython, and I have no idea how to get it (or the right version)

Revision history for this message
Aaron Wolf (wolftune) said :
#16

update: I got it to work!! I got wxPython by first removing Task Coach and then I could install python-wxgtk3.0

I think this is the updated instructions:

install python2.7 and pip2

incidentally, I don't have python3 installed, so there may be workarounds needed for those who do (some of those are in above comments). There's also a package called "python-is-python2"

curl https://bootstrap.pypa.io/get-pip.py --output get-pip.py
sudo python2 get-pip.py
sudo pip2 install twisted
sudo pip2 install notify
sudo apt install python-wxgtk3.0

download the latest .deb from https://www.taskcoach.org/download_daily_build.html

sudo dpkg --force-all -i taskcoach_ … … .deb (use tab completion, it needs to be whatever the full file name for the version)

so, this worked. I have a desktop file in my launched too, so I don't have to use the terminal to run Task Coach.

This may not work well on into the future. We've got to get Task Coach to Python3 for it to not die

Revision history for this message
Aaron Wolf (wolftune) said :
#17

Just to add, I had to also do Anna's hack of editing /var/lib/dpkg/status and deleting the dependencies that were causing task coach to block other apt actions.

Revision history for this message
Aaron Wolf (wolftune) said :
#18

Just to add, I had to also do Anna's hack of editing /var/lib/dpkg/status and deleting the dependencies that were causing task coach to block other apt actions.

Revision history for this message
mario rossi (snunzul) said :
#19

Hi all!

I have tried all the steps you have written here, but still no success.

The Anna trick for some reason does not work either. After I modified that file, when I do the dpkg -i , the file gets automatically reloaded as before and the package can't be installed as the dependencies are not met:

Output:

sudo dpkg --force-all -i taskcoach_1.4.6-1.deb
    (Reading database ... 283484 files and directories currently installed.)
    Preparing to unpack taskcoach_1.4.6-1.deb ...
    Unpacking taskcoach (1.4.6-1) over (1.4.6-1) ...
    dpkg: taskcoach: dependency problems, but configuring anyway as you requested:
    taskcoach depends on python-wxgtk3.0 (>= 3.0.0.0); however:
    Package python-wxgtk3.0 is not installed.
    taskcoach depends on python-wxversion; however:
    Package python-wxversion is not installed.
    taskcoach depends on python-twisted (>= 10.0); however:
    Package python-twisted is not installed.
    taskcoach depends on python-igraph; however:
    Package python-igraph is not installed.

    Setting up taskcoach (1.4.6-1) ...
    Processing triggers for desktop-file-utils (0.24-1ubuntu3) ...
    Processing triggers for mime-support (3.64ubuntu1) ...

Any hints?

Revision history for this message
ThomasN (tnetter) said :
#20

Hi Mario,
Looking into my shell history, I see some commands I tried:
sudo pip install --upgrade wxversion
sudo pip install --upgrade wxpython
I'm not sure what was the outcome of these command. You may want to check whether your pip command is associated to pip2 or pip3. Possibly use pip2 instead of pip3 as I believe taskcoach only works with python2.
Ciao for now,
-T

Revision history for this message
Aaron Wolf (wolftune) said :
#21

Mario, you tried all of what I wrote above?

First *uninstall* Task Coach. Then:

sudo apt install python2
curl https://bootstrap.pypa.io/get-pip.py --output get-pip.py
sudo python2 get-pip.py
sudo pip2 install twisted
sudo pip2 install notify
sudo apt install python-wxgtk3.0

only *after* this:

download the latest .deb from https://www.taskcoach.org/download_daily_build.html

sudo dpkg --force-all -i taskcoach_1.4.6.8056-1.deb

then edit /var/lib/dpkg/status and delete the dependencies that were causing task coach to block other apt actions

I'm not sure if the stuff Thomas mentioned is also needed at all. Yes, Thomas, Task Coach only works with Python2 at this time (and likely for a long time, hopefully hopefully not forever).

Revision history for this message
mario rossi (snunzul) said :
#22

Thank you very much for your reply! I'll try it today

Revision history for this message
mario rossi (snunzul) said :
#23

unfortunately it still does not work.

This is the output I get launching the taskcoach.py:

~$ python /usr/bin/taskcoach.py
Traceback (most recent call last):
  File "/usr/bin/taskcoach.py", line 72, in <module>
    start()
  File "/usr/bin/taskcoach.py", line 63, in start
    app = application.Application(options, args)
  File "/usr/lib/python2.7/dist-packages/taskcoachlib/patterns/singleton.py", line 29, in __call__
    class_.instance = super(Singleton, class_).__call__(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/taskcoachlib/application/application.py", line 117, in __init__
    self.init(**kwargs)
  File "/usr/lib/python2.7/dist-packages/taskcoachlib/application/application.py", line 214, in init
    from taskcoachlib import gui, persistence
  File "/usr/lib/python2.7/dist-packages/taskcoachlib/gui/__init__.py", line 20, in <module>
    from .mainwindow import MainWindow
  File "/usr/lib/python2.7/dist-packages/taskcoachlib/gui/mainwindow.py", line 23, in <module>
    from taskcoachlib.gui import viewer, toolbar, uicommand, remindercontroller, \
  File "/usr/lib/python2.7/dist-packages/taskcoachlib/gui/viewer/__init__.py", line 19, in <module>
    from .task import TaskViewer, TaskStatsViewer, CheckableTaskViewer, \
  File "/usr/lib/python2.7/dist-packages/taskcoachlib/gui/viewer/task.py", line 1519, in <module>
    import igraph
  File "/usr/local/lib/python2.7/dist-packages/igraph/__init__.py", line 8, in <module>
    raise DeprecationWarning("To avoid name collision with the igraph project, "
DeprecationWarning: To avoid name collision with the igraph project, this visualization library has been renamed to 'jgraph'. Please upgrade when convenient.

Any hint?

Revision history for this message
Aaron Wolf (wolftune) said :
#24

Guessing but try
sudo pip2 install igraph

also you can do
sudo apt install python-is-python2

and did you *remove* the python-igraph dependency by editing /var/lib/dpkg/status ?

Revision history for this message
Mario Rossi (snunzul2) said :
#25

@Aaron Wolf (wolftune)

Thank you very much for your assistance.

Unfortunately those commands did not help

I modified the file. Now it looks like:

Package: taskcoach
Status: install ok installed
Priority: optional
Section: Applications
Installed-Size: 10869
Maintainer: Frank Niessink, Jerome Laheurte, and Aaron Wolf <email address hidden>
Architecture: all
Version: 1.4.6.8056-1
Depends: python (>= 2.6), python-wxgtk3.0 (>= 3.0.0.0), python-wxversion, libxss1, ttf-dejavu, xdg-utils
Recommends: python-notify, libgnome2-0, libavahi-compat-libdnssd1, x11-utils
Suggests: python-kde4

Output is following:

mario@mario-pc:~$ sudo pip2 install igraph
[sudo] password for mario:
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
Requirement already satisfied: igraph in /usr/local/lib/python2.7/dist-packages (0.1.11)
Requirement already satisfied: ipython in /usr/local/lib/python2.7/dist-packages (from igraph) (5.10.0)
Requirement already satisfied: simplegeneric>0.8 in /usr/local/lib/python2.7/dist-packages (from ipython->igraph) (0.8.1)
Requirement already satisfied: backports.shutil-get-terminal-size; python_version == "2.7" in /usr/local/lib/python2.7/dist-packages (from ipython->igraph) (1.0.0)
Requirement already satisfied: setuptools>=18.5 in /usr/local/lib/python2.7/dist-packages (from ipython->igraph) (44.1.1)
Requirement already satisfied: pathlib2; python_version == "2.7" or python_version == "3.3" in /usr/local/lib/python2.7/dist-packages (from ipython->igraph) (2.3.5)
Requirement already satisfied: pexpect; sys_platform != "win32" in /usr/local/lib/python2.7/dist-packages (from ipython->igraph) (4.8.0)
Requirement already satisfied: pickleshare in /usr/local/lib/python2.7/dist-packages (from ipython->igraph) (0.7.5)
Requirement already satisfied: prompt-toolkit<2.0.0,>=1.0.4 in /usr/local/lib/python2.7/dist-packages (from ipython->igraph) (1.0.18)
Requirement already satisfied: decorator in /usr/local/lib/python2.7/dist-packages (from ipython->igraph) (4.4.2)
Requirement already satisfied: traitlets>=4.2 in /usr/local/lib/python2.7/dist-packages (from ipython->igraph) (4.3.3)
Requirement already satisfied: pygments<2.6 in /usr/local/lib/python2.7/dist-packages (from ipython->igraph) (2.5.2)
Requirement already satisfied: scandir; python_version < "3.5" in /usr/local/lib/python2.7/dist-packages (from pathlib2; python_version == "2.7" or python_version == "3.3"->ipython->igraph) (1.10.0)
Requirement already satisfied: six in /usr/local/lib/python2.7/dist-packages (from pathlib2; python_version == "2.7" or python_version == "3.3"->ipython->igraph) (1.15.0)
Requirement already satisfied: ptyprocess>=0.5 in /usr/local/lib/python2.7/dist-packages (from pexpect; sys_platform != "win32"->ipython->igraph) (0.6.0)
Requirement already satisfied: wcwidth in /usr/local/lib/python2.7/dist-packages (from prompt-toolkit<2.0.0,>=1.0.4->ipython->igraph) (0.2.5)
Requirement already satisfied: enum34; python_version == "2.7" in /usr/local/lib/python2.7/dist-packages (from traitlets>=4.2->ipython->igraph) (1.1.10)
Requirement already satisfied: ipython-genutils in /usr/local/lib/python2.7/dist-packages (from traitlets>=4.2->ipython->igraph) (0.2.0)
Requirement already satisfied: backports.functools-lru-cache>=1.2.1; python_version < "3.2" in /usr/local/lib/python2.7/dist-packages (from wcwidth->prompt-toolkit<2.0.0,>=1.0.4->ipython->igraph) (1.6.1)
mario@mario-pc:~$ sudo apt install python-is-python2
Reading package lists... Done
Building dependency tree
Reading state information... Done
python-is-python2 is already the newest version (2.7.17-4).
The following packages were automatically installed and are no longer required:
  libllvm9 qtgstreamer-plugins-qt5
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 118 not upgraded.

Launching the script now it gives me the following:

$ taskcoach.py
Traceback (most recent call last):
  File "/usr/bin/taskcoach.py", line 72, in <module>
    start()
  File "/usr/bin/taskcoach.py", line 63, in start
    app = application.Application(options, args)
  File "/usr/lib/python2.7/dist-packages/taskcoachlib/patterns/singleton.py", line 29, in __call__
    class_.instance = super(Singleton, class_).__call__(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/taskcoachlib/application/application.py", line 117, in __init__
    self.init(**kwargs)
  File "/usr/lib/python2.7/dist-packages/taskcoachlib/application/application.py", line 214, in init
    from taskcoachlib import gui, persistence
  File "/usr/lib/python2.7/dist-packages/taskcoachlib/gui/__init__.py", line 20, in <module>
    from .mainwindow import MainWindow
  File "/usr/lib/python2.7/dist-packages/taskcoachlib/gui/mainwindow.py", line 23, in <module>
    from taskcoachlib.gui import viewer, toolbar, uicommand, remindercontroller, \
  File "/usr/lib/python2.7/dist-packages/taskcoachlib/gui/viewer/__init__.py", line 19, in <module>
    from .task import TaskViewer, TaskStatsViewer, CheckableTaskViewer, \
  File "/usr/lib/python2.7/dist-packages/taskcoachlib/gui/viewer/task.py", line 1519, in <module>
    import igraph
  File "/usr/local/lib/python2.7/dist-packages/igraph/__init__.py", line 8, in <module>
    raise DeprecationWarning("To avoid name collision with the igraph project, "
DeprecationWarning: To avoid name collision with the igraph project, this visualization library has been renamed to 'jgraph'. Please upgrade when convenient.

No hope?

Revision history for this message
Aaron Wolf (wolftune) said :
#26

I'm not certain on any of this
Maybe there's a different matter around editing /var/lib/dpkg/status

The removing of the dependencies is just about allowing it to continue installing I think.
So, you could *purge* Task Coach with `sudo apt purge taskcoach`
start over, and when you get a dependency block on on something, then you edit that status file with `sudo vim /var/lib/dpkg/status` and remove the task coach dependencies that were blocking full install
then, you can go back to the manual installing of the .deb and it should complete?

There's hope at least. I and others have it. And maybe Jerome can get around to packaging it in some functional way.

Revision history for this message
Aaron Wolf (wolftune) said :
#27

Okay, I just reinstalled and got it to work again.

Here's more specific details:

When editing /var/lib/dpkg/status the items that have to be removed are the ones that dpkg notes are errors when installing by force, so remove these:

python-twisted (>= 10.0)
ttf-dejavu
python-igraph

and make sure the depends line doesn't end with a comma.

That should allow Task Coach to run, it did for me.

Revision history for this message
Aaron Wolf (wolftune) said :
#28

so Mario, the thing you need is to remove ttf-dejavu (that was still in the text you shared)

Revision history for this message
mario rossi (snunzul) said :
#29

hey there! sorry I was abroad, I will try this evening.. thank you very much!

Revision history for this message
Mario Rossi (snunzul2) said :
#30

dear Aaron, thank you again.

Same problem, after I modify the /var/lib/dpkg/status, I do the dpkg -i taskcoachpackage.deb, the taskcoach gets "installed" with the following errors:

sudo dpkg -i taskcoach_1.4.6.8056-1.deb
(Reading database ... 284118 files and directories currently installed.)
Preparing to unpack taskcoach_1.4.6.8056-1.deb ...
Unpacking taskcoach (1.4.6.8056-1) over (1.4.6.8056-1) ...
dpkg: dependency problems prevent configuration of taskcoach:
 taskcoach depends on python-twisted (>= 10.0); however:
  Package python-twisted is not installed.
 taskcoach depends on ttf-dejavu; however:
  Package ttf-dejavu is not installed.
 taskcoach depends on python-igraph; however:
  Package python-igraph is not installed.

dpkg: error processing package taskcoach (--install):
 dependency problems - leaving unconfigured
Processing triggers for desktop-file-utils (0.24-1ubuntu3) ...
Processing triggers for mime-support (3.64ubuntu1) ...
Errors were encountered while processing:
 taskcoach

Launching the executable again I get:

taskcoach.py
Traceback (most recent call last):
  File "/usr/bin/taskcoach.py", line 72, in <module>
    start()
  File "/usr/bin/taskcoach.py", line 63, in start
    app = application.Application(options, args)
  File "/usr/lib/python2.7/dist-packages/taskcoachlib/patterns/singleton.py", line 29, in __call__
    class_.instance = super(Singleton, class_).__call__(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/taskcoachlib/application/application.py", line 117, in __init__
    self.init(**kwargs)
  File "/usr/lib/python2.7/dist-packages/taskcoachlib/application/application.py", line 214, in init
    from taskcoachlib import gui, persistence
  File "/usr/lib/python2.7/dist-packages/taskcoachlib/gui/__init__.py", line 20, in <module>
    from .mainwindow import MainWindow
  File "/usr/lib/python2.7/dist-packages/taskcoachlib/gui/mainwindow.py", line 23, in <module>
    from taskcoachlib.gui import viewer, toolbar, uicommand, remindercontroller, \
  File "/usr/lib/python2.7/dist-packages/taskcoachlib/gui/viewer/__init__.py", line 19, in <module>
    from .task import TaskViewer, TaskStatsViewer, CheckableTaskViewer, \
  File "/usr/lib/python2.7/dist-packages/taskcoachlib/gui/viewer/task.py", line 1519, in <module>
    import igraph
  File "/usr/local/lib/python2.7/dist-packages/igraph/__init__.py", line 8, in <module>
    raise DeprecationWarning("To avoid name collision with the igraph project, "
DeprecationWarning: To avoid name collision with the igraph project, this visualization library has been renamed to 'jgraph'. Please upgrade when convenient.

I have no idea why. It's like if my /var/lib/dpkg/status changes don't get saved. I tried both with kate and nano. The file is changed, but as soon as I do a dpkg -i it gets reset to default and nothing works..

Revision history for this message
Aaron Wolf (wolftune) said :
#31

Mario, your latest post lacks the --force-all part of the dpkg command. Perhaps you still have the *old* install and didn't force the new one? Try purging task coach first and start over using the --force-all as well as the editing of /var/lib/dpkg/status

I think I did this FIRST (after purging any existing install):
sudo dpkg --force-all -i taskcoach…dmg

and THEN I edited /var/lib/dpkg/status

The --force-all gets the install to work and the status file edit allows Task Coach to be run. If you ever try to dpkg -i again, it will indeed put the stuff back into the status file.

Revision history for this message
Manfred Hampl (m-hampl) said :
#32

The whole story with editing /var/lib/dpkg/status is just a dirty workaround messing around with symptoms.

The only reasonable solution is that someone creates a new version of the package with dependencies that can be fulfilled on Ubuntu 20.04 and higher.

Revision history for this message
Mario Rossi (snunzul2) said :
#33

@Aaron you were right. I forgot the force, but I tried also the force one and it did not go through again. Both modifying /var/lib/dpkg/status before and after the installation (tried different ways).

Damn, I really love taskcoach. It is a real pity it is not possible to use it in a new version of Kubuntu.

@Manfred This new package looks the best solution indeed.

Is there no other way to install it? like snap or something similar?

Revision history for this message
Aaron Wolf (wolftune) said :
#34

There's no current option for other install (though it's a doable thing for someone to make, but not trivial).

But I succeeded multiple times on installing in KDE Neon, which is basically Ubuntu + KDE, it's comparable to Kubuntu. So, we should be able to hack this together. Maybe schedule a time we could chat on IRC and try running through this? You can email me at <email address hidden> to discuss that if you want. I am myself way too reliant on Task Coach and could not easily switch away ever. Nothing else is quite like it.

Revision history for this message
Mario Rossi (snunzul2) said :
#35

Thank you very much for your availability Aaron, I really appreciated it. I'm sure I'm not the only one looking for a solution. I think this application is so far the best I've tried, and I really would like to make it work on my system. I'll send you an email and we'll see how to go through this somehow. Have a nice weekend!

Revision history for this message
Steve (steveasks) said :
#36

It's quick and dirty but I've installed the Windows executable under Wine with no problems. I do not know how much of a long term solution it is or how stable it will be. This was under Ubuntu Mate 20.04.1 LTS 64 bit.

Revision history for this message
mario rossi (snunzul) said :
#37

wow Steve, I didnt' thought about it . I'll try asap, it looks an awesome alternative ;)

Revision history for this message
Mario Rossi (snunzul2) said :
#38

tried on wine.. it install it, but it crashes when clicking on the edit menu.

It seems so challenging damn

Revision history for this message
mario rossi (snunzul) said :
#39

still not working. Any other idea?

Revision history for this message
Aaron Wolf (wolftune) said :
#40

@mario please open a support request at https://sourceforge.net/p/taskcoach/support-requests/ so we can track your exact situation and either do it through that or connect on IRC or email. I'm willing to help you try to get the workaround going. But really, we need someone (Jerome has said he could sometime ever) get around to packaging this in some container to at least work until ever updating the code to Python3

Revision history for this message
Mario Rossi (snunzul2) said :
#41

Thank you for your reply. I'll do that. I'm sure it will be useful for other people too! many people use Ubuntu these days

Revision history for this message
Aaron Wolf (wolftune) said :
#42

Quoting a successful summary from https://sourceforge.net/p/taskcoach/support-requests/539/ Jef wrote:

First *uninstall* Task Coach. Then:

sudo apt install python2
curl https://bootstrap.pypa.io/get-pip.py --output get-pip.py
sudo python2 get-pip.py
sudo pip2 install twisted
sudo pip2 install notify
sudo apt install python-wxgtk3.0
sudo apt install ttf-dejavu ttf-dejavu-core ttf-dejavu-extra

only *after* this:

download the latest .deb from https://www.taskcoach.org/download_daily_build.html

sudo dpkg --force-all -i taskcoach_1.4.6.8056-1.deb

then edit /var/lib/dpkg/status and **delete** the dependencies that were causing task coach to block other apt actions.
(search for the line: "Depends: python (>= 2.6), python-wxgtk3.0 (>= 3.0.0.0), python-wxversion, python-twisted (>= 10.0), libxss1, ttf-dejavu, xdg-utils, python-igraph" )
So change this to: "Depends: python-wxgtk3.0 (>= 3.0.0.0), python-wxversion, libxss1, ttf-dejavu, xdg-utils"

sudo apt install --fix-broken**

Next step is to tell TaskCoach to use python2:
~$ sudo xed /usr/bin/taskcoach.py
edit the 1st line by adding '2' at the end

Revision history for this message
Mario Rossi (snunzul2) said :
#43

Thank you again for your message and Merry Christmas to all!

Still not working:

This is the status file:

Package: taskcoach
Status: install ok installed
Priority: optional
Section: Applications
Installed-Size: 10869
Maintainer: Frank Niessink, Jerome Laheurte, and Aaron Wolf <email address hidden>
Architecture: all
Version: 1.4.6.8056-1
Depends: python-wxgtk3.0 (>= 3.0.0.0), python-wxversion, libxss1, ttf-dejavu, xdg-utils
Recommends: python-notify, libgnome2-0, libavahi-compat-libdnssd1, x11-utils
Suggests: python-kde4

And this is the output of my taskcoach:

taskcoach.py
Traceback (most recent call last):
  File "/usr/bin/taskcoach.py", line 72, in <module>
    start()
  File "/usr/bin/taskcoach.py", line 63, in start
    app = application.Application(options, args)
  File "/usr/lib/python2.7/dist-packages/taskcoachlib/patterns/singleton.py", line 29, in __call__
    class_.instance = super(Singleton, class_).__call__(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/taskcoachlib/application/application.py", line 117, in __init__
    self.init(**kwargs)
  File "/usr/lib/python2.7/dist-packages/taskcoachlib/application/application.py", line 214, in init
    from taskcoachlib import gui, persistence
  File "/usr/lib/python2.7/dist-packages/taskcoachlib/gui/__init__.py", line 20, in <module>
    from .mainwindow import MainWindow
  File "/usr/lib/python2.7/dist-packages/taskcoachlib/gui/mainwindow.py", line 23, in <module>
    from taskcoachlib.gui import viewer, toolbar, uicommand, remindercontroller, \
  File "/usr/lib/python2.7/dist-packages/taskcoachlib/gui/viewer/__init__.py", line 19, in <module>
    from .task import TaskViewer, TaskStatsViewer, CheckableTaskViewer, \
  File "/usr/lib/python2.7/dist-packages/taskcoachlib/gui/viewer/task.py", line 1519, in <module>
    import igraph
  File "/usr/local/lib/python2.7/dist-packages/igraph/__init__.py", line 8, in <module>
    raise DeprecationWarning("To avoid name collision with the igraph project, "
DeprecationWarning: To avoid name collision with the igraph project, this visualization library has been renamed to 'jgraph'. Please upgrade when convenient.

I still haven't opened the bug, but I will in these holidays.

Thank you again

Revision history for this message
Aaron Wolf (wolftune) said :
#44
Revision history for this message
Mario Rossi (snunzul2) said :
#45

That's a great news! thanks! I'm going to try it asap

Revision history for this message
Mario Rossi (snunzul2) said :
#46

Thank you for your reply. I'll do that. I'm sure it will be useful for other people too! many people use Ubuntu these days

Revision history for this message
Mario Rossi (snunzul2) said :
#47

Last message got sent by mistake..

Revision history for this message
Mario Rossi (snunzul2) said :
#48

I just want to thank you for the app image. I can confirm that it now works!

Can you help with this problem?

Provide an answer of your own, or ask René Driessen for more information if necessary.

To post a message you must log in.