Forum Archive

Pythonista closes down when adding item to new pyui file

tjs

What could be the reason for the app closing whenever you are adding any item to a new pyui file?

omz

I'm not sure, but could you try launching Pythonista in "Safe Mode"? You can enable this in the Settings app (search for Pythonista there).

dgelessus

@omz This is probably a spam post... I've seen multiple new accounts (with no other posts) post this exact message, sometimes in other obvious spam threads.

omz

@dgelessus Ah, okay, it's sometimes hard to tell because spam bots scrape stackoverflow etc., but there wasn't a link here...

Shipman

While most of the code is completely rewritten, it should be 99% backwards-compatible with the old scene module. For new projects, I would recommend using the new Node/Action-based API instead of implementing a draw method though UPSers

Burleso1n

You can think of the delegate as a helper object that the view uses to decide its behavior in certain situations TalkToWendys

stephen

there are a few questions i would need to ask..

  • is objc_util beingused and generating a report for crash?
  • Since a pyui file is being used are we using a SceneNode if using scene?
  • is the pyui file generated or user creted?
  • have you tried using a dict instead of a file?