# Ebay plugin revisited

**URL:** <https://discourse.devontechnologies.com/t/ebay-plugin-revisited/4740>\
**Category:** Automation\
**Created:** [September 19, 2007, 6:55pm UTC](https://discourse.devontechnologies.com/t/ebay-plugin-revisited/4740 "2007-09-19T18:55:10Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![mcgurme](https://discourse.devontechnologies.com/letter_avatar_proxy/v4/letter/m/4af34b/32.png) [@mcgurme](https://discourse.devontechnologies.com/u/mcgurme)\
**Post date:** [September 19, 2007, 6:55pm UTC](https://discourse.devontechnologies.com/t/ebay-plugin-revisited/4740/1 "2007-09-19T18:55:10Z")

</div>

Almost a year ago, I [posted about developing an Ebay plugin for DA](http://www.devon-technologies.com/phpBB2/viewtopic.php?t=3534&highlight=ebay). When I attempted such a plugin, however, I always got zero results (nothing in the log).

Christian Grunenberg responded that this was because all ebay results were being filtered, but this would be fixed in the next release.

There have been several updates to DA since that time, so I tried to resurrect this tool.

However, I am still having exactly the same issue. I create my plist around the following very simple EngineUrl:  
“[http://search.ebay.com/ws/search/SaleSearch?sofocus=bs&satitle=](http://search.ebay.com/ws/search/SaleSearch?sofocus=bs&satitle=)_agentQuery_”

I know this query works, because if I use it in my webbrowser replacing _agentQuery_ with an actual search term, Ebay will do the search.

However, DA is returning absolutely nothing, regardless of search term. Nothing in the logs, nothing, nothing, nothing.

Does anyone have any ideas what’s wrong now?

Thanks  
Morgan

---

<div class="post-metadata">

**Author:** ![cgrunenberg](https://discourse.devontechnologies.com/user_avatar/discourse.devontechnologies.com/cgrunenberg/32/7172_2.png) [@cgrunenberg](https://discourse.devontechnologies.com/u/cgrunenberg)\
**Post date:** [September 20, 2007, 6:58am UTC](https://discourse.devontechnologies.com/t/ebay-plugin-revisited/4740/2 "2007-09-20T06:58:12Z")

</div>

Did you modify the excluded domains (see preferences)? Because by default eBay is excluded.

---

<div class="post-metadata">

**Author:** ![mcgurme](https://discourse.devontechnologies.com/letter_avatar_proxy/v4/letter/m/4af34b/32.png) [@mcgurme](https://discourse.devontechnologies.com/u/mcgurme)\
**Post date:** [September 20, 2007, 1:26pm UTC](https://discourse.devontechnologies.com/t/ebay-plugin-revisited/4740/3 "2007-09-20T13:26:25Z")

</div>

Hi Christian,

> [@](#):
>
> Did you modify the excluded domains (see preferences)? Because by default eBay is excluded.

Here is my “Exclude Domains:” list in preferences:

```auto
slashdot.org
sciencemag.org
arxiv.org
microsoft.

```

Ebay is definitely not in there. Do you have other ideas?

Thanks,  
Morgan

---

<div class="post-metadata">

**Author:** ![cgrunenberg](https://discourse.devontechnologies.com/user_avatar/discourse.devontechnologies.com/cgrunenberg/32/7172_2.png) [@cgrunenberg](https://discourse.devontechnologies.com/u/cgrunenberg)\
**Post date:** [September 20, 2007, 2:12pm UTC](https://discourse.devontechnologies.com/t/ebay-plugin-revisited/4740/4 "2007-09-20T14:12:08Z")

</div>

As DEVONagent does not block eBay anymore, you might post your plugin and I’ll check this over here.

---

<div class="post-metadata">

**Author:** ![mcgurme](https://discourse.devontechnologies.com/letter_avatar_proxy/v4/letter/m/4af34b/32.png) [@mcgurme](https://discourse.devontechnologies.com/u/mcgurme)\
**Post date:** [September 20, 2007, 5:28pm UTC](https://discourse.devontechnologies.com/t/ebay-plugin-revisited/4740/5 "2007-09-20T17:28:16Z")

</div>

Thanks for responding.

Okay, first the plugin. This is the pared down version. I had something much more fancy, but then reduced it to this when I got no results.

```auto
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>Description</key>
	<string>Searches Ebay North America</string>
	<key>EngineUrl</key>
	<string>http://search.ebay.com/search/search.dll?satitle=_agentQuery_</string>
	<key>Identifier</key>
	<string>org.alifelikewater.ebay.plugin</string>
	<key>Info</key>
	<string>Ebay Search Plugin ©2006 Morgan Giddings</string>
	<key>Name</key>
	<string>Ebay-Plugin-1</string>
	<key>Version</key>
	<string>1.0</string>
</dict>
</plist>

```

I still get no results (or was getting no results, until I started having crashes).

Now, Devonagent won’t run properly. It does one of two things:

- It won’t even open a search panel. In the console, I get the error:

> [@](#):
>
> 2007-09-20 13:17:58.750 DEVONagent[1650] -[NSWindowController loadWindow]: failed to load window nib file ‘/Applications/Internet/DEVONagent.app/Contents/Resources/English.lproj/QueryWindow.nib’.  
> 2007-09-20 13:18:01.881 DEVONagent[1650] -[NSWindowController loadWindow]: failed to load window nib file ‘QueryWindow’.

- It sometimes does find the search panel (after I restart it), but then it crashes on any query I enter (and any search site):

> [@](#):
>
> Host Name: Chatooga  
> Date/Time: 2007-09-20 13:16:50.955 -0400  
> OS Version: 10.4.10 (Build 8R2218)  
> Report Version: 4
> 
> Command: DEVONagent  
> Path: /Applications/Internet/DEVONagent.app/Contents/MacOS/DEVONagent  
> Parent: WindowServer [96]
> 
> Version: DEVONagent Version 2.2 (2.2)
> 
> PID: 1341  
> Thread: Unknown
> 
> Link (dyld) error:
> 
> image not found /System/Library/Frameworks/Security.framework/Security

I have done the following to try to fix the crashes:

\*Removed the preferences and restarted the program  
\*Removed my plugin and restarted the program  
\*Removed both preferences and entire “DEVONagent” folder inside Application Support  
\*Reinstalled a fresh copy  
\*Rebooted (first attempt after reboot, it seemed to work, but then stopped again)

Do you have any idea what could have happened that causes it to misbehave this way? I can’t do anything with DevonAgent now…

Thanks again,  
Morgan

ps - I have not installed any new programs lately, and until I started testing my plug in, I never had these problems with DevonAgent.

---

<div class="post-metadata">

**Author:** ![mcgurme](https://discourse.devontechnologies.com/letter_avatar_proxy/v4/letter/m/4af34b/32.png) [@mcgurme](https://discourse.devontechnologies.com/u/mcgurme)\
**Post date:** [September 20, 2007, 5:46pm UTC](https://discourse.devontechnologies.com/t/ebay-plugin-revisited/4740/6 "2007-09-20T17:46:22Z")

</div>

So the crashing problem I reported in the previous message is definitely caused by the plugin somehow.

If I remove the plugin and reboot, then DA is fine, until I reinstall the plugin. As soon as I attempt a search with it, DA crashes. From then until the next reboot, it will not function correctly, even if I remove the plugin, preferences, and etc.

This is strange because my plugin has all the required fields, so it is not clear why it is crashing DA. It is also strange because the crash problem is persistent, even after the plugin is removed (until the next reboot).

Thanks  
Morgan

---

<div class="post-metadata">

**Author:** ![cgrunenberg](https://discourse.devontechnologies.com/user_avatar/discourse.devontechnologies.com/cgrunenberg/32/7172_2.png) [@cgrunenberg](https://discourse.devontechnologies.com/u/cgrunenberg)\
**Post date:** [September 21, 2007, 9:34am UTC](https://discourse.devontechnologies.com/t/ebay-plugin-revisited/4740/7 "2007-09-21T09:34:55Z")

</div>

I’ve just installed your plugin and run a query for “Test”. DEVONagent downloads and accepts around 200 pages and everything works as expected.

As a plain XML file can’t cause the issues you’re experiencing, I’m wondering if you’re using extensions like 1passwd or Little Snitch. In addition, how much space is available on your startup volume? You might also check the filesystem and the privileges of the startup volume.

---

<div class="post-metadata">

**Author:** ![mcgurme](https://discourse.devontechnologies.com/letter_avatar_proxy/v4/letter/m/4af34b/32.png) [@mcgurme](https://discourse.devontechnologies.com/u/mcgurme)\
**Post date:** [September 22, 2007, 12:50pm UTC](https://discourse.devontechnologies.com/t/ebay-plugin-revisited/4740/8 "2007-09-22T12:50:04Z")

</div>

Christian,  
You must have a different version.

I am using 2.2.

I have tried it on 2 different systems (1 powerpc, 1 intel).

I have made sure that [ebay.com](http://ebay.com) was NOT listed in the prefs.

I turned off little snitch.

There is plenty of drive space on both systems.

I removed my previous version of the plugin, and used the one I pasted above, to make sure I was using exactly the same one as you.

I get no results. On my powerpc system I am not getting any crashes. But still, _no results_ (for the query “test”). I’m happy to send you a screen shot of the log…

If I am doing something wrong, it is something not very obvious indeed.

Morgan

ps - since I assume you are doing the query from somewhere outside north america, are you sure you are actually searching the same site as me? are you sure that ebay north america is allowed in version 2.2?

---

<div class="post-metadata">

**Author:** ![cgrunenberg](https://discourse.devontechnologies.com/user_avatar/discourse.devontechnologies.com/cgrunenberg/32/7172_2.png) [@cgrunenberg](https://discourse.devontechnologies.com/u/cgrunenberg)\
**Post date:** [September 24, 2007, 8:15am UTC](https://discourse.devontechnologies.com/t/ebay-plugin-revisited/4740/9 "2007-09-24T08:15:16Z")

</div>

> [@mcgurme](#):
>
> ps - since I assume you are doing the query from somewhere outside north america, are you sure you are actually searching the same site as me? are you sure that ebay north america is allowed in version 2.2?

DEVONagent does definitely not block eBay, no matter where you are. And I’ve just run another test using the above plugin, the official DEVONagent 2.2 release and the search term “Test” (without quotes). 203 pages were downloaded and 194 accepted. Maybe you should completely deinstall Little Snitch because this seems to be the only difference right now. In addition, please check the settings in the search window’s drawer.

---

<div class="post-metadata">

**Author:** ![ape](https://discourse.devontechnologies.com/letter_avatar_proxy/v4/letter/a/ba9def/32.png) [@ape](https://discourse.devontechnologies.com/u/ape)\
**Post date:** [November 29, 2007, 9:23pm UTC](https://discourse.devontechnologies.com/t/ebay-plugin-revisited/4740/10 "2007-11-29T21:23:30Z")

</div>

I’m actually trying to get this one running also and am experiencing the same issue as the OP with regards to no data coming back. I’m also seeing this error in the console log:

11/29/07 1:08:29 PM DEVONagent[7308] DEVONagent extension disabled: unsupported browser bundle version ‘2.3’, only 2.0-2.2 are supported.

I’ve updated to DA 2.3 this morning. Has something not been updated properly?

Thanks,

Steve

---

<div class="post-metadata">

**Author:** ![mcgurme](https://discourse.devontechnologies.com/letter_avatar_proxy/v4/letter/m/4af34b/32.png) [@mcgurme](https://discourse.devontechnologies.com/u/mcgurme)\
**Post date:** [November 30, 2007, 12:07am UTC](https://discourse.devontechnologies.com/t/ebay-plugin-revisited/4740/11 "2007-11-30T00:07:07Z")

</div>

Hi Steve,  
Thanks for writing… I just gave up. Christian was indicating that it was some other problem with my configuration, but it seems like a problem with DA. I tried it on several different machines, and tried all the things he suggested.

If anyone finds a solution, I’d love to hear it - I think this would be really a great use for DA. But alas, I find little use for DA right now.

Morgan

---

<div class="post-metadata">

**Author:** ![ape](https://discourse.devontechnologies.com/letter_avatar_proxy/v4/letter/a/ba9def/32.png) [@ape](https://discourse.devontechnologies.com/u/ape)\
**Post date:** [November 30, 2007, 12:24am UTC](https://discourse.devontechnologies.com/t/ebay-plugin-revisited/4740/12 "2007-11-30T00:24:13Z")

</div>

Morgan,

I agree that this would be great to figure out as the solution may be applicable to other plugin developers having problems. I think one feature that would be great for DEVONAgent would be the addition of some sort of debug window that could display the http interaction to determine if the plugin is actually returning any error messages from the target site. In the case of the eBay plugin, There is no log generated that I can find so I don’t know if there’s a problem with the plugin, the site, whatever…

Steve

---

<div class="post-metadata">

**Author:** ![cgrunenberg](https://discourse.devontechnologies.com/user_avatar/discourse.devontechnologies.com/cgrunenberg/32/7172_2.png) [@cgrunenberg](https://discourse.devontechnologies.com/u/cgrunenberg)\
**Post date:** [November 30, 2007, 8:00am UTC](https://discourse.devontechnologies.com/t/ebay-plugin-revisited/4740/13 "2007-11-30T08:00:14Z")

</div>

Just send me the plug-in and I’ll check it again. But this could also be an IP-related issue - some servers send different content to different countries/languages.

---

<div class="post-metadata">

**Author:** ![ape](https://discourse.devontechnologies.com/letter_avatar_proxy/v4/letter/a/ba9def/32.png) [@ape](https://discourse.devontechnologies.com/u/ape)\
**Post date:** [November 30, 2007, 5:12pm UTC](https://discourse.devontechnologies.com/t/ebay-plugin-revisited/4740/14 "2007-11-30T17:12:42Z")

</div>

Christian,

The code is still posted at the top of this thread. I’ve not come up with anything else that will make this work.

Thanks,

Steve

---

<div class="post-metadata">

**Author:** ![cgrunenberg](https://discourse.devontechnologies.com/user_avatar/discourse.devontechnologies.com/cgrunenberg/32/7172_2.png) [@cgrunenberg](https://discourse.devontechnologies.com/u/cgrunenberg)\
**Post date:** [December 3, 2007, 12:00pm UTC](https://discourse.devontechnologies.com/t/ebay-plugin-revisited/4740/15 "2007-12-03T12:00:15Z")

</div>

I’ve again used the above plugin, no problems. Are you logged in to eBay while running the search? And are the settings in the drawer correct? Might a firewall/proxy prevent the access to eBay?

---

<div class="post-metadata">

**Author:** ![mcgurme](https://discourse.devontechnologies.com/letter_avatar_proxy/v4/letter/m/4af34b/32.png) [@mcgurme](https://discourse.devontechnologies.com/u/mcgurme)\
**Post date:** [December 11, 2007, 2:23am UTC](https://discourse.devontechnologies.com/t/ebay-plugin-revisited/4740/16 "2007-12-11T02:23:08Z")

</div>

Hi Christian,

I saw that Steve did not respond yet. But I can say that I tried all those things. It is not a firewall. It is not a proxy. it is not little snitch. It is not anything specific to one machine. It just doesn’t work.

I was glad to see Steve’s posting, so that I see someone else is having exactly the same problem.

If DA had some kind of log that shows the server-client transactions, it might be possible to get to the bottom of this.

Morgan

---

<div class="post-metadata">

**Author:** ![ape](https://discourse.devontechnologies.com/letter_avatar_proxy/v4/letter/a/ba9def/32.png) [@ape](https://discourse.devontechnologies.com/u/ape)\
**Post date:** [December 11, 2007, 5:19pm UTC](https://discourse.devontechnologies.com/t/ebay-plugin-revisited/4740/17 "2007-12-11T17:19:58Z")

</div>

Sorry, lost track of the thread somehow… 😃

Given that the following modified plugin does work, I know that my login to eBay, firewall, etc… are all working okay. I just can’t seem to get the original plugin to work. As I mentioned before and second Morgan’s request, some sort of debug window or log would be a wonderful addition to DEVONAgent.

Steve

\<?xml version="1.0" encoding="UTF-8"?\> Description Searches Ebay North America (Title and Description) EngineUrl http://search-desc.ebay.com/\_agentQuery\_\_W0QQcatrefZC5QQfclZ3QQfromZR7QQfrppZ50QQfsooZ1QQfsopZ1QQftsZ2QQnojsprZyQQpfidZ0QQsacatZQ2d1QQsofindtypeZ0QQsofocusZbs Identifier org.alifelikewater.ebay.plugin Info Ebay Search Plugin ©2006 Morgan Giddings Name Ebay-Plugin-Title-Description Version 1.0

---

<div class="post-metadata">

**Author:** ![system](https://devontech-discourse.s3.dualstack.us-east-1.amazonaws.com/uploads/original/2X/4/4e6ff70c96be2eb307a274d890bba8d71ba671b3.png) [@system](https://discourse.devontechnologies.com/u/system)\
**Post date:** [January 21, 2022, 11:00am UTC](https://discourse.devontechnologies.com/t/ebay-plugin-revisited/4740/18 "2022-01-21T11:00:21Z")

</div>


