Search found 921 matches

by timurhai
Thu Feb 23, 2017 3:34 pm
Forum: General
Topic: Example how to set up a custom event handler?
Replies: 4
Views: 11202

Re: Example how to set up a custom event handler?

And i did it.
by timurhai
Thu Feb 23, 2017 11:43 am
Forum: General
Topic: Example how to set up a custom event handler?
Replies: 4
Views: 11202

Re: Example how to set up a custom event handler?

:)
I should write it in docs in server events section.
by timurhai
Thu Feb 23, 2017 11:08 am
Forum: General
Topic: Example how to set up a custom event handler?
Replies: 4
Views: 11202

Re: Example how to set up a custom event handler?

Hi. Your link contains an example how invoke email notifications (that was written for example too). If user will have such custom data, done and error jobs will be emailed. This events.py Python service code will be executed : https://github.com/CGRU/cgru/blob/master/afanasy/python/services/events....
by timurhai
Mon Feb 20, 2017 10:35 am
Forum: General
Topic: output window - all text in single line
Replies: 10
Views: 30419

Re: output window - all text in single line

Hi. Since 2.2.0 AfWatch begin to colorize task output (errors, warnings, and any custom that you can write in Python). It parse output data with Python Parser class. https://github.com/CGRU/cgru/blob/master/afanasy/python/parsers/parser.py#L190 Insets html tags to data. Then users QTextEdit::setHtml...
by timurhai
Mon Feb 20, 2017 10:13 am
Forum: General
Topic: Remove a render host from the list of host into Afanasy server
Replies: 6
Views: 14813

Re: Remove a render host from the list of host into Afanasy server

Hi.
Store folder is not designed for server manipulation.
Server just store state in the store folder.
It reads store on startup only.
So if you delete something from store, you should restart server.
by timurhai
Mon Feb 13, 2017 11:40 am
Forum: Setup
Topic: Python question
Replies: 2
Views: 12045

Re: Python question

Hi.
This can be when Maya's Python 2x uses scripts form CGRU's Python 3x.
You should reset CGRU PYTHONHOME variable.
Add to you cmd:
set PYTHONHOME=
by timurhai
Fri Feb 10, 2017 3:07 pm
Forum: Maya
Topic: pm error u'defaultArnoldRenderOptions'
Replies: 5
Views: 43093

Re: pm error u'defaultArnoldRenderOptions'

Great!
And it will be awesome if you create a pull request to help others!
by timurhai
Fri Feb 10, 2017 12:19 pm
Forum: General
Topic: How to create a pattern type block from Python ?
Replies: 3
Views: 9772

Re: How to create a pattern type block from Python ?

If you copy just 1 more line at top, you should paste here: af.Block.setCommand(str)
by timurhai
Fri Feb 10, 2017 12:14 pm
Forum: General
Topic: all render tasks getting reseted
Replies: 5
Views: 12682

Re: all render tasks getting reseted

Not much clients.
Not much open sockets.
Should work.
Also you can raise up open descriptors limit in the system - default for most distributives is 1024 - it is not much for servers, set at least 10240.
by timurhai
Fri Feb 10, 2017 10:42 am
Forum: General
Topic: How to create a pattern type block from Python ?
Replies: 3
Views: 9772

Re: How to create a pattern type block from Python ?

There in documentation:
http://cgru.info/afanasy/job#block_command
- left column, blue text color