You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The new DMG file in ArduinoCreateAgent-1.3.1-osx-amd64-installer.dmg is a great improvement from the old installer. But since the new installation path (/Application/ArduinoCreateAgent.app) is different from the older one (/Users/sebastianwikstrom/Applications/ArduinoCreateAgent), this is will not result in the old application being overwritten. Instead, the user has to manually remove the old application.
In some cases, the presense of an older Create Agent version can trigger this error:
Problem 1: Assuming the default installation path
It seems like the trigger for the error is the presence of an ~/Applications/ArduinoCreateAgent folder.
An older version of the Create Agent can be present and running from a different location, without triggering the error. This results in two instances of the application running:
On the other hand, the error is produced even if the ~/Applications/ArduinoCreateAgent folder is empty. This seems unnecessary.
Problem 2: Does not trigger if Create Agent is opened via Spotlight when a different version is running
Opening the application via Spotlight does not display the error or launch the application.
To reproduce
Running two instances at the same time:
Install or move ArduinoCreateAgent.app (1.2.7) to a path that is not ~/Applications/ArduinoCreateAgent
Run ArduinoCreateAgent.app (1.2.7) so it appears in the menu bar
If the ~/Applications/ArduinoCreateAgent folder exists, remove it.
Run the new ArduinoCreateAgent.app (1.3.1)
🐛 Another instance of the application starts, with two Create Agent icons now appearing in the menu bar
Spotlight issue:
Have both 1.2.7 and 1.3.1 installed.
Run 1.2.7
Press Command + Space to open Spotlight
Search for 'ArduinoCreateAgent'
Open the newer version (in Applications by default)
🐛 Nothing happens
Expected behavior
I think the application shouldn't care about the presence of any particular file or folder. I would only expect to get an error if another Create Agent process is currently running.
Opening the application via Spotlight should not prevent the error from being displayed.
seaxwi
changed the title
"Old agent installation found" error is not always triggered when expected
"Old agent installation" error is not always triggered when expected
Jun 1, 2023
An older version of the Create Agent can be present and running from a different location, without triggering the error. This results in two instances of the application running
Unfortunately, we have no other way to detect if the user changed the default installation location.
On the other hand, the error is produced even if the ~/Applications/ArduinoCreateAgent folder is empty. This seems unnecessary.
You are right, I'm preparing a fix for that. (#797) Test release here
Regarding Problem 2:
Running two instances at the same time:
Install or move ArduinoCreateAgent.app (1.2.7) to a path that is not ~/Applications/ArduinoCreateAgent
Run ArduinoCreateAgent.app (1.2.7) so it appears in the menu bar
If the ~/Applications/ArduinoCreateAgent folder exists, remove it.
Run the new ArduinoCreateAgent.app (1.3.1)
🐛 Another instance of the application starts, with two Create Agent icons now appearing in the menu bar
I would say this is expected: Unfortunately, we have no other way to detect if the user changed the default installation location.
Spotlight issue:
Have both 1.2.7 and 1.3.1 installed.
Run 1.2.7
Press Command + Space to open Spotlight
Search for 'ArduinoCreateAgent'
Open the newer version (in Applications by default)
🐛 Nothing happens
This seems strange, I'm investigating this.
I think the application shouldn't care about the presence of any particular file or folder. I would only expect to get an error if another Create Agent process is currently running.
Describe the problem
The new DMG file in ArduinoCreateAgent-1.3.1-osx-amd64-installer.dmg is a great improvement from the old installer. But since the new installation path (
/Application/ArduinoCreateAgent.app
) is different from the older one (/Users/sebastianwikstrom/Applications/ArduinoCreateAgent
), this is will not result in the old application being overwritten. Instead, the user has to manually remove the old application.In some cases, the presense of an older Create Agent version can trigger this error:
Problem 1: Assuming the default installation path
It seems like the trigger for the error is the presence of an
~/Applications/ArduinoCreateAgent
folder.An older version of the Create Agent can be present and running from a different location, without triggering the error. This results in two instances of the application running:
On the other hand, the error is produced even if the
~/Applications/ArduinoCreateAgent
folder is empty. This seems unnecessary.Problem 2: Does not trigger if Create Agent is opened via Spotlight when a different version is running
Opening the application via Spotlight does not display the error or launch the application.
To reproduce
Running two instances at the same time:
~/Applications/ArduinoCreateAgent
~/Applications/ArduinoCreateAgent
folder exists, remove it.🐛 Another instance of the application starts, with two Create Agent icons now appearing in the menu bar
Spotlight issue:
🐛 Nothing happens
Expected behavior
Arduino Create Agent version
1.3.1
Operating system
macOS
Operating system version
13.2.1 (22D68)
Browser
Chrome
Browser version
Version 113.0.5672.126 (Official Build) (arm64)
Additional context
No response
Issue checklist
The text was updated successfully, but these errors were encountered: