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

fix for getting the length of the filenames array #171

Merged
merged 1 commit into from May 31, 2017

Conversation

Projects
None yet
2 participants
@Ocupe
Collaborator

Ocupe commented May 31, 2017

The issue is discussed here and leads to the following error:

Traceback (most recent call last):
  File "_ctypes/callbacks.c", line 234, in 'calling callback function'
  File "/Users/Jonas/Documents/Programming/PyBee/rubicon-objc/rubicon/objc/objc.py", line 1069, in _objc_method
    result = f(py_self, *args)
  File "/Users/Jonas/Documents/Programming/PyBee/toga/src/cocoa/toga_cocoa/app.py", line 53, in application_openFiles_
    for i in range(0, filenames.count):
TypeError: 'method' object cannot be interpreted as an integer

@freakboy3742 freakboy3742 merged commit 8317efd into pybee:master May 31, 2017

@Ocupe Ocupe deleted the Ocupe:fix_in_AppDelegate branch May 31, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment