not working (dangerous)

Bug #1509694 reported by Jérémy Munsch
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
thefuck (Debian)
Fix Released
Unknown
thefuck (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Installing this on kubuntu 15.10

$ thefuck
Traceback (most recent call last):
  File "/usr/bin/thefuck", line 9, in <module>
    load_entry_point('thefuck==2.5.6', 'console_scripts', 'thefuck.real')()
  File "/usr/share/thefuck/thefuck/main.py", line 160, in main
    matched_rule = get_matched_rule(command, rules, settings)
  File "/usr/share/thefuck/thefuck/main.py", line 105, in get_matched_rule
    script_only = command.stdout is None and command.stderr is None
AttributeError: 'NoneType' object has no attribute 'stdout'

Even more dangerous :
Having eval "$(thefuck --alias)" in .bashrc as mentioned in the github page made a fork bomb, so system become unusable !!!

Tags: wily xenial
Revision history for this message
Hans Joachim Desserud (hjd) wrote :

Thanks for reporting this issue.

I get the same error message when attempting to run thefuck 2.5.6-1 on Ubuntu 15.10. I've found a corresponding Debian bug report, so I have attached a bug watch.

Changed in thefuck (Ubuntu):
status: New → Confirmed
tags: added: wily xenial
Changed in thefuck (Debian):
status: Unknown → New
Changed in thefuck (Debian):
status: New → Fix Committed
Changed in thefuck (Debian):
status: Fix Committed → Fix Released
Revision history for this message
Alessio Treglia (quadrispro) wrote :

Fixed in xenial

Changed in thefuck (Ubuntu):
importance: Undecided → High
assignee: nobody → Alessio Treglia (quadrispro)
status: Confirmed → In Progress
assignee: Alessio Treglia (quadrispro) → nobody
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.