ploner / RMixpanel

RMixpanel - Mixpanel API client package for R
Other
18 stars 6 forks source link

Curl not found #1

Closed lucibelloj closed 7 years ago

lucibelloj commented 7 years ago

res <- mixpanelJQLQuery(account, jqlQuery) is resulting in the following error on PC only:

Error in system(curlCall, intern = TRUE, ignore.stderr = TRUE) : 'curl' not found

Tested and tried on multiple PCs and the full code stops there. Weirdly enough, the code works flawlessly on a Mac.

ploner commented 7 years ago

@lucibelloj, did you see this behaviour also with version 0.6-0?

lucibelloj commented 7 years ago

@ploner Behavior persists in version 0.6-0.

The error seems to occur on PCs with multiple shared drives mounted running Windows 7. The error does not occur on non-shared drive computers on Windows 10. Would either of these discrepancies cause an issue?

ploner commented 7 years ago

Uh, honestly I have no Windows machine here to test. If you have time, you could try 'RCurl::getURL()' on your platforms. I think this is the command which does not work everywhere.

lucibelloj commented 7 years ago

It seems that the RCurl::getURL() exists and functions on a Windows machine? I cannot seem to get the script to run on a PC Machine.

Coincidently, on VMWare on a Mac running Windows, the script will run.

ploner commented 7 years ago

Hi,

maybe there are some other tools missing. Try installing devtools and/or Rtools, see https://www.rstudio.com/products/rpackages/devtools/ and pls tell me if it helped.

Thx Meinhard

On Mon, Mar 27, 2017 at 6:59 PM, lucibelloj notifications@github.com wrote:

It seems that the RCurl::getURL() exists and functions on a Windows machine? I cannot seem to get the script to run on a PC Machine.

Coincidently, on VMWare on a Mac running Windows, the script will run.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/ploner/RMixpanel/issues/1#issuecomment-289516143, or mute the thread https://github.com/notifications/unsubscribe-auth/ALIvTYr-comWGXj8L2hujRaXMUoRAxoFks5rp-rdgaJpZM4Lg0R4 .

lucibelloj commented 7 years ago

Hi Meinhard, thanks for the tip. It looked like on a Windows computer you have to manually download the curl.exe file along with the security certificate and libcurl.dll and place it in the %windir% to allow the package to pull the data.

ploner commented 7 years ago

Uh, what an awful manual process :| Thx for the informations!

On Mon, Mar 27, 2017 at 10:24 PM, lucibelloj notifications@github.com wrote:

Hi Meinhard, thanks for the tip. It looked like on a Windows computer you have to manually download the curl.exe file along with the security certificate and libcurl.dll and place it in the %windir% to allow the package to pull the data.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/ploner/RMixpanel/issues/1#issuecomment-289574662, or mute the thread https://github.com/notifications/unsubscribe-auth/ALIvTegYvd-92G1FDuB6lq_7-xOahVUyks5rqBsAgaJpZM4Lg0R4 .

lucibelloj commented 7 years ago

Awful but a solution now exists! Thanks for the awesome package!

ploner commented 7 years ago

Happy you can use it :)

On Tue, Mar 28, 2017 at 3:57 PM, lucibelloj notifications@github.com wrote:

Awful but a solution now exists! Thanks for the awesome package!

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/ploner/RMixpanel/issues/1#issuecomment-289778159, or mute the thread https://github.com/notifications/unsubscribe-auth/ALIvTam6o2mCFpRiTJnUHzcwlQd0YebAks5rqRHfgaJpZM4Lg0R4 .