Re: [libRETS-users] librets-users Digest Mon, 12 Aug 2019

22 views
Skip to first unread message

Abid Shaik

unread,
Aug 12, 2019, 2:54:46 PM8/12/19
to libret...@groups.realtors.org, lla...@thdisoftware.com
Good afternoon Lynn, 

Thank you so much for responding and assuring I'm not the only crazy guy pulling my hair to figure out what is going on. I feel the day there is no support for LibRets (at least for Windows). We are already neck deep in this integration. It would be painful task to rewrite and doing webrequests. Is there a GitHub project I can refer to to get started and build on top of it. We need to pull listings download media / read media URL. Any suggestions related to this would be greatly appreciated!! 

Thanks again for taking time and giving your inputs!! 

BrightDoor
Abid Shaik
Sr. Software EngineerBrightDoor
p: (800) 894-5982 x731 m: (919) 327-7843‬ a: 414 Fayetteville St, Raleigh, NC 27601 
Facebook  Twitter  LinkedIn  LinkedIn  LinkedIn
Schedule Your BrightDoor Demo! We're here to help.



On Mon, Aug 12, 2019 at 2:26 PM <librets-us...@groups.realtors.org> wrote:
librets-users Digest Mon, 12 Aug 2019

Table of contents:

* 1 - Re: [libRETS-users] librets-users Digest Thu, 08 Aug 2019 - Abid Shaik
  <ash...@brightdoor.com>
* 2 - RE: [libRETS-users] librets-users Digest Thu, 08 Aug 2019 - Lynn Lahman
  <lla...@thdisoftware.com>

----------------------------------------------------------------------

Message-ID: <1>
Date: Thu, 8 Aug 2019 15:28:42 -0400
From: Abid Shaik <ash...@brightdoor.com>
Subject: Re: [libRETS-users] librets-users Digest Thu, 08 Aug 2019

Hey KCZ,

Thanks for responding. I have been using same DLLs on our Windows server
2012, 2016 for over 5 years now. It was working fine until last month. This
error is intermittent doesn't happen all the time. It works just fine on
the windows server 2016 and randomly throws exception whenever it feels
like, this behavior is really strange.


[image: BrightDoor] <http://www.brightdoor.com/>
Abid Shaik
Sr. Software Engineer, BrightDoor
p: (800) 894-5982 x731 <800-894-5982> m: (919) 327-7843‬ <919-327-7843> a: 414
Fayetteville St, Raleigh, NC 27601
s: www.brightdoor.com e: ash...@brightdoor.com
[image: Facebook] <https://www.facebook.com/brightdoor>  [image: Twitter]
<https://twitter.com/brightdoor>  [image: LinkedIn]
<https://www.linkedin.com/company/brightdoor-systems-inc->  [image:
LinkedIn] <https://www.instagram.com/brightdoorsells/>  [image: LinkedIn]
<http://youtube.com/brightdoorsys>
Schedule Your BrightDoor Demo!
<sa...@brightdoor.com?subject=BrightDoor%20Demo%20Inquiry&body=Please
%20contact%20me%20to%20schedule%20a%20no-hassle%20demo%20and%20learn%20how
%20BrightDoor%20can%20make%20a%20positive%20impact%20in%20our%20sales

%20%26%20marketing%20efforts.%0A%0AMy%20best%20day%2Ftime%20is%3A%20%0A
%0ARegards%2C%0A%0A>
We're
here to help.



On Thu, Aug 8, 2019 at 2:26 PM <librets-us...@groups.realtors.org>
wrote:

> librets-users Digest Thu, 08 Aug 2019
>
> Table of contents:
>
> * 1 - Re: [libRETS-users] librets.libretsPINVOKE threw an exception. - KCZ
>   <kcz...@gmail.com>
>
> ----------------------------------------------------------------------
>
> Message-ID: <1>
> Date: Tue, 6 Aug 2019 11:09:37 -0600
> From: KCZ <kcz...@gmail.com>
> Subject: Re: [libRETS-users] librets.libretsPINVOKE threw an exception.
>
> Abid,
> Im not sure, but I think, you will need to use librets 64bits (no much
> details in your email)
>
> was your application running in a different server (32bits)?
>
> your app never ran on your server windows 2016?
>
>
>
> On Mon, Aug 5, 2019 at 11:26 AM Abid Shaik <ash...@brightdoor.com> wrote:
>
> > Hello there,
> >
> > We have been using LibRets .NET library for MLS integration for almost
> 7-8
> > years. Recently we are getting below error pretty frequently. Nothing
> > changed in our Implementation. We have not changed business logic related
> > to RetsSession in years. We are getting this error on Windows Server
> 2016.
> > Any suggestions or help on this error is greatly appreciated.
> >
> > Thanks in advance.
> >
> > The type initializer for 'librets.libretsPINVOKE' threw an exception.
> >
> >    at librets.libretsPINVOKE.new_RetsSession(String jarg1)
> >    at librets.RetsSession..ctor(String loginUrl)
> >    at *RetsSession session = new RetsSession(RETSURL);*
> >
> > The type initializer for 'SWIGExceptionHelper' threw an exception.
> >
> >    at librets.libretsPINVOKE.SWIGExceptionHelper..ctor()
> >    at librets.libretsPINVOKE..cctor()---
> >
> >
> > [image: BrightDoor] <http://www.brightdoor.com/>
> > Abid Shaik
> > Sr. Software Engineer, BrightDoor
> > p: (800) 894-5982 x731 <800-894-5982> m: (919) 327-7843‬ <919-327-7843>
> a:
> >  1919 Evans Rd, Cary, NC 27513
> > s: www.brightdoor.com e: ash...@brightdoor.com
> > [image: Facebook] <https://www.facebook.com/brightdoor>  [image:
> Twitter]
> > <https://twitter.com/brightdoor>  [image: LinkedIn]
> > <https://www.linkedin.com/company/brightdoor-systems-inc->  [image:
> > LinkedIn] <https://www.instagram.com/brightdoorsells/>  [image:
> LinkedIn]
> > <http://youtube.com/brightdoorsys>
> > Schedule Your BrightDoor Demo!
> > <sa...@brightdoor.com?subject=BrightDoor%20Demo%20Inquiry&body=Please
> %20contact%20me%20to%20schedule%20a%20no-hassle%20demo%20and%20learn%20how
> %20BrightDoor%20can%20make%20a%20positive%20impact%20in%20our%20sales
>
<http://sa...@brightdoor.com?subject=BrightDoor%20Demo%20Inquiry&body=Please%20contact%20me%20to%20schedule%20a%20no-hassle%20demo%20and%20learn%20how%20BrightDoor%20can%20make%20a%20positive%20impact%20in%20our%20sales>
> %20%26%20marketing%20efforts.%0A%0AMy%20best%20day%2Ftime%20is%3A%20%0A
> %0ARegards%2C%0A%0A> We're
> > here to help.
> >
> >
> >
>
>
> ------------------------------
>
> *********************************************
>
> End of librets-users Digest Thu, 08 Aug 2019
>
>


------------------------------
Message-ID: <2>
Date: Thu, 8 Aug 2019 19:50:50 +0000
From: Lynn Lahman <lla...@thdisoftware.com>
Subject: RE: [libRETS-users] librets-users Digest Thu, 08 Aug 2019

I have been sitting on the sidelines reading this email chain since it began
but was reluctant in today’s social media environment to voice my thoughts.  I
had very similar symptoms in a Windows 10/64-bit system more than a year ago.
I had discussions with one of the past (and no longer involved) LibRETS
developers/maintainers and I even helped support LibRETS maintenance for some
time by donating a Visual Studio license for use by the developer. We
eventually agreed that a native .Net download mechanism was probably needed
for me to get back to reliable operation (since I am strictly a .Net
developer).  I did that using .Net and an HTTPWebRequest architecture and it
has served me well now for over a year.

LibRETS is a remarkable tool and has been for a long time, but I fear that (in
the Windows/.Net world) it is reaching the end of life.  Please, I’m not
saying this as criticism to NAR, the past (or current) developers, current
users, etc. and I’m definitely not saying it so I end up having  tens or
hundreds of people sending me unfriendly emails – please.  I’ve just had no
reliability issues since moving away from it to a native .Net solution.

I wish you the best and do hope you find a solution.

Lynn Lahman




From: Abid Shaik <ash...@brightdoor.com>
Sent: Thursday, August 08, 2019 12:29 PM
To: libret...@groups.realtors.org; kcz...@gmail.com
Subject: Re: [libRETS-users] librets-users Digest Thu, 08 Aug 2019

Hey KCZ,

Thanks for responding. I have been using same DLLs on our Windows server 2012,
2016 for over 5 years now. It was working fine until last month. This error is
intermittent doesn't happen all the time. It works just fine on the windows
server 2016 and randomly throws exception whenever it feels like, this
behavior is really strange.


[BrightDoor]<http://www.brightdoor.com/>

Abid Shaik
Sr. Software Engineer, BrightDoor
p: (800) 894-5982 x731<tel:800-894-5982> m: (919) 327-7843<tel:919-327-7843>
a: 414 Fayetteville St, Raleigh, NC 27601
s: www.brightdoor.com<http://www.brightdoor.com/> e:
ash...@brightdoor.com<mailto:ash...@brightdoor.com>
[Facebook]<https://www.facebook.com/brightdoor>  [Twitter]
<https://twitter.com/brightdoor>   [LinkedIn]
<https://www.linkedin.com/company/brightdoor-systems-inc->   [LinkedIn]
<https://www.instagram.com/brightdoorsells/>   [LinkedIn]
<http://youtube.com/brightdoorsys>
Schedule Your BrightDoor Demo!
<mailto:sa...@brightdoor.com?subject=BrightDoor%20Demo%20Inquiry&body=Please%20contact%20me%20to%20schedule%20a%20no-hassle%20demo%20and%20learn%20how%20BrightDoor%20can%20make%20a%20positive%20impact%20in%20our%20sales%20%26%20marketing%20efforts.%0A%0AMy%20best%20day%2Ftime%20is%3A%20%0A%0ARegards%2C%0A%0A>
We're here to help.



On Thu, Aug 8, 2019 at 2:26 PM <librets-users-
req...@groups.realtors.org<mailto:librets-us...@groups.realtors.org>>
wrote:
librets-users Digest Thu, 08 Aug 2019

Table of contents:

* 1 - Re: [libRETS-users] librets.libretsPINVOKE threw an exception. - KCZ
  <kcz...@gmail.com<mailto:kcz...@gmail.com>>

----------------------------------------------------------------------

Message-ID: <1>
Date: Tue, 6 Aug 2019 11:09:37 -0600
From: KCZ <kcz...@gmail.com<mailto:kcz...@gmail.com>>
Subject: Re: [libRETS-users] librets.libretsPINVOKE threw an exception.

Abid,
Im not sure, but I think, you will need to use librets 64bits (no much
details in your email)

was your application running in a different server (32bits)?

your app never ran on your server windows 2016?



On Mon, Aug 5, 2019 at 11:26 AM Abid Shaik
<ash...@brightdoor.com<mailto:ash...@brightdoor.com>> wrote:

> Hello there,
>
> We have been using LibRets .NET library for MLS integration for almost 7-8
> years. Recently we are getting below error pretty frequently. Nothing
> changed in our Implementation. We have not changed business logic related
> to RetsSession in years. We are getting this error on Windows Server 2016.
> Any suggestions or help on this error is greatly appreciated.
>
> Thanks in advance.
>
> The type initializer for 'librets.libretsPINVOKE' threw an exception.
>
>    at librets.libretsPINVOKE.new_RetsSession(String jarg1)
>    at librets.RetsSession..ctor(String loginUrl)
>    at *RetsSession session = new RetsSession(RETSURL);*
>
> The type initializer for 'SWIGExceptionHelper' threw an exception.
>
>    at librets.libretsPINVOKE.SWIGExceptionHelper..ctor()
>    at librets.libretsPINVOKE..cctor()---
>
>
> [image: BrightDoor] <http://www.brightdoor.com/>
> Abid Shaik
> Sr. Software Engineer, BrightDoor
> p: (800) 894-5982 x731 <800-894-5982> m: (919) 327-7843 <919-327-7843> a:
>  1919 Evans Rd, Cary, NC 27513
> s: www.brightdoor.com<http://www.brightdoor.com> e:
ash...@brightdoor.com<mailto:ash...@brightdoor.com>
> [image: Facebook] <https://www.facebook.com/brightdoor>  [image: Twitter]
> <https://twitter.com/brightdoor>  [image: LinkedIn]
> <https://www.linkedin.com/company/brightdoor-systems-inc->  [image:
> LinkedIn] <https://www.instagram.com/brightdoorsells/>  [image: LinkedIn]
> <http://youtube.com/brightdoorsys>
> Schedule Your BrightDoor Demo!
> <sa...@brightdoor.com?subject=BrightDoor%20Demo%20Inquiry&body=Please
%20contact%20me%20to%20schedule%20a%20no-hassle%20demo%20and%20learn%20how
%20BrightDoor%20can%20make%20a%20positive%20impact%20in%20our

%20sales<http://sa...@brightdoor.com?subject=BrightDoor%20Demo%20Inquiry&body=Please%20contact%20me%20to%20schedule%20a%20no-hassle%20demo%20and%20learn%20how%20BrightDoor%20can%20make%20a%20positive%20impact%20in%20our%20sales>
%20%26%20marketing%20efforts.%0A%0AMy%20best%20day%2Ftime%20is%3A%20%0A
%0ARegards%2C%0A%0A> We're
> here to help.
>
>
>


 -----------------------------

*********************************************

End of librets-users Digest Thu, 08 Aug 2019


------------------------------

*********************************************

End of librets-users Digest Mon, 12 Aug 2019

Lynn Lahman

unread,
Aug 12, 2019, 3:32:32 PM8/12/19
to Abid Shaik, libret...@groups.realtors.org

Abid,

 

To the best of my knowledge, LibRETS was originally written in C++ for a Linux environment.  The Windows version was lucky enough to work for a number of years and there was support for that working software, but once Windows and the hardware world got to a certain point really wasn’t a good upgrade path available to it.  The folks who have supported LibRETS in the past did the best they could trying to keep the Windows version running, but the C++/Linux foundation just doesn’t encourage that. 

 

Today, one must decide if they want to make the same commitment I did and, from my perspective, that’s not a bad thing but it can be an unwanted interruption when you are in the middle of a critical project.  I was in that position as well.

 

I have not made my interface a freebie on GitHub or any other location, mostly because I have no interest in supporting or developing it for free.  It’s not that I’m selfish or greedy but I have costs too and I cannot spend significant hours of my time in unplanned priority circumstances for free.  Neither have I decided to “jump off the cliff” of trying to market the product commercially.  I did not bring it up to you to try to encourage a sale.  I responded to your email after much delay and indecision but, in the end, my concern and empathy for your position won over my own objections and I sent the email I did to provide whatever discussion points and direction I could.

 

As kind of a counter-discussion point, have you considered installing your LibRETS download functionality on an older computer with an older operating system to see if you achieve reliable operation?  I’m not trying to be smart or cute by asking.  I just don’t know any other way around the problem, but this would only work if you were doing periodic downloads in a batch mode.  If you were planning on using LibRETS to do downloads to meet user search requests dynamically from a website server(s), then I doubt that idea would be much help.  If I may ask, which way were/are you planning on using an interface – a kind of periodic MLS-wide download or from a web server to satisfy individual web user requests?

 

Lynn Lahman

THDi Software, LLC

15443 S 5th Street

Phoenix, AZ 85048

 

Phone:     602-684-2466

Email:       LLahman@THDi Software.com

LinkedIn: https://www.linkedin.com/pub/lynn-lahman/b/52/4b8

 

final_logoblackhires_small

Mark Klein

unread,
Aug 12, 2019, 5:48:28 PM8/12/19
to libret...@groups.realtors.org
On: Mon, 12 Aug 2019 14:53:58 -0400, Abid Shaik said:

> Good afternoon Lynn,
>
> Thank you so much for responding and assuring I'm not the only crazy guy
pulling
> my hair to figure out what is going on. I feel the day there is no support
for LibRets
> (at least for Windows).

libRETS _is_ open source. These days, it is the community that supports it
through
pull requests to the github repo. I'll be happy to commit PR that don't have
breaking changes in them. Beyond that, I've been out of the Real Estate
industry since 2012, so I leave libRETS support to others.

But, as Lynn points out, Windows is and always has been an after thought.
libRETS
was designed for Linux and Windows and other language support was bolted on
through the use of something called SWIG. I'm not a Windows developer and I
struggled mightily just to get a few builds to succeed.

Perhaps you can use a Linux machine/VM as an adaptor? Outside of that, I have
no other suggestions.

Sorry,


M.


Abid Shaik

unread,
Aug 13, 2019, 1:43:35 PM8/13/19
to Lynn Lahman, DBi...@ppar.org, libret...@groups.realtors.org
Lynn, 

I really appreciate your time and effort while responding to my emails. No worries we are probably going to explore RESO's Web APIs moving forward if there is not much support for LibRets in Windows environment. 

"have you considered installing your LibRETS download functionality on an older computer" --This integration has been working on Windows server 2008, 2012 and 2016 and Windows 10 (Dev). Downgrading to older windows OS is not an option for us.   

"this would only work if you were doing periodic downloads in a batch mode" -- This is what we are doing. We don't do real time search. 

Dave, 

Thank you so much for your suggestion. I will try your approach and see how that works. This integration is in legacy app (.Net 2.0 NOT Core 2.0). Will see if those libraries you mentioned are compatible with .Net 2.0 

Thanks again for your help!! Will keep you posted how Web API integration goes. 

BrightDoor
Abid Shaik
Sr. Software EngineerBrightDoor
p: (800) 894-5982 x731 m: (919) 327-7843‬ a: 414 Fayetteville St, Raleigh, NC 27601 
Facebook  Twitter  LinkedIn  LinkedIn  LinkedIn
Schedule Your BrightDoor Demo! We're here to help.


Lynn Lahman

unread,
Aug 13, 2019, 1:49:54 PM8/13/19
to Abid Shaik, DBi...@ppar.org, libret...@groups.realtors.org

Abid,

 

It’s been a pleasure.  I wish you nothing but success in your venture.

 

Lynn

Reply all
Reply to author
Forward
0 new messages