*** tpb has joined #tp | 00:00 | |
*** ChanServ sets mode: +o tpb | 00:00 | |
*** xdotx has joined #tp | 01:14 | |
*** mithro has joined #tp | 01:25 | |
mithro | o so quiet... | 01:44 |
---|---|---|
mithro | ~seen dmpayton | 01:44 |
tpb | mithro: dmpayton was last seen in #tp 1 week, 1 day, 1 hour, 51 minutes, and 32 seconds ago: <dmpayton> gnight | 01:44 |
* xdotx makes noise | 01:45 | |
xdotx | hey mithro | 01:45 |
mithro | hey xdotx | 01:46 |
mithro | things going a bit better today? | 01:46 |
xdotx | hopefully, just started | 01:48 |
xdotx | designs and component aren't showin' up, but i think i know where the problem is | 01:48 |
mithro | xdotx: any luck? | 02:27 |
xdotx | mithro: not much | 02:28 |
mithro | xdotx: what are you using to debug? | 02:28 |
xdotx | a mix of gdb/kdevelop and tpclient-pytext | 02:29 |
mithro | okay | 02:34 |
CIA-3 | mithro libtpproto-py * r97f9c20a631d /tp/netlib/xstruct.py: More informative unpack error messages. | 02:36 |
mithro | xdotx: what type of errors are you getting? | 02:36 |
xdotx | mithro: component not found | 02:37 |
mithro | xdotx: you know you can turn on what tpclient-pytext sends? | 02:37 |
xdotx | looks like i'm not setting the components to usable or something like that | 02:37 |
xdotx | mithro: what do you mean 'turn on'? | 02:38 |
mithro | xdotx: type "debug" as your first command and you'll see what I mean | 02:39 |
xdotx | ah | 02:41 |
xdotx | raw packets | 02:41 |
xdotx | plus fanciness :) | 02:41 |
mithro | xdotx: dunno if it's any help | 02:44 |
mithro | xdotx: btw, feel free to comment on the website thread - being a new guy you probably have a different perspective | 02:47 |
*** nash has quit IRC | 03:02 | |
mithro | jotham: ping? | 03:13 |
xdotx | ents dgot componisplayin' etc. gotta do some computer work/repairs. bbl | 03:49 |
xdotx | er | 03:49 |
xdotx | got components display'* | 03:49 |
*** xdotx has quit IRC | 03:50 | |
CIA-3 | mithro tpclient-pywx-development * r24b19edf4bb3 / (4 files in 3 dirs): | 04:42 |
CIA-3 | Cool intro movie when python-pygame installed. | 04:42 |
CIA-3 | Old splash screen when python-pygame not installed. | 04:42 |
*** xdotx has joined #tp | 05:41 | |
mithro | wb xdotx | 05:46 |
xdotx | danke | 05:55 |
*** zipola has quit IRC | 06:42 | |
*** MihaiBalan has joined #tp | 07:49 | |
mithro | hey MihaiBalan | 08:03 |
MihaiBalan | hallo | 08:03 |
*** MihaiBalan has left #tp | 08:04 | |
xdotx | quite the talkative guy huh? | 08:04 |
CIA-3 | fr33.em4il tpserver-cpp-rfts * r051c440a1559 /modules/games/rfts/rfts.cpp: Settings all components visible & usable for players. | 08:05 |
CIA-3 | fr33.em4il tpserver-cpp-rfts * r025d1135d112 /modules/games/rfts/ (Makefile.am emptyobject.cpp fleet.cpp fleet.h rfts.cpp): Adding fleet class (mostly taken from mtsec) | 08:05 |
xdotx | sun's comin' up. i'm going to bed! | 08:05 |
mithro | ~seen dmpayton | 09:03 |
tpb | mithro: dmpayton was last seen in #tp 1 week, 1 day, 9 hours, 10 minutes, and 44 seconds ago: <dmpayton> gnight | 09:03 |
mithro | ~seen niphree | 09:04 |
tpb | mithro: niphree was last seen in #tp 1 week, 0 days, 20 hours, 28 minutes, and 4 seconds ago: <niphree> I just started :) | 09:04 |
*** DystopicFro has quit IRC | 09:39 | |
mithro | no lee or nash tonight :/ | 09:39 |
*** zipola has joined #tp | 10:01 | |
*** tuna-fish has joined #tp | 11:40 | |
CIA-3 | mithro tpserver-py * rdff07e745c12 /tp/server/bases/SQL.py: None is also a simple type. | 12:24 |
CIA-3 | mithro tpserver-py * r5e0674557cb7 /tp/server/rules/timtrader/other/ (resources.csv resources.ods): Added goods product. | 12:24 |
CIA-3 | mithro tpserver-py * r7ce3cb99d81d /tp/server/rules/timtrader/ (ProducersConsumers.py __init__.py bases/Resource.py): Can now load the resource from the database and it has all factory information. | 12:24 |
CIA-3 | mithro tpserver-py * r9aec654e446c /tp/server/rules/timtrader/bases/Resource.py: Added transportable attribute. Method to get all transportable materials. | 12:24 |
CIA-3 | mithro tpserver-py * r2a6985098346 /tp/server/rules/timtrader/bases/Resource.py: Added support to get all resources which are also factories. | 12:24 |
CIA-3 | mithro tpserver-py * r197a6b2bf8cc /tp/server/rules/timtrader/ (__init__.py actions/Economy.py): | 12:24 |
CIA-3 | Some more prep work. | 12:24 |
CIA-3 | Started support for adding a smattering of resources. | 12:24 |
CIA-3 | Started support for actually generating the economy. | 12:24 |
mithro | JLP: ping? | 13:27 |
JLP | mithro: pong | 13:27 |
mithro | JLP: so how is life after the conference? | 13:27 |
JLP | still a bit tired, and i'm sad that it's over | 13:28 |
JLP | but it is nice to be back home where everything is a lot cheaper :) | 13:28 |
mithro | have you been to any others? | 13:28 |
JLP | and there is a lot more sun | 13:29 |
mithro | JLP: more sun in the UK? | 13:29 |
JLP | no, this was my first akademy, and my first linux/floss conference ever | 13:29 |
JLP | more sun here in slovenia, in glasgo it's been cloady almost all the time and it was raining a lot | 13:30 |
mithro | UK is renound for being cloudy | 13:31 |
JLP | yeah, i expected that, so i was armed with umbrella all the time :) | 13:32 |
mithro | he he | 13:32 |
mithro | JLP: Europe has lots of FLOSS conferences | 13:32 |
JLP | yup, and they are also relatively close to each other | 13:33 |
JLP | if i had the money to go to all.... | 13:33 |
mithro | JLP: whats the average wage like in Slovenia? | 13:34 |
JLP | mithro: i think it is about 1200 ? + 800 ? / year for holidays | 13:36 |
mithro | JLP: euro? | 13:37 |
JLP | yup | 13:37 |
mithro | so about 2000 euro per year? | 13:37 |
JLP | 1200 / month + 800 / year | 13:38 |
mithro | ahh okay | 13:38 |
mithro | thats not to bad | 13:40 |
JLP | mithro: what was going on at TP during the last week? | 13:42 |
mithro | not a huge amount | 13:42 |
JLP | I see Lee released a new version of libtpproto-cpp | 13:42 |
mithro | Fro has xdotx are going well | 13:42 |
mithro | ~seen niphree | 13:42 |
tpb | mithro: niphree was last seen in #tp 1 week, 1 day, 1 hour, 6 minutes, and 46 seconds ago: <niphree> I just started :) | 13:42 |
mithro | ~seen dmpayton | 13:42 |
tpb | mithro: dmpayton was last seen in #tp 1 week, 1 day, 13 hours, 49 minutes, and 37 seconds ago: <dmpayton> gnight | 13:42 |
JLP | yeah, i've seen the blog and the reports from xdotx and fro, very nice work | 13:43 |
mithro | as you can see the other two are not doing so well | 13:43 |
JLP | yeah, unfortunately | 13:43 |
mithro | been working on tpserver-py | 13:44 |
mithro | http://www.thousandparsec.net/wiki/TIM_Trader | 13:44 |
tpb | Title: TIM Trader - Thousand Parsec Wiki (at www.thousandparsec.net) | 13:44 |
* mithro has (hopefully) his last exam Wednesday before you left | 13:45 | |
mithro | s/has/had | 13:45 |
JLP | ah cool | 13:46 |
mithro | JLP: oh also check this out | 13:46 |
mithro | install python-pygame | 13:46 |
mithro | then update tpclient-pyw development branch | 13:47 |
JLP | pygame 1.7.1 already installed | 13:48 |
mithro | wow | 13:48 |
mithro | The employer must ensure the worker reimbursement of expenses for meals during work, for travel expenses to and from work, and of expenses the worker incurs during performing certain work and tasks on business travel. | 13:49 |
mithro | http://www.ess.gov.si/eng/Eures/GuideSlovenia/GuideSlovenia.htm | 13:49 |
tpb | <http://ln-s.net/gnv> (at www.ess.gov.si) | 13:49 |
mithro | JLP: any luck? | 13:52 |
JLP | mithro: I get this when I try to run: http://rafb.net/p/bLqKbl77.html | 14:02 |
tpb | Title: Nopaste - tpclient-pywx (at rafb.net) | 14:02 |
* mithro is having problems getting to that rafb page | 14:04 | |
JLP | there is some error about importing url2bits | 14:05 |
JLP | is this a new requirement? | 14:06 |
mithro | JLP: you updated libtpproto-py and libtpclient-py (development branch)? | 14:06 |
JLP | mithro: hm i'm not sure, i've updated what i already had on harddisk | 14:07 |
mithro | R origin 97f9c20a631d~ More informative unpack error messages. | 14:07 |
JLP | i'll try to delete all and start from start | 14:08 |
JLP | mithro: i get this now: | 14:21 |
JLP | The following requirements where not met: | 14:21 |
JLP | tp.client > 0.3.0 | 14:21 |
mithro | that means you don't have the development branch | 14:21 |
mithro | (of tp client) | 14:21 |
JLP | i have 24b19edf4bb3ba8c9a3ca5492cfdf501b62f4cd4 | 14:21 |
mithro | move the directory to libtpclient-py-dev and rerun setup.sh? | 14:22 |
JLP | hm doesn't help | 14:25 |
mithro | tim@ultraslim:~/oss/tp/tpclient-pywx-dev$ ls -l `find -type l` | 14:28 |
mithro | lrwxrwxrwx 1 tim tim 34 2007-05-20 21:25 ./tp/client -> ../../libtpclient-py-dev/tp/client | 14:28 |
mithro | lrwxrwxrwx 1 tim tim 29 2007-05-20 21:25 ./tp/netlib -> ../../libtpproto-py/tp/netlib | 14:28 |
mithro | R origin 18c31a3e7feb~ Removing darcs .boring and added git .gitignore | 14:29 |
JLP | jlp@phoenix ~/Programming/tp/tpclient-pywx-dev $ ls -l `find -type l` | 14:32 |
JLP | lrwxrwxrwx 1 jlp users 34 jul 6 20:29 ./tp/client -> ../../libtpclient-py-dev/tp/client | 14:32 |
JLP | lrwxrwxrwx 1 jlp users 29 jul 6 20:29 ./tp/netlib -> ../../libtpproto-py/tp/netlib | 14:32 |
mithro | tim@ultraslim:~/oss/tp/libtpclient-py-dev$ more ./tp/client/version.py | 14:32 |
mithro | version = (0, 3, 0) | 14:32 |
JLP | same | 14:33 |
mithro | and you are still getting that error? | 14:34 |
JLP | yup | 14:34 |
mithro | can you paste the complete error? | 14:34 |
JLP | $ ./tpclient-pywx | 14:35 |
JLP | wxPython Version 2.6.3.3 | 14:35 |
JLP | No module named OpenSSL | 14:35 |
JLP | Thousand Parsec Protocol Library Version (0, 2, 1) | 14:35 |
JLP | Thousand Parsec Client Library Version (0, 2, 1) | 14:35 |
JLP | Thousand Parsec Client Library (libtpclient-py) is to old | 14:35 |
JLP | The following requirements where not met: | 14:35 |
JLP | tp.client > 0.3.0 | 14:35 |
JLP | The following recommended modules where not found: | 14:35 |
JLP | pyOpenSSL, Installing pyOpenSSL allows the client to check if the host you are connecting to has a valid certificate. | 14:35 |
mithro | you have installed libtpclient-py? | 14:37 |
JLP | yes, the development one | 14:37 |
JLP | 18c31a3e7feb0d079a2c32f3c59db000f1b04235 | 14:38 |
mithro | no, on your system you must have installed libtpclient (and libtpproto) | 14:39 |
JLP | oh i thought setup.sh does that | 14:40 |
mithro | no | 14:41 |
mithro | it only sets up stuff locally | 14:41 |
mithro | so as not to polute your machine | 14:41 |
mithro | but installed versions take preference over the local versions | 14:42 |
mithro | so you must have the client/protocol library installed | 14:42 |
JLP | so i should just run the setup.py from each | 14:42 |
mithro | no | 14:43 |
mithro | you should uninstall the installed versions | 14:44 |
JLP | how do i do this | 14:49 |
mithro | depends on how you managed to install it :P | 14:50 |
mithro | try going to /usr/lib/python*/site-packages/ | 14:50 |
mithro | and rm -rf tp | 14:51 |
JLP | ok did that, now it complains it can't find client and netlib modules | 14:52 |
mithro | okay that is a start | 14:52 |
mithro | ls -l tp | 14:52 |
JLP | from within pywx? | 14:53 |
mithro | yeah | 14:54 |
JLP | lrwxrwxrwx 1 jlp users 34 jul 6 20:49 client -> ../../libtpclient-py-dev/tp/client | 14:54 |
JLP | -rw-r--r-- 1 jlp users 0 jul 6 20:49 __init__.py | 14:54 |
JLP | lrwxrwxrwx 1 jlp users 29 jul 6 20:49 netlib -> ../../libtpproto-py/tp/netlib | 14:54 |
mithro | hrm... | 14:54 |
mithro | python | 14:54 |
mithro | >>> import tp | 14:54 |
mithro | >>> import tp.netlib | 14:54 |
mithro | >>> import tp.client | 14:55 |
JLP | >>> import tp.netlib | 14:55 |
JLP | Traceback (most recent call last): | 14:55 |
JLP | File "<stdin>", line 1, in ? | 14:55 |
JLP | ImportError: No module named netlib | 14:55 |
mithro | hrm.... | 14:56 |
mithro | you sure those symlinks are correct? | 14:57 |
mithro | all the above was done from the tpclient-pywx-dev directory right? | 14:57 |
JLP | the links are not dead and are working and yes all was done from tpclient-pywx-dev | 14:59 |
mithro | hrm | 15:00 |
mithro | what distro? | 15:00 |
mithro | you still have a tp directory somewhere in your python path | 15:00 |
JLP | gentoo | 15:00 |
mithro | python | 15:01 |
mithro | >>> import sys | 15:01 |
mithro | >>> sys.path | 15:01 |
mithro | go through each of them and make sure there is no reference to any tp package | 15:01 |
mithro | maybe I should add a "--yes-i-am-sure-I-really-want-to-install-this-package-from-source-and-know-it-is-going-to-cause-me-problems" switch :P | 15:02 |
mithro | need to remove any eggs which have names like libtpproto-py as well | 15:06 |
mithro | and .pth files | 15:06 |
mithro | any luck? | 15:08 |
mithro | oh | 15:08 |
mithro | try | 15:08 |
mithro | >>> import tp | 15:08 |
mithro | tp.__file__ | 15:08 |
JLP | gone thru every sys.path and there is no tp folder in any | 15:09 |
JLP | >>> tp.__file__ | 15:10 |
JLP | Traceback (most recent call last): | 15:10 |
JLP | File "<stdin>", line 1, in ? | 15:10 |
JLP | AttributeError: 'module' object has no attribute '__file__' | 15:10 |
mithro | wtf? | 15:11 |
mithro | how is that even possible? | 15:11 |
mithro | find / -name tp.py | 15:12 |
mithro | any luck? | 15:15 |
JLP | still searching, no results yet | 15:15 |
mithro | :/ | 15:19 |
mithro | did you restart python after removing the suprious copies? | 15:19 |
mithro | >>> tp.__file__ | 15:23 |
mithro | 'tp/__init__.pyc' | 15:23 |
mithro | >>> tp.__path__ | 15:23 |
mithro | ['tp'] | 15:23 |
mithro | >>> tp | 15:24 |
mithro | <module 'tp' from 'tp/__init__.pyc'> | 15:24 |
mithro | that is what I get | 15:24 |
mithro | what do you get? | 15:24 |
* mithro should head to bed | 15:27 | |
mithro | JLP: any luck? | 15:27 |
JLP | the search still didn't find anything | 15:31 |
JLP | i think i have restarted python, I did Ctrl+D or something like that and started python again | 15:31 |
mithro | okay | 15:33 |
mithro | so what happens when you do a | 15:33 |
mithro | >>> import tp | 15:33 |
mithro | >>> tp | 15:33 |
mithro | >>> dir(tp) | 15:33 |
mithro | >>> import tp.netlib | 15:33 |
JLP | >>> tp | 15:34 |
JLP | <module 'tp' (built-in)> | 15:34 |
JLP | >>> dir(tp) | 15:34 |
JLP | ['__doc__', '__name__', '__path__'] | 15:34 |
JLP | >>> import tp.netlib | 15:35 |
JLP | Traceback (most recent call last): | 15:35 |
JLP | File "<stdin>", line 1, in ? | 15:35 |
JLP | ImportError: No module named netlib | 15:35 |
mithro | tp.__path__ | 15:35 |
mithro | >>> tp.__path__ | 15:35 |
mithro | >>> tp.__name__ | 15:35 |
mithro | >>> tp.__doc__ | 15:35 |
JLP | ['/usr/lib/python2.4/site-packages/tp'] | 15:35 |
JLP | 'tp' | 15:36 |
mithro | does /usr/lib/python2.4/site-packages/tp exist? | 15:36 |
mithro | if so remove it | 15:36 |
JLP | nope, it doesn't exist | 15:37 |
JLP | find finished and it didn't find anything | 15:38 |
mithro | okay something in your site-packages refers to a tp directory | 15:39 |
mithro | check the .pth files` | 15:39 |
CIA-3 | mithro tpclient-pywx-development * ra19e6cd3f87c /requirements.py: Print location of the tp libraries. | 15:41 |
JLP | aha i found two pth files, do i delete them? | 15:42 |
JLP | usr/lib/python2.4/site-packages/libtpproto_py-0.2.1-py2.4-nspkg.pth | 15:42 |
mithro | yes | 15:43 |
mithro | now I highly recommend you don't install except from packages | 15:44 |
JLP | wxPython Version 2.6.3.3 | 15:45 |
JLP | No module named OpenSSL | 15:45 |
JLP | Thousand Parsec Protocol Library Version (0, 2, 3) | 15:45 |
JLP | Thousand Parsec Client Library Version (0, 3, 0) | 15:45 |
JLP | /home/jlp/Programming/thousandparsec/tpclient-pywx-dev/tpclient-pywx | 15:45 |
JLP | No module named gconf | 15:46 |
JLP | The following recommended modules where not found: | 15:46 |
JLP | pyOpenSSL, Installing pyOpenSSL allows the client to check if the host you are connecting to has a valid certificate. | 15:46 |
JLP | Recent version of pyGTK., It is recommended that under gnome you have the Python Gconf module installed so I can register URL handlers. | 15:46 |
JLP | Using the following AUI <module 'extra.PyAUI' from '/home/jlp/Programming/thousandparsec/tpclient-pywx-dev/extra/PyAUI.py'> | 15:46 |
JLP | Traceback (most recent call last): | 15:46 |
JLP | File "./tpclient-pywx", line 31, in ? | 15:46 |
JLP | from tp.client.threads import Application, NetworkThread, MediaThread, FinderThread, ThreadStop, NotImportantEvent | 15:46 |
JLP | File "/home/jlp/Programming/thousandparsec/tpclient-pywx-dev/tp/client/threads.py", line 579, in ? | 15:46 |
JLP | from tp.netlib.discover import LocalBrowser as LocalBrowserB | 15:46 |
JLP | File "/home/jlp/Programming/thousandparsec/tpclient-pywx-dev/tp/netlib/discover/__init__.py", line 4, in ? | 15:46 |
JLP | if not LocalBrowser.check(): | 15:46 |
JLP | File "/home/jlp/Programming/thousandparsec/tpclient-pywx-dev/tp/netlib/discover/avahi_browser.py", line 22, in check | 15:46 |
JLP | server = dbus.Interface(bus.get_object(avahi.DBUS_NAME, avahi.DBUS_PATH_SERVER), avahi.DBUS_INTERFACE_SERVER) | 15:47 |
JLP | File "//usr/lib/python2.4/site-packages/dbus/bus.py", line 226, in get_object | 15:47 |
JLP | follow_name_owner_changes=follow_name_owner_changes) | 15:47 |
JLP | File "//usr/lib/python2.4/site-packages/dbus/proxies.py", line 236, in __init__ | 15:47 |
JLP | self._named_service = conn.activate_name_owner(bus_name) | 15:47 |
JLP | File "//usr/lib/python2.4/site-packages/dbus/bus.py", line 165, in activate_name_owner | 15:47 |
JLP | self.start_service_by_name(bus_name) | 15:47 |
JLP | File "//usr/lib/python2.4/site-packages/dbus/bus.py", line 261, in start_service_by_name | 15:47 |
JLP | 'su', (bus_name, flags))) | 15:47 |
JLP | File "//usr/lib/python2.4/site-packages/dbus/connection.py", line 595, in call_blocking | 15:47 |
JLP | reply_message = self.send_message_with_reply_and_block( | 15:47 |
JLP | dbus.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Avahi was not provided by any .service files | 15:47 |
mithro | hrm.... | 15:47 |
mithro | apt-get install avahi-daemon | 15:48 |
mithro | you have python-avahi installed but not avahi-daemon? | 15:49 |
JLP | ah i just didn't have the daemon started, now it works just fine | 15:50 |
JLP | i see the nice intro movie :) | 15:50 |
CIA-3 | mithro libtpproto-py * r899033d4bd3f /tp/netlib/discover/ (avahi_browser.py avahi_server.py): Fix error where people have ahavi installed but not running. | 15:54 |
mithro | finally! | 15:54 |
mithro | anyway, I'm going to head to bed now | 16:00 |
mithro | see ya! | 16:00 |
mithro | and you can enjoy the splash movie :P | 16:00 |
JLP | hehe, good night | 16:00 |
*** xdotx has joined #tp | 18:55 |
Generated by irclog2html.py 2.5 by Marius Gedminas - find it at mg.pov.lt!