UTF-8 Error

I have a problem with rendering to folders/files with danish characters (æ,å,ø), I haven’t noticed this before, so could it be a bug?

I have the following error message

=======================================================
Error Message
=======================================================
Exception during render: An error occurred in RenderTasks(): RenderFrame: Exception caught in 3ds max: Invalid UTF-8
   at Deadline.Plugins.ScriptPlugin.RenderTasks(String taskId, Int32 startFrame, Int32 endFrame, String& outMessage)

=======================================================
Slave Log
=======================================================
0: Task timeout is disabled.
0: Loaded job: Biped_walkcycle_test (999_050_999_1274433f)
0: INFO: StartJob: initializing script plugin 3dsmax
0: INFO: About: 3dsmax Plugin for Deadline
0: INFO: Start Job called - starting up 3dsmax plugin
0: INFO: Rendering with 3dsmax Design version: 2012
0: INFO: Build of 3dsmax to force: 64bit
0: INFO: Rendering with executable: C:\Program Files\Autodesk\3ds Max Design 2012\3dsmax.exe
0: INFO: Checking registry for 3dsmax language code
0: WARNING: Language code could not be found. Defaulting to 409 (English)
0: INFO: Language code string: enu
0: INFO: Fail on existing 3dsmax process: 0
0: INFO: Load 3dsmax timeout: 1000 seconds
0: INFO: Start job timeout: 1000 seconds
0: INFO: Progress update timeout: 8000 seconds
0: INFO: Progress update timout disabled: 0
0: INFO: Slave mode enabled: 1
0: INFO: Silent mode enabled: 0
0: INFO: Local rendering enabled: 1
0: INFO: Strict 3dsmax check enabled: 1
0: INFO:     Verifying installation of 3dsmax 2012 at C:\Program Files\Autodesk\3ds Max Design 2012
0: INFO:     Version of core.dll: 14.2.0.375
0: INFO:     Ensuring 3dsmax install is valid
0: INFO: Running 3dsmaxcmd workaround
0: INFO: 3dsmaxcmd.exe returned: P30-05-2012 10:25:39;  Error opening scene file: "C:\Program Files\Autodesk\3ds Max Design 2012\"
0: INFO: 3dsmax start up file: C:\Users\js\AppData\Local\Thinkbox\Deadline\slave\Ws-js\plugins\deadlineStartupMax2012.max
0: INFO: Using user profiles: 1
0: INFO: Using 3dsmax ini file: C:\Users\js\AppData\Local\Autodesk\3dsMaxDesign\2012 - 64bit\enu\3dsmax.ini
0: INFO: Network log file: C:\Users\js\AppData\Local\Autodesk\3dsMaxDesign\2012 - 64bit\enu\Network\Max.log
0: INFO: Plugin ini file: C:\Program Files\Autodesk\3ds Max Design 2012\plugin.ini
0: INFO: Including user profile plugin ini: C:\Users\js\AppData\Local\Autodesk\3dsMaxDesign\2012 - 64bit\enu\Plugin.UserSettings.ini
0: INFO: Lightning connection plugin: C:\Users\js\AppData\Local\Thinkbox\Deadline\slave\Ws-js\plugins\lightning64Max2012.dlx
0: INFO: 3dsmax socket connection port: 49889
0: INFO: Creating startup script: C:\Users\js\AppData\Local\Temp\lightning_startup.ms
0: INFO: Copying C:\Users\js\AppData\Local\Thinkbox\Deadline\slave\Ws-js\plugins\lightning64Max2012.dlx to C:\Users\js\AppData\Local\Thinkbox\Deadline\temp\lightning\lightning.dlx
0: INFO: Copying dl.ini to C:\Users\js\AppData\Local\Autodesk\3dsMaxDesign\2012 - 64bit\enu to workaround a problem with version 2012
0: INFO: If this fails, make sure that the necessary permissions are set on this folder to allow for this copy to take place
0: INFO: Starting monitored managed process 3dsmaxProcess
0: INFO: Any popup windows with titles matching the regular expression ".*Brazil Console.*" will be ignored
0: INFO: Any popup windows with titles matching the regular expression ".*MSP Acceleration.*" will be ignored
0: INFO: Any popup windows with titles matching the regular expression ".*FumeFX.*" will be ignored
0: INFO: Any popup windows with titles matching the regular expression ".*FumeFX Dynamics:.*" will be ignored
0: INFO: Any popup windows with titles matching the regular expression "FumeFX\s*$" will be handled by pressing "Yes"
0: INFO: Any popup windows with titles matching the regular expression ".*Maxwell Translation Window.*" will be ignored
0: INFO: Any popup windows with titles matching the regular expression ".*Import Multilight.*" will be ignored
0: INFO: Any popup windows with titles matching the regular expression ".*New updates are available - Craft Director Tools.*" will be ignored
0: INFO: Any popup windows with titles matching the regular expression "Hair Farm" will be ignored
0: INFO: Any popup windows with titles matching the regular expression "Batch Render In Progress" will be ignored
0: INFO: Any popup windows with titles matching the regular expression "Pencil" will be ignored
0: INFO: Any popup windows with titles matching the regular expression ".*VRay authorization.*" will be handled by pressing "Cancel"
0: INFO: Any popup windows with titles matching the regular expression ".*V-Ray warning.*" will be handled by pressing "OK"
0: INFO: Any popup windows with titles matching the regular expression ".*File Load: Units Mismatch.*" will be handled by pressing "Adopt the File's Unit Scale?;OK"
0: INFO: Any popup windows with titles matching the regular expression ".*File Load: Gamma & LUT Settings Mismatch.*" will be handled by pressing "Adopt the File's Gamma and LUT Settings?;OK"
0: INFO: Any popup windows with titles matching the regular expression ".*3ds Max.*" will be handled by pressing "Yes"
0: INFO: Any popup windows with titles matching the regular expression ".*Frame Rate Change.*" will be handled by pressing "OK"
0: INFO: Any popup windows with titles matching the regular expression ".*MAXScript Auto-load Script Error.*" will be handled by pressing "OK"
0: INFO: Any popup windows with titles matching the regular expression ".*Render history settings.*" will be ignored
0: INFO: Any popup windows with titles matching the regular expression ".*Render history note.*" will be ignored
0: INFO: Any popup windows with titles matching the regular expression ".*Warning - the software has encountered a problem.*" will be handled by pressing "Don't show me this error again;Continue"
0: INFO: Any popup windows with titles matching the regular expression ".*Frantic Films FPS Watchdog.*" will be handled by pressing "OK"
0: INFO: Any popup windows with titles matching the regular expression ".*Missing Dlls.*" will be handled by pressing "Cancel"
0: INFO: Any popup windows with titles matching the regular expression "Brazil r/s Rio Warning" will be handled by pressing "OK"
0: INFO: Any popup windows with titles matching the regular expression "3D Studio MAX" will be handled by pressing "OK"
0: INFO: Any popup windows with titles matching the regular expression ".*New updates are available - Craft Director Tools.*" will be handled by pressing "Cancel"
0: INFO: Any popup windows with titles matching the regular expression ".*Pop-up Note.*" will be handled by pressing "OK"
0: INFO: Any popup windows with titles matching the regular expression ".*Tablet Version Mismatch.*" will be handled by pressing "OK"
0: INFO: Any popup windows with titles matching the regular expression ".*Tablet Driver.*" will be handled by pressing "OK"
0: INFO: Any popup windows with titles matching the regular expression ".*Gather error.*" will be handled by pressing "OK"
0: INFO: Any popup windows with titles matching the regular expression ".*Image I/O Error.*" will be handled by pressing "Retry"
0: INFO: Any popup windows with titles matching the regular expression ".*Important nPower Plug-in Messages.*" will be handled by pressing "OK"
0: INFO: Any popup windows with titles matching the regular expression ".*glu3D.*" will be handled by pressing "OK"
0: INFO: Any popup windows with titles matching the regular expression ".*glu3D Warning!.*" will be handled by pressing "OK"
0: INFO: Any popup windows with titles matching the regular expression ".*Bitmap Filter Error.*" will be handled by pressing "OK"
0: INFO: Any popup windows with titles matching the regular expression ".*Maxwell Plug-in Update Notification.*" will be handled by pressing "Don't notify me about this version automatically;Close"
0: INFO: Any popup windows with titles matching the regular expression ".*RealFlow Plug-in Update Notification.*" will be handled by pressing "Don't notify me about this version automatically;Close"
0: INFO: Any popup windows with titles matching the regular expression ".*Learning Movies.*" will be handled by pressing "Show this dialog at startup;Close"
0: INFO: Any popup windows with titles matching the regular expression ".*Obsolete File.*" will be handled by pressing "Don't display this message.;OK"
0: INFO: Any popup windows with titles matching the regular expression ".*Error Loading.*" will be handled by pressing "OK"
0: INFO: Any popup windows with titles matching the regular expression ".*IO Error.*" will be handled by pressing "OK"
0: INFO: Any popup windows with titles matching the regular expression ".*Error.*" will be handled by pressing "OK"
0: INFO: Any popup windows with titles matching the regular expression ".*Loading of custom driver failed.*" will be handled by pressing "OK"
0: INFO: Any popup windows with titles matching the regular expression "Warning" will be handled by pressing "OK"
0: INFO: Any popup windows with titles matching the regular expression ".*Welcome To Vue 8 xStream!.*" will be handled by pressing "Don't show this dialog again;Close"
0: INFO: Any popup windows with titles matching the regular expression ".*Vue 8 xStream.*" will be handled by pressing "OK"
0: INFO: Any popup windows with titles matching the regular expression ".*3ds Max Performance Driver.*" will be handled by pressing "OK"
0: INFO: Any popup windows with titles matching the regular expression ".* Autodesk Customer Involvement Program.*" will be handled by pressing "OK"
0: INFO: Any popup windows with titles matching the regular expression ".*nPower Software Plugin Product Selection Dialog.*" will be handled by pressing "Solids Bundle (Solids + Translators);OK"
0: INFO: Any popup windows with titles matching the regular expression ".*Exception.*" will be handled by pressing "OK"
0: INFO: Any popup windows with titles matching the regular expression ".*DbxHost Message.*" will be handled by pressing "OK"
0: INFO: Stdout Handling Enabled: False
0: INFO: Popup Handling Enabled: True
0: INFO: Using Process Tree: True
0: INFO: Hiding DOS Window: False
0: INFO: Creating New Console: False
0: INFO: Render Executable: "C:\Program Files\Autodesk\3ds Max Design 2012\3dsmax.exe"
0: INFO: Render Argument: -p "dl.ini" -q -s "C:\Users\js\AppData\Local\Thinkbox\Deadline\slave\Ws-js\plugins\deadlineStartupMax2012.max"
0: INFO: Startup Directory: "C:\Program Files\Autodesk\3ds Max Design 2012"
0: INFO: Process Priority: BelowNormal
0: INFO: Process Affinity: default
0: INFO: Process is now running
0: INFO: Waiting for connection from 3dsmax
0: STDOUT: Dark
0: INFO: Connected to 3dsmax plugin version Lightning 5.1.0.47014 Apr 11 2012 11:42:39 R
0: INFO: Scene file to render: "C:\Users\js\AppData\Local\Thinkbox\Deadline\slave\Ws-js\jobsData\BMan0013-Phone_walkup.max"
0: INFO: Camera: "Camera001"
0: INFO: Restarting renderer after each frame: 1
0: INFO: Showing frame buffer: 0
0: INFO: Overriding render output: "X:\produkt\deadline_UTF8_prøve\More_UTF8_danish_æøå_letters_.png"
0: INFO: Frame number base: 0
0: INFO: Remove padding from output filename: 0
0: INFO: Ignore missing external file errors: 1
0: INFO: Ignore missing UVW errors: 1
0: INFO: Ignore missing XREF errors: 1
0: INFO: Ignore missing DLL errors: 0
0: INFO: Disabling Multipass: 0
0: INFO: Loading 3dsmax scene file
0: INFO: [filename] 
[format] 
[size] 640x480
[aspect] 1

0: INFO: Executing script: C:\Users\js\AppData\Local\Thinkbox\Deadline\slave\Ws-js\plugins\customize.ms
0: INFO: Applying customizations to max file...
0: INFO: >Adding scene path 'C:\Users\js\AppData\Local\Thinkbox\Deadline\slave\Ws-js\jobsData' to session paths
0: INFO: >General Renderer Settings:
0: INFO:   +Render Width set to 1200
0: INFO:   +Render Height set to 1200
0: INFO:   +Pixel Aspect set to 1.0
0: INFO:   +Atmospherics set to true
0: INFO:   +Effects set to true
0: INFO:   +Displacements set to true
0: INFO:   +Area Lights/Shadows As Points set to false
0: INFO:   +Force 2-Sided set to false
0: INFO:   +Render Hidden Geometry set to false
0: INFO:   +Video Color Check set to false
0: INFO:   +Super Black set to false
0: INFO:   +Render To Fields set to false
0: INFO:   +Skip Existing Frames set to false
0: INFO: >Bitmap Pager Settings:
0: INFO:   +Not overriding Bitmap Pager setting
0: INFO: >Render Environment Settings:
0: INFO:   +Background Color set to (color 255 255 255)
0: INFO:   +Use Environment Map set to false
0: INFO:   +Ambient Color set to (color 0 0 0)
0: INFO:   +Global Light Tint Color set to (color 255 255 255)
0: INFO:   +Global Light Level set to 1.0
0: INFO: >V-Ray detected as current renderer.
0: INFO:   +Enabled VRay silent mode
0: INFO:   +fixedRate_subdivs set to 1
0: INFO:   +twoLevel_baseSubdivs set to 1
0: INFO:   +twoLevel_fineSubdivs set to 8
0: INFO:   +adaptiveSubdivision_minRate set to -1
0: INFO:   +adaptiveSubdivision_maxRate set to 2
0: INFO:   +adaptiveSubdivision_threshold set to 0.1
0: INFO:   +adaptiveSubdivision_rand set to true
0: INFO:   +imageSampler_outline set to false
0: INFO:   +imageSampler_normal set to false
0: INFO:   +imageSamper_normal_threshold set to 0.05
0: INFO:   +filter_on set to true
0: INFO:   +filter_size set to 2.0
0: INFO:   +options_displacement set to true
0: INFO:   +options_lights set to true
0: INFO:   +options_hiddenLights set to true
0: INFO:   +options_shadows set to true
0: INFO:   +options_defaultLights set to 1
0: INFO:   +options_reflectionRefraction set to true
0: INFO:   +options_limitDepth set to false
0: INFO:   +options_maxDepth set to 2
0: INFO:   +options_maps set to true
0: INFO:   +options_filterMaps set to true
0: INFO:   +options_transpMaxLevels set to 50
0: INFO:   +options_transpCutoff set to 0.001
0: INFO:   +options_dontRenderImage set to false
0: INFO:   +options_overrideMtl_on set to false
0: INFO:   +options_showGIOnly set to false
0: INFO:   +options_ray_bias set to 0.0
0: INFO:   +options_glossyEffects set to true
0: INFO:   +gi_on set to true
0: INFO:   +gi_reflectCaustics set to false
0: INFO:   +gi_refractCaustics set to true
0: INFO:   +gi_saturation set to 1.0
0: INFO:   +gi_contrast set to 1.0
0: INFO:   +gi_contrast_base set to 0.5
0: INFO:   +gi_saveMapsPerFrame set to true
0: INFO:   +gi_irradmap_minRate set to -3
0: INFO:   +gi_irradmap_maxRate set to -2
0: INFO:   +gi_irradmap_subdivs set to 75
0: INFO:   +gi_irradmap_interpSamples set to 55
0: INFO:   +gi_irradmap_colorThreshold set to 0.3
0: INFO:   +gi_irradmap_normalThreshold set to 0.1
0: INFO:   +gi_irradmap_distThreshold set to 0.1
0: INFO:   +gi_irradmap_blurGI set to 0.0
0: INFO:   +gi_irradmap_showCalcPhase set to true
0: INFO:   +gi_irradmap_showDirectLight set to false
0: INFO:   +gi_irradmap_showSamples set to false
0: INFO:   +adv_irradmap_calcInterpSamples set to 10
0: INFO:   +adv_irradmap_randomize set to true
0: INFO:   +adv_irradmap_checkSampleVisibility set to false
0: INFO:   +adv_irradmap_dontDelete set to true
0: INFO:   +adv_irradmap_useCurrentPassSamples set to true
0: INFO:   +adv_irradmap_autoSave set to false
0: INFO:   +adv_irradmap_switchToSavedMap set to false
0: INFO:   +photonMap_bounces set to 10
0: INFO:   +photonMap_autoDist set to true
0: INFO:   +photonMap_searchDist set to 0.2
0: INFO:   +photonMap_maxPhotons set to 30
0: INFO:   +photonMap_multiplier set to 1.0
0: INFO:   +photonMap_maxDensity set to 0.0
0: INFO:   +photonMap_convert set to false
0: INFO:   +photonMap_interpSamples set to 10
0: INFO:   +photonMap_convexHullEstimate set to false
0: INFO:   +photonMap_storeDirectLight set to true
0: INFO:   +photonMap_retraceCorners set to 0.0
0: INFO:   +photonMap_retraceBounces set to 10
0: INFO:   +photonMap_dontDelete set to true
0: INFO:   +photonMap_autoSave set to false
0: INFO:   +photonMap_switchToSavedMap set to false
0: INFO:   +lightcache_subdivs set to 200
0: INFO:   +lightcache_sampleSize set to 0.02
0: INFO:   +lightcache_filter_type set to 1
0: INFO:   +lightcache_filter_size set to 0.04
0: INFO:   +lightcache_bounces set to 100
0: INFO:   +lightcache_showCalcPhase set to 1
0: INFO:   +lightcache_storeDirectLight set to 1
0: INFO:   +lightcache_scale set to 0
0: INFO:   +lightcache_mode set to 0
0: INFO:   +lightcache_interpSamples set to 10
0: INFO:   +lightcache_prefilter_on set to false
0: INFO:   +lightcache_prefilter_samples set to 10
0: INFO:   +lightcache_dontDelete set to true
0: INFO:   +lightcache_autoSave set to false
0: INFO:   +lightcache_switchToSavedMap set to false
0: INFO:   +lightcache_useForGlossyRays set to false
0: INFO:   +lightcache_numPasses set to 8
0: INFO:   +caustics_on set to false
0: INFO:   +caustics_multiplier set to 1.0
0: INFO:   +caustics_searchDist set to 0.05
0: INFO:   +caustics_maxPhotons set to 60
0: INFO:   +caustics_maxDensity set to 0.0
0: INFO:   +caustics_dontDelete set to true
0: INFO:   +casutics_autoSave set to false
0: INFO:   +caustics_switchToSavedMap set to false
0: INFO:   +environment_gi_on set to true
0: INFO:   +environment_gi_color set to (color 230 243 255)
0: INFO:   +environment_gi_color_multiplier set to 0.75
0: INFO:   +environment_gi_map_on set to true
0: INFO:   +environment_rr_on set to false
0: INFO:   +environment_rr_color set to (color 0 0 0)
0: INFO:   +environment_rr_color_multiplier set to 1.0
0: INFO:   +environment_rr_map_on set to true
0: INFO:   +colorMapping_type set to 6
0: INFO:   +colorMapping_darkMult set to 1.0
0: INFO:   +colorMapping_brightMult set to 1.0
0: INFO:   +colorMapping_affectBackground set to true
0: INFO:   +colorMapping_clampOutput set to false
0: INFO:   +camera_type set to 0
0: INFO:   +camera_overrideFOV set to false
0: INFO:   +camera_fov set to 45.0
0: INFO:   +camera_cyl_height set to 400.0
0: INFO:   +camera_fish_autoDistance set to true
0: INFO:   +camera_fish_distance set to 2.0
0: INFO:   +camera_fish_curve set to 1.0
0: INFO:   +dof_on set to false
0: INFO:   +dof_shutter set to 0.05
0: INFO:   +dof_bias set to 0.0
0: INFO:   +dof_distance set to 2.0
0: INFO:   +dof_getFromCamera set to false
0: INFO:   +dof_sides_on set to false
0: INFO:   +dof_sides_num set to 5
0: INFO:   +dof_sides_rotation set to 0.0
0: INFO:   +dof_anisotropy set to 0.0
0: INFO:   +dof_subdivs set to 6
0: INFO:   +moblur_on set to false
0: INFO:   +moblur_duration set to 1.0
0: INFO:   +moblur_intervalCenter set to 0.5
0: INFO:   +moblur_bias set to 0.0
0: INFO:   +moblur_prepassSamples set to 1
0: INFO:   +moblur_geometryParticles set to false
0: INFO:   +moblur_geomSamples set to 2
0: INFO:   +dmc_earlyTermination_amount set to 1.0
0: INFO:   +dmc_earlyTermination_threshold set to 0.01
0: INFO:   +dmc_timeDependent set to true
0: INFO:   +dmc_earlyTermination_minSamples set to 8
0: INFO:   +dmc_subdivs_mult set to 0.01
0: INFO:   +displacement_overrideMax set to true
0: INFO:   +displacement_edgeLength set to 4.0
0: INFO:   +displacement_viewDependent set to true
0: INFO:   +displacement_maxSubdivs set to 256
0: INFO:   +displacement_tightBounds set to true
0: INFO:   +displacement_amount set to 1.0
0: INFO:   +displacement_relative set to true
0: INFO:   +system_raycaster_maxLevels set to 80
0: INFO:   +system_raycaster_minLeafSize set to 0.0
0: INFO:   +system_raycaster_faceLevelCoeff set to 1.0
0: INFO:   +system_region_x set to 64
0: INFO:   +system_region_y set to 64
0: INFO:   +system_region_meaning set to 0
0: INFO:   +system_region_sequence set to 4
0: INFO:   +system_region_sequence_reverse set to 0
0: INFO:   +system_previousRender set to 0
0: INFO:   +system_frameStamp_on set to false
0: INFO:   +system_frameStamp_string set to %filename     | render time: %rendertime
0: INFO:   +system_frameStamp_fullWidth set to true
0: INFO:   +system_frameStamp_justify set to 0
0: INFO:   +system_workInCameraSpace set to true
0: INFO:   +system_instancedObjects set to 2
0: INFO:   +system_checkForMissingFiles set to false
0: INFO:   +system_optimizedAtmospherics set to false
0: INFO:   +system_lowThreadPriority set to false
0: INFO:   +system_vrayLog_show set to false
0: INFO:   +system_vrayLog_level set to 3
0: INFO:   +system_raycaster_memLimit set to 4800
0: INFO:   +system_vrayLog_file set to c:\VRayLog.txt
0: INFO:   +output_on set to true
0: INFO:   +output_useram set to true
0: INFO:   +output_getsetsfrommax set to true
0: INFO:   +output_width set to 640
0: INFO:   +output_height set to 480
0: INFO:   +output_aspect set to 1.0
0: INFO:   +output_saveRawFile set to false
0: INFO:   +output_genpreview set to false
0: INFO:   +output_splitgbuffer set to false
0: INFO:   +output_splitRGB set to true
0: INFO:   +output_splitAlpha set to true
0: INFO:   +Image Sampler set to Adaptive QMC
0: INFO:   +Primary Bounces GI Engine set to Quasi-Monte Carlo
0: INFO:   +Primary Secondary GI Engine set to Quasi-Monte Carlo
0: INFO:   +Adv.Irradiance Map Interpolation Type set to Least squares fit (good/smooth)
0: INFO:   +Adv.Irradiance Map Sample Lookup set to Density-based (best)
0: INFO:   +Region Sequence set to Triangulation
0: INFO:   +Frame Stamp Justify set to Left
0: INFO: >Performing XREF workaround...
0: INFO: >Scanning Renderer Paths...
0: INFO: >Done Scanning Renderer Paths.
0: Plugin rendering frame(s): 0
0: INFO: Render Tasks called


=======================================================
Error Type
=======================================================
RenderPluginException

=======================================================
Error Stack Trace
=======================================================
   at Deadline.Plugins.Plugin.RenderTask(String taskId, Int32 startFrame, Int32 endFrame)
   at Deadline.Slaves.SlaveRenderThread.RenderCurrentTask(TaskLogWriter tlw)

Yup, this is a bug. We were able to reproduce the same problem here by putting ‘æ’ in an output path.

We’ve fixed the problem internally, and it will be included in the upcoming Deadline 5.2 release. The beta is open, if you’re interested in joining:
viewtopic.php?f=10&t=7543

We’ll be including the fix in the beta 4 release, which we hope to get out next week.

Thanks for reporting this!

  • Ryan