Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chatflows: cannot use captcha_ask #1687

Open
abom opened this issue Nov 16, 2020 · 0 comments
Open

chatflows: cannot use captcha_ask #1687

abom opened this issue Nov 16, 2020 · 0 comments
Labels
Milestone

Comments

@abom
Copy link
Contributor

abom commented Nov 16, 2020

Description

When using captcha_ask in one of the steps I got an error.

Version information

  • OS: e.g. Ubuntu 18.05
  • Project commit/version: development (4e9f2d4)
  • Browser: e.g. chrome

Installation method

Development installation via poetry install

Steps to reproduce

Add a step to your chatflow and use self.captcha_ask

Traceback/Logs/Alerts

Traceback (most recent call last):
  File "/home/abom/projects/jumpscale/js-next/js-sdk/jumpscale/sals/chatflows/chatflows.py", line 147, in wrapper
    getattr(self, step_name)()
  File "/home/abom/projects/jumpscale/js-next/js-sdk/jumpscale/sals/chatflows/chatflows.py", line 668, in wrapper
    return func(*args, **kwargs)
  File "/home/abom/projects/jumpscale/js-next/js-sdk/jumpscale/packages/tfgrid_solutions/chats/ubuntu.py", line 43, in ca
    c = self.captcha_ask()
  File "/home/abom/projects/jumpscale/js-next/js-sdk/jumpscale/sals/chatflows/chatflows.py", line 582, in captcha_ask
    captcha, message = self.captcha_msg(required=True, **kwargs)
  File "/home/abom/projects/jumpscale/js-next/js-sdk/jumpscale/sals/chatflows/chatflows.py", line 567, in captcha_msg
    captcha = j.data.idgenerator.generateXCharID(4)
AttributeError: module 'jumpscale.data.idgenerator' has no attribute 'generateXCharID'
@rkhamis rkhamis added this to the now milestone Dec 14, 2020
@rkhamis rkhamis modified the milestones: now, next Dec 14, 2020
@xmonader xmonader modified the milestones: next, later Jan 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants