You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2020/10/14 05:47:51 UTC

[GitHub] [incubator-dolphinscheduler] teacherZF opened a new issue #3903: 官网上关于调用Python资料错误?

teacherZF opened a new issue #3903:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/3903


   官网上https://dolphinscheduler.apache.org/zh-cn/docs/1.3.2/user_doc/system-manual.html 关于python调用的资料编有问题。
   如下:
   
   ![2](https://user-images.githubusercontent.com/20456459/95948512-42a9ca80-0e23-11eb-82c1-45bfb7ac9dd3.png)
   可以再python脚本里调用
   `python test.py`么?
   还是说后端做的特殊处理?
   我再尝试这样调用时没有成功,
   这样很容易引起误导。
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-dolphinscheduler] zhangfeng114 closed issue #3903: The official website is wrong about calling Python file?

Posted by GitBox <gi...@apache.org>.
zhangfeng114 closed issue #3903:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/3903


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-dolphinscheduler] xingchun-chen commented on issue #3903: The official website is wrong about calling Python file?

Posted by GitBox <gi...@apache.org>.
xingchun-chen commented on issue #3903:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/3903#issuecomment-708282262


   You can refer to the figure below, to quote the py file in the directory, you need to quote __init__.py
   ![image](https://user-images.githubusercontent.com/55787491/95970422-83fda280-0e42-11eb-9210-87f8034c8f1c.png)
   ![image](https://user-images.githubusercontent.com/55787491/95970921-1aca5f00-0e43-11eb-9d3a-422fae0b876f.png)
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-dolphinscheduler] dailidong commented on issue #3903: 官网上关于调用Python资料错误?

Posted by GitBox <gi...@apache.org>.
dailidong commented on issue #3903:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/3903#issuecomment-708181417


   did you  upload your test.py to resource center?and did you notice that you should choose this test.py first. as follow:
   ![image](https://user-images.githubusercontent.com/15833811/95950313-daf57e80-0e26-11eb-9dc9-93573e22cf0d.png)
   
   By the way, as a global project, please update/add title and desc in English, thx


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-dolphinscheduler] xingchun-chen edited a comment on issue #3903: The official website is wrong about calling Python file?

Posted by GitBox <gi...@apache.org>.
xingchun-chen edited a comment on issue #3903:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/3903#issuecomment-708282262


   You can refer to the figure below, to quote the py file in the directory, you need to quote ”__init__.py“
   ![image](https://user-images.githubusercontent.com/55787491/95970422-83fda280-0e42-11eb-9210-87f8034c8f1c.png)
   ![image](https://user-images.githubusercontent.com/55787491/95970921-1aca5f00-0e43-11eb-9d3a-422fae0b876f.png)
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-dolphinscheduler] teacherZF commented on issue #3903: 官网上关于调用Python资料错误?

Posted by GitBox <gi...@apache.org>.
teacherZF commented on issue #3903:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/3903#issuecomment-708189288


   Yes,I uploaded my script in the resource center,But it still did not execute successfully。
   as follows:
   ![3](https://user-images.githubusercontent.com/20456459/95950983-2eb49780-0e28-11eb-8beb-3d8467777c90.png)
   But keep getting wrong results
   ![4](https://user-images.githubusercontent.com/20456459/95951130-6b808e80-0e28-11eb-8625-10b7d9d72e84.png)
   I can execute successfully in the background of the server
   ![5](https://user-images.githubusercontent.com/20456459/95951193-9834a600-0e28-11eb-9697-51ce38489be7.png)
   This is my environment configuration
   ![7](https://user-images.githubusercontent.com/20456459/95951475-1133fd80-0e29-11eb-9ec5-ab893ecffb5f.png)
   ![8](https://user-images.githubusercontent.com/20456459/95951497-185b0b80-0e29-11eb-957d-b5349c308b48.png)
   This is the log
   ![9](https://user-images.githubusercontent.com/20456459/95951695-7982df00-0e29-11eb-88c1-0b633705df51.png)
   What is my possible mistake??
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-dolphinscheduler] xingchun-chen edited a comment on issue #3903: The official website is wrong about calling Python file?

Posted by GitBox <gi...@apache.org>.
xingchun-chen edited a comment on issue #3903:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/3903#issuecomment-708282262


   You can refer to the figure below, to quote the py file in the directory, you need to quote __init__.py
   ![image](https://user-images.githubusercontent.com/55787491/95970422-83fda280-0e42-11eb-9210-87f8034c8f1c.png)
   ![image](https://user-images.githubusercontent.com/55787491/95970921-1aca5f00-0e43-11eb-9d3a-422fae0b876f.png)
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-dolphinscheduler] teacherZF edited a comment on issue #3903: 官网上关于调用Python资料错误?

Posted by GitBox <gi...@apache.org>.
teacherZF edited a comment on issue #3903:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/3903#issuecomment-708189288


   @dailidong  
   Yes,I uploaded my script in the resource center,But it still did not execute successfully。
   as follows:
   ![3](https://user-images.githubusercontent.com/20456459/95950983-2eb49780-0e28-11eb-8beb-3d8467777c90.png)
   But keep getting wrong results
   ![4](https://user-images.githubusercontent.com/20456459/95951130-6b808e80-0e28-11eb-8625-10b7d9d72e84.png)
   I can execute successfully in the background of the server
   ![5](https://user-images.githubusercontent.com/20456459/95951193-9834a600-0e28-11eb-9697-51ce38489be7.png)
   This is my environment configuration
   ![7](https://user-images.githubusercontent.com/20456459/95951475-1133fd80-0e29-11eb-9ec5-ab893ecffb5f.png)
   ![8](https://user-images.githubusercontent.com/20456459/95951497-185b0b80-0e29-11eb-957d-b5349c308b48.png)
   This is the log
   ![9](https://user-images.githubusercontent.com/20456459/95951695-7982df00-0e29-11eb-88c1-0b633705df51.png)
   What is my possible mistake??
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org