Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arduino Create Agent won't install #634

Open
delucadana opened this issue Apr 27, 2021 · 12 comments
Open

Arduino Create Agent won't install #634

delucadana opened this issue Apr 27, 2021 · 12 comments
Assignees
Labels
type: imperfection Perceived defect in any part of project

Comments

@delucadana
Copy link

delucadana commented Apr 27, 2021

I had Arduino Create agent 1.1 running on my iMac.

It worked great with my Arduino Uno.

Just bought a UNO WIFI R2 board and connected it (USB) to my computer. The board lights up and it's cycling through a rainbow of very bright LED colors.

Arduino IDE 1.8.6 sees the board. Under the "Tools" menu it identifies it as "Board: Arduino Uno Wifi Rev 2" and Port: "/dev/cu,usbmodemFD132 (Arduino Uno WiFi Rev 2)".

I went to https://create.arduino.cc/iot/things and clicked on ASSOCIATE DEVICE, then clicked Set Up an Arduino Device. It tells me "Arduino Create Agent not found" yet the Arduino Create Agent icon is sitting up in the menu bar indicating it's running.

I checked with the Activity Monitor app and confirmed under the CPU tab that Arduino Create Agent was active. However the Arduino Create Agent running was version 1.1. The IOT cloud web page says I need to download and install the Arduino Create Agent plugin in order to upload sketches to the board. So I downloaded it, and noticed it was vers 1.2.2. Tried to install the new agent but got nothing except the warning that it was an application downloaded from internet. Clicked OPEN and nothing happens.

The old Arduino Create agent was still running though. And IOT Cloud web page still says "Arduino Create Agent not found". Did a restart after the new install. No different. So figured I needed first to uninstall the old vers 1.1 Arduino Create Agent, which I did. Then ran the new agent installer again. Still no install.

There's no feedback and the old agent vers 1.1 is no longer running. The old agent had an icon in my launcher window that's gone now after the uninstall. No new icon has appeared for the new agent vers 1.2.2.

Arduino Create Agent version

1.2.2

Operating system

macOS

Operating system version

10.13.6

Browser

Safari

Browser version

13.1.2

@delucadana

This comment was marked as off-topic.

@delucadana
Copy link
Author

Well I couldn't get myself to download evil Chrome again after having removed it long ago. So I tried Opera. It does not tell me I need to download the Arduino Create Plugin. Instead it just gives me a blank stare, which is to say it puts up a blank page and sits there as if to say, huh?

@delucadana
Copy link
Author

I tried FireFox next. This browser acts the same way Safari did. It tells me Create Agent not found. I down loaded the Firefox plugin and nothing happens. It still says Create Agent not found.

@BallscrewBob

This comment was marked as resolved.

@umbynos
Copy link
Contributor

umbynos commented Apr 27, 2021

Hi, could you please try to download and run this?

@delucadana
Copy link
Author

umbynos, Hi thanks. Yes I downloaded your link and see that the file as it appears in my downloads folder is identical to one that I downloaded six times. I tried it again with same result. I saw a post today for 2019 from someone who had the same problem. It that post, he said he had recently run CleanMyMac software and eliminated 6GB of"junk". Well it so happens that two days ago I ran CleanMyMac too. So it maybe that the clean-up program deleted some file critical to the plugin installation.

@delucadana
Copy link
Author

There is a dedicated forum section also for these issues and you might find an answer there

Bob, yes in fact I posted this similar question there. https://forum.arduino.cc/t/cant-install-arduino-create-agent-on-macos/854536

@delucadana

This comment was marked as resolved.

@umbynos
Copy link
Contributor

umbynos commented Apr 28, 2021

As far as I know the installer is self-contained and should not need anything special from the host system.. We use installbuilder to generate the installers. I tried a quick google search about compatibility problems between that program and CleanMyMac and could not find anything useful. I know that the installer tries to write a log in /tmp with the name bitrock_installer.log as stated in the docs:

All InstallBuilder installers create an installation log in the system temporary directory.

The exact location of the log file is stored in the ${installer_installation_log} variable. On Linux, Mac OS X and other Unix systems, this typically means the /tmp directory. On Windows, the log will be created in the user’s local Temp directory, usually C:\Documents and Settings\username\Local Settings\Temp.

The default name of the generated log file is bitrock_installer.log but if the file already exists from a previous installation, the installer will try to create an unique filename trying bitrock_installer_[pid].log and bitrock_installer_[pid]_[uid].log where [pid] is the PID of the process and [uid] is an unique identifier.

Maybe in there we can find some useful informations

@umbynos umbynos added the status: waiting for information More information must be provided before work can proceed label May 24, 2021
@delucadana
Copy link
Author

Just getting back to this. I had abandoned the Mac because of this intractable problem and moved to the PC where things work. Now I want to use the Mac and the online IDE because the IDE on the PC is an App and not easily accessible from other machines.
Even the online IDE, though requires the Arduino Create Agent to be running.
The CleanMyMac people suggested removing their App and installing the Arduino Create Agent. Tried that but it still failed. They said, "In case you removed CleanMyMac X and still could not install the plugin, CleanMyMac X did not influence the process. " I guess that makes sense if CleanMyMac was the culprit preventing the installation. But if CleanMyMac cleaned out some System tool that is required for plug-in installation, then removing CleanMyMac is not going to help. Only restoring the missing tool will help. But that theory isn't supported either if in fact the Arduino Create Agent is, as umbynos said, a self-contained installer that doesn't require anything from the host system.

I did a search for "bitrock" and found only one file called Isregister-501.txt created on Mar 3, 2021 which is a big 5.5MB file 3051-page document containing 24 occurrences of "bitrock" all of them related to the Bitrock InstallBuilder install or uninstall of ArduinoCreateAgent-1.1. The file is dated Mar 3, 2021 and is located in the Downloads folder in another folder called sysdiagnose_2021.03.03_19-28-16-0500_Mac_OS_X_iMac12-2_17G14033. Although the file creation date is in 2021, the installs all are dated 3-23-2020.

There is no log file or any file containing mention of ArduinoCreateAgent or bitrock other than this one .txt file and the disk image (.dmg) files of the installer for the ArduinoCreateAgent.

@umbynos
Copy link
Contributor

umbynos commented Jun 9, 2021

I should have told you that obviously the log is generated when you run the Arduino Create Agent binary. And since it's created in /tmp it will be removed when the system is rebooted.

@delucadana
Copy link
Author

delucadana commented Jun 9, 2021 via email

@github-actions github-actions bot added the Stale label Jun 28, 2021
@umbynos umbynos removed Stale status: waiting for information More information must be provided before work can proceed labels Jun 28, 2021
@per1234 per1234 added the type: imperfection Perceived defect in any part of project label Aug 7, 2022
@arduino arduino deleted a comment from github-actions bot May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

4 participants