I having this issues after setup everything to run RULES.
here us the log
Code: Select all
#17 22:11:35.687: Error: Unexpected token < in JSON at position 0
Warning: mkdir(): Invalid argument in C:\cgru\rules.php on line 792
{"error":"Unable to create directory \/\/cgru\/rules_root\/\/test"}
#16 22:11:35.687: recv 5 (0) : *br /* *b*Warning*/b*: mkdir(): Invalid argument in *b*C:\cgru\rules.php*/b* on line *b*792*/b**br /* {"error":"Unable to create directory \/\/cgru\/rules_root\/\/test"}
#15 22:11:28.887: send 5 (1) : {"makefolder":{"path":"//cgru/rules_root//test"}}
#14 22:05:59.985: Post: navig
#13 22:05:59.978: //cgru/rules_root/
#12 22:05:59.973: Dummy folder "" pushed: "/"
#11 22:05:59.973: Goto ""
#10 22:05:59.972: recv 4 (0) walk GO: {"walkdir":[{"denied":true,"folders":[],"files":[],"rufiles":[],"rules":{"rules.site.json":{"has_filesystem":true,"afanasy_enabled":true,"put":{"input":"RESULT\/JPG,RESULT\/DPX"}}}}]}
#9 22:05:59.954: recv 3 (1) playlist: {"error":"No such file rules\/playlist.json"}
#8 22:05:59.948: send 4 (2) walk GO: {"walkdir":["/cgru/rules_root/"],"depth":0,"rufolder":".rules","showhidden":false,"rufiles":["rules","status"],"lookahead":["status"]}
#7 22:05:59.948: Navigating to: /
#6 22:05:59.945: send 3 (1) playlist: {"getfile":"rules/playlist.json"}
#5 22:05:59.943: recv 2 (0) walk config: {"walkdir":[{"folders":[],"files":[{"name":"config.json","size":306,"mtime":1526478720,"space":-512},{"name":"config_default.json","size":2503,"mtime":1526477919,"space":-512},{"name":"favicon.ico","size":17056,"mtime":1461169516,"space":-512},{"name":"htaccess","size":454,"mtime":1475146734,"space":-512},{"name":"htaccess_example","size":454,"mtime":1475146734,"space":-512},{"name":"htgroups","size":0,"mtime":1526477586,"space":-512},{"name":"index.html","size":29001,"mtime":1509598578,"space":-512},{"name":"player.html","size":8006,"mtime":1509598578,"space":-512},{"name":"README.md","size":2471,"mtime":1509598578,"space":-512},{"name":"revision.txt","size":43,"mtime":1509599690,"space":-512},{"name":"rules.php","size":54758,"mtime":1509598578,"space":-512},{"name":"setup.cmd","size":698,"mtime":1525586634,"space":-512},{"name":"setup_afanasy.cmd","size":82,"mtime":1461169518,"space":-512},{"name":"setup_python.cmd","size":317,"mtime":1461583540,"space":-512},{"name":"setup_README.cmd","size":114,"mtime":1461169518,"space":-512},{"name":"start.cmd","size":308,"mtime":1525589682,"space":-512},{"name":"start.command","size":38,"mtime":1461169518,"space":-512},{"name":"version.txt","size":7,"mtime":1509598578,"space":-512}],"rufiles":[".gitignore","admin.js","asset.js","assets","bin","bookmarks.js","comments.js","common.js","dailies.js","export.sh","filesutils.js","filesview.js","general.js","gui.js","icons","network.js","news.js","player.css","player.js","playlist.js","rules.10_general.json","search.js","statistics.js","status.js","styles.css","table.js","ui.js","upload.js"],"rules":{"rules.10_general.json":{"root":"\/cgru\/rules_root","-root_link":"\/cgru\/rules_root","rufolder":".rules","company":"CGRU","panel_logo_img":"rules\/icons\/rules.png","playlist":"rules\/playlist.json","cache_time":60,"news":{"limit":99,"refresh":60,"recent":99},"bookmarks":{"refresh":300},"flags":{"hold":{"title":"HOLD","short":"Hl","excl":true,"tip":"On hold"},"error":{"title":"ERROR","clr":[255,55,55],"short":"Err","p_max":99,"excl":false,"tip":"Error"},"comment":{"title":"COMMENT","clr":[222,111,222],"short":"Cmm","p_max":99,"excl":true,"tip":"Comment"},"omit":{"title":"OMIT","clr":[99,99,99],"short":"Om","p_max":-1,"excl":true,"tip":"Omit"},"done":{"title":"DONE","clr":[121,155,121],"short":"D","p_min":100,"excl":true,"tip":"Done"},"closed":{"title":"CLOSED","clr":[11,55,11],"short":"CLS","p_min":100,"excl":true,"tip":"Closed"},"aux":{"title":"AUX","clr":[127,127,127],"short":"AUX","p_max":-1,"excl":true,"tip":"Auxiliary"}},"tags":{"wirem":{"title":"WiRem","short":"WR","tip":"Wire remove"},"roto":{"title":"Roto","short":"Ro","tip":"Rotoscoping"},"key":{"title":"Keying","short":"Key","tip":"Keying"},"back":{"title":"Back","short":"Bk","tip":"Back placement"},"cleanup":{"title":"CleanUp","short":"Cl","tip":"Cleanup"},"comp":{"title":"Comp","short":"Cp","tip":"Compositing"},"concept":{"title":"Concept","short":"Cc","tip":"Concept"},"paint":{"title":"Paint","short":"Pt","tip":"Painting"},"matte":{"title":"MtPaint","short":"Mp","tip":"Matte painting"},"textur":{"title":"Textur","short":"Tx","tip":"Texturing"},"model":{"title":"Model","short":"Md","tip":"Modeling"},"anim":{"title":"Anim","short":"Am","tip":"Animation"},"track":{"title":"Track","short":"Tr","tip":"Tracking"},"sim":{"title":"Sim","short":"Sm","tip":"Simulating"},"render":{"title":"Render","short":"Rn","tip":"Rendering"},"rnd":{"title":"R&D","short":"RnD","tip":"Research and development"},"animatic":{"title":"Animatic","short":"Ac","tip":"Animiatic"},"fullcg":{"title":"FullCG","short":"FCG","tip":"Full CG Shot"},"titles":{"title":"Titles","short":"Tt","tip":"Titles"},"other":{"title":"Other","short":"Ot","tip":"Something else"}},"comments":{"report":{"title":"Report","color":[100,200,100]},"client":{"title":"Client","color":[200,200,100]},"message":{"title":"Message","color":[150,150,200]}},"aux_folders":[".","_","-","tmp","temp","tmp","common"],"assets":{"projects_root":{"play_folders":false,"show_files":true},"project":{"seek":["[projects_root]\/","\/"],"upload_dir":"_UPLOADS\/@DATE@_@USER@","play_folders":false,"scripts":["project.js"],"show_files":true},"scenes":{"seek":["[project]\/SCENES","[project]\/SHOTS"],"uploads":{"upload":{"masks":[".*"],"folder":"_UPLOADS\/@DATE@_@USER@"}},"-name":"","filter":"sc_FilterShots","scripts":["scenes.js"]},"scene":{"seek":["[scenes]\/"],"uploads":{"upload":{"masks":[".*"],"folder":"_UPLOADS\/@DATE@_@USER@"}},"filter":"sc_FilterShots","scripts":["scenes.js"]},"shot":{"seek":["[scene]\/"],"uploads":{"upload":{"masks":[".*"],"folder":"_UPLOADS\/@DATE@_@USER@"},"result":{"masks":[".*\\.(zip|rar|7z)$"],"folder":"RESULT\/ARCHIVES\/@DATE@_@USER@","news_title":"upload"},"dailies":{"masks":[".*\\.(mov|mp4|avi)$"],"folder":"RESULT\/DAILIES"}},"scripts":["shot.js"],"subfolders_status_hide":true,"subfolders_dailies_hide":true,"post":"shot_Post","":"custom post function","references":{"path":["REF"]},"source":{"path":["SRC","SOURCE"]},"result":{"path":["RESULT\/JPG","RESULT\/PNG","RESULT\/DPX","RESULT\/TIF","RESULT\/ANIM"]},"dailies":{"path":["RESULT\/DAILIES"]},"template":"rules\/assets\/shot","nuke_template":"\/cgru\/plugins\/nuke\/_template.nk"}},"cgru_config":{"pathsmap":[["\/cgru\/rules_root\/","\/rules_root\/"],["\/rules_root\/","\/cgru\/rules_root\/"]]},"OS_unix":{"cmdexec":{"play_sequence":[{"name":"DJV","cmd":"djv_view \"@PATH@\"","tooltip":"Open sequence within 'djv_view'."},{"name":"NkCp","cmd":"nukecopy \"@PATH@\"","tooltip":"Copy Nuke Read.\nPaste it in a scene.","submenu":true},{"name":"Nuke","cmd":"nukeview \"@PATH@\"","tooltip":"Open Nuke with this sequence Reader.","submenu":true}],"play_movie":[{"name":"VLC","cmd":"vlc \"@PATH@\"","tooltip":"Open with VLC media player."},{"name":"Totem","cmd":"totem \"@PATH@\"","tooltip":"Open with Totem video player."}]}},"OS_windows":{"cmdexec":{"play_sequence":[{"name":"Pd++","cmd":"pdplayer --fps=@FPS@ --attach @PATH@","tooltip":"Append sequence in opened PdPlayer."},{"name":"PdP","cmd":"pdplayer --fps=@FPS@ @PATH@","tooltip":"Open sequence with PdPlayer."},{"name":"NkCp","cmd":"nukecopy @PATH@","tooltip":"Copy Nuke Read.\nPaste it in a scene.","submenu":true},{"name":"Nuke","cmd":"nukeview @PATH@","tooltip":"Open Nuke with this sequence Reader.","submenu":true}],"play_movie":[{"name":"QT","cmd":"QuickTimePlayer @PATH@","tooltip":"Open with QuickTime."},{"name":"VLC","cmd":"vlc @PATH@","tooltip":"Open with VLC media player."}]}},"thumbnail":{"filename":"thumbnail.jpg","colorspace":"auto","cmd_asset":"rules\/bin\/thumbnail.sh -n 3 -i \"@INPUT@\" -t 600 -o \"@OUTPUT@\"","create_file":"rules\/bin\/thumbnail.sh -i \"@INPUT@\" -t 600 -o \"@OUTPUT@\""},"avcmd":"ffmpeg","skipfiles":[".","Thumbs.db"],"fps":24,"dailies":{"format":"1280x720","fps":"25","codec":"h264_mid","container":"DEFAULT","colorspace":"auto","template":"dailies_withlogo","slate":"dailies_slate","-font":"DejaVuSans","naming":"(s)_(v)_(d)","logo_slate_path":"logo.png","logo_slate_size":20,"logo_slate_grav":"SouthEast","logo_frame_path":"logo.png","logo_frame_size":10,"logo_frame_grav":"North","activity":"comp","colorspaces":{"auto":{"name":"Auto","value":"auto","tooltip":"Try to read metadata"},"ext":{"name":"Extension","value":"extension","tooltip":"By image extension:\nDPX,CIN: cineon\nEXR: linear\nAny Other: sRGB"},"linear":{"name":"Linear","value":"RGB"},"srgb":{"name":"sRGB","value":"sRGB"},"log":{"name":"Cineon","value":"Log"}},"formats":{"asis":{"name":"As Is","value":null},"pal":{"name":"PAL","value":"720x576x1.09"},"pal768":{"name":"PAL 768","value":"768x576"},"1k43":{"name":"1k 4:3","value":"1024x768"},"sd360":{"name":"640x360","value":"640x360"},"sd540":{"name":"960x540","value":"960x540"},"hd720":{"name":"HD720","value":"1280x720"},"hd1080":{"name":"HD1080","value":"1920x1080"}},"codecs":{"photojpg_high":{"name":"JPG Hi","tooltip":"PhotoJPG High [mp4]"},"photojpg_mid":{"name":"JPG Mid","tooltip":"PhotoJPG Mid [mp4]"},"photojpg_low":{"name":"JPG Lo","tooltip":"PhotoJPG Low [mp4]"},"h264_high":{"name":"H264 Hi","tooltip":"H.264 High [mp4]"},"h264_mid":{"name":"H264 Mid","tooltip":"H.264 Mid [mp4]"},"h264_low":{"name":"H264 Lo","tooltip":"H.264 Low [mp4]"},"theora_high":{"name":"Th Hi","tooltip":"Theora High [ogg]"},"theora_mid":{"name":"Th Mid","tooltip":"Theora Mid [ogg]"},"theora_low":{"name":"Th Lo","tooltip":"Theora Low [ogg]"},"dnxhd185":{"name":"DNxHD","tooltip":"AVID DNxHD 1920x1080x25:185 [mov]"},"prores444":{"name":"Pro444","tooltip":"Apple ProRes444 10Bit [mov]"},"prores422":{"name":"Pro422","tooltip":"Apple ProRes422 10Bit [mov]"},"copy":{"name":"COPY","tooltip":"Just copy stream [mp4]"}},"containers":{"DEFAULT":{"name":"Default","tooltip":"Default container:\nProRes, DNxHD: MOV\nTheora: OGG\nAny other: MP4"},"mp4":{"name":"MP4","tooltip":"MPEG-4 Part 14\nIt is a common container."},"mov":{"name":"MOV","tooltip":"Apple QuickTime Movie"},"m4v":{"name":"M4V","tooltip":"Apple 'MP4'"},"mxf":{"name":"MXF","tooltip":"Material eXchange Format"},"avi":{"name":"AVI","tooltip":"Microsoft Audio Video Interleave"}},"preview":{"codec":"h264_mid","args":"-vf scale=640:-1"},"af_capacity":500},"cut":{"input":"RESULT\/JPG,RESULT\/PNG,RESULT\/TIF,RESULT\/DPX","output":"COMMON\/_cut","af_capacity":500,"af_maxtasks":10,"af_perhost":-1,"af_pertask":100,"af_maxruntime":120},"tmpfio":{"template":"rules\/assets\/tmpfio"},"put":{"input":"RESULT\/PNG,RESULT\/TIF,RESULT\/DPX","dest":"OUT","-dest":"\/incoming","cmd":"python \/cgru\/utilities\/put.py","-ftp":{"host":"localhost","user":"","pass":""},"post_delete":false,"af_service":"generic","-af_service":"ftp","af_parser":"generic","af_capacity":500,"af_maxtasks":5,"af_perhost":1},"archive":{"types":{"zip":{"name":"ZIP","tooltip":"Fastest, simplest, no special programs needed, recommended"},"rar":{"name":"RAR","tooltip":"For WinRAR lowers"},"7z":{"name":"7Z","tooltip":"Slowest, but small archive size"}},"default":"zip","cmd":"python \/cgru\/utilities\/arch.py","cmd_x":"python \/cgru\/utilities\/arch_x.py","dest":"","af_service":"arch","af_parser":"generic","af_capacity":500,"af_maxtasks":5},"walk":{"cmd":"python \/cgru\/rules\/bin\/walk.py","af_service":"walk","af_parser":"generic","af_capacity":100},"checksum":{"md5":{"cmd":"python \/cgru\/utilities\/checksum.py","name":"MD5","af_service":"checksum","af_parser":"generic","af_capacity":500}},"":""}}}]}
#4 22:05:59.924: send 2 (1) walk config: {"walkdir":["."],"depth":0,"rufolder":"rules","showhidden":false,"rufiles":["rules"]}
#3 22:05:59.923: recv 1 (0) init: {"config":{"config_default.json":{"cgru_config":{"":"","include":["afanasy\/config_default.json","config.json"],"realm":"CGRU","-rules_url":"http:\/\/localhost\/cgru\/#\/","projects_root":["\/mnt\/prj\/","\/projects\/","\/cgru\/rules_root\/"],"-nuke_filenamefilter":true,"open_folder_cmd":"open \"@PATH@\"","previewcmds":["Nuke|nuke -v \"@ARG@\"","Mplay|mplay \"@ARG@\"","Mplay *|mplay `dirname \"@ARG@\"`\/*","DJV|djv_view \"@ARG@\"","IMDisplay|display \"@ARG@\"","XTerm Folder|cd `dirname @ARG@` && xterm"],"annotations":["APPROVED","FAILED"],"docs_url":"http:\/\/cgru.info","forum_url":"http:\/\/forum.cgru.info","email_smtp_server":"localhost","email_send_cmd":"emailsend","email_sender_address_host":"cgru.info","keeper_port":50999,"keeper_port_https":50443,"timeformat":"%a %d %b %H:%M.%S","filenamesizemax":250,"platforms":["linux","mac","windows"],"OS_unix":{"cmd_shell":"\/bin\/sh -c"},"OS_windows":{"open_folder_cmd":"explorer \"@PATH@\"","cmd_shell":"cmd.exe \/c","":"But will replace with specified slashes, if unix slashes not forced (for Nuke, for example).","-pathsmap":[["\/\/server\/projects\/","\/mnt\/prj\/"]]},"OS_linux":{"open_folder_cmd":"nautilus \"@PATH@\""},"pswd_visor":"1832116180fdc61b64fd978401e462e9","pswd_god":"73bcaaa458bff0d27989ed331b68b64d"}},"afanasy\/config_default.json":{"cgru_config":{"af_servername":"127.0.0.1","":"","af_serverport":51000,"af_ipv6_disable":1,"-af_http_serve_dir":"\/cgru","af_ip_trust":["*.*","127.0.0.1","192.168.*","*:*","0:0:0:0:0:0:0:1","FC00:*","FD00:*"],"af_digest_file":".htdigest","OS_unix":{"af_store_folder":"\/var\/tmp\/afanasy","af_rendercmds":["vncviewer @ARG@","xterm -e \"ping @ARG@; read -s -n 1\"","xterm -e \"ping @IP@; read -s -n 1\""],"af_rendercmds_admin":["xterm -e \"ssh @ARG@; read -s -n 1\"","xterm -e \"ssh @ARG@ \\\"@ASK@\\\"; read -s -n 1\""],"":"","af_render_cmd_reboot":"reboot","af_render_cmd_shutdown":"shutdown -P 1 afrequest","af_render_cmd_wolsleep":"wolsleep"},"OS_windows":{"af_rendercmds":["vncviewer @ARG@","start ping \/t @ARG@","start ping \/t @IP@"],"af_store_folder":"c:\/temp\/afanasy","af_render_cmd_reboot":"shutdown \/r","af_render_cmd_shutdown":"shutdown \/s","af_render_cmd_wolsleep":"cmd.exe \/c wolsleep","af_render_windowsmustdie":["ImageMagick Studio library and utility programs","Microsoft Visual C++ Runtime Library","QuickTimeHelper-32.exe - Application Error","Visual Studio Just-In-Time Debugger"]},"af_perm_user_mod_his_priority":true,"af_perm_user_mod_job_priority":true,"af_cmdprefix":"","af_node_log_lines_max":100,"af_priority":99,"af_maxrunningtasks":-1,"af_task_default_capacity":1000,"af_task_default_service":"generic","af_task_log_linesmax":100,"af_render_heartbeat_sec":1,"af_render_up_resources_period":5,"af_render_default_capacity":1000,"af_render_default_maxtasks":5,"-af_render_networkif":"eth0","af_render_hddspace_path":"\/","af_render_iostat_device":"*","-af_render_resclasses":["example","iostat"],"-af_render_customiostat_devices":"sda","af_render_nice":10,"af_render_zombietime":60,"af_render_exit_no_task_time":-1,"af_task_update_timeout":30,"af_task_stop_timeout":30,"af_task_progress_change_timeout":-1,"af_render_connectretries":3,"af_render_exec":"afrender","af_render_cmd_wolwake":"wolwake","af_thumbnail_extensions":["exr","dpx","jpg","jpeg","png","tif","tiff","tga"],"af_thumbnail_cmd":"convert -identify \"%(image)s\" %(pre_args)s -thumbnail \"100x100^\" -alpha Deactivate -gravity center -extent 100x100 -colorspace sRGB \"%(thumbnail)s\"","-af_thumbnail_naming":"%(job_id)d.%(block_id)d.%(task_id)d.%(thumbnail_filename)s","-af_thumbnail_http":"http:\/\/localhost:80\/thumbnails\/","-af_thumbnail_file":"\/\/servername\/sharename\/thumbnails\/","af_errors_avoid_host":3,"af_task_error_retries":3,"af_task_errors_same_host":3,"af_errors_forgivetime":18000,"af_monitor_zombietime":40,"af_watch_get_events_sec":1,"af_watch_refresh_gui_sec":5,"af_watch_connectretries":3,"af_watch_render_idle_bar_max":3600,"af_db_conninfo":"host=localhost dbname=afanasy user=afadmin password=AfPassword","af_db_stringquotes":"$$","af_db_stringnamelen":512,"af_db_stringexprlen":4096,"af_sysjob_tasklife":1800,"af_sysjob_tasksmax":1000,"af_sysjob_wol_service":"wakeonlan","af_sysjob_postcmd_service":"postcmd","af_sysjob_events_service":"events","af_server_sockets_processing_threads_num":10,"af_server_sockets_readwrite_threads_num":10,"-af_server_sockets_processing_threads_stack":32768,"-af_server_sockets_readwrite_threads_stack":32768,"af_server_linux_epoll":0,"af_server_http_wait_close":1,"af_so_server_RCVTIMEO_sec":12,"af_so_server_SNDTIMEO_sec":12,"af_so_server_TCP_NODELAY":-1,"af_so_server_REUSEADDR":-1,"af_so_server_TCP_CORK":-1,"af_so_server_LINGER":-1,"af_so_client_RCVTIMEO_sec":12,"af_so_client_SNDTIMEO_sec":12,"af_so_client_TCP_NODELAY":-1,"af_so_client_REUSEADDR":-1,"af_so_client_TCP_CORK":-1,"af_so_client_LINGER":-1,"af_server_profiling_sec":1024,"af_wolwake_interval":10}},"config.json":{"cgru_config":{"af_servername":"192.168.0.240","projects_root":["\/mnt\/prj\/","\/projects\/","\/cgru\/rules_root\/"],"open_folder_cmd":"open \"@PATH@\"","pswd_visor":"1832116180fdc61b64fd978401e462e9","pswd_god":"73bcaaa458bff0d27989ed331b68b64d","":""}}},"users":[]}
#2 22:05:59.905: send 1 (1) init: {"initialize":{"url":"http://192.168.0.240/"}}
#1 22:05:59.905: recv 0 (0) start: {"upload_max_filesize":"2M","post_max_size":"8M","memory_limit":"16G","max_input_time":"60","max_execution_time":"600","version":"2.2.3\r\n","name":"192.168.0.240","software":"Apache\/2.4.33 (Win64) PHP\/7.2.5","php_version":"7.2.5","AUTH_RULES":false,"client_ip":"192.168.0.235"}
#0 22:05:59.881: send 0 (1) start: {"start":{}}
thanks
Desmond