Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

AttributeError: 'NoneType' object has no attribute 'endswith' #162

Copy link
Copy link
@55cc

Description

@55cc
Issue body actions

Traceback (most recent call last):
File "", line 1, in
File "", line 1, in to_javascript
File "python_to_pythonjs.py", line 3801, in main
module_path = module_path
File "python_to_pythonjs.py", line 259, in init
self.visit(node)
File "python_to_pythonjs.py", line 267, in visit
res = visitor(node)
File "python_to_pythonjs.py", line 406, in visit_ImportFrom
path = os.path.join( self._module_path, node.module+'.py')
File "/lib/python2.7/posixpath.py", line 68, in join
elif path == '' or path.endswith('/'):
AttributeError: 'NoneType' object has no attribute 'endswith'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.