wijnen / pydink Goto Github PK
View Code? Open in Web Editor NEWEditor and engine for Dink Smallwood mods
Editor and engine for Dink Smallwood mods
File->Open, pick "karel" directory within pydink directory in dialog, get error message:
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/gui.py", line 770, in response
widget.hide()
TypeError: 'bool' object is not callable
Quick additional testing reveals it actually happens when choosing any directory.
It seems to require some xmlgen
script/executable that exists outside the build environment in a very specific place...
~/pydink$ make
../xmlgen/xmlgen <makecache.gui.in >makecache.gui
/bin/sh: 1: ../xmlgen/xmlgen: not found
make: *** [makecache.gui] Error 127
~/pydink$
Here's an example from File -> New:
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/gui.py", line 387, in <lambda>
retactions.append ((action, None, name, None, None, (lambda v = value: (lambda *args, **kwargs: self.gui.__event_cb__ (self.widget, *(args + (v,)), **kwargs))) ()))
File "/usr/local/lib/python2.7/dist-packages/gui.py", line 1063, in __event_cb__
f (*args[:-1], **kwargs)
File "./pde.py", line 2690, in new_game
the_gui.title = os.path.basename (root) + ' - Python Dink Editor'
File "/usr/lib/python2.7/posixpath.py", line 121, in basename
i = p.rfind('/') + 1
AttributeError: 'gtk.Action' object has no attribute 'rfind'
DMod -> Edit DMod info:
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/gui.py", line 1063, in __event_cb__
f (*args[:-1], **kwargs)
File "./pde.py", line 2836, in <lambda>
events['dmod_edit_info'] = lambda: do_edit ('info', 'txt')
File "./pde.py", line 2408, in do_edit
open (name, 'w')
IOError: [Errno 2] No such file or directory: '/tmp/pydink-scripts-GfywTN/info.txt'
And another from Help -> About:
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/gui.py", line 387, in <lambda>
retactions.append ((action, None, name, None, None, (lambda v = value: (lambda *args, **kwargs: self.gui.__event_cb__ (self.widget, *(args + (v,)), **kwargs))) ()))
File "/usr/local/lib/python2.7/dist-packages/gui.py", line 1063, in __event_cb__
f (*args[:-1], **kwargs)
TypeError: show_about() takes no arguments (1 given)
As you can see, the reported messages make the window very large. I recommend you put in scrollbars or something if it gets too long, so this doesn't happen.
Also visible in the screenshot (although it doesn't seem to affect the actual execution of the program) is that the folder/file selection widgets for the various settings disappeared when I set them...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.