- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我是 Stack Overflow 的新手,所以如果问题的结构需要改进,我深表歉意。
我第一次尝试在 Mac 上的 cookiecutter-bonobo 中创建一个新项目(最近安装了 anaconda3 来替换 anaconda2,所以我使用 python3)。我正在遵循这些说明 https://www.bonobo-project.org/with/cookiecutter 。到目前为止,我已经使用 pip 成功安装了 cookiecutter 和 bonobo:
pip install bonobo cookiecutter
但是在命令行中执行以下步骤时出现错误:
bonobo init example-jobs
错误读取
CRIT:0001:root: Uncaught exception (in thread 140735648375616).
│ Traceback (most recent call last):
│ File "/Users/maxpaton/anaconda3/bin/bonobo", line 11, in <module>
│ sys.exit(entrypoint())
│ File "/Users/maxpaton/anaconda3/lib/python3.6/site-packages/bonobo/commands/__init__.py", line 59, in entrypoint
│ command(**parsed_args)
│ File "/Users/maxpaton/anaconda3/lib/python3.6/site-packages/bonobo/commands/init.py", line 74, in handle
│ self.create_file_from_template(template=template, filename=filename)
│ File "/Users/maxpaton/anaconda3/lib/python3.6/site-packages/bonobo/commands/init.py", line 24, in create_file_from_template
│ raise ValueError('Filenames should end with ".py".')
└ ValueError Filenames should end with ".py".
所需的结果是创建一个目录,其中包含某些有用的文件。我在 https://github.com/python-bonobo/bonobo/issues/235 发现了一个非常相似的问题,但建议的解决方案对我不起作用。
谢谢。
最佳答案
Cookiecutter 模板已被弃用,不再需要。
现在有两种方法可以引导 ETL 作业:
bonobo init my-etl-job.py
(请注意扩展名)。medikit
(pip install medikit
),然后运行 bonobo init --package my_etl_pkg
.我刚刚更新了这方面的文档 https://www.bonobo-project.org/how-to/bootstrap来描述实际的做法,应该比以前简单得多。
希望有帮助!
关于python - Cookiecutter-bonobo 初始化失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50813692/
我正在使用一个名为 bonobo 的轻型 ETL 库。csv 编写器 bonobo.CsvWriter 类有一个工厂方法: def writer_factory(self, file):
我刚刚开始使用 Git 在本地网络上进行版本控制。为了允许多个用户同步存储库,我还开始使用运行良好的 Bonobo Git Sever 包。 到目前为止,我总是通过在 Bonobo 中创建它来初始化存
我在我的 iis 上托管了 bonobo git 服务器,我将配置选项保留为默认值,这意味着它应该使用其内部成员服务。每当我导航到我的服务器时,在我注册任何用户之前都会提示我登录屏幕,并且我尝试过的任
我是 Stack Overflow 的新手,所以如果问题的结构需要改进,我深表歉意。 我第一次尝试在 Mac 上的 cookiecutter-bonobo 中创建一个新项目(最近安装了 anacond
我使用标准 Bonobo 编写器进行文件输出(CsvWriter 等)。 如果这些传递的是绝对路径('/data/output.csv'),它们将假定它是相对路径,从而触发“找不到资源”错误。 在 D
我有某种错误的脚本,以某种方式在我的 Bonobo 服务器中放置了一个 repo 的副本。然后 Bonobo 通过消息 Discovered in file system 找到了它。我从上述文件系统中
我在 Windows 8 服务器上安装了 bonobo Git Server, 它显示登录页面。根据登录说明,用户名和密码是 admin,admin。 之后再次返回同一个登录页面。 请告诉我解决办法
我最近在我的一台机器上安装了 Bonobo.Git.Server。我有一个域 Controller ,我通过 IIS 中的设置连接了身份验证。如果我登录到属于域的计算机/用户,我可以很好地执行“git
我刚刚开始尝试设置 Bonobo Git 服务器。我没有看到任何在其中设置分支的方法?我看过有关分支文件夹权限的讨论,所以我知道可以做到。有没有办法从 Web 界面创建分支? 我将使用 SourceT
我试图找到一个菜单系统,我可以构建一个类似于 http://www.bonobos.com/ 的网站导航。 .我需要它在每个下拉菜单中都有一个带有静态图像的下拉菜单。 如有任何帮助或指点,我们将不胜感
Bonobo Git Server 有工作客户端吗?喜欢Source Tree ?有人安装和配置它吗? 最佳答案 Github & Source Tree会做的很好。与其他任何服务器一样,它只是一个
我使用 Bonobo Git Server ,我想将我的存储库移动到另一个驱动器。 当前存储库位于 C:\inetpub\wwwroot\Bonobo.Git.Server\App_Data\Repo
我只想将对 master 分支的写权限授予一组人。在 IIS 服务器托管的 Bonobo Git 服务器中似乎没有这样的选项。 有人可以为此提出解决方案吗? 最佳答案 是的,你是对的——Bonobo
我下载并安装了 Bonobo Git Server (6.0.0.532)。我遵循了 IIS 身份验证设置: 我通过重新扫描目录创建存储库。 我创建用户(登录:qqq,密码:qqq) 当我尝试通过 T
特别是,我的团队有一个 Bonobo git,我们必须使用拉取请求作为工作流程的重要组成部分,但我什至无法通过命令在 Bonobo git 中拉取请求,我现在应该做什么?谢谢! 最佳答案 “拉取请求”
我正在尝试 Bonobo,获取字典格式的数据源,然后写入 CSV 文件。 但是,当我将字典生成给 bononbo.CsvWriter 时,结果是包含表示为字符串的字典的单个字段。 这可以使用转换脚本复
我的 Win 7 PC 上安装了 Bonobo Git Server 3.6 版。今天,我尝试忘记密码,但它弹出错误消息,显示无法发送电子邮件。验证 SMTP 设置。. 如何以及在哪里可以设置 SMT
我正在尝试使用 Bonobo git 服务器来存储我自己的项目。但是,我在克隆、 pull 和推送到存储库时遇到了麻烦。 每当我尝试执行某个操作(http 或 https;克隆、 pull 或推送)时
我正在尝试设置 Bonobo Git 服务器以在中央服务器上使用 github。我已按照 their documentation. 给出的说明进行操作按照他们描述的方式完成所有操作后,当我尝试访问 B
我已按照所有步骤在我们的一台办公室服务器上安装 Bonobo。 我能够在服务器本地和通过办公室的另一个系统远程运行 Web 应用程序。所以那部分工作得很好 但是 - 当我尝试使用 MINGW32 gi
我是一名优秀的程序员,十分优秀!