运行简单的python脚本时出现错误0085 [英] Error 0085 while running simple python script

查看:123
本文介绍了运行简单的python脚本时出现错误0085的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

我正在进行Microsoft DAT203.2x课程,并且我在一个简单的脚本上不断收到此错误,如果匹配一个字符串,则将admission_type_description中的字符串替换为'unknown'未指定的类型。

I am doing Microsoft DAT203.2x course and I keep getting this error on a simple script which replaces strings in admission_type_description with 'unknown' if they match one of unspecified types.

错误0085:脚本评估期间发生以下错误,请查看输出日志以获取更多信息:

------- ---来自Python解释器的错误消息开始----------
$
回溯(最近一次呼叫最后一次):

 文件"C:\\\ t \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ sys.exit(arg_handler(sys.argv))

 文件"C:\\\ t \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ ret = handle_batch(args)

 文件"C:\\\ n \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ outfiles = args.next_multi_arg()

 文件"C:\ server\invokepy.py",第249行,在next_multi_arg中,
    num = int(self.next_arg())

ValueError:带有基数10的int()的无效文字:'。maml.oport1'

返回非零的进程退出代码1



----------来自Python的错误消息结束 解释器  ----------

开始时间:UTC 08/16/2017 11:40:09

结束时间:UTC 08/16/2017 11 :40:33

Error 0085: The following error occurred during script evaluation, please view the output log for more information:
---------- Start of error message from Python interpreter ----------
Traceback (most recent call last):
  File "C:\server\invokepy.py", line 316, in <module>
    sys.exit(arg_handler(sys.argv))
  File "C:\server\invokepy.py", line 307, in arg_handler
    ret = handle_batch(args)
  File "C:\server\invokepy.py", line 284, in handle_batch
    outfiles = args.next_multi_arg()
  File "C:\server\invokepy.py", line 249, in next_multi_arg
    num = int(self.next_arg())
ValueError: invalid literal for int() with base 10: '.maml.oport1'
Process returned with non-zero exit code 1

---------- End of error message from Python  interpreter  ----------
Start time: UTC 08/16/2017 11:40:09
End time: UTC 08/16/2017 11:40:33

错误指向服务器端文件,我无法弄清楚如何处理此错误。

Error points to the server side file and I can't figure out what to do with this error.

编辑:我偶然使用了python脚本的第二个输入。问题已解决。 

By accident I used second input of python script. Issue solved. 

推荐答案

你能解释一下这是如何解决的吗?
Can you please explain how this got solved ?


这篇关于运行简单的python脚本时出现错误0085的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆