Ok.. I'm sorta stuck at what to do next.

I input my connection info, activated, mapped fields, saved, ran drush... Where exactly am I suppose to see the realty listing? or what am I suppose to do next? I tried following the README from th 6.x version but that's only half relevant to 7.x .

I know typing up a tutorial is a pain in the ass. How about shooting a quick video tutorial?
(it took me over an hour to figure out the above, but now that I know it, I'd be able to demo it under 1 minute--so I'm thinking you can probably do the same for the full tutorial in about 2 minutes time)

btw, here is my drush... i'm not sure what to look for here either... 45.3 MB looks like it's pulling some kind of sufficient data...

[root@server public_html]# drush -u erd -d rets-import
Bootstrap to phase 0. [0.02 sec, 2.06 MB]                            [bootstrap]
Drush bootstrap phase : _drush_bootstrap_drush() [0.02 sec, 2.27 MB] [bootstrap]
Bootstrap to phase 5. [0.04 sec, 5.35 MB]                                                                                                                     [bootstrap]
Drush bootstrap phase : _drush_bootstrap_drupal_root() [0.04 sec, 5.36 MB]                                                                                    [bootstrap]
Initialized Drupal 7.12 root directory at /home/fredondo/domains/public_html [0.05 sec, 6.77 MB]                                    [notice]
Drush bootstrap phase : _drush_bootstrap_drupal_site() [0.05 sec, 6.77 MB]                                                                                    [bootstrap]
Initialized Drupal site default at sites/default [0.05 sec, 6.78 MB]                                                                                             [notice]
Drush bootstrap phase : _drush_bootstrap_drupal_configuration() [0.05 sec, 6.78 MB]                                                                           [bootstrap]
Drush bootstrap phase : _drush_bootstrap_drupal_database() [0.07 sec, 9.3 MB]                                                                                 [bootstrap]
Successfully connected to the Drupal database. [0.07 sec, 9.3 MB]                                                                                             [bootstrap]
Drush bootstrap phase : _drush_bootstrap_drupal_full() [0.07 sec, 9.3 MB]                                                                                     [bootstrap]
Bootstrap to phase 6. [0.35 sec, 43.81 MB]                                                                                                                    [bootstrap]
Drush bootstrap phase : _drush_bootstrap_drupal_login() [0.35 sec, 43.81 MB]                                                                                  [bootstrap]
Successfully logged into Drupal as erd (uid=1) [0.35 sec, 43.83 MB]                                                                                           [bootstrap]
Found command: rets-import (commandfile=drealty) [0.35 sec, 43.83 MB]                                                                                         [bootstrap]
Initializing drush commandfile: user [0.35 sec, 43.83 MB]                                                                                                     [bootstrap]
Command dispatch complete [0.39 sec, 45.3 MB]                                                                                                                    [notice]
 Timer  Cum (sec)  Count  Avg (msec) 
 page   0.333      1      333.39     

Peak memory usage was 45.46 MB [0.39 sec, 45.3 MB]               

Comments

camidoo’s picture

I know typing up a tutorial is a pain in the ass. How about shooting a quick video tutorial?
(it took me over an hour to figure out the above, but now that I know it, I'd be able to demo it under 1 minute--so I'm thinking you can probably do the same for the full tutorial in about 2 minutes time)

I can understand your frustration, however, I am focused on finalizing the architecture of the module, as it is still very much in beta. That being said, it really wouldn't be prudent to spend much time on documentation at the moment as the module is going through some radical changes.

If you would like to contribute some documentation or a video (apparently you're pretty efficient at doing screen casts, as it would probably take me longer than a minute to get screenflow up and running and setting up a sandbox site to demonstrate on) i would definitely welcome the contribution as would the entire dRealty community.

As for support request:

It doesn't look as if you have everything configured, from your drush log it's not pulling anything down, i would guess that you need to make sure you have a class enabled and set it's lifetime to 'everytime' for testing purposes.

basically the workflow goes like this:

  • create connection
  • activate connection
  • choose resource type to configure
  • set RETS resource type maping
  • choose a class to configure
  • configure it's fields
  • configure the options (pick a query type and decide wether to import images)
  • enable the class (if it's not enabled it won't import)
  • set the life time
  • ensure that you click 'save changes' on the resource management page

then do a
drush -u <username> -d rets-import
if it still not importing listings then you can attempt to do a
drush cc all

additionally, your server may not support offset, which would be why you're not getting any listings. There really isn't any easy way to check to see if your server supports offset or not. But some things you may try are changing the query type to one of the ones that are designed for servers that don't support offset.

Hope this helps and i'm really looking forward to that screencast!

many thanks!

kevinquillen’s picture

Status: Active » Closed (works as designed)

The 2.x branch has been closed. We encourage you to try the 3.x branch which is much more easier to use and is more stable.

duntuk’s picture

Thanks camidoo! setting to 'everytime' solved the issue for me... Now gotta tweak the mapping, because i see a bunch of 'duplicate entry' errors in drush import...