scrapinghub / portia2code

BSD 3-Clause "New" or "Revised" License
49 stars 25 forks source link

slybot.utils ImportError: cannot import name Storage #6

Open ivarzap opened 7 years ago

ivarzap commented 7 years ago

from the Bash: portia_porter $sourceDir $destDir

I get:

Traceback (most recent call last): File "/home/ivar/anaconda2/bin/portia_porter", line 14, in from slybot.utils import Storage ImportError: cannot import name Storage

Nowhere in the slybot project is to be found a keyword "Storage"

The current versions are: Anaconda, with Python 2.7 slybot==0.13.0b32 portia2code==0.0.10

ruairif commented 7 years ago

Portia2Code needs Slybot 0.13.0b33 which hasn't been released yet, sorry about that. Can you try using portia2code 0.0.9 instead and see if that works for you? The only changes in the 0.0.10 release were Python 3 support, this upcoming storage loader change and slightly better indentation in the generated code of very complex spiders