SOLVED c4dpy not working on Windows 10

Hello guys!
I have Cinema 4D R20.059 installed and c4dpy.exe updated to latest R20 release.
A some time ago everything was fine but now c4dpy.exe seems to not working with any command. 🤔

6279b770-d2e1-4aad-a739-f09bcbf5d81b-image.png

With R21 it works:
b55e2588-26f3-469e-8dba-e84eea222345-image.png

c4dpy is version-specific. Since in Release R20 it was not part of the bundle you should download it from https://developers.maxon.net/?page_id=1118 with the matching R20 version you have.

Cheers,
Maxime.

Sure! I know it perfectly. But in case wrong version Cinema4D.exe c4dpy outputs error messages, but i have nothing.
797d4958-35e9-4f85-a573-eae8723b968d-image.png

What's your specific version of Windows 10?
Can you try to clean the Cinema 4D preference folder.
Did you already licensed the 20 cinema 4D application? If not could you try to launch Cinema 4D first license it then relaunch c4dpy.

If it does nothing can you launch c4dpy with the g_console=true parameter and copy the output data.

Cheers,
Maxime.

Hm, after removing folder c:\Program Files\MAXON\Cinema 4D R20\plugins\Redshift
c4dpy works!🤔

ced3f915-3a1a-4a3d-967c-dc3b0cbec308-image.png

Thanks for the info can you try to launch c4dpy with redshift and with c4dpy g_disableConsoleOutput=false and paste the content.

Does the CommandLine works with the redshift plugin?

Thanks in advance.
Cheers,
Maxime.

@m_adam
Sure! Take it in attachement.
c4dpy_output_log.txt

@m_adam

Does the CommandLine works with the redshift plugin?

Did you mean c:\Program Files\MAXON\Cinema 4D R20\Commandline.exe?

Hi, could you run g_disableConsoleOutput=false With Redshift installed so this way c4dpy does not launch correctly.

@mikeudin said in c4dpy not working on Windows 10:

Did you mean c:\Program Files\MAXON\Cinema 4D R20\Commandline.exe?

Yes

@m_adam Ok, done. With Redshift installed:
c4dpy_output_log.txt

CommandLine.exe log:
commandline_output_log.txt

Which version of Redshift are you using?

@m_adam v2.6.41

@m_adam After installing v2.6.48 c4dpy works fine.

C:\Users\mikeu>"c:\Program Files\MAXON\Cinema 4D R20\c4dpy.exe" g_disableConsoleOutput=false
Application start      : 12/04/19 at 11:53:39
Executable             : 64 Bit
Version / Build        : 20.059 / RB272827
Debugger               : not available
Memory model           : release
Startup path           : file:///c:/Program Files/MAXON/Cinema 4D R20
Application path       : file:///c:/Program Files/MAXON/Cinema 4D R20/c4dpy.exe
Application executable : file:///c:/Program Files/MAXON/Cinema 4D R20/c4dpy.exe
Resource path          : file:///c:/Program Files/MAXON/Cinema 4D R20/resource
Module path(s)         : file:///c:/Program Files/MAXON/Cinema 4D R20/corelibs; file:///c:/Program Files/MAXON/Cinema 4D R20/plugins; file:///C:/Users/mikeu/AppData/Roaming/MAXON/Cinema 4D R20_4FA5020E/plugins; file:///D:/Dropbox/Developer/Plugins/SendPythonCode; file:///D:/Dropbox/Developer/TestingProjects/File Sequence Exporter; file:///D:/Dropbox/Developer/Plugins/Target4D/Dev/1.5
Temporary path         : file:///C:/Users/mikeu/AppData/Local/Temp
Prefs path             : file:///C:/Users/mikeu/AppData/Roaming/MAXON/Cinema 4D R20_4FA5020E
Global Prefs path      : file:///C:/Users/mikeu/AppData/Roaming/MAXON
OS version             : Windows 10, 64 Bit, Professional Edition (build 18362)
OS languages           : {ru-RU,en-US}
App languages          : {en-US,ru-RU}
Startup language       : en-US
Processor              : 4(8)x Intel Core i7-4770 CPU
Computer name          : DESKTOP-60OMRSJ
Thread Count           : 8
Cpu Speed (MHz)        : 3400.000
Application Type       : Modular
Command line arguments : "g_disableConsoleOutput=false"

Loading file:///c:/Program Files/MAXON/Cinema 4D R20/corelibs/asset.module.xdl64 with module(s) net.maxon.asset
Loading file:///c:/Program Files/MAXON/Cinema 4D R20/corelibs/c4dplugin.xdl64 with module(s) net.maxon.c4dplugin net.maxon.c4d.c4dplugin
Loading file:///c:/Program Files/MAXON/Cinema 4D R20/corelibs/command.module.xdl64 with module(s) net.maxon.command
Loading file:///c:/Program Files/MAXON/Cinema 4D R20/corelibs/corenodes.module.xdl64 with module(s) net.maxon.corenodes
Loading file:///c:/Program Files/MAXON/Cinema 4D R20/corelibs/crashhandler.module.xdl64 with module(s) net.maxon.crashhandler
Loading file:///c:/Program Files/MAXON/Cinema 4D R20/corelibs/crypt.module.xdl64 with module(s) net.maxon.crypt
Loading file:///c:/Program Files/MAXON/Cinema 4D R20/corelibs/drawport.module.xdl64 with module(s) net.maxon.drawport
Loading file:///c:/Program Files/MAXON/Cinema 4D R20/corelibs/drawport_functioncache.module.xdl64 with module(s) net.maxon.drawport_functioncache
Loading file:///c:/Program Files/MAXON/Cinema 4D R20/corelibs/drawport_general.module.xdl64 with module(s) net.maxon.drawport_general
Loading file:///c:/Program Files/MAXON/Cinema 4D R20/corelibs/drawport_opengl.module.xdl64 with module(s) net.maxon.drawport_opengl
Loading file:///c:/Program Files/MAXON/Cinema 4D R20/corelibs/drawport_selector.module.xdl64 with module(s) net.maxon.drawport_selector
Loading file:///c:/Program Files/MAXON/Cinema 4D R20/corelibs/embree.module.xdl64 with module(s) net.maxon.embree
Loading file:///c:/Program Files/MAXON/Cinema 4D R20/corelibs/geom.module.xdl64 with module(s) net.maxon.geom
Loading file:///c:/Program Files/MAXON/Cinema 4D R20/corelibs/glclvk_trace.module.xdl64 with module(s) net.maxon.glclvk_trace
Loading file:///c:/Program Files/MAXON/Cinema 4D R20/corelibs/gui.module.xdl64 with module(s) net.maxon.gui
Loading file:///c:/Program Files/MAXON/Cinema 4D R20/corelibs/image.module.xdl64 with module(s) net.maxon.image
Loading file:///c:/Program Files/MAXON/Cinema 4D R20/corelibs/image_openexr.module.xdl64 with module(s) net.maxon.image_openexr
Loading file:///c:/Program Files/MAXON/Cinema 4D R20/corelibs/image_winmf.module.xdl64 with module(s) net.maxon.image_winmf
Loading file:///c:/Program Files/MAXON/Cinema 4D R20/corelibs/math.module.xdl64 with module(s) net.maxon.math
Loading file:///c:/Program Files/MAXON/Cinema 4D R20/corelibs/mesh.module.xdl64 with module(s) net.maxon.mesh
Loading file:///c:/Program Files/MAXON/Cinema 4D R20/corelibs/misc.module.xdl64 with module(s) net.maxon.misc
Loading file:///c:/Program Files/MAXON/Cinema 4D R20/corelibs/mvp.module.xdl64 with module(s) net.maxon.mvp
Loading file:///c:/Program Files/MAXON/Cinema 4D R20/corelibs/network.module.xdl64 with module(s) net.maxon.network
Loading file:///c:/Program Files/MAXON/Cinema 4D R20/corelibs/nodes.module.xdl64 with module(s) net.maxon.nodes
Loading file:///c:/Program Files/MAXON/Cinema 4D R20/corelibs/nodes_corenodes.module.xdl64 with module(s) net.maxon.nodes_corenodes
Loading file:///c:/Program Files/MAXON/Cinema 4D R20/corelibs/opencl.module.xdl64 with module(s) net.maxon.opencl
Loading file:///c:/Program Files/MAXON/Cinema 4D R20/corelibs/opensubdiv.module.xdl64 with module(s) net.maxon.opensubdiv
Loading file:///c:/Program Files/MAXON/Cinema 4D R20/corelibs/pythonconfig.module.xdl64 with module(s) net.maxon.pythonconfig
Loading file:///c:/Program Files/MAXON/Cinema 4D R20/corelibs/pythonvm.module.xdl64 with module(s) net.maxon.pythonvm
Loading file:///c:/Program Files/MAXON/Cinema 4D R20/corelibs/reflection.module.xdl64 with module(s) net.maxon.reflection
Loading file:///c:/Program Files/MAXON/Cinema 4D R20/corelibs/render.module.xdl64 with module(s) net.maxon.render
Loading file:///c:/Program Files/MAXON/Cinema 4D R20/corelibs/shaderbase.module.xdl64 with module(s) net.maxon.shaderbase
Loading file:///c:/Program Files/MAXON/Cinema 4D R20/corelibs/shadernodes.module.xdl64 with module(s) net.maxon.shadernodes
Loading file:///c:/Program Files/MAXON/Cinema 4D R20/corelibs/tessellation.module.xdl64 with module(s) net.maxon.tessellation
Loading file:///c:/Program Files/MAXON/Cinema 4D R20/corelibs/cadexchangeconfig.xdl64 with module(s) net.maxon.c4d.cadexchangeconfig
Loading file:///c:/Program Files/MAXON/Cinema 4D R20/corelibs/houdiniconfig.xdl64 with module(s) net.maxon.c4d.houdiniconfig
Loading file:///c:/Program Files/MAXON/Cinema 4D R20/corelibs/addons.xdl64 with module(s) net.maxon.c4d.addons
Loading file:///c:/Program Files/MAXON/Cinema 4D R20/corelibs/advanced render.xdl64 with module(s) net.maxon.c4d.advancedrender
Loading file:///c:/Program Files/MAXON/Cinema 4D R20/corelibs/alembic.xdl64 with module(s) net.maxon.c4d.alembic
Loading file:///c:/Program Files/MAXON/Cinema 4D R20/corelibs/archigrass.xdl64 with module(s) net.maxon.c4d.archigrass
Loading file:///c:/Program Files/MAXON/Cinema 4D R20/corelibs/bitmapfilter.xdl64 with module(s) net.maxon.c4d.bitmapfilter
Loading file:///c:/Program Files/MAXON/Cinema 4D R20/corelibs/bpexchange.xdl64 with module(s) net.maxon.c4d.bpexchange
Loading file:///c:/Program Files/MAXON/Cinema 4D R20/corelibs/browser.xdl64 with module(s) net.maxon.c4d.browser
Loading file:///c:/Program Files/MAXON/Cinema 4D R20/corelibs/ca.xdl64 with module(s) net.maxon.c4d.ca
Loading file:///c:/Program Files/MAXON/Cinema 4D R20/corelibs/ca2.xdl64 with module(s) net.maxon.c4d.ca2
Loading file:///c:/Program Files/MAXON/Cinema 4D R20/corelibs/cadexchange.xdl64 with module(s) net.maxon.c4d.cadexchange
Loading file:///c:/Program Files/MAXON/Cinema 4D R20/corelibs/clothilde.xdl64 with module(s) net.maxon.c4d.clothilde
Loading file:///c:/Program Files/MAXON/Cinema 4D R20/corelibs/collada14.xdl64 with module(s) net.maxon.c4d.collada14
Loading file:///c:/Program Files/MAXON/Cinema 4D R20/corelibs/collada15.xdl64 with module(s) net.maxon.c4d.collada15
Loading file:///c:/Program Files/MAXON/Cinema 4D R20/corelibs/colorchoosergui.xdl64 with module(s) net.maxon.c4d.colorchoosergui
Loading file:///c:/Program Files/MAXON/Cinema 4D R20/corelibs/compositing.xdl64 with module(s) net.maxon.c4d.compositing
Loading file:///c:/Program Files/MAXON/Cinema 4D R20/corelibs/dwg.xdl64 with module(s) net.maxon.c4d.dwg
Loading file:///c:/Program Files/MAXON/Cinema 4D R20/corelibs/dwgobjects.xdl64 with module(s) net.maxon.c4d.dwgobjects
Loading file:///c:/Program Files/MAXON/Cinema 4D R20/corelibs/dynamics.xdl64 with module(s) net.maxon.c4d.dynamics
Loading file:///c:/Program Files/MAXON/Cinema 4D R20/corelibs/exchanges.xdl64 with module(s) net.maxon.c4d.exchanges
Loading file:///c:/Program Files/MAXON/Cinema 4D R20/corelibs/expressiontag.xdl64 with module(s) net.maxon.c4d.expressiontag
Loading file:///c:/Program Files/MAXON/Cinema 4D R20/corelibs/fbx.xdl64 with module(s) net.maxon.c4d.fbx
Loading file:///c:/Program Files/MAXON/Cinema 4D R20/corelibs/gpurenderer.xdl64 with module(s) net.maxon.c4d.gpurenderer
Loading file:///c:/Program Files/MAXON/Cinema 4D R20/corelibs/hair.xdl64 with module(s) net.maxon.c4d.hair
Loading file:///c:/Program Files/MAXON/Cinema 4D R20/corelibs/i_skp.xdl64 with module(s) net.maxon.c4d.i_skp
Loading file:///c:/Program Files/MAXON/Cinema 4D R20/corelibs/iges.xdl64 with module(s) net.maxon.c4d.iges
Loading file:///c:/Program Files/MAXON/Cinema 4D R20/corelibs/io_obj.xdl64 with module(s) net.maxon.c4d.io_obj
Loading file:///c:/Program Files/MAXON/Cinema 4D R20/corelibs/licenseserver.xdl64 with module(s) net.maxon.c4d.licenseserver
Loading file:///c:/Program Files/MAXON/Cinema 4D R20/corelibs/metrics.xdl64 with module(s) net.maxon.c4d.metrics
Loading file:///c:/Program Files/MAXON/Cinema 4D R20/corelibs/mkmodeler.xdl64 with module(s) net.maxon.c4d.mkmodeler
Loading file:///c:/Program Files/MAXON/Cinema 4D R20/corelibs/mocca.xdl64 with module(s) net.maxon.c4d.mocca
Loading file:///c:/Program Files/MAXON/Cinema 4D R20/corelibs/model.xdl64 with module(s) net.maxon.c4d.model
Loading file:///c:/Program Files/MAXON/Cinema 4D R20/corelibs/mograph.xdl64 with module(s) net.maxon.c4d.mograph
Loading file:///c:/Program Files/MAXON/Cinema 4D R20/corelibs/motioncam.xdl64 with module(s) net.maxon.c4d.motioncam
Loading file:///c:/Program Files/MAXON/Cinema 4D R20/corelibs/motiontracker.xdl64 with module(s) net.maxon.c4d.motiontracker
Loading file:///c:/Program Files/MAXON/Cinema 4D R20/corelibs/nbp.xdl64 with module(s) net.maxon.c4d.nbp
Loading file:///c:/Program Files/MAXON/Cinema 4D R20/corelibs/newman.xdl64 with module(s) net.maxon.c4d.newman
Loading file:///c:/Program Files/MAXON/Cinema 4D R20/corelibs/nodeeditor.xdl64 with module(s) net.maxon.c4d.nodeeditor
Loading file:///c:/Program Files/MAXON/Cinema 4D R20/corelibs/objects.xdl64 with module(s) net.maxon.c4d.objects
Loading file:///c:/Program Files/MAXON/Cinema 4D R20/corelibs/onlinehelp.xdl64 with module(s) net.maxon.c4d.onlinehelp
Loading file:///c:/Program Files/MAXON/Cinema 4D R20/corelibs/onlineupdater.xdl64 with module(s) net.maxon.c4d.onlineupdater
Loading file:///c:/Program Files/MAXON/Cinema 4D R20/corelibs/python.xdl64 with module(s) net.maxon.c4d.python
Loading file:///c:/Program Files/MAXON/Cinema 4D R20/plugins/Redshift/redshift4c4d.xdl64 with module(s) com.redshift3d.redshift4c4d
Loading file:///c:/Program Files/MAXON/Cinema 4D R20/corelibs/relaxuv.xdl64 with module(s) net.maxon.c4d.relaxuv
Loading file:///c:/Program Files/MAXON/Cinema 4D R20/corelibs/sculpt.xdl64 with module(s) net.maxon.c4d.sculpt
Loading file:///c:/Program Files/MAXON/Cinema 4D R20/corelibs/sculptbrushes.xdl64 with module(s) net.maxon.c4d.sculptbrushes
Loading file:///c:/Program Files/MAXON/Cinema 4D R20/corelibs/shader.xdl64 with module(s) net.maxon.c4d.shader
Loading file:///c:/Program Files/MAXON/Cinema 4D R20/corelibs/sketch.xdl64 with module(s) net.maxon.c4d.sketch
Loading file:///c:/Program Files/MAXON/Cinema 4D R20/corelibs/sky.xdl64 with module(s) net.maxon.c4d.sky
Loading file:///c:/Program Files/MAXON/Cinema 4D R20/corelibs/sla.xdl64 with module(s) net.maxon.c4d.sla
Loading file:///c:/Program Files/MAXON/Cinema 4D R20/corelibs/spacemouse.xdl64 with module(s) net.maxon.c4d.spacemouse
Loading file:///c:/Program Files/MAXON/Cinema 4D R20/corelibs/substance.xdl64 with module(s) net.maxon.c4d.substance
Loading file:///c:/Program Files/MAXON/Cinema 4D R20/corelibs/teamrender.xdl64 with module(s) net.maxon.c4d.teamrender
Loading file:///c:/Program Files/MAXON/Cinema 4D R20/corelibs/texturemanager.xdl64 with module(s) net.maxon.c4d.texturemanager
Loading file:///c:/Program Files/MAXON/Cinema 4D R20/corelibs/thinking particles.xdl64 with module(s) net.maxon.c4d.thinkingparticles
Loading file:///c:/Program Files/MAXON/Cinema 4D R20/corelibs/tpoperators.xdl64 with module(s) net.maxon.c4d.tpoperators
Loading file:///c:/Program Files/MAXON/Cinema 4D R20/corelibs/volumes.xdl64 with module(s) net.maxon.c4d.volumes
Loading file:///c:/Program Files/MAXON/Cinema 4D R20/corelibs/walkthrough.xdl64 with module(s) net.maxon.c4d.walkthrough
Loading file:///c:/Program Files/MAXON/Cinema 4D R20/corelibs/xpressocore.xdl64 with module(s) net.maxon.c4d.xpressocore
Loading file:///c:/Program Files/MAXON/Cinema 4D R20/corelibs/xtensions.xdl64 with module(s) net.maxon.c4d.xtensions
>Loaded... QCmds 0.22 by Johannes Kollender (http://www.kollender.com)
Binding Remote Code Executor Server to localhost:2900 ...
File Sequence Exporter 1.1 initialized.
Target4D 1.5.0 initialized successfully
0@0<5B@
Welcome to the world of C4D and Python 2.7.14 (default, May  3 2018, 18:05:57) [MSC v.1500 64 bit (AMD64)] (c) 2019

>>>