Changeset 52 for remote_control
- Timestamp:
- 06/17/10 14:35:37 (12 years ago)
- Location:
- remote_control
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
remote_control/PuzzleboxBrainstorms-install.nsi
r47 r52 4 4 5 5 Name "Puzzlebox Brainstorms" 6 OutFile "PuzzleboxBrainstorms-0.1. 2-setup.exe"6 OutFile "PuzzleboxBrainstorms-0.1.4-setup.exe" 7 7 8 8 ; Some default compiler settings (uncomment and change at will): … … 93 93 File dist\zlib1.dll 94 94 95 SetOutPath $INSTDIR\emokey 96 File emokey\puzzlebox_brainstorms.ekm 97 98 SetOutPath $INSTDIR\emoscript 99 File emoscript\puzzlebox_brainstorms-test_drive-push_pull.emo 100 File emoscript\puzzlebox_brainstorms-training-pull.emo 101 File emoscript\puzzlebox_brainstorms-training-push.emo 102 95 103 SetOutPath $INSTDIR\images 96 104 File dist\images\1-upper_left-orange.png … … 222 230 Delete $INSTDIR\zlib1.dll 223 231 232 Delete $INSTDIR\emokey\puzzlebox_brainstorms.ekm 233 Delete $INSTDIR\emoscript\puzzlebox_brainstorms-test_drive-push_pull.emo 234 Delete $INSTDIR\emoscript\puzzlebox_brainstorms-training-pull.emo 235 Delete $INSTDIR\emoscript\puzzlebox_brainstorms-training-push.emo 236 224 237 Delete $INSTDIR\images\1-upper_left-orange.png 225 238 Delete $INSTDIR\images\1-upper_left-white.png -
remote_control/puzzlebox_brainstorms_client_thinkgear.py
r51 r52 117 117 ################################################################## 118 118 119 ##def connectionMade(self):120 ##121 ###data = pickle.dumps(self.factory.command)122 ##data = json.dumps(self.factory.command)123 ##self.transport.write(data)124 ##125 ##self.factory.noReply = reactor.callLater(NO_REPLY_WAIT, self.noReply)126 127 128 ################################################################## 129 130 ##def noReply(self):131 ##132 ##try:133 ##self.factory.replyDefer.callback('NO_REPLY')134 ##except:135 ##if self.DEBUG:136 ##print "noReply failed to call callback"137 ###self.factory.log.error("noReply failed to call callback")138 ##139 ##self.transport.loseConnection()119 def connectionMade(self): 120 121 #data = pickle.dumps(self.factory.command) 122 data = json.dumps(self.factory.command) 123 self.transport.write(data) 124 125 self.factory.noReply = reactor.callLater(NO_REPLY_WAIT, self.noReply) 126 127 128 ################################################################## 129 130 def noReply(self): 131 132 try: 133 self.factory.replyDefer.callback('NO_REPLY') 134 except: 135 if self.DEBUG: 136 print "noReply failed to call callback" 137 #self.factory.log.error("noReply failed to call callback") 138 139 self.transport.loseConnection() 140 140 141 141 -
remote_control/puzzlebox_brainstorms_server.py
r48 r52 20 20 21 21 import puzzlebox_brainstorms_configuration as configuration 22 import puzzlebox_brainstorms_client22 #import puzzlebox_brainstorms_client 23 23 import puzzlebox_brainstorms_remote_control as remote_control 24 24 #import puzzlebox_logger … … 136 136 137 137 except Exception, e: 138 self.factory.log.error("Partial data received (or error: %s)." % e) 138 #self.factory.log.error("Partial data received (or error: %s)." % e) 139 if DEBUG: 140 print "Partial data received (or error:", 141 print e 142 print ")." 139 143 140 144 else:
Note: See TracChangeset
for help on using the changeset viewer.