Open nonprofittechy opened 1 year ago
TypeError: install_pip_package() missing 1 required positional argument: 'limitation': [' File "/usr/share/docassemble/local3.10/lib/python3.10/site-packages/docassemble/webapp/worker_tasks.py", line 1089, in background_action\n interview.assemble(user_dict, interview_status)\n', ' File "/usr/share/docassemble/local3.10/lib/python3.10/site-packages/docassemble/base/parse.py", line 8799, in assemble\n raise the_error\n', ' File "/usr/share/docassemble/local3.10/lib/python3.10/site-packages/docassemble/base/parse.py", line 8586, in assemble\n question_result = self.askfor(missingVariable, user_dict, old_user_dict, interview_status, seeking=interview_status.seeking, follow_mc=follow_mc, seeking_question=seeking_question)\n', ' File "/usr/share/docassemble/local3.10/lib/python3.10/site-packages/docassemble/base/parse.py", line 9294, in askfor\n exec_with_trap(question, user_dict)\n', ' File "/usr/share/docassemble/local3.10/lib/python3.10/site-packages/docassemble/base/parse.py", line 9935, in exec_with_trap\n exec(the_question.compute, the_dict)\n', ' File "<code block>", line 8, in <module>\n', ' File "/usr/share/docassemble/local3.10/lib/python3.10/site-packages/docassemble/ALDashboard/aldashboard.py", line 67, in install_from_pypi\n return install_pip_package(packagename)\n']
Looks like this is a new required parameter.
elif package.type == 'pip': if package.limitation is None: limit = "" else: limit = str(package.limitation) commands = ['pip', 'install'] if disable_pip_cache: commands.append('--no-cache-dir') commands.extend(['--quiet', '--prefix=' + PACKAGE_DIRECTORY, '--src=' + temp_dir, '--upgrade', '--log-file=' + pip_log.name, package.name + limit])
Looks like limit is related to being able to install sub packages via pip.
limit
Looks like this is a new required parameter.
Looks like
limit
is related to being able to install sub packages via pip.