*** tpb has joined #tp | 00:00 | |
*** ChanServ sets mode: +o tpb | 00:00 | |
mithro | oh, I see the problem | 00:00 |
---|---|---|
CIA-13 | mithro tpclient-pywx-stable * r45577ed56f2e /setup.py: Small fix for version freezing on Mac OS X. | 00:06 |
mithro | greywhind: give that a god | 00:06 |
mithro | s/god/go | 00:07 |
greywhind | l | 00:07 |
mithro | l? | 00:09 |
greywhind | sorry | 00:09 |
greywhind | tpclient-pywx Error | 00:10 |
greywhind | An unexpected error has occurred during execution of the main script | 00:10 |
greywhind | AttributeError: 'module' object has no attribute 'version_str' | 00:10 |
greywhind | err | 00:10 |
greywhind | tpclient-pywx Error | 00:10 |
greywhind | An unexpected error has occurred during execution of the main script | 00:10 |
greywhind | Exception: ('Version number mismatch', '1.0.1', '1.0.2') | 00:10 |
mithro | wtf? | 00:10 |
mithro | can you get me the complete output? | 00:11 |
greywhind | mithro: ok | 00:11 |
greywhind | mithro: of the setup? or just the running of the client? | 00:11 |
mithro | actually | 00:11 |
mithro | you updated, then did a "git reset --hard" then a "python setup.py py2app" and then running the client gave that error? | 00:12 |
greywhind | i may have forgotten the git reset --hard after updating... let me re-run the packaging one more time just to make sure | 00:12 |
ApacheChief | hey Mithro, ever heard of Silverlight? | 00:16 |
greywhind | mithro: still the same problem, but this one only happens from the package, not from the git repo | 00:16 |
mithro | I have no idea what the "Version number mismatch" is coming from | 00:17 |
mithro | nothing has a version 1.0.1 | 00:17 |
mithro | can you get the full output of running the client from the package? | 00:17 |
greywhind | mithro: it's not much... | 00:17 |
greywhind | greywhind (09:21 PM):~/Desktop/tpclient-pywx.app/Contents/MacOS > ./tpclient-pywx | 00:17 |
greywhind | 2008-03-22 21:21:17.630 tpclient-pywx[4269] tpclient-pywx Error | 00:17 |
greywhind | 2008-03-22 21:21:17.631 tpclient-pywx[4269] tpclient-pywx Error | 00:17 |
greywhind | An unexpected error has occurred during execution of the main script | 00:17 |
greywhind | Exception: ('Version number mismatch', '1.0.1', '1.0.2') | 00:17 |
mithro | is there a "log.txt" there? | 00:18 |
greywhind | mithro: no | 00:19 |
mithro | I have NFI what is going on | 00:19 |
mithro | that doesn't appear to be coming from our code | 00:19 |
greywhind | mithro: well... it only happens in the packaged version... | 00:19 |
greywhind | are we forgetting to include something? | 00:20 |
mithro | I can't see why that would be a "version number mismatch" | 00:21 |
greywhind | mithro: | 00:22 |
greywhind | http://rafb.net/p/poEObI16.html (115 lines) | 00:22 |
tpb | Title: Nopaste - No description (at rafb.net) | 00:22 |
mithro | hrm... something has gone wrong | 00:23 |
mithro | as it shouldn't be referencing /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/ | 00:23 |
mithro | greywhind: can you get me the output of your setup.py run? | 00:27 |
greywhind | mithro: sure | 00:27 |
greywhind | mithro: herre | 00:28 |
greywhind | http://rafb.net/p/MzyTT210.html (1284 lines) | 00:28 |
tpb | Title: Nopaste - No description (at rafb.net) | 00:28 |
mithro | greywhind: what happens if you had "ctypes" into the includes bit of setup.py | 00:33 |
greywhind | line 213? | 00:34 |
mithro | hrm.... greywhind have you tried issuing orders on Mac OS X? | 00:37 |
greywhind | mithro: yes, I have... i think it worked | 00:38 |
greywhind | mithro: same error still | 00:39 |
mithro | greywhind: the BuildFleet order looks all mangled on 10.5 | 00:39 |
greywhind | mithro: i didn't test that one | 00:39 |
greywhind | mithro: "includes": ['ctypes'], | 00:40 |
greywhind | did i do that right? | 00:40 |
mithro | yeah | 00:41 |
mithro | still same problem? | 00:42 |
greywhind | mithro: yep | 00:42 |
*** bddebian has quit IRC | 00:42 | |
mithro | WTF!??? | 00:47 |
mithro | greywhind: can you backoff to the last tag and see if you are able to build the binary from that? | 00:47 |
greywhind | mithro: ok... what's the best way to do that? | 00:47 |
mithro | "git checkout TPCLIENT_PYWX_0_3_0" might work | 00:48 |
greywhind | i assume I should do this in another director? | 00:48 |
greywhind | *directory | 00:48 |
mithro | don't have to | 00:49 |
greywhind | fatal: Untracked working tree file 'COPYING' would be overwritten by merge. | 00:50 |
mithro | "git reset --hard" first? | 00:50 |
greywhind | same thing | 00:50 |
greywhind | just delete the file? | 00:50 |
mithro | yeah | 00:51 |
greywhind | mithro: | 00:52 |
greywhind | http://rafb.net/p/oIMoLC97.html (17 lines) | 00:52 |
tpb | Title: Nopaste - No description (at rafb.net) | 00:52 |
*** cherez has joined #tp | 00:52 | |
mithro | greywhind: oh | 00:56 |
mithro | you'll need to do what git suggests | 00:56 |
mithro | create a local branch | 00:56 |
greywhind | so git checkout -b release030 TPCLIENT_PYWX_0_3_0? | 00:57 |
greywhind | or do i not need the "TPCLIENT_PYWX_0_3_0" | 00:57 |
greywhind | mithro: | 00:59 |
greywhind | http://rafb.net/p/59aYCZ41.html (38 lines) | 00:59 |
tpb | Title: Nopaste - No description (at rafb.net) | 00:59 |
mithro | greywhind: oh, sorry | 01:04 |
mithro | use cc94aa32e5b2286be8cf97963bd60d63d3d2a8b9 instead of that tag | 01:05 |
greywhind | mithro: ok... it runs again :P | 01:06 |
greywhind | now git reset --hard and setup? | 01:07 |
*** vi1985 has joined #tp | 01:07 | |
greywhind | greywhind (10:12 PM):/Programming/ThousandParsecDev/tpclient-pywx-dev > python ./setup.py py2app | 01:07 |
greywhind | Version is 0.3.0 | 01:07 |
greywhind | ['extra', 'tp', 'windows', 'extra.wxFloatCanvas', 'tp.client', 'tp.netlib', 'windows.main', 'windows.xrc', 'extra.wxFloatCanvas.Utilities', 'tp.client.pyscheme', 'tp.netlib.discover', 'tp.netlib.objects', 'tp.netlib.support', 'tp.netlib.tests', 'windows.main.overlays', 'tp.netlib.discover.pyZeroconf', 'tp.netlib.objects.ObjectExtra', 'tp.netlib.objects.OrderExtra'] | 01:07 |
greywhind | Traceback (most recent call last): | 01:07 |
greywhind | File "./setup.py", line 174, in <module> | 01:07 |
greywhind | os.system('python version.py --fix > %s' % os.path.join(privatepath, 'version.py')) | 01:07 |
greywhind | NameError: name 'privatepath' is not defined | 01:07 |
vi1985 | Hey everyone, I'm here for just a sec (valuable sleep to catch up on!). Just wanted to let you know that my project proposal is ready | 01:09 |
vi1985 | I posted it on the wiki: http://thousandparsec.com/wiki/Google_Summer_of_Code/vi1985_proposal | 01:09 |
tpb | <http://ln-s.net/1iO_> (at thousandparsec.com) | 01:09 |
mithro | greywhind: well looks like that was a complete failure :/ | 01:10 |
mithro | vi1985: cool will look at it later | 01:10 |
greywhind | mithro: i'm going to eat some dessert... will return | 01:10 |
vi1985 | mithro: thx. I'll appreciate any comments! | 01:11 |
mithro | greywhind: why does mac always have to be such a pain in the butt? | 01:12 |
*** vi1985 has quit IRC | 01:12 | |
greywhind | mithro: good question. back, by the way | 01:19 |
mithro | you could just remove that line from setup.py | 01:20 |
greywhind | mithro: trying it | 01:21 |
greywhind | mithro: same version mismatch :( | 01:24 |
mithro | greywhind: okay - so the question is, what did you change on your computer? | 01:24 |
greywhind | mithro: my wxWidgets version perhaps? | 01:25 |
mithro | hrm.. maybe your numpy version? | 01:25 |
greywhind | which I updated since building the 0.3.0 release? | 01:25 |
mithro | I guess so | 01:26 |
mithro | that is the only explianation I can come up with | 01:26 |
mithro | could you try seeing if there is a newer version? | 01:26 |
greywhind | mithro: here's lines 1-20 of the file causing the error: | 01:29 |
greywhind | http://pastebin.com/d5fa8315 | 01:30 |
greywhind | mithro | 01:32 |
greywhind | greywhind (10:28 PM):/Programming/ThousandParsecDev/tpclient-pywx-dev > python | 01:32 |
greywhind | Python 2.5.1 (r251:54869, Apr 18 2007, 22:08:04) | 01:32 |
greywhind | [GCC 4.0.1 (Apple Computer, Inc. build 5367)] on darwin | 01:32 |
greywhind | Type "help", "copyright", "credits" or "license" for more information. | 01:32 |
greywhind | >>> from _ctypes import __version__ | 01:32 |
greywhind | >>> from _ctypes import __version__ as _ctypes_version | 01:32 |
greywhind | >>> print _ctypes_version | 01:32 |
greywhind | 1.0.2 | 01:32 |
greywhind | so... not sure how it's getting 1.0.1 | 01:32 |
mithro | why don't you just remove that version check for the moment? | 01:32 |
greywhind | mithro: ok | 01:33 |
greywhind | mithro: tpclient-pywx Error | 01:36 |
greywhind | An unexpected error has occurred during execution of the main script | 01:36 |
greywhind | AttributeError: 'module' object has no attribute 'VisualAttributes_font_get' | 01:36 |
greywhind | there's clearly something referencing the wrong version of something | 01:36 |
mithro | greywhind: :( | 01:41 |
greywhind | mithro: is there supposed to be nothing in the includes line? | 01:43 |
mithro | greywhind: yes | 01:46 |
greywhind | http://rafb.net/p/BwQLuc10.html (20 lines) | 01:47 |
greywhind | http://rafb.net/p/toofast.html (20 lines) | 01:47 |
*** brennan_ has quit IRC | 01:48 | |
mithro | greywhind: where did that VisualAttributes_font_get come from? | 01:50 |
greywhind | mithro: not sure... it didn't seem to add anything to the log | 01:50 |
mithro | greywhind: so you removed the version check from numpy and then.....? | 01:51 |
greywhind | mithro: i re-created the package and ran it | 01:51 |
mithro | and what happens? | 01:52 |
CIA-13 | mithro tpclient-pywx-stable * r02056c12ca86 /windows/xrc/orderList.xrc: Added a minimum size for MacOS X. | 01:52 |
CIA-13 | mithro tpclient-pywx-stable * r8b79a0e2a11e /extra/__init__.py: Fixed the column sizes on MacOS X. | 01:52 |
CIA-13 | mithro tpclient-pywx-stable * rcb5162226317 /windows/main/panelOrder.py: Force the Number size to be the same size as everything else. | 01:52 |
CIA-13 | mithro tpclient-pywx-stable * rc12d859c9c9e /windows/main/panelOrder.py: | 01:52 |
CIA-13 | Show the divider line, layout the Details Panel at a later stage. | 01:52 |
CIA-13 | Makes MacOS X work better. | 01:52 |
CIA-13 | mithro tpclient-pywx-stable * r091400ba7eb6 /windows/main/panelOrder.py: Small fixes for MacOS X. | 01:52 |
CIA-13 | mithro tpclient-pywx-stable * r3100d34b766c /windows/xrc/orderList.xrc: Make the orderList look a little better under MacOS X. | 01:52 |
greywhind | the error: "AttributeError: 'module' object has no attribute 'VisualAttributes_font_get'" | 01:52 |
greywhind | mithro: here's the full text that just appeared when I re-ran it | 01:53 |
greywhind | http://rafb.net/p/HPN4mQ14.html (90 lines) | 01:53 |
tpb | Title: Nopaste - No description (at rafb.net) | 01:53 |
mithro | greywhind: does that pop-up in a window or? | 01:53 |
greywhind | mithro: yeah | 01:53 |
mithro | greywhind: how are you running your app? | 01:54 |
greywhind | mithro: double-clicking on it, in this case. but I've also run it from the command line | 01:55 |
mithro | just trying to reproduce it here | 01:55 |
mithro | greywhind: what is the exact commandline you are using? | 01:55 |
greywhind | mithro: are you using the same wxWidgets version? | 01:55 |
greywhind | mithro: from inside the .app file, in Contents/MacOS/ | 01:56 |
greywhind | mithro: I run ./tpclient-pywx | 01:56 |
mithro | I'm using 2.8.7.1 | 01:56 |
mithro | hrm... I just get nothing when I try that here :/ | 01:57 |
greywhind | mithro: i'm using 2.8.7.1 as well | 01:58 |
*** cherez has quit IRC | 02:00 | |
mithro | greywhind: what numpy version are you using? | 02:00 |
greywhind | mithro: what if I just reset everything to the newest updated version, build the package, then send it to you so you can see if it's just my computer | 02:00 |
greywhind | mithro: 1.0.3 | 02:00 |
mithro | greywhind: try doing the following "sudo easy_install py2app" to check you have the latest py2app installed | 02:02 |
greywhind | http://rafb.net/p/1qhvBI31.html (9 lines) | 02:03 |
tpb | Title: Nopaste - No description (at rafb.net) | 02:03 |
mithro | hrm.... | 02:03 |
greywhind | mthro: any ideas? | 02:16 |
mithro | greywhind: I'm afraid not | 02:20 |
mithro | my only suggestion is to remove python and reinstall | 02:20 |
greywhind | mithro: i'll do it tomorrow, i guess | 02:21 |
mithro | I have found a different problem when packaging locally | 02:22 |
greywhind | what's that? | 02:22 |
mithro | it can't find the XRC files because of the new location() stuff | 02:24 |
greywhind | i hate packaging :( | 02:25 |
mithro | so do I | 02:26 |
mithro | specially on Mac | 02:26 |
greywhind | *nod* | 02:26 |
mithro | at least on Windows things seem to fail for fairly sensible reasons | 02:28 |
mithro | no wonder mac software is so expensive | 02:36 |
greywhind | heh | 02:38 |
mithro | greywhind: you heading to bed now? | 02:40 |
greywhind | mithro: very soon | 02:41 |
mithro | greywhind: well managed to fix my problem | 02:56 |
greywhind | mithro: cool | 02:56 |
CIA-13 | mithro tpclient-pywx-stable * rfdff14226a41 /setup.py: Restore the version.py before running. | 02:58 |
CIA-13 | mithro tpclient-pywx-stable * rcffe74105cae /requirements.py: Fix the location of resources when using a MacOS X frozen binary. | 02:58 |
mithro | greywhind: want to see if any of those fix your problem? | 02:58 |
greywhind | mithro: so i should switch to the origin branch and update? | 02:58 |
mithro | greywhind: yeah | 02:58 |
mithro | git checkout master | 02:58 |
mithro | cg-update | 02:58 |
greywhind | mithro: building package | 03:00 |
JLP | morning all | 03:04 |
JLP | mithro: yeah, i pushed the updated translation before i went sleeping | 03:05 |
mithro | JLP: cool | 03:06 |
mithro | JLP: you see the new help on Guest window? | 03:06 |
greywhind | mithro: still getting this | 03:06 |
greywhind | tpclient-pywx Error | 03:06 |
greywhind | An unexpected error has occurred during execution of the main script | 03:06 |
greywhind | AttributeError: 'module' object has no attribute 'VisualAttributes_font_get' | 03:06 |
mithro | greywhind: :/ | 03:06 |
greywhind | :( | 03:07 |
mithro | well - at least we know it's your system then | 03:07 |
mithro | as it seems to build fine here | 03:07 |
JLP | mithro: yes, seen it | 03:07 |
greywhind | mithro: i'll try reinstalling stuff tomorrow. | 03:07 |
mithro | JLP: what do you think? | 03:07 |
mithro | JLP: could also use your help with http://www.thousandparsec.net/tp/documents/tpclient-pywx/ | 03:08 |
tpb | <http://ln-s.net/1iP+> (at www.thousandparsec.net) | 03:08 |
mithro | as you know what is happening with the videos | 03:08 |
mithro | ~seen Appleman1234 | 03:08 |
tpb | mithro: Appleman1234 was last seen in #tp 2 weeks, 3 days, 4 hours, 38 minutes, and 43 seconds ago: <Appleman1234> bbl | 03:08 |
JLP | mithro: i think it is nice so that new paople know what could be going on | 03:09 |
mithro | JLP: I hope to have these on each window the first time that people see them | 03:10 |
JLP | mithro: just checked the shortlog on git but can't see my translation update | 03:11 |
mithro | JLP: did you forget to push? | 03:11 |
JLP | mithro: nope | 03:11 |
JLP | mithro: oh it's there in the master branch | 03:12 |
mithro | greywhind: actually I have another theory | 03:12 |
greywhind | mithro: oh? | 03:13 |
mithro | greywhind: go into dist/tpclient-pywx.app/Contents/Resources/lib/python2.5 | 03:13 |
greywhind | mithro: ok | 03:14 |
mithro | of wait | 03:14 |
mithro | that won't work | 03:14 |
mithro | don't worry | 03:17 |
greywhind | mithro: anything else you'd like me to try tonight? | 03:20 |
mithro | greywhind: no, have a good night | 03:20 |
greywhind | mithro: ok. cya | 03:20 |
*** greywhind has left #tp | 03:23 | |
JLP | mithro: how do i "backport" a patch from master to stable? | 03:32 |
mithro | JLP: depends | 03:35 |
mithro | probably "git cherry-pick <patch id>" is the best way | 03:35 |
mithro | or "git merge stable" is another | 03:35 |
mithro | or you could use git rebase - but that is a little hearder | 03:37 |
JLP | mithro: and before i cherrpy pick i should probably do a git-checkout stable and switch to stable? | 03:40 |
mithro | "git checkout stable" will switch you to the stable branch | 03:41 |
mithro | although you probably want to merge stable into your master | 03:41 |
mithro | rather then merging master into your table? | 03:41 |
JLP | hm the slovenian updates are already in master, just ont in stable | 03:42 |
JLP | at least if i'm reading the git web right | 03:43 |
mithro | there should not be a master branch on git.tp.net | 03:43 |
mithro | oh, looks like you some how accidently pushed a master :/ | 03:44 |
mithro | JLP: do you have a local copy of your updates? | 03:45 |
JLP | mithro: yes a have th mo and po files separately | 03:45 |
JLP | mithro: probably i should just recheckout everyhing and copy over the files and push again | 03:45 |
mithro | JLP: okay try this | 03:47 |
mithro | git checkout stable | 03:47 |
mithro | git merge master | 03:47 |
mithro | git branch -d master | 03:47 |
mithro | that all work? | 03:48 |
JLP | error: pathspec 'stable' did not match any file(s) known to git. | 03:49 |
mithro | hrm | 03:50 |
mithro | JLP: okay just do a fresh checkout | 03:51 |
JLP | yeah it's behaving wierdly, i'll just wipe the whole thing and start anew | 03:51 |
JLP | hm it looks like the push did the same thing again, i must be doinf somthing wrong | 03:57 |
* JLafont is back. | 03:58 | |
JLafont | mithro: When I try to run tpsai-py I keep getting a cannot import error and the only thing I can think of is circulatory importing. | 03:59 |
JLP | ah damn, i forgot the #stable at the end when checkouting, maybe i need some more sleep :) | 04:00 |
mithro | JLafont: tpsai-py only works against the libtpclient-py-0.2.x version | 04:01 |
JLafont | http://rafb.net/p/3ZWaqA94.html | 04:01 |
tpb | Title: Nopaste - Error when trying to run tpsai-py (at rafb.net) | 04:01 |
mithro | JLafont: tpsai-py only works against the libtpclient-py-0.2.x version | 04:02 |
JLafont | Its from cache linking to threads which links to cache | 04:02 |
JLafont | Thats my error at least | 04:02 |
JLafont | Ok, I'll try with that then | 04:02 |
CIA-13 | jlp tpclient-pywx-stable * r212676794228 /locale/sl/ (tpclient-pywx.mo tpclient-pywx.po): Updated Slovenian translations for the upcoming version 0.3.1 | 04:02 |
mithro | JLP: yay! | 04:05 |
JLP | mithro: oh yeah about the videos, looks like my wisdom tooth is behaving today so i will be able to record the second part and the voice for the first part | 04:05 |
mithro | JLP: is the first part up somewhere? | 04:06 |
JLP | mithro: not yet since it doesn't have any voice in it yet | 04:06 |
mithro | ah, I just re-read your sentance :) | 04:07 |
JLP | my plan is to first just talk and record the video and then add voice, which is easier to edit then video if something goes wrong | 04:08 |
* JLP goes to make&eat some breakfast and then he'll go continue recording the videos | 04:22 | |
*** llnz has joined #tp | 04:37 | |
JLafont | ok it worked! I'm going to go to bed now. Thanks for explaining how to get tpsai-py to work | 04:44 |
*** JLafont has quit IRC | 04:45 | |
JLP | mithro: while checking out the client i get this when trying to connect with guest account: | 04:53 |
JLP | metaserver_browse <RemoteBrowser(RemoteBrowser, started)> | 04:53 |
JLP | Connecting to demo1.thousandparsec.net <type 'unicode'> 6923 <type 'int'> | 04:53 |
JLP | Connecting to failed | 04:53 |
JLP | WARNING: <function OnNetworkConnect at 0x1ac2b18> called when <win Račun> was not shown! | 04:53 |
JLP | Traceback (most recent call last): | 04:53 |
JLP | File "./tpclient-pywx", line 352, in Post | 04:54 |
JLP | getattr(self, func)(event) | 04:54 |
JLP | File "./tpclient-pywx", line 385, in OnNetworkFailure | 04:54 |
JLP | print "OnNetworkFailure", evt | 04:54 |
JLP | UnicodeEncodeError: 'ascii' codec can't encode character u'\u0161' in position 79: ordinal not in range(128) | 04:54 |
JLP | OnNetworkFailure WARNING: <function OnNetworkFailure at 0x1ac2e60> called when <win Račun> was not shown! | 04:54 |
* mithro beats python is proper unicode support | 04:54 | |
mithro | s/is/with/ | 04:54 |
mithro | let me guess | 04:56 |
mithro | s = _("There was an unknown network error.\n") | 04:56 |
mithro | s += _("Any changes since last save have been lost.\n") | 04:56 |
mithro | if getattr(self.connection, 'debug', False): | 04:56 |
mithro | s += _("A traceback of the error was printed to the console.\n") | 04:56 |
mithro | one of those lines translates with a non-ascii character? | 04:56 |
JLP | yup | 04:57 |
mithro | any idea how to type non-ascii characters? | 04:57 |
JLP | something like kcharselect | 04:58 |
JLP | u'\u0161' in this case is probably š | 04:59 |
mithro | JLP: can you try the following | 05:06 |
mithro | change line 323 in tp/client/threads.py | 05:06 |
mithro | to have a u before the " | 05:07 |
mithro | ie | 05:07 |
mithro | u"There | 05:07 |
mithro | what is your LANG setting btw? | 05:09 |
JLP | mithro: sl_SI.utf8 | 05:09 |
JLP | mithro: i tried adding u before all of the above mentioned strings oround that line, didn't help | 05:12 |
JLP | mithro: unicode("...") doesn't work here? | 05:13 |
*** Appleman1234 has joined #tp | 06:06 | |
Appleman1234 | mithro, laptop is currently under repair and hence the delay | 06:06 |
mithro | :/ | 06:09 |
CIA-13 | mithro libtpclient-py-stable * rc61cfa18715d /tp/client/threads.py: Exceptions now output a str on __str__ instead of a unicode. | 06:37 |
CIA-13 | mithro libtpclient-py-refs/tags/LIBTPCLIENT_0_3_1 * rc61cfa18715d /tp/client/threads.py: Exceptions now output a str on __str__ instead of a unicode. | 06:37 |
mithro | JLP: can you give that a go? | 06:38 |
*** Appleman1234 has quit IRC | 06:39 | |
*** Appleman1234 has joined #tp | 06:40 | |
*** Appleman1234 has quit IRC | 06:44 | |
JLP | mithro: let's see | 06:44 |
*** Appleman1234 has joined #tp | 06:45 | |
JLP | mithro: i got this error | 06:49 |
JLP | Using the following AUI <module 'wx.aui' from '/usr/lib64/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/aui.pyc'> | 06:50 |
JLP | Traceback (most recent call last): | 06:50 |
JLP | File "./tpclient-pywx", line 27, in <module> | 06:50 |
JLP | from tp.client.threads import NotImportantEvent, Event | 06:50 |
JLP | File "./tp/client/threads.py", line 40, in <module> | 06:50 |
JLP | class Application(object): | 06:50 |
JLP | File "./tp/client/threads.py", line 49, in Application | 06:50 |
JLP | CacheClass = Cache | 06:50 |
JLP | NameError: name 'Cache' is not defined | 06:50 |
CIA-13 | mithro libtpclient-py-stable * r20c174ce7bb5 /tp/client/threads.py: Accidently removed a line with previous patch. | 06:52 |
CIA-13 | mithro libtpclient-py-refs/tags/LIBTPCLIENT_0_3_1 * r20c174ce7bb5 /tp/client/threads.py: Accidently removed a line with previous patch. | 06:52 |
mithro | JLP: that help? | 06:54 |
JLP | mithro: i tried again with the guest login on demo1 with the wrong password and now it just sits in the Universe Download window with this in the console | 06:57 |
JLP | Drawing took 0.000000 seconds of CPU time | 06:57 |
JLP | metaserver_browse <RemoteBrowser(RemoteBrowser, started)> | 06:58 |
JLP | Connecting to demo1.thousandparsec.net <type 'unicode'> 6923 <type 'int'> | 06:58 |
JLP | no error dialog about the wrong password or anything | 06:58 |
mithro | hrm... | 06:58 |
llnz | demo1 is dead | 06:58 |
llnz | something threw an exception | 06:58 |
mithro | llnz: minisec is rock stable? - something like the rocks in SanFran then? | 07:00 |
JLP | aha i got an error dialog after some time | 07:00 |
llnz | mithro: tpclient-pywx isn't rock stable either | 07:01 |
mithro | llnz: i'm not silly enough to say it is :) - in fact tpclient-pywx is horribly unstable | 07:01 |
JLP | i'll now try demo2 with wrong gues pass | 07:02 |
llnz | humm... demo1 now zombie, not being reaped | 07:02 |
JLP | hm the client connected to demo2 even if the pass was not guest | 07:03 |
llnz | ahh, ffs, i know what it is | 07:03 |
mithro | llnz: oh? | 07:03 |
llnz | extenal gdb | 07:03 |
llnz | demo1 restarted, up to date this time | 07:04 |
mithro | llnz: what caused the segfault? | 07:04 |
llnz | didn't segfault, threw exception with no information | 07:05 |
JLP | ok i'll try on demo1 again | 07:05 |
JLP | mithro: looks like it works now, i immidiately got the error dialog about wrong password | 07:06 |
mithro | llnz: :/ | 07:07 |
mithro | llnz: doesn't the default glibc output some information about the exception? | 07:07 |
mithro | oh wouldn't gdb stop when the exception is uncaught? | 07:07 |
CIA-13 | mithro tpclient-pywx-stable * rac6df177d4e1 /requirements.py: Removed debugging information. | 07:08 |
CIA-13 | mithro tpclient-pywx-stable * r5e305010c603 /setup.py: Be more brutal in removing excess files. | 07:08 |
CIA-13 | mithro tpclient-pywx-stable * r4810de6a5ccf /locale/sl/ (tpclient-pywx.mo tpclient-pywx.po): Merge with git://git.thousandparsec.net/git/tpclient-pywx.git#stable | 07:08 |
llnz | the exception was caught, but something went wrong | 07:09 |
mithro | llnz: damn | 07:09 |
llnz | i kill -9 tpserver-cpp before i noticed gdb was there | 07:09 |
llnz | watching it | 07:09 |
llnz | now running inside gdb | 07:09 |
mithro | I wonder if there is a way to do something a cross platform apport for tpclient-pywx | 07:10 |
JLP | mithro: the description of llnz-dev2 in server browser has escape character in the description: Lee\'s | 07:11 |
mithro | JLP: i'm pretty sure that is a metaserver bug rather then a client bug | 07:12 |
JLP | i'll report a bug for metaserver then | 07:13 |
* llnz wrote some more software for this blog today and should be blogging more often now | 07:13 | |
JLP | mithro: another thing: should the connect button in server browser do anything after you select a server? | 07:17 |
JLP | mithro: i kinda expected it would fill out the connection information into the login screen so that user only enters username and password then | 07:17 |
* llnz wanders off | 07:19 | |
llnz | later all | 07:19 |
*** llnz has quit IRC | 07:19 | |
JLP | mithro: switching from systems view, to resources view and back to systems view doesn't clear the piechart here | 07:32 |
mithro | hrm? | 07:32 |
mithro | JLP: can you explain a bit more, are you getting any tracebacks? - screenshots are good | 07:35 |
JLP | mithro: i'm seeing this: | 07:36 |
JLP | Traceback (most recent call last): | 07:36 |
JLP | File "./tpclient-pywx", line 130, in Post | 07:36 |
JLP | function(event) | 07:36 |
JLP | File "<string>", line 1, in <lambda> | 07:36 |
JLP | File "./extra/decorators.py", line 21, in freeze_wrapper | 07:36 |
JLP | raise Warning("FreezeWrapper on %r but no Thaw method! (%s)" % (self, e)) | 07:36 |
JLP | Warning: FreezeWrapper on <Overlay-Resource 0x2620f60> but no Thaw method! ('Resource' object has no attribute 'Thaw') | 07:36 |
JLP | if this has anything to do with it | 07:36 |
mithro | JLP: you can ignore that | 07:36 |
JLP | mithro: i'll open a bug report and attach a screenshot | 07:38 |
JLP | mithro: btw, you could also add a menu entry to Help -> Report a bug | 07:39 |
mithro | JLP: can you get a screenshot of | 07:42 |
mithro | [22:07] <JLP> mithro: switching from systems view, to resources view and back to systems view doesn't clear the piechart here | 07:42 |
JLP | mithro: yup will attach it to the bug report | 07:42 |
mithro | JLP: I guess I could also build all the information from "requirements.py" and attach it to the but report | 07:43 |
JLP | mithro: yeah wouldn't be bad | 07:44 |
JLP | mithro: https://sourceforge.net/tracker/index.php?func=detail&aid=1923567&group_id=132078&atid=723099 | 07:47 |
tpb | Bug #1923567: Piechart remains after switching from resources to systems | 07:47 |
mithro | what is "Ukazi" ? | 07:49 |
mithro | and it looks like you have lost your buttons on the message panel? | 07:51 |
JLP | Ukazi -> Orders | 07:51 |
JLP | mithro: yeah the buttons disappeared when i moved the picture pane into the bottom row | 07:51 |
mithro | JLP: I can not reproduce that hear | 07:52 |
mithro | Bug #1923567 | 07:52 |
mithro | can you attach the complete output of tpclient-pywx to that bug report? | 07:52 |
JLP | mithro: will do | 07:53 |
JLP | mithro: hm i restarted the client and now the bug is gone, strange | 07:53 |
JLP | mithro: aha my instructions ere not good enough, looks like the system also has to be selected in the tree | 07:55 |
mithro | still not seeing that here :/ | 07:55 |
JLP | mithro: yeah me neither, hm let's see if it only happens after turn is complete | 07:56 |
JLP | mithro: aha, after turn complete, updated universe, tried to switch and now the bug shows | 07:57 |
mithro | JLP: still not able to reproduce it here :/ | 08:13 |
JLP | mithro: works every time here, did you switch both times, before turn ended and after? | 08:21 |
*** Appleman1234 has quit IRC | 08:39 | |
*** Appleman1234 has joined #tp | 08:39 | |
*** Appleman1234 has quit IRC | 08:46 | |
*** Appleman1234 has joined #tp | 08:46 | |
*** Appleman1234 has quit IRC | 08:49 | |
*** Appleman1234 has joined #tp | 08:50 | |
CIA-13 | mithro libtpclient-py-stable * r457f81ca9afa /tp/client/threads.py: Also work with non-string input. | 08:58 |
CIA-13 | mithro libtpclient-py-refs/tags/LIBTPCLIENT_0_3_1 * r457f81ca9afa /tp/client/threads.py: Also work with non-string input. | 08:58 |
*** Appleman1234 has quit IRC | 09:02 | |
*** Appleman1234 has joined #tp | 09:02 | |
CIA-13 | mithro tpclient-pywx-stable * r48acc667014f /setup.py: Restore the version.py at the end of setup.py | 09:09 |
CIA-13 | mithro tpclient-pywx-stable * r98fbed708010 /requirements.py: Write the log file to a more sensible location and create a new log file for each run. | 09:09 |
CIA-13 | mithro tpclient-pywx-stable * r3c00ca369403 / (doc/mac/make-diskimage doc/mac/pkg-dmg setup.py): Updated dmg packaging tools. | 09:09 |
CIA-13 | mithro tpclient-pywx-stable * r6f34d754dc41 /requirements.py: | 09:09 |
CIA-13 | Also save to a file when not frozen. | 09:09 |
CIA-13 | - Need a way to leave the file around on an exception. | 09:09 |
CIA-13 | mithro tpclient-pywx-stable * r6bc21eae9d52 /windows/xrc/panelStarMap.xrc: Make the toolbar center vertically on MacOS X. | 09:09 |
CIA-13 | mithro tpclient-pywx-stable * r939acea4950d /windows/ (main/panelSystem.py xrc/panelSystem.xrc): Add some extra padding on the System panel. | 09:09 |
CIA-13 | mithro tpclient-pywx-stable * r161bb0e0bc56 /locale/sl/ (tpclient-pywx.mo tpclient-pywx.po): Merge with git://git.thousandparsec.net/git/tpclient-pywx.git | 09:09 |
CIA-13 | mithro tpclient-pywx-stable * r2c04b85049c3 /extra/decorators.py: Change the way the freeze wrapper works slightly. | 09:09 |
CIA-13 | mithro tpclient-pywx-stable * rd79c9cff75e0 /extra/StateTracker.py: Fixed the asserts in StateTracker to check for identity rather then equals. | 09:09 |
CIA-13 | mithro tpclient-pywx-stable * ree24b03762de /windows/xrc/panelStarMap.xrc: Restore the previous method as it works better on Linux and Windows. | 09:09 |
CIA-13 | mithro tpclient-pywx-stable * r9314c9d9cae6 /windows/xrc/panelSystem.xrc: Tweak the padding for Linux. | 09:09 |
*** Appleman1234 has quit IRC | 09:12 | |
*** Appleman1234 has joined #tp | 09:12 | |
* mithro ponders giving up and just tagging a 0.3.1 | 09:34 | |
Appleman1234 | ? | 09:37 |
*** Appleman1234 has quit IRC | 10:01 | |
*** Appleman1234 has joined #tp | 10:02 | |
JLP | mithro: tag it, some bugs can remain for 0.3.2 :) | 10:13 |
*** Appleman1234 has quit IRC | 10:32 | |
*** Appleman1234 has joined #tp | 10:32 | |
* JLP almost forgot about the two GSoC application drafts on our wiki, takes a look | 10:35 | |
*** cherez has joined #tp | 11:24 | |
*** JLafont has joined #tp | 11:45 | |
JLafont | allo | 11:49 |
JLafont | I have a question, should I post my proposal in the wiki? | 11:52 |
mithro | well I'm heading to bed | 12:00 |
mithro | gnight! | 12:00 |
JLafont | mithro: Nite | 12:02 |
*** cherez has quit IRC | 13:06 | |
*** greywhind has joined #tp | 13:19 | |
*** Appleman1234 has quit IRC | 13:25 | |
*** Appleman1234 has joined #tp | 13:26 | |
*** Epyon has joined #tp | 13:50 | |
ezod | JLP: ping | 13:53 |
ezod | andrei: ping? | 14:03 |
ezod | well anyway, it's re: gentoo ebuilds... i'll email the list later | 14:04 |
andrei | ezod, Hi | 14:06 |
ezod | hey | 14:07 |
ezod | i was working on ebuilds for tp stuff based on JLP's original attempt before you emailed yours to the list | 14:08 |
ezod | looks like we can draw from both for improvements | 14:08 |
ezod | anyway, i've got to run atm, but i'll post to the list later when i've got the rest of it figured out :) | 14:10 |
*** cherez has joined #tp | 15:15 | |
*** cherez has quit IRC | 15:54 | |
*** Lukstr has joined #tp | 16:40 | |
* JLP comes back home | 17:22 | |
*** llnz has joined #tp | 17:27 | |
JLP | ezod: pong | 17:35 |
JLafont | Welcome back JLP | 17:36 |
JLP | JLafont, llnz: ahoy | 17:36 |
llnz | hi JLP | 17:36 |
JLafont | hey llnz | 17:37 |
llnz | hi JLafont | 17:37 |
JLP | llnz: did you check this out: http://www.thousandparsec.net/wiki/Jphr_proposal | 17:37 |
tpb | <http://ln-s.net/1iT-> (at www.thousandparsec.net) | 17:37 |
JLP | llnz: probably the best if you comment on this | 17:37 |
JLafont | Should I place my proposal in the wiki as well? | 17:39 |
llnz | JLP: I commented by email | 17:39 |
llnz | on the mailing list | 17:39 |
JLP | llnz: oh cool, haven't checked the mail yet | 17:40 |
JLP | JLafont: yes you can also put it onto the wiki, or maybe even better to mailing list | 17:41 |
JLafont | Ok, I have most of my proposal on a google doc. So should I just link that or paste all I have? | 17:42 |
llnz | google doc should be fine | 17:42 |
llnz | post a link and ask for comments | 17:42 |
JLafont | thanks! | 17:43 |
*** Appleman1234 has quit IRC | 18:05 | |
JLafont | woops | 18:17 |
JLafont | somehow it seems I posted it under v1985s post | 18:18 |
ApacheChief | llnz: Hey, I tried to do some web client work with JS yesterday and ran into some problems, so I then tried to use Silverlight 2.0 but apparently I need Visual Studio 2008 pro, which I don't have (but can get through my school, eventually) -- so I was wondering if you didn't mind if I made a WPF application that can later be converted to Silverlight for web client stuff? | 18:21 |
ApacheChief | that might sound weird if you don't work with the bleeding edge of .NET stuff, let me know if any of my buzzwords are throwing ya off | 18:21 |
llnz | umm... that would make it a bit hard for us to mentor, as i don't think any of us use .NET | 18:22 |
llnz | but it's still possible | 18:22 |
ApacheChief | ah | 18:22 |
ApacheChief | Well, I don't think the web client using JS/PHP would fly too well | 18:23 |
llnz | at this stage, it doesn't matter too much, if you can justify it | 18:23 |
ApacheChief | Or at all | 18:23 |
ApacheChief | alright | 18:23 |
llnz | JS/python was suggeted last year, iirc | 18:23 |
ApacheChief | do you know of any JS socket classes that I might've missed? | 18:23 |
JLafont | People have to install Silverlight to use it right? | 18:23 |
ApacheChief | all the ones I found had XML built into them and woudln't work with binary | 18:23 |
ApacheChief | JLafont, yep, ~3mb download I think | 18:23 |
ApacheChief | cross platform | 18:23 |
ApacheChief | win/mac/linux | 18:23 |
JLafont | ahh ok | 18:24 |
JLafont | Awesome | 18:24 |
ApacheChief | yeah :) | 18:24 |
ApacheChief | real pretty too, and it has a socket class | 18:24 |
llnz | ApacheChief: why use js sockets? | 18:24 |
ApacheChief | llnz, what's my other option? | 18:24 |
llnz | run a server side program to dump the game data into a db, then serve up pages and use AJAX to interact with it | 18:24 |
llnz | or a server-side persistent program | 18:25 |
ApacheChief | do you think that's the best way of doing it? | 18:25 |
llnz | perhaps | 18:26 |
llnz | you might like to ask mithro his opinion | 18:26 |
ApacheChief | alright | 18:26 |
ApacheChief | have you guys seen much about Silverlight? | 18:26 |
ApacheChief | it really is pretty cool right now | 18:27 |
llnz | now is a good time to be exploring options | 18:27 |
ApacheChief | built in animation/graphics stuff | 18:27 |
ApacheChief | alright :) | 18:27 |
llnz | i've heard of it, but don't know much | 18:27 |
ApacheChief | basically it's just flash | 18:27 |
ApacheChief | except instead of actionscript you have C# | 18:27 |
ApacheChief | and quite a few base namespaces for you to get a lot of work done | 18:28 |
greywhind | i might care if it weren't a Microsoft product | 18:30 |
* llnz agrees with greywhind | 18:31 | |
greywhind | i mean, it could be great in terms of functionality... but you know they'll just do everything they can to make it better on Windows than anywhere else. | 18:32 |
llnz | humm... | 18:33 |
llnz | i wonder if one of the requirements of the webclient is that it could be played in any modern, yet unmodifed, browser | 18:34 |
greywhind | probably should be... | 18:34 |
ApacheChief | greywhind: Well, that problem might happen with javascript too | 18:34 |
ApacheChief | because different browsers might interpret it differently, or even display it differently | 18:34 |
ApacheChief | css/html/etc. | 18:35 |
ApacheChief | I think Silverlight is the best option, but I'm not very credible :) | 18:35 |
greywhind | ApacheChief: is there a completed Linux version? according to Wikipedia, it's just "planned" and "3rd party" | 18:36 |
ApacheChief | no, not yet, but they said that they're "Working with novell" towards it | 18:37 |
greywhind | mmhmm... | 18:37 |
ApacheChief | :( | 18:37 |
ApacheChief | what's a better option, though? I'll definitely go with the best one | 18:37 |
greywhind | ApacheChief: I don't know enough about web programming to be sure, but some kind of AJAX functionality, perhaps? | 18:38 |
ApacheChief | Well, that requires me to do some pretty "hackish" work, at least imo | 18:38 |
greywhind | like I said, I don't know. but given that one of the main points of the project is to be cross-platform, using mostly free software... | 18:39 |
ApacheChief | I'd probably, as llnz said, have to write a PHP back end that somehow connects to a server for you and saves info to a database | 18:39 |
ApacheChief | then write a php frontend for javascript to get that information | 18:39 |
ApacheChief | greywhind, well, silverlight is still pretty young, but I honestly think it will work on Linux | 18:40 |
llnz | php, perl, ruby or python, or any cgi language | 18:40 |
ApacheChief | llnz, yep | 18:40 |
greywhind | ApacheChief: "will work"... eventually, and possibly in an unsupported, buggy version because of lack of attention from Microsoft. can't be sure, but their history is a pretty good indication... | 18:41 |
ApacheChief | llnz, but how do I handle multiple clients and such? Wouldn't the server for that be much more expensive and laggy? | 18:53 |
ApacheChief | greywhind: that could definitely happen, but I think that's the best (only?) bet | 18:53 |
ApacheChief | Or maybe a Java Applet | 18:54 |
ApacheChief | does that work on Linux? | 18:54 |
greywhind | ApacheChief: Java works on Linux. it works better if you install Sun's proprietary version... | 18:54 |
ApacheChief | alright | 18:55 |
ApacheChief | so a Java applet, in your opinion, would the better option? | 18:55 |
greywhind | ApacheChief: out of that or Silverlight? yes. but I'm not really the person who should make the decision | 18:56 |
ApacheChief | alright | 18:56 |
ApacheChief | I appreciate your input, regardless :) | 18:56 |
llnz | ApacheChief: true, looking at the options is good | 18:56 |
ApacheChief | aye, I've started and failed one too many times to not do that at the very beginning | 18:57 |
llnz | java applet could work | 18:57 |
ApacheChief | pro's and con's of a java applet vs silverlight | 18:57 |
llnz | a little more difficult to get around the secure sandbox | 18:57 |
ApacheChief | Java applet pro's: better compatability(sp) | 18:57 |
JLafont | cross platform | 18:57 |
ApacheChief | llnz, all I need is sockets though, right? | 18:57 |
llnz | but would be just as hard with silverlight (one would hope) | 18:57 |
ApacheChief | performance, also | 18:57 |
llnz | yeah | 18:58 |
greywhind | "compatibility," by the way | 18:58 |
ApacheChief | ty | 18:58 |
ApacheChief | err, performance in java applet vs silverlight, I think silverlight will perform much better and also have better graphical options | 18:58 |
ApacheChief | (which might not be a big selling point) | 18:58 |
ApacheChief | however, I've never made a Java applet, let alone a java application | 18:58 |
ApacheChief | but I have done a ton of C# work, so I might still be able to do it | 18:59 |
ApacheChief | btw, some Silverlight demos: http://silverlight.net/Showcase/ | 19:00 |
tpb | Title: Silverlight: Showcase (at silverlight.net) | 19:00 |
JLafont | Rough Explanation: Java = C++ without the memory management and slacked OO. Also: http://java.sun.com/j2se/1.5.0/docs/api/ <-- Java API | 19:02 |
tpb | Title: Java 2 Platform SE 5.0 (at java.sun.com) | 19:02 |
greywhind | well, C# is fairly similar to Java, is it not? | 19:02 |
JLafont | yeah | 19:03 |
ApacheChief | Oh, I know a little about what Java is and isn't | 19:03 |
ApacheChief | C# == Java 2.0, kinda | 19:03 |
ApacheChief | I don't know if Java has generics, anonymous delegates, and all that other fancy stuff I'm used to, though :D | 19:03 |
JLafont | generics are just the new fancy words for c++ templates | 19:03 |
JLafont | and java has them | 19:03 |
JLafont | not sure on delegates though | 19:03 |
JLafont | Java calls them generics too | 19:03 |
greywhind | no function pointers... not sure that's a negative, though. | 19:04 |
ApacheChief | alright | 19:04 |
ApacheChief | Well, I'm going to get started on revising a couple essays for a bit and take a break from all this critical thinking :) | 19:05 |
ApacheChief | I'll discuss this with you guys more and maybe come back with a WPF example -- hopefully :) | 19:05 |
ApacheChief | (Windows Presentation Foundary(sp) -- it's Silverlight for the desktop, outside the browser) | 19:05 |
JLafont | Silverlight installer won't even run on wine :( | 19:06 |
greywhind | according to Wikipedia, "Windows Presentation Foundation" | 19:06 |
ApacheChief | my bad :) | 19:07 |
greywhind | and I'm not sure how many people here will even be able to view a WPF demo | 19:07 |
ApacheChief | yikes, that won't be a very good demo at all =\ | 19:08 |
greywhind | i don't know. maybe everyone else has Windows here... | 19:08 |
JLafont | I have a dual boot with windows | 19:09 |
greywhind | mithro does too, right? | 19:09 |
* llnz has linux, linux and linux 64bit | 19:09 | |
* greywhind has just Mac and Linux | 19:09 | |
* JLP only has 64-bit linux boxes | 19:09 | |
ApacheChief | :X | 19:10 |
ApacheChief | I hope they come out with a linux version very soon, lol | 19:11 |
JLP | ApacheChief: i think that there is not much hope to have something usable to use by the end of GSoC | 19:12 |
JLP | ApacheChief: i don't even like the license of Silverlight, much less freedom and opennes thn with Java and other stuff | 19:12 |
ApacheChief | yep, me either | 19:12 |
ApacheChief | what's the silverlight license? | 19:12 |
greywhind | JLP: ^ | 19:13 |
JLP | Apaeven the way rhey are planing doing Linux support is fishy (giving privilege only to one Linux company and even here they have fishy patent agreements) | 19:13 |
ApacheChief | yeah, that's kinda sticky | 19:13 |
ApacheChief | but I think that only applies to commercial software | 19:13 |
JLP | ApacheChief: i think it is a prettymuch standard EULA with some PL relaxations | 19:14 |
greywhind | "IMITATION ON AND EXCLUSION OF REMEDIES AND DAMAGES. You can recover from Microsoft and its suppliers only direct damages up to U.S. $5.00". | 19:14 |
llnz | bbl | 19:14 |
*** llnz has quit IRC | 19:14 | |
ApacheChief | lol | 19:15 |
*** Lukstr has quit IRC | 19:16 | |
*** JLafont has quit IRC | 19:38 | |
*** JLafont_ has joined #tp | 19:43 | |
*** JLafont has joined #tp | 19:43 | |
*** JLafont_ has quit IRC | 19:44 | |
* JLP goes sleeping, good night all, se you when i eake up | 19:53 | |
*** Appleman1234 has joined #tp | 20:05 | |
mithro | greywhind: pong | 20:26 |
ApacheChief | hey Mithro, you see all that discussion about picking a web client platform to use? | 20:28 |
*** Appleman1234 has quit IRC | 20:30 | |
*** bddebian has joined #tp | 20:30 | |
*** Appleman1234 has joined #tp | 20:30 | |
bddebian | Heya | 20:31 |
mithro | ApacheChief: yeah | 20:32 |
ApacheChief | mithro, what do you think? | 20:32 |
mithro | ApacheChief: I'm afraid to say that a Silverlight client would be very low on our list for a number of reasons | 20:32 |
ApacheChief | ah =\ | 20:32 |
mithro | 1. Requires something to be installed (why not just install the real client?) | 20:33 |
mithro | 2. Not cross platform at the moment | 20:33 |
mithro | 3. Not open source | 20:33 |
mithro | To be honest a flash program would hit number 3 hard too | 20:34 |
ApacheChief | a flash program would hit all those, wouldn't it? | 20:34 |
ApacheChief | 1. It requires something to be installed like a java applet, flash, or regular client (right?) | 20:34 |
ApacheChief | 2. Mac/windows are already supported (I think), and linux SHOULD be supported at some point (but that seems to be what most of you guys use--but is this web client what you guys will use anyway?) | 20:35 |
ApacheChief | 3. Actually, I think the .NET source is available... not sure though, it can be decompiled at least | 20:35 |
mithro | ApacheChief: well most people already have flash installed, but you are right - flash would not be a very good option | 20:36 |
mithro | ApacheChief: Windows, Linux and Mac must be supported by the end of your project - do you want to depend on microsoft to pass GSoC? | 20:37 |
ApacheChief | ah | 20:37 |
ApacheChief | nope | 20:37 |
ApacheChief | alright, what other options do I have? | 20:38 |
mithro | Ajax and PHP/Python/Ruby is the only real way to go I'm afraid | 20:38 |
ApacheChief | Yikes | 20:38 |
mithro | there are plenty of toolkits like Dojo which make it much easier | 20:38 |
ApacheChief | Alright, how would you go about designing the PHP side? | 20:38 |
ApacheChief | would the server basically just be a proxy? (expensive) | 20:38 |
ApacheChief | I did experiment(sp) with some Javascript socket stuff, but it appears to only support XML serialized stuff -- know any options? | 20:39 |
mithro | ApacheChief: trying to creating the client in javascript without a proxy is a silly approach | 20:39 |
ApacheChief | kk | 20:39 |
ApacheChief | why's that? | 20:39 |
mithro | ApacheChief: Javascript just is not design for that type of functionality | 20:40 |
ApacheChief | Mithro, why not? I think it is/can be =-\ | 20:40 |
ApacheChief | =\* | 20:40 |
ApacheChief | I've seen a few Javascript socket things and they appeared to work fine | 20:40 |
mithro | plus the speed of Javascript engines would make it painfully slow | 20:40 |
ApacheChief | yeah. | 20:40 |
ApacheChief | but how does PHP help that at all? | 20:40 |
ApacheChief | how would a proxy help, I mean | 20:41 |
mithro | lastly, the javascript would not be able to cache any of the details it need so it would hammer the server and hence get banned | 20:41 |
ApacheChief | how can it not cache stuff? | 20:41 |
ApacheChief | I mean, how would PHP do a better job? | 20:42 |
mithro | ApacheChief: javascript can not save anything on the client side without something like Google Gears installed | 20:50 |
ApacheChief | can't I just store info in client-side variables? | 20:50 |
ApacheChief | or, in a worst-case scenario, store it in mysql with PHP or some such? | 20:51 |
mithro | ApacheChief: what happens when they go away from the page and come back? all the client-side variables are gone | 20:51 |
greywhind | mithro: pong, but I'm writing an essay... i may be able to do some things while writing. | 20:51 |
ApacheChief | I guess I'd have to cache info into PHP | 20:51 |
mithro | ApacheChief: I think the best goal is to start with a plain PHP+HTML client and then add cool ajaxy stuff secondly | 20:52 |
mithro | Ohm: ping? | 20:52 |
mithro | andrei: ping? | 20:52 |
ApacheChief | mithro, alright, I'll see what I can come up with | 20:52 |
andrei | mithro, Hi | 20:52 |
mithro | andrei: where you intersted in the schemepy task? | 20:52 |
andrei | mithro, It involves wiriting python code :) | 20:54 |
mithro | andrei: oh, I must have you confused with someone else then :) | 20:54 |
mithro | andrei: you where the scheme AI guy right? | 20:54 |
andrei | mithro, Yup, though not necessarely scheme | 20:54 |
mithro | andrei: well, you would prefer scheme :) | 20:55 |
andrei | mithro, Heh, yup; that or C++ :) | 20:57 |
mithro | with all these new people, I just need something to differentiate each of you ;) | 20:57 |
mithro | andrei: and I don't think the "Python Hater" would be a good one :P | 20:57 |
andrei | mithro, Heh, I'm fine with hacking on it, I just don't want to be responsible for large systems in it | 20:58 |
andrei | mithro, Creating a master registry of new SoC-related people? | 20:59 |
mithro | I was just going to point out that the schemepy task could also be mentored by the PSF | 20:59 |
mithro | JLafont: ping? | 20:59 |
andrei | mithro, Ah; I see | 21:00 |
JLafont | mithro: pong | 21:00 |
mithro | JLafont: how do you want feedback on your proposal? | 21:00 |
JLafont | mithro: Anyway you like | 21:00 |
andrei | mithro, I'm fine with helping out with it in the sense that in my free time I can explain (or sometimes help) implement features in it | 21:00 |
andrei | mithro, There are lots of standard ways of implementing this type of stuff in the scheme community | 21:01 |
JLafont | mithro, I have a question, for proof of concept, would you rather it be using ver 0.2 or 0.3? | 21:01 |
mithro | andrei: they had an "impliment scheme in PyPy" task last year | 21:01 |
mithro | JLafont: if you are writing something from scratch, use libtpclient-py 0.3.x | 21:01 |
mithro | libtpclient-py 0.2.x is EOFed | 21:01 |
andrei | mithro, Nice | 21:01 |
JLafont | mithro, alright, I was thinking of having them fight it out. But .3 would probably be better | 21:04 |
andrei | mithro, Do you prefer if we publish our plans or just submit them through SoC? | 21:05 |
mithro | JLafont: well the AI can use an "inplace" library | 21:05 |
mithro | andrei: publish on the wiki or google docs or something so we can comment first | 21:05 |
mithro | remeber the application has no formatting though | 21:05 |
mithro | andrei: the schemepy task is all about binding scheme implimentations into python and building a verification test suite | 21:06 |
*** vi1985 has joined #tp | 21:06 | |
andrei | mithro, As you may imagine that is not the most interesting task in the world :) Especially as day to day I maintain and extend a scheme compiler | 21:08 |
mithro | andrei: I dunno, I found the guile stuff quite interesting - and getting the guile and python gc to play together was interesting | 21:09 |
andrei | mithro, Yeah; that type of stuff can be fun. But bindings are usually rather boring to write | 21:10 |
* mithro enjoys connecting systems together | 21:11 | |
andrei | mithro, And it wouldn't be any different from what I do every day. :) | 21:11 |
andrei | mithro, Heh, yeah. That is a lot of fun. I'm excited by the new KDE 4 libraries for that reason | 21:12 |
ApacheChief | mithro, what about a Firefox plugin? | 21:15 |
mithro | ApacheChief: no IE or Opera or..... | 21:15 |
ApacheChief | mithro, yeah. | 21:15 |
ApacheChief | no solution is perfect, but it seems the only 2 elegant options so far (imo) are Silverlight and a Firefox plugin | 21:16 |
ApacheChief | still _very_ open to ideas | 21:16 |
mithro | ApacheChief: we are asking you to write a web client, there are no elegant solutions | 21:17 |
andrei | Silverlight? Isn't that MS only? | 21:18 |
ApacheChief | alright | 21:18 |
ApacheChief | Nope | 21:18 |
ApacheChief | Cross platform, linux not supported yet (but is supposed to be) | 21:18 |
andrei | Oh? I remember looking for a linux version | 21:18 |
ApacheChief | Mac/Windows currently supported | 21:18 |
mithro | ApacheChief: as fair as we are concerned Silverlight is NOT an option | 21:18 |
ApacheChief | idk about any ETAs for linux adoption =\ | 21:18 |
andrei | mithro, Yey! | 21:18 |
andrei | I was worried for a moment.. | 21:18 |
ApacheChief | Gotcha, Mithro | 21:18 |
mithro | it would be low on our solutions list even if Mono had completely implimented it | 21:19 |
andrei | Another option is to implement the client in flash | 21:19 |
andrei | mithro, Out of curiosity. Have you ever looked into swig? | 21:20 |
ApacheChief | yep, but I'd have to buy a flash development environment, right? | 21:20 |
andrei | ApacheChief, Not at all; plenty of open source compilers out there | 21:20 |
ApacheChief | Ah, good news, got any links/search queries? :) | 21:21 |
andrei | ApacheChief, http://osflash.org/open_source_flash_projects | 21:21 |
tpb | Title: Open Source Flash Projects Open Source Flash (at osflash.org) | 21:21 |
ApacheChief | ty | 21:23 |
mithro | well, I think I'm going to tag 0.3.1 | 21:23 |
andrei | ApacheChief, No problemo. The open player situation is dire but it's getting better | 21:23 |
ApacheChief | gotcha, checking it otu | 21:24 |
mithro | flash would also be low on our priorities | 21:24 |
mithro | llnz hates flash with a passion and I'm not to fond of it | 21:25 |
*** SmokingRope has joined #tp | 21:26 | |
ApacheChief | alright mithro | 21:27 |
andrei | mithro, Out of curiosity. Have you ever looked into swig? | 21:27 |
mithro | andrei: as in the binding making tool | 21:27 |
andrei | mithro, Aye | 21:27 |
mithro | yeah, I've even used it a couple of times for smaller projects | 21:27 |
mithro | I just wish they would put more effort into producing readable output code | 21:28 |
andrei | It seems there's a desire for bindings to a lot of languages; it might be beneficial | 21:28 |
mithro | andrei: no, there is a desire to bind lots of implimentations of a single language :) | 21:28 |
andrei | mithro, I'm somewhat glad they don't. I'm always afraid people will generate the code and then maintain it by hand | 21:28 |
ApacheChief | Mithro, I hate to keep being a bother, but do you think you could explain the PHP / html way of doing it a bit more? | 21:29 |
mithro | andrei: it makes it horribly hard to debug | 21:29 |
mithro | ApacheChief: being an indepentdent developer is part of being a good GSoC student | 21:29 |
SmokingRope | i just tried installing thousand parsec and got the error message, MSVCP71.dll is missing | 21:30 |
ApacheChief | mithro, alright, sorry to bug you, I'll do more research on my own | 21:30 |
mithro | SmokingRope: hi! | 21:30 |
SmokingRope | hello! | 21:31 |
mithro | ApacheChief: it's good you are asking questions, but you do need to be able to figure things out yourself sometimes | 21:31 |
mithro | SmokingRope: it means you don't have the MSVC++ runtime installed | 21:31 |
ApacheChief | mithro, trying my hardest :) | 21:31 |
SmokingRope | yea i actually have solved the problem and it seems to work now | 21:31 |
mithro | SmokingRope: cool | 21:32 |
SmokingRope | however shouldn't that be included with the distribution? | 21:32 |
mithro | SmokingRope: just about to release 0.3.1 | 21:32 |
mithro | SmokingRope: possibly, what version of windows are you running? | 21:32 |
SmokingRope | i'm running windows XP sp2 with all the hotfixes | 21:33 |
mithro | SmokingRope: hrm, you should have that installed then | 21:33 |
SmokingRope | i have VS 2008 installed, maybe those got overwritten / replaced | 21:33 |
SmokingRope | by those i mean MSVCP71 and msvcr71 | 21:34 |
andrei | mithro, redistributing MSVC++ runtimes is a legal gray area | 21:34 |
SmokingRope | i needed to replace them both to run the wxPython client | 21:34 |
SmokingRope | i found a number of the projects on the Summer Of Code project page interesting however haven't ever played the game | 21:39 |
SmokingRope | would that be an issue in applying? | 21:40 |
mithro | SmokingRope: it may be for some of the applications - but not generally | 21:41 |
mithro | of course you can start playing now :) | 21:41 |
SmokingRope | lol | 21:42 |
mithro | SmokingRope: want to test the 0.3.1 version for windows? | 21:50 |
SmokingRope | i'd be glad to | 21:51 |
SmokingRope | i've crashed the client i downloaded a couple times already :) | 21:52 |
mithro | SmokingRope: it improves the windows experiance quite a bit | 21:52 |
mithro | crashed? | 21:52 |
SmokingRope | yep, it may be some inconsistencies with the dll versions maybe? | 21:52 |
SmokingRope | it crashed when i tried to give my scout a colonise order ('network error: order not added') | 21:53 |
mithro | SmokingRope: ahh okay | 21:53 |
mithro | just uploading noe | 21:54 |
mithro | be 1 minute | 21:54 |
SmokingRope | on the sf.net page? | 21:54 |
mithro | no | 21:54 |
mithro | http://www.thousandparsec.net/~tim/tpclient-pywx-0.3.1-setup.exe | 21:55 |
tpb | <http://ln-s.net/1iJa> (at www.thousandparsec.net) | 21:55 |
SmokingRope | got it | 21:55 |
mithro | SmokingRope: give that a go | 21:56 |
SmokingRope | same missing dll issue | 21:56 |
mithro | hrm.... | 21:58 |
*** Appleman1234 has quit IRC | 21:58 | |
mithro | SmokingRope: which one is missing? | 21:59 |
SmokingRope | msvcp71.dll is missing, and when i use the version i have it crashes unless i replace msvcr.dll also | 21:59 |
SmokingRope | sorry, msvcr71.dll | 21:59 |
mithro | oh wait I see | 21:59 |
mithro | hold on | 21:59 |
mithro | rebuilding now | 22:00 |
SmokingRope | the client just forgot to enable the 'ok' button on a universe update | 22:01 |
mithro | SmokingRope: it did? can you screenshot that? | 22:01 |
SmokingRope | is there a log i should be saving? I would be happy to take screenshots | 22:02 |
*** Epyon has quit IRC | 22:03 | |
mithro | SmokingRope: there should be a log in C:\Documents and Settings\<your username>\Application Data\Thousand Parsec | 22:03 |
SmokingRope | it just did it again | 22:04 |
SmokingRope | i've got a screenshot | 22:04 |
mithro | SmokingRope: WTF? Got a reproducable way of getting it to happen? | 22:05 |
SmokingRope | wait til the end of a turn, so it seems | 22:05 |
SmokingRope | i was trying to give an order though | 22:05 |
SmokingRope | the last log entry says: IOError: Unable to remove the order... | 22:06 |
mithro | hrm.... | 22:06 |
mithro | which server where you connected to? | 22:06 |
mithro | looks like demo1 might have died | 22:07 |
SmokingRope | demo2 | 22:07 |
mithro | arg... | 22:07 |
SmokingRope | it works fine when i log in | 22:08 |
SmokingRope | it could be the dll issue still | 22:08 |
SmokingRope | if you managed to copy the correct version to the installer i could always try that | 22:08 |
CIA-13 | mithro libtpclient-py-stable * r94ce7bcffa5e /tp/client/threads.py: Call the function. | 22:09 |
CIA-13 | mithro libtpclient-py-refs/tags/LIBTPCLIENT_0_3_1 * r94ce7bcffa5e /tp/client/threads.py: Call the function. | 22:09 |
SmokingRope | though Visual Studio has some setting *can't remember off hand* to eliminate that depependency | 22:09 |
mithro | ARG!? | 22:10 |
SmokingRope | i just idled for a turn and the universe download went ok | 22:11 |
CIA-13 | mithro libtpclient-py-stable * re946c62fe545 /tp/client/threads.py: Accidently removed a line with previous patch. | 22:12 |
CIA-13 | mithro libtpclient-py-refs/tags/LIBTPCLIENT_0_3_1 * re946c62fe545 /tp/client/threads.py: Accidently removed a line with previous patch. | 22:12 |
*** cherez has joined #tp | 22:15 | |
mithro | can anyone create an account on demo2? | 22:15 |
cherez | I'll see if I can get an account after I've got this computer set up. | 22:18 |
SmokingRope | i don't seem to be able to | 22:20 |
mithro | SmokingRope: new version uploaded | 22:20 |
mithro | same URL | 22:20 |
SmokingRope | Account Creation Error: bad username or password | 22:20 |
mithro | SmokingRope: that is what I'm getting | 22:21 |
SmokingRope | i managed to make an account with the 0.3.0 client before i installed the newer version | 22:24 |
*** Lukstr has joined #tp | 22:24 | |
mithro | SmokingRope: can you reinstall 0.3.0 and see if you can still create an account? | 22:26 |
SmokingRope | k | 22:26 |
SmokingRope | nope it's busted too | 22:31 |
SmokingRope | and i can't seem to get a list of servers either | 22:32 |
*** greywhind has quit IRC | 22:52 | |
cherez | mithro: What features is the Python server missing? | 22:57 |
mithro | cherez: the most important one at the moment is end of turn processing on EOT messages | 23:50 |
vi1985 | JLP: Thanks again for the constructive input! I have made all necessary changes, and now consider that version to be final | 23:57 |
vi1985 | JLP: PS- there's a neat code example I attached, to show what a simple GA can do ;) | 23:57 |
*** vi1985 has quit IRC | 23:59 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!