Re: [DQSD-Users] comx /dilbert access denied

2009-01-09 Thread tom . corcoran
hey Shawn,

Happy new year! Not wanting to put any pressure on you, but I know I'm  
not the only one excited about your pending fix!

Cheers,

Tom.

Re: [DQSD-Users] comx /dilbert access denied
From: Shawn K. Hall sh...@re... - 2008-11-11 04:03
That's exactly the same error.


The only thing that jumps out at me is that the code in comx is using
synchronous XML-HTTP transfers, it isn't changing the UA, and isn't
checking for errors, which can all cause issues.

If the UA isn't changed you may end up where the server flat-out rejects
attempts to connect from the MS XmlHttp object (mine does).

Synchronous transfers can cause stale or broken connections if the
connection is refused or for any other reason the server doesn't return
content. Finally, without error trapping, there's no way to tell what
the error could be.

I'm going to put this on my short list for rewriting it to make it do
all of the above. It's a lot of code though, so no guarantees it'll
happen right away. On the plus side, it'll be more modular, so new
comics should be a lot easier to add. ;)


Meanwhile, if you look at the rssx search I wrote (lines 42-56), which
comx is based on, you'll see a much better way to handle the remoting
aspects.

-Shawn

--
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
___
To unsubscribe visit:
https://lists.sourceforge.net/lists/listinfo/dqsd-users
DQSD-Users@lists.sourceforge.net
http://sourceforge.net/mailarchive/forum.php?forum_id=8601


Re: [DQSD-Users] comx /dilbert access denied

2008-11-10 Thread Shawn K. Hall
I'm still getting access denied. :(

-Shawn
 

 -Original Message-
 From: Kim Gräsman [mailto:[EMAIL PROTECTED] 
 Sent: Monday, November 10, 2008 12:44 AM
 To: DQSD users mailing list
 Subject: Re: [DQSD-Users] comx /dilbert access denied
 
 Hi guys,
 
 I'm listening, so I'll commit it as soon as someone verifies that it
 works better than the old one.
 
 Thanks,
 - Kim
 
 On Sun, Nov 9, 2008 at 19:38, brian [EMAIL PROTECTED] wrote:
  Okay, folks... sorry for the delay in getting this sent out.
 
  Please try the attached comx.xml file (replace the one 
 currently in Program
  Files\Quick Search Deskbar\searches\ ) and let me know how 
 it works for you
  (a reply on this list with it works is sufficient).  If 
 something isn't
  working quite right, obviously, let me know that as well.  ;)
 
  If things seem to be in order, I'll ask Monty or Kim to commit it to
  trunk...
 
  09Nov08 changes:
 o  www.comics.com restructured their site.  changed 
 default behavior
  to accommodate.
 o  several comics no longer offered at comics.com.  
 removed from the
  list
 o  Dilbert comic now hosted at dilbert.com.  added 
 new site,
  'dilbert' to accommodate.
 o  Peanuts comic no longer requires special handling from
  comics.com.  changed back to 'standard' handling method
 o  added Boy on a Stick and Slither, Brevity, 
 and Cow  Boy
  comics.
 o  Please let me know if there are other 
 comics.com-hosted comic
  strips you'd like added
 
 --
 ---
 This SF.Net email is sponsored by the Moblin Your Move 
 Developer's challenge
 Build the coolest Linux based applications with Moblin SDK  
 win great prizes
 Grand prize is a trip for two to an Open Source event 
 anywhere in the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 To unsubscribe visit:
 https://lists.sourceforge.net/lists/listinfo/dqsd-users
 DQSD-Users@lists.sourceforge.net
 http://sourceforge.net/mailarchive/forum.php?forum_id=8601
 



-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
To unsubscribe visit:
https://lists.sourceforge.net/lists/listinfo/dqsd-users
DQSD-Users@lists.sourceforge.net
http://sourceforge.net/mailarchive/forum.php?forum_id=8601


Re: [DQSD-Users] comx /dilbert access denied

2008-11-10 Thread Shawn K. Hall
That's exactly the same error.


The only thing that jumps out at me is that the code in comx is using
synchronous XML-HTTP transfers, it isn't changing the UA, and isn't
checking for errors, which can all cause issues.

If the UA isn't changed you may end up where the server flat-out rejects
attempts to connect from the MS XmlHttp object (mine does).

Synchronous transfers can cause stale or broken connections if the
connection is refused or for any other reason the server doesn't return
content. Finally, without error trapping, there's no way to tell what
the error could be.

I'm going to put this on my short list for rewriting it to make it do
all of the above. It's a lot of code though, so no guarantees it'll
happen right away. On the plus side, it'll be more modular, so new
comics should be a lot easier to add. ;)


Meanwhile, if you look at the rssx search I wrote (lines 42-56), which
comx is based on, you'll see a much better way to handle the remoting
aspects.

-Shawn



 -Original Message-
 From: brian [mailto:[EMAIL PROTECTED] 
 Sent: Monday, November 10, 2008 4:38 PM
 To: DQSD users mailing list
 Subject: Re: [DQSD-Users] comx /dilbert access denied
 
 Charlie / Shawn --
 
 I am assuming that you reloaded the xml searches in DQSD 
 by typing a single ! character in the search box, after 
 replacing the 
 comx.xml file (otherwise, you're still running the old search).
 
 That being said, is the access denied message you're 
 receiving similar to the one I've attached to this message?  If so, 
 welcome to my office-based hell.  I started getting this 
 message doing any comx query after a windows policy update on 
 my office 
 computer.  comx still worked fine on the WindowsXP machine I 
 had at home at the time.
 
 Kim -- this may be where you come (back) in to the 
 conversation --- if they're seeing the same thing, it's the 
 issue I was 
 trying to explain I was having several months ago, and could 
 no longer get (for instance) comx to work properly on my machine at 
 work.  There's something in the configuration of internet 
 access, Windows XP, or some policy therein that prevents the comx.xml 
 script (and, perhaps, others as well) from working as they 
 should.  Instead, I see the error message I've attached to this note.
 
 I no longer have a Windows machine at home, so that's why 
 I have no way to test the changes I've made to the comx.xml file.  I 
 am fairly confident they work, though, as I made similar 
 changes to my comx.php program, which I specifically wrote to 
 run on my web 
 server so that I could still get a single page with all my 
 comics on it from my machine at work (and, as a bonus, can 
 also get from 
 any non-windows [thus incapable of running DQSD] machine).  :)
 
 comics.com did change the entire layout of their site on 
 November 3, and all of the comics hosted there stopped working 
 (including dilbert, which changed a bit more radically than 
 the rest).   As a result of those changes, I rewrote the 
 portion of my 
 php program that fetched comics from comics.com, and it now 
 works.  The changes I made to comx.xml mimic the changes I made to my 
 php program... that said, they should work.  :)   I've also 
 sent the comx.xml to a friend of mine that was able to use 
 DQSD and comx 
 on his computer before, and I'll let you know if he has any 
 problems with this new update.
 
 anyway... I've rambled on enough here.   attached is the 
 error screenshot from my work machine (where comx.xml doesn't 
 work, nor has 
 it for several months) -- Shawn, Charlie -- I'd appreciate 
 your input on this thread as to whether that's the same 
 message you're 
 now seeing...
 
 
 
 Charlie Russel wrote:
  Unfortunately, so a I. :(
  Charlie.
  http://msmvps.com/blogs/xperts64
  http://mvp.support.microsoft.com/profile/charlie.russel
  
  - Original Message - 
  From: Shawn K. Hall [EMAIL PROTECTED]
  To: 'DQSD users mailing list' dqsd-users@lists.sourceforge.net
  Sent: Monday, November 10, 2008 1:11 AM
  Subject: Re: [DQSD-Users] comx /dilbert access denied
  
  
  I'm still getting access denied. :(
  
  -Shawn
  
  
  -Original Message-
  From: Kim Gräsman [mailto:[EMAIL PROTECTED]
  Sent: Monday, November 10, 2008 12:44 AM
  To: DQSD users mailing list
  Subject: Re: [DQSD-Users] comx /dilbert access denied
 
  Hi guys,
 
  I'm listening, so I'll commit it as soon as someone 
 verifies that it
  works better than the old one.
 
  Thanks,
  - Kim
 
 
 



-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
To unsubscribe visit:
https://lists.sourceforge.net/lists/listinfo

Re: [DQSD-Users] comx /dilbert access denied

2008-11-10 Thread Charlie Russel
Yes, I've reloaded after changing the comx file. Heck, I've rebooted. But 
this is Vista, with UAC on, so fussy. It was working until comics.com 
changed everything, and still works in non-comics.com areas.

Shawn - if you can re-write it, I'd certainly appreciate it. The ability to 
easily add additional comics would be a nice touch.

Charlie.
http://msmvps.com/blogs/xperts64
http://mvp.support.microsoft.com/profile/charlie.russel

- Original Message - 
From: brian [EMAIL PROTECTED]
To: DQSD users mailing list dqsd-users@lists.sourceforge.net
Sent: Monday, November 10, 2008 4:37 PM
Subject: Re: [DQSD-Users] comx /dilbert access denied


 Charlie / Shawn --

I am assuming that you reloaded the xml searches in DQSD by typing a 
 single ! character in the search box, after replacing the
 comx.xml file (otherwise, you're still running the old search).

That being said, is the access denied message you're receiving 
 similar to the one I've attached to this message?  If so,
 welcome to my office-based hell.  I started getting this message doing any 
 comx query after a windows policy update on my office
 computer.  comx still worked fine on the WindowsXP machine I had at home 
 at the time.

Kim -- this may be where you come (back) in to the conversation --- if 
 they're seeing the same thing, it's the issue I was
 trying to explain I was having several months ago, and could no longer get 
 (for instance) comx to work properly on my machine at
 work.  There's something in the configuration of internet access, Windows 
 XP, or some policy therein that prevents the comx.xml
 script (and, perhaps, others as well) from working as they should. 
 Instead, I see the error message I've attached to this note.

I no longer have a Windows machine at home, so that's why I have no way 
 to test the changes I've made to the comx.xml file.  I
 am fairly confident they work, though, as I made similar changes to my 
 comx.php program, which I specifically wrote to run on my web
 server so that I could still get a single page with all my comics on it 
 from my machine at work (and, as a bonus, can also get from
 any non-windows [thus incapable of running DQSD] machine).  :)

comics.com did change the entire layout of their site on November 3, 
 and all of the comics hosted there stopped working
 (including dilbert, which changed a bit more radically than the rest). 
 As a result of those changes, I rewrote the portion of my
 php program that fetched comics from comics.com, and it now works.  The 
 changes I made to comx.xml mimic the changes I made to my
 php program... that said, they should work.  :)   I've also sent the 
 comx.xml to a friend of mine that was able to use DQSD and comx
 on his computer before, and I'll let you know if he has any problems with 
 this new update.

 anyway... I've rambled on enough here.   attached is the error screenshot 
 from my work machine (where comx.xml doesn't work, nor has
 it for several months) -- Shawn, Charlie -- I'd appreciate your input on 
 this thread as to whether that's the same message you're
 now seeing...



 Charlie Russel wrote:
 Unfortunately, so a I. :(
 Charlie.
 http://msmvps.com/blogs/xperts64
 http://mvp.support.microsoft.com/profile/charlie.russel

 - Original Message - 
 From: Shawn K. Hall [EMAIL PROTECTED]
 To: 'DQSD users mailing list' dqsd-users@lists.sourceforge.net
 Sent: Monday, November 10, 2008 1:11 AM
 Subject: Re: [DQSD-Users] comx /dilbert access denied


 I'm still getting access denied. :(

 -Shawn


 -Original Message-
 From: Kim Gräsman [mailto:[EMAIL PROTECTED]
 Sent: Monday, November 10, 2008 12:44 AM
 To: DQSD users mailing list
 Subject: Re: [DQSD-Users] comx /dilbert access denied

 Hi guys,

 I'm listening, so I'll commit it as soon as someone verifies that it
 works better than the old one.

 Thanks,
 - Kim








 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's 
 challenge
 Build the coolest Linux based applications with Moblin SDK  win great 
 prizes
 Grand prize is a trip for two to an Open Source event anywhere in the 
 world
 http://moblin-contest.org/redirect.php?banner_id=100url=/





 ___
 To unsubscribe visit:
 https://lists.sourceforge.net/lists/listinfo/dqsd-users
 DQSD-Users@lists.sourceforge.net
 http://sourceforge.net/mailarchive/forum.php?forum_id=8601
 


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org