Hi Pjalrimba,
On 24 November 2011 01:03, pjalrimba rimbabara <[email protected]> wrote:
> Yes i just copy tutorial Hello World. For user i using administrator and i
> can access right the file.
>> > Any body help me , I cannot print report Hello World. This is error or
>> > bug when i click the Button print
>> >
>> > Traceback (most recent call last):
>> > File "/trytond/protocols/netrpc.py", line 51, in run
>> > res = dispatch(host, port, 'NetRPC', *msg)
>> > File "/trytond/protocols/dispatcher.py", line 145, in dispatch
>> > res = getattr(obj, method)(*args, **kargs)
>> > File "/trytond/report/report.py", line 117, in execute
>> > type, data = self.parse(action_report, objects, datas, {})
>> > File "/trytond/report/report.py", line 154, in parse
>> > raise Exception('Error', 'Missing report file!')
>> > Exception: ('Error', 'Missing report file!')
>>
>> If you are sure that the file is in the correct place with the right
>> file name, the only thing that I can think of is;
>>
>> What user does Tryton run as?
>> Does that user have access rights to the file?
>>
Just tried the the hello module again for myself on Tryton 2.2 and it
wouldn't list the report in Tryton for me.
I compared this xml to that found in the party module, the only
significant difference I could find was a value within the
ir.action.keyword section.
The wiki states:-
<field name="model">hello.hello,0</field>
changing this line to
<field name="model">hello.hello,-1</field>
Seems to work for me.
Not sure why this works, and I doubt it's going to correct your error.
Even still HTH
If not, What platform are you running on?
Where on your system is Tryton running from?
Which Tryton Version?
Which Python version are you using?
--
Craig
() ascii ribbon campaign - against html mail
/\
--
[email protected] mailing list