Friday, 2007-07-06

*** tpb has joined #tp00:00
*** ChanServ sets mode: +o tpb00:00
*** xdotx has joined #tp01:14
*** mithro has joined #tp01:25
mithroo so quiet...01:44
mithro~seen dmpayton01:44
tpbmithro: dmpayton was last seen in #tp 1 week, 1 day, 1 hour, 51 minutes, and 32 seconds ago: <dmpayton> gnight01:44
* xdotx makes noise01:45
xdotxhey mithro01:45
mithrohey xdotx01:46
mithrothings going a bit better today?01:46
xdotxhopefully, just started01:48
xdotxdesigns and component aren't showin' up, but i think i know where the problem is01:48
mithroxdotx: any luck?02:27
xdotxmithro: not much02:28
mithroxdotx: what are you using to debug?02:28
xdotxa mix of gdb/kdevelop and tpclient-pytext02:29
mithrookay02:34
CIA-3mithro libtpproto-py * r97f9c20a631d /tp/netlib/xstruct.py: More informative unpack error messages.02:36
mithroxdotx: what type of errors are you getting?02:36
xdotxmithro: component not found02:37
mithroxdotx: you know you can turn on what tpclient-pytext sends?02:37
xdotxlooks like i'm not setting the components to usable  or something like that02:37
xdotxmithro: what do you mean 'turn on'?02:38
mithroxdotx: type "debug" as your first command and you'll see what I mean02:39
xdotxah02:41
xdotxraw packets02:41
xdotxplus fanciness :)02:41
mithroxdotx: dunno if it's any help02:44
mithroxdotx: btw, feel free to comment on the website thread - being a new guy you probably have a different perspective02:47
*** nash has quit IRC03:02
mithrojotham: ping?03:13
xdotxents dgot componisplayin' etc. gotta do some computer work/repairs. bbl03:49
xdotxer03:49
xdotxgot components display'*03:49
*** xdotx has quit IRC03:50
CIA-3mithro tpclient-pywx-development * r24b19edf4bb3 / (4 files in 3 dirs):04:42
CIA-3Cool intro movie when python-pygame installed.04:42
CIA-3Old splash screen when python-pygame not installed.04:42
*** xdotx has joined #tp05:41
mithrowb xdotx05:46
xdotxdanke05:55
*** zipola has quit IRC06:42
*** MihaiBalan has joined #tp07:49
mithrohey MihaiBalan08:03
MihaiBalanhallo08:03
*** MihaiBalan has left #tp08:04
xdotxquite the talkative guy huh?08:04
CIA-3fr33.em4il tpserver-cpp-rfts * r051c440a1559 /modules/games/rfts/rfts.cpp: Settings all components visible & usable for players.08:05
CIA-3fr33.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
xdotxsun's comin' up. i'm going to bed!08:05
mithro~seen dmpayton09:03
tpbmithro: dmpayton was last seen in #tp 1 week, 1 day, 9 hours, 10 minutes, and 44 seconds ago: <dmpayton> gnight09:03
mithro~seen niphree09:04
tpbmithro: 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 IRC09:39
mithrono lee or nash tonight :/09:39
*** zipola has joined #tp10:01
*** tuna-fish has joined #tp11:40
CIA-3mithro tpserver-py * rdff07e745c12 /tp/server/bases/SQL.py: None is also a simple type.12:24
CIA-3mithro tpserver-py * r5e0674557cb7 /tp/server/rules/timtrader/other/ (resources.csv resources.ods): Added goods product.12:24
CIA-3mithro 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-3mithro tpserver-py * r9aec654e446c /tp/server/rules/timtrader/bases/Resource.py: Added transportable attribute. Method to get all transportable materials.12:24
CIA-3mithro tpserver-py * r2a6985098346 /tp/server/rules/timtrader/bases/Resource.py: Added support to get all resources which are also factories.12:24
CIA-3mithro tpserver-py * r197a6b2bf8cc /tp/server/rules/timtrader/ (__init__.py actions/Economy.py):12:24
CIA-3Some more prep work.12:24
CIA-3Started support for adding a smattering of resources.12:24
CIA-3Started support for actually generating the economy.12:24
mithroJLP: ping?13:27
JLPmithro: pong13:27
mithroJLP: so how is life after the conference?13:27
JLPstill a bit tired, and i'm sad that it's over13:28
JLPbut it is nice to be back home where everything is a lot cheaper :)13:28
mithrohave you been to any others?13:28
JLPand there is a lot more sun13:29
mithroJLP: more sun in the UK?13:29
JLPno, this was my first akademy, and my first linux/floss conference ever13:29
JLPmore sun here in slovenia, in glasgo it's been cloady almost all the time and it was raining a lot13:30
mithroUK is renound for being cloudy13:31
JLPyeah, i expected that, so i was armed with umbrella all the time :)13:32
mithrohe he13:32
mithroJLP: Europe has lots of FLOSS conferences13:32
JLPyup, and they are also relatively close to each other13:33
JLPif i had the money to go to all....13:33
mithroJLP: whats the average wage like in Slovenia?13:34
JLPmithro: i think it is about 1200 ? + 800 ? / year for holidays13:36
mithroJLP: euro?13:37
JLPyup13:37
mithroso about 2000 euro per year?13:37
JLP1200 / month + 800 / year13:38
mithroahh okay13:38
mithrothats not to bad13:40
JLPmithro: what was going on at TP during the last week?13:42
mithronot a huge amount13:42
JLPI see Lee released a new version of libtpproto-cpp13:42
mithroFro has xdotx are going well13:42
mithro~seen niphree13:42
tpbmithro: 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 dmpayton13:42
tpbmithro: dmpayton was last seen in #tp 1 week, 1 day, 13 hours, 49 minutes, and 37 seconds ago: <dmpayton> gnight13:42
JLPyeah, i've seen the blog and the reports from xdotx and fro, very nice work13:43
mithroas you can see the other two are not doing so well13:43
JLPyeah, unfortunately13:43
mithrobeen working on tpserver-py13:44
mithrohttp://www.thousandparsec.net/wiki/TIM_Trader13:44
tpbTitle: TIM Trader - Thousand Parsec Wiki (at www.thousandparsec.net)13:44
* mithro has (hopefully) his last exam Wednesday before you left13:45
mithros/has/had13:45
JLPah cool13:46
mithroJLP: oh also check this out13:46
mithroinstall python-pygame13:46
mithrothen update tpclient-pyw development branch13:47
JLPpygame 1.7.1 already installed13:48
mithrowow13:48
mithroThe 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
mithrohttp://www.ess.gov.si/eng/Eures/GuideSlovenia/GuideSlovenia.htm13:49
tpb<http://ln-s.net/gnv> (at www.ess.gov.si)13:49
mithroJLP: any luck?13:52
JLPmithro: I get this when I try to run: http://rafb.net/p/bLqKbl77.html14:02
tpbTitle: Nopaste - tpclient-pywx (at rafb.net)14:02
* mithro is having problems getting to that rafb page14:04
JLPthere is some error about importing url2bits14:05
JLPis this a new requirement?14:06
mithroJLP: you updated libtpproto-py and libtpclient-py (development branch)?14:06
JLPmithro: hm i'm not sure, i've updated what i already had on harddisk14:07
mithroR origin 97f9c20a631d~ More informative unpack error messages.14:07
JLPi'll try to delete all and start from start14:08
JLPmithro: i get this now:14:21
JLPThe following requirements where not met:14:21
JLP        tp.client > 0.3.014:21
mithrothat means you don't have the development branch14:21
mithro(of tp client)14:21
JLPi have 24b19edf4bb3ba8c9a3ca5492cfdf501b62f4cd414:21
mithromove the directory to libtpclient-py-dev and rerun setup.sh?14:22
JLPhm doesn't help14:25
mithrotim@ultraslim:~/oss/tp/tpclient-pywx-dev$ ls -l `find -type l`14:28
mithrolrwxrwxrwx 1 tim tim 34 2007-05-20 21:25 ./tp/client -> ../../libtpclient-py-dev/tp/client14:28
mithrolrwxrwxrwx 1 tim tim 29 2007-05-20 21:25 ./tp/netlib -> ../../libtpproto-py/tp/netlib14:28
mithro   R origin 18c31a3e7feb~ Removing darcs .boring and added git .gitignore14:29
JLPjlp@phoenix ~/Programming/tp/tpclient-pywx-dev $ ls -l `find -type l`14:32
JLPlrwxrwxrwx 1 jlp users 34 jul  6 20:29 ./tp/client -> ../../libtpclient-py-dev/tp/client14:32
JLPlrwxrwxrwx 1 jlp users 29 jul  6 20:29 ./tp/netlib -> ../../libtpproto-py/tp/netlib14:32
mithrotim@ultraslim:~/oss/tp/libtpclient-py-dev$ more ./tp/client/version.py14:32
mithroversion = (0, 3, 0)14:32
JLPsame14:33
mithroand you are still getting that error?14:34
JLPyup14:34
mithrocan you paste the complete error?14:34
JLP$ ./tpclient-pywx14:35
JLPwxPython Version 2.6.3.314:35
JLPNo module named OpenSSL14:35
JLPThousand Parsec Protocol Library Version (0, 2, 1)14:35
JLPThousand Parsec Client Library Version (0, 2, 1)14:35
JLPThousand Parsec Client Library (libtpclient-py) is to old14:35
JLPThe following requirements where not met:14:35
JLP        tp.client > 0.3.014:35
JLPThe 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
mithroyou have installed libtpclient-py?14:37
JLPyes, the development one14:37
JLP18c31a3e7feb0d079a2c32f3c59db000f1b0423514:38
mithrono, on your system you must have installed libtpclient (and libtpproto)14:39
JLPoh i thought setup.sh does that14:40
mithrono14:41
mithroit only sets up stuff locally14:41
mithroso as not to polute your machine14:41
mithrobut installed versions take preference over the local versions14:42
mithroso you must have the client/protocol library installed14:42
JLPso i should just run the setup.py from each14:42
mithrono14:43
mithroyou should uninstall the installed versions14:44
JLPhow do i do this14:49
mithrodepends on how you managed to install it :P14:50
mithrotry going to /usr/lib/python*/site-packages/14:50
mithroand rm -rf tp14:51
JLPok did that, now it complains it can't find client and netlib modules14:52
mithrookay that is a start14:52
mithrols -l tp14:52
JLPfrom within pywx?14:53
mithroyeah14:54
JLPlrwxrwxrwx 1 jlp users 34 jul  6 20:49 client -> ../../libtpclient-py-dev/tp/client14:54
JLP-rw-r--r-- 1 jlp users  0 jul  6 20:49 __init__.py14:54
JLPlrwxrwxrwx 1 jlp users 29 jul  6 20:49 netlib -> ../../libtpproto-py/tp/netlib14:54
mithrohrm...14:54
mithropython14:54
mithro>>> import tp14:54
mithro>>> import tp.netlib14:54
mithro>>> import tp.client14:55
JLP>>> import tp.netlib14:55
JLPTraceback (most recent call last):14:55
JLP  File "<stdin>", line 1, in ?14:55
JLPImportError: No module named netlib14:55
mithrohrm....14:56
mithroyou sure those symlinks are correct?14:57
mithroall the above was done from the tpclient-pywx-dev directory right?14:57
JLPthe links are not dead and are working and yes all was done from tpclient-pywx-dev14:59
mithrohrm15:00
mithrowhat distro?15:00
mithroyou still have a tp directory somewhere in your python path15:00
JLPgentoo15:00
mithropython15:01
mithro>>> import sys15:01
mithro>>> sys.path15:01
mithrogo through each of them and make sure there is no reference to any tp package15:01
mithromaybe 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 :P15:02
mithroneed to remove any eggs which have names like libtpproto-py as well15:06
mithroand .pth files15:06
mithroany luck?15:08
mithrooh15:08
mithrotry15:08
mithro>>> import tp15:08
mithrotp.__file__15:08
JLPgone thru every sys.path and there is no tp folder in any15:09
JLP>>> tp.__file__15:10
JLPTraceback (most recent call last):15:10
JLP  File "<stdin>", line 1, in ?15:10
JLPAttributeError: 'module' object has no attribute '__file__'15:10
mithrowtf?15:11
mithrohow is that even possible?15:11
mithrofind / -name tp.py15:12
mithroany luck?15:15
JLPstill searching, no results yet15:15
mithro:/15:19
mithrodid 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>>> tp15:24
mithro<module 'tp' from 'tp/__init__.pyc'>15:24
mithrothat is what I get15:24
mithrowhat do you get?15:24
* mithro should head to bed15:27
mithroJLP: any luck?15:27
JLPthe search still didn't find anything15:31
JLPi think i have restarted python, I did Ctrl+D or something like that and started python again15:31
mithrookay15:33
mithroso what happens when you do a15:33
mithro>>> import tp15:33
mithro>>> tp15:33
mithro>>> dir(tp)15:33
mithro>>> import tp.netlib15:33
JLP>>> tp15:34
JLP<module 'tp' (built-in)>15:34
JLP>>> dir(tp)15:34
JLP['__doc__', '__name__', '__path__']15:34
JLP>>> import tp.netlib15:35
JLPTraceback (most recent call last):15:35
JLP  File "<stdin>", line 1, in ?15:35
JLPImportError: No module named netlib15:35
mithrotp.__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
mithrodoes /usr/lib/python2.4/site-packages/tp exist?15:36
mithroif so remove it15:36
JLPnope, it doesn't exist15:37
JLPfind finished and it didn't find anything15:38
mithrookay something in your site-packages refers to a tp directory15:39
mithrocheck the .pth files`15:39
CIA-3mithro tpclient-pywx-development * ra19e6cd3f87c /requirements.py: Print location of the tp libraries.15:41
JLPaha i found two pth files, do i delete them?15:42
JLPusr/lib/python2.4/site-packages/libtpproto_py-0.2.1-py2.4-nspkg.pth15:42
mithroyes15:43
mithronow I highly recommend you don't install except from packages15:44
JLPwxPython Version 2.6.3.315:45
JLPNo module named OpenSSL15:45
JLPThousand Parsec Protocol Library Version (0, 2, 3)15:45
JLPThousand Parsec Client Library Version (0, 3, 0)15:45
JLP/home/jlp/Programming/thousandparsec/tpclient-pywx-dev/tpclient-pywx15:45
JLPNo module named gconf15:46
JLPThe 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
JLPUsing the following AUI <module 'extra.PyAUI' from '/home/jlp/Programming/thousandparsec/tpclient-pywx-dev/extra/PyAUI.py'>15:46
JLPTraceback (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, NotImportantEvent15: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 LocalBrowserB15: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 check15: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_object15: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_owner15: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_name15:47
JLP    'su', (bus_name, flags)))15:47
JLP  File "//usr/lib/python2.4/site-packages/dbus/connection.py", line 595, in call_blocking15:47
JLP    reply_message = self.send_message_with_reply_and_block(15:47
JLPdbus.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Avahi was not provided by any .service files15:47
mithrohrm....15:47
mithroapt-get install avahi-daemon15:48
mithroyou have python-avahi installed but not avahi-daemon?15:49
JLPah i just didn't have the daemon started, now it works just fine15:50
JLPi see the nice intro movie :)15:50
CIA-3mithro libtpproto-py * r899033d4bd3f /tp/netlib/discover/ (avahi_browser.py avahi_server.py): Fix error where people have ahavi installed but not running.15:54
mithrofinally!15:54
mithroanyway, I'm going to head to bed now16:00
mithrosee ya!16:00
mithroand you can enjoy the splash movie :P16:00
JLPhehe, good night16:00
*** xdotx has joined #tp18:55

Generated by irclog2html.py 2.5 by Marius Gedminas - find it at mg.pov.lt!