Skip to content

Converting SOMEDAY fails #166

@VictorNorman

Description

@VictorNorman

https://scratch.mit.edu/projects/156829642/

Scheduling Run
Scheduling Run
Scheduling Run
b'Proceesing var: level'
Adding varInfo entry for Level : level --> (level, Int)
No variable definition dictionary found in script json: level
Writing code to /Users/vtn2/research/scratch2greenfoot/summer2017/ScratchFoot/SOMEDAY/Level.java.
Exception in Tkinter callback
Traceback (most recent call last):
File "/Users/vtn2/anaconda/lib/python3.5/tkinter/init.py", line 1549, in call
return self.func(*args)
File "s2g.py", line 2879, in convertButtonCb
convert()
File "s2g.py", line 2675, in convert
sprite = Sprite(sprData)
File "s2g.py", line 2307, in init
name = convertToJavaId(sprData['objName'], True, True)
File "s2g.py", line 176, in convertToJavaId
if noLeadingNumber and res[0].isdigit():
IndexError: string index out of range

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