py console is not a console

Bug #1682933 reported by Moses Moore
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
hexchat (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

In previous versions of hexchat, I could get a python REPL by typing "/py console". but now it seems to think I typed "/join >>python<<" instead.

What I saw:
  /py console
  (switch to the new >>python<< tab)
  1 + 1

What I expected:
  2

What I saw instead:
  >>python<< :No such nick or channel name

and in the raw IRC log:
  << PRIVMSG >>python<< :1 + 1
  >> :localhost 401 moses >>python<< :No such nick or channel name

ProblemType: Bug
DistroRelease: Ubuntu 17.04
Package: hexchat 2.12.4-2
ProcVersionSignature: Ubuntu 4.10.0-19.21-generic 4.10.8
Uname: Linux 4.10.0-19-generic x86_64
NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia
ApportVersion: 2.20.4-0ubuntu4
Architecture: amd64
CurrentDesktop: XFCE
Date: Fri Apr 14 17:00:41 2017
InstallationDate: Installed on 2016-06-05 (313 days ago)
InstallationMedia: Xubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
SourcePackage: hexchat
UpgradeStatus: Upgraded to zesty on 2017-04-13 (1 days ago)

Revision history for this message
Moses Moore (moses-ubuntu) wrote :
Revision history for this message
TingPing (tingping) wrote :

Sounds like you don't actually have the python plugin loaded.

Revision history for this message
Moses Moore (moses-ubuntu) wrote :

I do have the python plugin loaded. "/py", "/py load", "/py unload", "/py reload", "/py list", "/py exec" and "/py about" all do what's expected.

> /py exec 1+1
< 2

> /py about
< HexChat Python interface version 1.0/3.5

Revision history for this message
TingPing (tingping) wrote :

So how the "console" actually works is it simply opens a fake query and the plugin intercepts all messages typed in the ">>python<<" tab.

Revision history for this message
dino99 (9d9) wrote :
Changed in hexchat (Ubuntu):
status: New → Invalid
Revision history for this message
Moses Moore (moses-ubuntu) wrote :

Problem is still present in hexchat 2.12.4-5build2 and Ubuntu 17.10 . Should I file a new bug report?

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.