chat.freenode.net #tryton log beginning Tue Jan 29 00:00:02 CET 2013 | ||
2013-01-29 01:07 -!- ciupicri(~ciupicri@unaffiliated/ciupicri) has left #tryton | ||
2013-01-29 09:00 -!- calbasi(~joan@161.44.14.37.dynamic.jazztel.es) has left #tryton | ||
2013-01-29 09:45 <iamnoob> hi,, im getting an, "need more than 0 values to unpack" error.. what does this actually mean? | ||
2013-01-29 09:51 <corro> iamnoob: The error means you're trying to do something like this: a, b, c = () | ||
2013-01-29 09:53 <iamnoob> corro: oh i see.. let me check again.. | ||
2013-01-29 09:58 <iamnoob> corro: does this happen in the .py file or the .xml file? been trying to find where the error took place for hours now :( | ||
2013-01-29 10:01 <corro> iamnoob: It's in the python code somewhere. The stack trace should point you to the right file/line. Maybe I can help you when you post the stack trace at pastebin.com or something. | ||
2013-01-29 10:04 <iamnoob> here is the error on my console http://pastebin.com/Qbj3rxAj | ||
2013-01-29 10:04 <iamnoob> corro:here is the error on my console http://pastebin.com/Qbj3rxAj | ||
2013-01-29 10:05 <iamnoob> corro: here is the .py im working on http://pastebin.com/5sX5Bn61 | ||
2013-01-29 10:07 <corro> iamnoob: looks like the error occurs when parsing the xml. Could you post that instead? | ||
2013-01-29 10:09 <iamnoob> corro: http://pastebin.com/1PL46BFb here is the xml file | ||
2013-01-29 10:22 <corro> iamnoob: looks like somethings wrong with one of those lines: <field name="model" search="[('model', '=', 'inv.stockfund')]"/>, but I can't really tell what... | ||
2013-01-29 10:30 <iamnoob> corro: hmm i did look into that line too.. but im confused. i got another module that is almost identical to the one ive shown you (execpt the variable names) and its working find | ||
2013-01-29 10:32 <corro> iamnoob: I don't know tryton > 2.4 yet, but I guess it's got an __init__.py file too. Does the file import Inv.py? | ||
2013-01-29 10:36 <iamnoob> corro: yes i does have "from .Inv import*" there in __init__.py , im currently using 2.6 and i came from 1.4 im still learning tryton from the start | ||
2013-01-29 10:38 <iamnoob> corro: ill try again cleaning my module folder and insert a fresh copy.. hopefully it will go well again.. | ||
2013-01-29 11:24 <iamnoob> corro: its working now.. trashed the old module folder then put in a fresh copy.. restart the server and update the database.. and it ok again.. | ||
2013-01-29 13:20 -!- ciupicri(~ciupicri@unaffiliated/ciupicri) has left #tryton | ||
2013-01-29 13:34 <iamnoob> hi .. i got a Many2One field.. when im about to select a record on it.. it give's me an error, it says.. | ||
2013-01-29 13:34 <iamnoob> ValueError: invalid literal for int() with base 10: <'record name'> | ||
2013-01-29 13:35 <iamnoob> after i close the error message.. it gives me the _rec_field value of that model.. which i want.. i just want to know why its giving me that error or what's the meaning of it please. thanks in advance | ||
2013-01-29 18:43 <eriam> Hello, is there a specific GNU Health irc channel ? | ||
2013-01-29 18:49 <pilou> eriam: See http://en.wikibooks.org/wiki/GNU_Health/Introduction#GNU_Health_Portal_and_other_Resources | ||
2013-01-29 19:17 <eriam> heh ok | ||
2013-01-29 20:06 <eriam> pilou: thanks | ||
2013-01-29 23:07 -!- calbasi(~joan@161.44.14.37.dynamic.jazztel.es) has left #tryton |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!