topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Thursday March 28, 2024, 10:15 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Last post Author Topic: FARR Plugin: FCalc v1.12 (Mar 25, 2015)  (Read 117043 times)

ayryq

  • Supporting Member
  • Joined in 2009
  • **
  • Points: 101
  • Posts: 289
    • View Profile
    • Donate to Member
Re: FARR Plugin: FCalc v1.12 (Mar 25, 2015)
« Reply #100 on: October 19, 2015, 04:38 PM »
I've not had any problems, but I just checked and troubleshooting log is enabled (is that the default?). I just turned it off on one computer to see if it crashes.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: FARR Plugin: FCalc v1.12 (Mar 25, 2015)
« Reply #101 on: October 19, 2015, 04:50 PM »
Not heard of this before but win10 is new territory... can you reproduce the problem reliably on a specific set of actions?

IainB

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 7,540
  • @Slartibartfarst
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: FARR Plugin: FCalc v1.12 (Mar 25, 2015)
« Reply #102 on: October 20, 2015, 02:12 AM »
I have FARR with FCalc installed, under Win10 Pro, and experience no problems. Seems to work just fine.
I should add that FARR is installed NOT in a C:/Program Files... directory, but in a separate subdirectory C:/UTIL/.../FARR, and the FARR plugins are installed in a subdirectory to .../FARR/...

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: FARR Plugin: FCalc v1.12 (Mar 25, 2015)
« Reply #103 on: October 20, 2015, 08:21 AM »
I have FARR with FCalc installed, under Win10 Pro, and experience no problems. Seems to work just fine.

this could be the key -- it may be that fcalc is trying to save its history/settings in a directory it's not supposed to on a normal install, and that win8 put up with it, but win10 isn't..

IainB

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 7,540
  • @Slartibartfarst
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: FARR Plugin: FCalc v1.12 (Mar 25, 2015)
« Reply #104 on: October 21, 2015, 03:55 AM »
^^ Yes, that's why I thought I should mention it. After a bit of trial and error, trying to get around Win10's security policy seeming to have a fascistic dislike of anything that tries to edit files in a C:/Program Files sub-directory, I have found it's quickest to simply install my "non-standard" programs in some other directory.
For some time now I've found that installs outside of C:/Program Files tend to be more certainly under the user's control and more likely to be able to work without failure.

ghfhhghdfghghghsa

  • Supporting Member
  • Joined in 2012
  • **
  • default avatar
  • Posts: 6
    • View Profile
    • Donate to Member
Re: FARR Plugin: FCalc v1.12 (Mar 25, 2015)
« Reply #105 on: October 22, 2015, 04:35 AM »
Exiting the application seems to be a good trigger, I'd say 95% of the time when right clicking the tray icon and selecting "Exit Find and Run Robot" I get the exception, but only when FCalc is installed and the troubleshooting log is disabled. The exception pops up 6 times - always the same addresses, then a popup saying "Abnormal program termination". It could actually be 100% of the time, but I'm not certain of that. I'm running portable off a USB stick. The very same stick works without issue on Windows 8, I switch between a few different systems, it's only the Windows 10 installs that are a problem. It does the same thing when run elevated.

It's probably not a big deal, the primary reason it annoys me is because I run off a USB stick. I exit FARR when I need to eject the stick (usually in a hurry), and it crashes almost every time. I disable the troubleshooting log because I sync the USB stick, and I like to keep the list of files that have to be synced every time to a minimum.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: FARR Plugin: FCalc v1.12 (Mar 25, 2015)
« Reply #106 on: October 23, 2015, 01:56 PM »
and the troubleshooting log is disabled.

that might be a good clue -- it sounds like maybe i just overlooked some code trying to write to the non-existent troubleshooting log.
ill see if i can figure out why that might be and fix it.

ghfhhghdfghghghsa

  • Supporting Member
  • Joined in 2012
  • **
  • default avatar
  • Posts: 6
    • View Profile
    • Donate to Member
Re: FARR Plugin: FCalc v1.12 (Mar 25, 2015)
« Reply #107 on: October 29, 2015, 11:36 PM »
I did a bit more testing. It happens even if the file exists on the file system, but only when the option in FARR is disabled. It doesn't appear to actually log anything on exit, which is when the issue seems to occur. It has also started happening on my Windows 8.1 system, which makes me think something in my environment has changed, but nothing has really changed recently. Here is everything logged on my system while the log is enabled for a start then exit (which is all I need to do to reproduce the issue with the log disabled):

::: [ Starting Find and Run Robot v2.226.01 on Friday October 30, 2015 at 03:32:31 PM ] :::
*Loading plugin: FCalc\FCalc.dll
 Success.
::: [ Program ends on Friday October 30, 2015 at 03:32:54 PM ] :::

dasnolojy

  • Participant
  • Joined in 2015
  • *
  • default avatar
  • Posts: 1
    • View Profile
    • Donate to Member
Re: New FARR Plugin: FCalc
« Reply #108 on: June 24, 2016, 01:03 AM »
I want to use '='  to open fcalc so I entered this to "Regular Expression (custom override)":
^=(.*)$|^=$

It opens fcalc just fine, but when I hit enter fcalc disappears and the command line gets replaced with 'fc'.  So I tried using this regex instead:

^=(.*)$|^=$|^fc (.*)$|^fc$
... which keeps fcalc opened, but it stops functioning (or at least stops reacting to me entering more expressions).

Thanks for any suggests-

Use ^(?:fc |=)(.*)$

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,959
    • View Profile
    • Donate to Member
Re: FARR Plugin: FCalc v1.12 (Mar 25, 2015)
« Reply #109 on: July 12, 2017, 07:22 AM »
Trying to calculate an angle in a right-angle triangle.

I know to get the angle I want, I need
tan-1

is this possible using Fcalc?
if not, can anyone recommend something?
(I tried a few online calculators but they dont allow pasting :-/ )

EDIT//
more in depth post about my problems :p in the Calculor thread:
https://www.donation....msg410719#msg410719
//EDIT
Tom
« Last Edit: July 12, 2017, 08:09 AM by tomos »

ayryq

  • Supporting Member
  • Joined in 2009
  • **
  • Points: 101
  • Posts: 289
    • View Profile
    • Donate to Member
Re: FARR Plugin: FCalc v1.12 (Mar 25, 2015)
« Reply #110 on: July 12, 2017, 08:52 AM »
FCalc is built on muparser; see the built-in functions here:
http://beltoforion.d...hl=en&p=features

I guess you want atan()? This gives results in radians. You can get degrees with the built-in "_pi" constant like
fc atan(1)*180/_pi


tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,959
    • View Profile
    • Donate to Member
Re: FARR Plugin: FCalc v1.12 (Mar 25, 2015)
« Reply #111 on: July 12, 2017, 09:04 AM »
FCalc is built on muparser; see the built-in functions here:
http://beltoforion.d...hl=en&p=features

I guess you want atan()? This gives results in radians. You can get degrees with the built-in "_pi" constant like
fc atan(1)*180/_pi

thanks ayryq !

must save that list. I usc Fcalc regularly but mostly for simple arithmetic
Tom