Skip to content

play (v1.2.5) idealize command bropken when greenscript module installed #57

@jonathonadler

Description

@jonathonadler

When performing play idealize command, the error below is generated:

~ _ _
~ _ __ | | __ _ _ | |
~ | '
| |/ ' | || ||
~ | /|_|__|__ ()
~ |
| |__/
~
~ play! 1.2.5, http://www.playframework.org
~
Traceback (most recent call last):
File "c:\play-1.2.5\play", line 153, in
status = cmdloader.commands[play_command].execute(command=play_command, app=play_app, args=remaining_args, env=play_env, cmdloader=cmdloader)
File "c:\play-1.2.5\framework\pym\play\commands\intellij.py", line 49, in execute
msXML += ' \n' % (app.toRelative(srcpath).replace('', '/'))
File "c:\play-1.2.5\framework\pym\play\application.py", line 273, in toRelative
return _absoluteToRelative(path, self.path, "").replace("//", "/")
File "c:\play-1.2.5\framework\pym\play\application.py", line 280, in _absoluteToRelative
return _absoluteToRelative(path, os.path.dirname(reference), "/.." + dots)
...
...
...
File "c:\play-1.2.5\python\lib\ntpath.py", line 205, in dirname
return split(p)[0]
File "c:\play-1.2.5\python\lib\ntpath.py", line 170, in split
d, p = splitdrive(p)
File "c:\play-1.2.5\python\lib\ntpath.py", line 125, in splitdrive
if p[1:2] == ':':
RuntimeError: maximum recursion depth exceeded in cmp

The following forum entry suggests the cause is in module paths:

https://groups.google.com/forum/?fromgroups#!topic/play-framework/A4JQHqt2hwA

All works correctly when greenscript is removed.

Kind Regards,
Jonathon Adler.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions