News:

There is a soft-mute function which we use with the commands like "What song is this?" There is one for system volume, one for each of: MediaMonkey, XBMC, iTunes, MediaPortal.

Main Menu

Results.RegEx: unexpected error

Started by tn42, January 04, 2015, 05:27:18 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

tn42

Hi I am getting a "Results.regex: unexpected error"

when i do Scraping of http://www.blocket.se/stockholm?q=siemens&cg=0&w=2&st=s&ca=11&is=1&l=0&md=th&f=p

and then Results.RegEx of <title>(.*?)</title>


I have tried it in RegExTool.Open and it works fine there.

What am I doing wrong? What is happening. :o

jitterjames

#1
Post your XML!!!

Also what version of vc are you using?

http://voxcommando.com/mediawiki/index.php?title=Getting_support#When_You_Ask

tn42

okey, I can not explaine this.

But when I now ran the command (without modifying it) it worked like a charm? a WTF moment.

I would have posted the XML file but Its a bit tricky to get it out of the computer since it is not running on my local computer.

nime5ter

Computers are a mystery. Thanks for the update.

Usually that error occurs when there is incorrect syntax, such as an uneven number of opening ( or closing brackets ), or if we forget to actually define which character we want to match, eg. title>(*?)</title will throw an error.
TIPS: POST VC VERSION #. Explain what you want VC to do. Say what you've tried & what happened, or post a video demo. Attach VC log. Link to instructions followed.  Post your command (xml)

nime5ter

By the way, based on your response, I'm not sure if you are aware of the most common way to share command xml. Just in case:

We didn't need you to export an xml file per se. Posting your command xml should generally be as simple as copy and paste. If you can access your command tree from your other computer, it should be possible to copy and then post the command xml:
http://voxcommando.com/mediawiki/index.php?title=XML_on_the_forum

TIPS: POST VC VERSION #. Explain what you want VC to do. Say what you've tried & what happened, or post a video demo. Attach VC log. Link to instructions followed.  Post your command (xml)

tn42

Hehe, yha I know, the probleme is that I need to connect to a remote computer, that is running a hyper-v client with VC on, that dose not have a browser.

And I can not copy text from a Hyper-V client over remote desktop  :P

Thats why Its a bit tricky to copy to and from VC in my case  ::dis

jitterjames

You must at least have internet explorer on the machine running VoxCommando?

You might want to try out VNC which supports copy/paste. I am sure there are many other remote desktop apps that do as well.

tn42

Im running Remotedesktop over LAN, and yes I can use copy-past. but over hyper-V gen 1 copy-past is not possible.

I need to reinstall windows using Gen2 in order to get copy-past to work  :P

its kind of complicated  :P

nime5ter

As a W7 household we're not too familiar with Hyper V. Sounds like the usual Microsoftian hot mess. ("Why would anyone need to access the clipboard remotely?")  :biglaugh
TIPS: POST VC VERSION #. Explain what you want VC to do. Say what you've tried & what happened, or post a video demo. Attach VC log. Link to instructions followed.  Post your command (xml)

jitterjames

May I ask why you are using hyper-V?  Is this so you can run Windows 7 on a Windows server machine?

nime5ter

Quote from: tn42 on January 04, 2015, 05:27:18 AM
Hi I am getting a "Results.regex: unexpected error"
...
What am I doing wrong? What is happening. :o

One thing I should have mentioned earlier is that it's often helpful to roll over the the error line when it appears in the history panel, as per the attached example.

The same information appears in VC's log file if you have logging enabled.
TIPS: POST VC VERSION #. Explain what you want VC to do. Say what you've tried & what happened, or post a video demo. Attach VC log. Link to instructions followed.  Post your command (xml)

tn42

Quote from: jitterjames on January 05, 2015, 04:11:03 PM
May I ask why you are using hyper-V?  Is this so you can run Windows 7 on a Windows server machine?

Yes and no. It's for security.


Quote from: nime5ter on January 05, 2015, 05:21:27 PM
One thing I should have mentioned earlier is that it's often helpful to roll over the the error line when it appears in the history panel, as per the attached example.

The same information appears in VC's log file if you have logging enabled.

Ow, that I did not know. Next time I get an error I will try it  :)  Thanx.