Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
PowerHome General
 PowerHome Messageboard : PowerHome General
Subject Topic: ph_geturl() Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
smarty
Super User
Super User
Avatar

Joined: May 21 2006
Location: United States
Online Status: Offline
Posts: 728
Posted: January 04 2013 at 15:33 | IP Logged Quote smarty

Any idea what is happening here? ARe there some CR/LF's in the auto wrap that are messing this up? It should work....right?

ph_geturl("http://rss.wunderground.com/auto/rss_full/TX/San_ Antonio.xml?units=english")

Gets me this:
++++++++++++++++++++
Internal Formula Error
     An internal error occurred while running the formula. Please report the error details below to PowerHome.
*** Error Details ***
Error Number: 39
Object Name: uo_socketblob
Class: uo_socketblob
Routine Name: f_geturl
Line: 46
Text: Error accessing external object property autoresolve at line 46 in function f_geturl of object uo_socketblob.



__________________
Elk - Insteon - BlueIris - DMC1 - PowerHome - XLobby - HA_Bridge w/Dots - Brultech
Back to Top View smarty's Profile Search for other posts by smarty
 
smarty
Super User
Super User
Avatar

Joined: May 21 2006
Location: United States
Online Status: Offline
Posts: 728
Posted: January 04 2013 at 16:06 | IP Logged Quote smarty

I'm pretty sure it ISN'T a PH snafu....but rather something within Win7 or EI9 (which I am using).

I think this site might only allow you to grab data only XX minutes apart...otherwise i get the above error...


Edited by smarty - January 04 2013 at 19:42


__________________
Elk - Insteon - BlueIris - DMC1 - PowerHome - XLobby - HA_Bridge w/Dots - Brultech
Back to Top View smarty's Profile Search for other posts by smarty
 
dhoward
Admin Group
Admin Group
Avatar

Joined: June 29 2001
Location: United States
Online Status: Offline
Posts: 4447
Posted: January 04 2013 at 22:08 | IP Logged Quote dhoward

Smarty,

Just tested it on 2.1.4 here and it worked fine. Based
upon the error message, it would appear that the Catalyst
socket control is not registered (Im pretty sure you use
this already so not sure why that would be).

In any event, try running:

regsvr32 "c:\windows\system32\cswskax6.ocx" (might be
regsvr32 "c:\windows\syswow64\cswskax6.ocx")

Hopefully that will register the control and get you
working.

Dave.
Back to Top View dhoward's Profile Search for other posts by dhoward Visit dhoward's Homepage
 
syonker
Senior Member
Senior Member
Avatar

Joined: March 06 2009
Location: United States
Online Status: Offline
Posts: 212
Posted: August 02 2014 at 11:39 | IP Logged Quote syonker

Hi Gang,

Just a follow-on note...I noticed my weather macro was
failing the geturl() command with a syntax error and
figured since I had ported PowerHome to 64-bit Windows 7
the last time around this might be the culprit here as
well.

When I tried tried the following to register the OCX, it
failed with the error shown in the screen shot below. I
then tried to launch a Command-Prompt (DOS) with admin
rights by right-clicking and "Run as Administrator".
Nothing happened. Tried again and the command prompt
option didn't work, but everything else was running. I
had to shut down PowerHome...as soon as I did that the
"approve this action" icon came up on the bottom menu bar
and I was able to register the component. Re-launched
PowerHome and tested the macro and it worked fine. Hope
this helps someone down the road. I think the general
point is that:

To "Run as Administrator" on the Command-Prompt (DOS)
window in Windows 7, you have to first shut down
PowerHome.




__________________
"I will consider myself having succeeded when my house becomes sentient and attempts to kill me."

><(((º>`·.¸¸.·´¯`·.¸><(((º>¸.

·´¯`·.¸. , . ><(((º>`·.¸¸.·´¯`·.¸><(((º>
Back to Top View syonker's Profile Search for other posts by syonker Visit syonker's Homepage
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum