(03-14-2023, 09:56 AM)Albert Wrote:Thank you for your feedback.
Does it work if you simply use an older version of pymodbus?
Yes it does! Pymodbus 2.5.3 is good to use there. A good tips to the other Parallells users out there who wants to use TM Flow with the listen node, use bridged network mode on Parallels, and make sure to remember the previous/original IP adresses, DNS servers, submasks etc. I gave myself a lot of extra work there.
但后来我得到下一个problem, haha! Today I have tried only with the computer, so no Parallels, as I do not have the physical robot beside me until Thursday. It seems now that the problem left is the post-processor? I have tried with the different programs and robots from the training sessions. The other robots work fine, I get the script, simulation, generate programs and everything.
But with three different TMs, I have gotten two different outputs (probably because one has an output to give), when I press "Generate program as". I have tried all the different Omron post processors and all Techman post processors. On my program and 07H - Robot Sync - Depalletizing, I get this:
Failed to generate program "Rob1Depalletizing" using the Post Processor "Omron"
Post processor path:/Users/marianneandersen/RoboDK/RoboDK.app/Contents/Posts/Omron.py
2023-03-14 13:59:04.067 python3[8419:200361] +[CATransaction synchronize] called within transaction
Python Post Processor process exit code: 0
On the program 07E - Simulation tool, I get this:
Failed to generate program "MainProgram" using the Post Processor "Omron_FerRobotics"
Post processor path:/Users/marianneandersen/RoboDK/RoboDK.app/Contents/Posts/Omron_FerRobotics.py
2023-03-14 14:00:50.666 python3[8434:201374] +[CATransaction synchronize] called within transaction
Process output:
Using Python version: sys.version_info(major=3, minor=9, micro=13, releaselevel='final', serial=0)
RoboDK Post Processor: /Users/marianneandersen/RoboDK/RoboDK.app/Contents/Posts
Total instructions: 296
Done instruction: 50
Done instruction: 100
Done instruction: 150
Done instruction: 200
Done instruction: 250
Python Post Processor process exit code: 0
I tried researching the error, and short said, it boils down to a bug in MacOs Ventura(13+). I will try to see if I can find something, but if you guys know anything there it would be super nice. Let me know if you need any reports or anything! Short summary of conclusion from Stackoverflow:
"Unfortunately it is a[color=var(--theme-link-color-visited)]bugthat arose in macOS Ventura (13.0+).
[/ color]
The bug arises from[color=var(--theme-link-color-visited)]NSOpenPanel, the builtin API for creating file dialogs, and throws a message straight to the stderr of the process.[/ color]
Bug reports were opened in multiple languages, among them [url=https://github.com/python/cpython/issues/101895] Python, but it is up to Apple to fix it.
You can attempt a workaround by changing the default stderr of the Python executable and filtering those messages out, but frankly I'd just leave it as is."
Edit: I found this on the apple developer forum, some have found that reverting the mysql back to 8.0.31 is working. I can't do that, but maybe something for you to look in to:
https://developer.apple.com/forums/thread/724378