Hi Scott, It looks like you've uncovered a bug with business data import on windows. Turns out sys.maxsize is not an integer on windows. I've updated the latest to use sys.maxint instead(this should be an integer). Go ahead and pull the latest and give it a try.
Cheers, Ryan On Tuesday, April 11, 2017 at 9:40:56 AM UTC-7, Scott Branting wrote: > > Dear Alexi and Ryan, > > I also just hit an absolute path needed error, even after the > documentation was updated. I changed it to the absolute path and received > the following error: > > (ENV) C:\ArchesProjects\arches>python manage.py packages -o > import_business_data > -s > C:\ArchesProjects\arches\tests\fixtures\data\csv\heritage_resource_model.csv > -ow overwrite > operation: import_business_data > package: arches > Traceback (most recent call last): > File "manage.py", line 27, in <module> > execute_from_command_line(sys.argv) > File > "C:\ArchesProjects\ENV\lib\site-packages\django\core\management\__init__. > py", line 353, in execute_from_command_line > utility.execute() > File > "C:\ArchesProjects\ENV\lib\site-packages\django\core\management\__init__. > py", line 345, in execute > self.fetch_command(subcommand).run_from_argv(self.argv) > File > "C:\ArchesProjects\ENV\lib\site-packages\django\core\management\base.py", > line 348, in run_from_argv > self.execute(*args, **cmd_options) > File > "C:\ArchesProjects\ENV\lib\site-packages\django\core\management\base.py", > line 399, in execute > output = self.handle(*args, **options) > File "C:\ArchesProjects\arches\arches\management\commands\packages.py", > line 1 > 66, in handle > self.import_business_data(options['source'], options['config_file'], > options > ['overwrite'], options['bulk_load']) > File "C:\ArchesProjects\arches\arches\management\commands\packages.py", > line 3 > 74, in import_business_data > BusinessDataImporter(path, > config_file).import_business_data(overwrite=overw > rite, bulk=bulk_load) > File > "C:\ArchesProjects\arches\arches\app\utils\data_management\resources\impo > rter.py", line 52, in __init__ > csv.field_size_limit(sys.maxsize) > TypeError: limit must be an integer > > Thanks, > > Scott > ASORCHI > -- -- To post, send email to archesproject@googlegroups.com. To unsubscribe, send email to archesproject+unsubscr...@googlegroups.com. For more information, visit https://groups.google.com/d/forum/archesproject?hl=en --- You received this message because you are subscribed to the Google Groups "Arches Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to archesproject+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.