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

glom #1794

Closed
ghost opened this issue Oct 14, 2021 · 1 comment
Closed

glom #1794

ghost opened this issue Oct 14, 2021 · 1 comment

Comments

@ghost
Copy link

ghost commented Oct 14, 2021

glom would be great to have available in Brython

brython.min.js:81 Traceback (most recent call last):
  File file://wsl.localhost/Ubuntu-18.04/home/mingus/Sling/Sling.html#__main__ line 3, in <module>
    import glom
  File VFS.glom/__init__.py line 2, in <module>
    from glom.core import (glom,
  File VFS.glom.core.py line 34, in <module>
    from face.helpers import get_wrap_width
  File VFS.face/__init__.py line 2, in <module>
    from face.parser import (Flag,
  File VFS.face.parser.py line 8, in <module>
    from boltons.iterutils import split,unique
  File VFS.boltons.iterutils.py line 1402, in <module>
    guid_iter=GUIDerator()
  File VFS.boltons.iterutils.py line 1320, in __init__
    self.reseed()
  File VFS.boltons.iterutils.py line 1325, in reseed
    self.salt='-'.join([str(self.pid),
AttributeError: 'list' object has no attribute 'decode'
brython.min.js:81 Uncaught Error
    at Object._b_.AttributeError.$factory (eval at $make_exc (brython.min.js:81), <anonymous>:1:2706)
    at attr_error (brython.min.js:81)
    at Object.$B.$getattr (brython.min.js:81)
    at reseed2505 (eval at run_py (brython.min.js:91), <anonymous>:5709:473)
    at s (brython.min.js:81)
    at __init__2504 (eval at run_py (brython.min.js:91), <anonymous>:5639:92)
    at f.__call__ (brython.min.js:81)
    at brython.min.js:81
    at eval (eval at run_py (brython.min.js:91), <anonymous>:6243:95)
    at eval (eval at run_py (brython.min.js:91), <anonymous>:6965:35)
@PierreQuentel
Copy link
Contributor

I think the commits above fix the issue. If not, don't hesitate to reopen it.

There is probably a bug in boltons, I have opened an issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant