Author Topic: Scripts not working in Linux mint 21  (Read 371 times)

Offline MIKET1706

  • Ewok
  • *
  • Posts: 6
    • View Profile
Scripts not working in Linux mint 21
« on: October 09, 2022, 00:36:41 am »
I can't get any of the supplied scripts to work in Linux Mint 21.
Cambam will close down after entering F5.
A Mono crash report is created, Please see attached for results after trying to run Gear Animate.

Also, I wish to state how much I like CamBam.
One of the best investments I made.

Looking forward to any sage advice.
Sincerely,
Mike T.

Offline dh42

  • Administrator
  • CNC Jedi
  • *****
  • Posts: 7048
    • View Profile
    • Cambam V1.0 French Doc
Re: Scripts not working in Linux mint 21
« Reply #1 on: October 09, 2022, 14:59:12 pm »
Hello

Maybe the examples are different in Linux insta, but on Windows I can't find a "gear animate" script  ???

Note that Linux version can only run Python scripts (.py), .vbs scripts (basic) are not supported by Linux.

++
David

Offline MIKET1706

  • Ewok
  • *
  • Posts: 6
    • View Profile
Re: Scripts not working in Linux mint 21
« Reply #2 on: October 09, 2022, 19:03:57 pm »
Hi David,
Thank you for your reply.
None of the Python scripts work.
Cambam closes down after hitting F5.
I rechecked my Mono install complete and it looks ok.
This is the version I am using,
mono --version
Mono JIT compiler version 6.8.0.105 (Debian 6.8.0.105+dfsg-3.2 Wed Jun 30 05:34:49 UTC 2021)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
   TLS:           __thread
   SIGSEGV:       altstack
   Notifications: epoll
   Architecture:  amd64
   Disabled:      none
   Misc:          softdebug
   Interpreter:   yes
   LLVM:          supported, not enabled.
   Suspend:       hybrid
   GC:            sgen (concurrent by default)

The only issue I could find that maybe related is, when I go to TOOLS- BROWSE SYSTEM FOLDER, I get popup stating " cannot find the specified file".
I assume the specified file is the config file folder ({$user}/CamBam plus 1.0/)
The pathway looks correct.

I hoped that other Linux users had similar problem and found solution.
Searching the Forum came up with empty.
It is not a deal breaker for me but I do like to try and solve these kind of mysteries.
Sincerely,
MikeT


Offline EddyCurrent

  • CNC Jedi
  • *****
  • Posts: 5115
  • Made in England
    • View Profile
Re: Scripts not working in Linux mint 21
« Reply #3 on: October 09, 2022, 19:35:08 pm »
The animated gear uses a 'Script Enity' which is different to a 'script'

Try running the sample script called "boingy.py"
Filmed in Supermarionation

Offline MIKET1706

  • Ewok
  • *
  • Posts: 6
    • View Profile
Re: Scripts not working in Linux mint 21
« Reply #4 on: October 09, 2022, 21:53:10 pm »
Hi EddyCurrent,
Thank you for the reply.
I tried running boingy.py
No luck. Cambam shuts down, no error messages.
A Mono crash report is created, Please see attached txt file.
Sincerely,
MikeT

Offline dave benson

  • CNC Jedi
  • *****
  • Posts: 1686
    • View Profile
Re: Scripts not working in Linux mint 21
« Reply #5 on: October 09, 2022, 23:03:21 pm »
HI Mike

Quote
The only issue I could find that maybe related is, when I go to TOOLS- BROWSE SYSTEM FOLDER, I get popup stating " cannot find the specified file".
I assume the specified file is the config file folder ({$user}/CamBam plus 1.0/)
The pathway looks correct.


Download and extract the following to the ~/.config folder : ~/.config/CamBam plus 1.0

Try this.
Dave

Offline MIKET1706

  • Ewok
  • *
  • Posts: 6
    • View Profile
Re: Scripts not working in Linux mint 21
« Reply #6 on: October 10, 2022, 06:55:42 am »
Hi Dave,
Thanks for the reply.
Sorry,  I do not see any attachment.
Thanks
MikeT

Offline dave benson

  • CNC Jedi
  • *****
  • Posts: 1686
    • View Profile
Re: Scripts not working in Linux mint 21
« Reply #7 on: October 10, 2022, 07:38:47 am »
HI Mike

Sorry Mike there was no attachment, I was highlighting why CB could not find
the directory (the system folder), It looks like you have installed CB in a different
folder to what’s in the instructions. That’s where the line is from.

Dave

Offline MIKET1706

  • Ewok
  • *
  • Posts: 6
    • View Profile
Re: Scripts not working in Linux mint 21
« Reply #8 on: October 11, 2022, 01:22:09 am »
Hi Dave,
Thanks for the clarification.
I went through complete uninstall and reinstall, paying close attention the instructions.
Same result, .py  scripts not working and  "Browse system file- cannot find specified file" on Linux Mint 21
However, I got it to work fine on Linux Mint 19.3.

Thank you all who replied to my inquiry.
I owe everyone a beer.

Sincerely,
MikeT

Offline Dragonfly

  • CNC Jedi
  • *****
  • Posts: 2576
    • View Profile
Re: Scripts not working in Linux mint 21
« Reply #9 on: October 11, 2022, 12:43:43 pm »
I am with Ubuntu 18.04 (Mate desktop) and Python scrips work just fine.
FWIW I froze the Mono version to 5.12 because later versions gave various problems.
This configuration works for me and there are minor glitches perhaps due to CamBam for Linux itself.

Maybe yours is not working because CB has not been recompiled against a newer distribution. Also Ubuntu made some changes to Python default installation.

Offline MIKET1706

  • Ewok
  • *
  • Posts: 6
    • View Profile
Re: Scripts not working in Linux mint 21
« Reply #10 on: October 11, 2022, 17:49:06 pm »
Hi Dragonfly,

Quote
Maybe yours is not working because CB has not been recompiled against a newer distribution. Also Ubuntu made some changes to Python default installation.

I agree, it is probably the Mint 21 distro causing issues.
Guess I will revert back to Mint 19.3, as it works there.
Thanks for your input.
Sincerely,
MikeT