当前位置: 首页 > news >正文

做电子委托在那个网站seo权重优化

做电子委托在那个网站,seo权重优化,武汉做网站的公司怎么搜不到中企动力,大连建设工程信息网官网查询因为我参考minio的文档操作,当时文档并不是很详细,这篇博文会统一记录自己所遇到的问题。以下的每个标题都是具体的错误信息。 minio-py文档 错误1:SSL: WRONG_VERSION_NUMBER 这个错误的原因是在创建minio的客户端时候没有关闭SSL,请使用如…

因为我参考minio的文档操作,当时文档并不是很详细,这篇博文会统一记录自己所遇到的问题。以下的每个标题都是具体的错误信息。
minio-py文档

错误1:SSL: WRONG_VERSION_NUMBER

这个错误的原因是在创建minio的客户端时候没有关闭SSL,请使用如下的代码:

    minio_client = Minio(endpoint=file_settings.ENDPOINT,access_key=file_settings.ACCESS_KEY,secret_key=file_settings.SECRET_KEY,secure=False, # 加上即可解决错误)

错误2:path in endpoint is not allowed

因为在官网使用的是minio的playground,而不是本地的这样连接方法,因此如果你的endpoint是http://127.0.0.1:9000,就会报错,正确的endpoint地址应该是127.0.0.1:9000

错误3:S3 giving me NoSuchKey error even when the key exists

这个错误有点误导性,观察Key会以为是自己的access_key,secret_key的问题,但是并不是,实际上,文件的名称被称为Object Key,即对象箭,所以请再次检查你的文件名是否正确,比如我的文件名因为涉及文件夹,所以会很复杂,可以尝试打印出具体source object,检查地址是否和web页面上的地址一致。

错误4:‘utf-8’ codec can’t decode byte 0xa1 in position 10: invalid start byte

我的minio中的文件是一个pdf,我想要获取其中的文字,原始的代码,即从response中读取数据,如下:

# Get document from minio server
response = minio_client.get_object(bucket_name="file",object_name="1768107746265141248/3hpLARbrpT1dYEp83zscg2l4X1VYCYkXxKQHs1c7bjQ=/1768176834878382080")
# Read data directly from the response
data = response.data.decode()

注意默认的解析方式是utf-8,也可以尝试其它的编码方式,但是无论尝试其它任何的编码,似乎都无法成功。需要注意的是,获取的是文件,因此应该将其转换为io流,然后读取其中的文字代码应当如下:

response = minio_client.get_object(bucket_name="file",object_name="1768107746265141248/3hpLARbrpT1dYEp83zscg2l4X1VYCYkXxKQHs1c7bjQ=/1768176834878382080")
# Write response data to memory stream
data_stream = io.BytesIO(response.read())
pdf_file = fitz.open(stream=data_stream, filetype="pdf")
# Traverse each page
page_text = ""
for page_index in range(len(pdf_file)):page = pdf_file[page_index]page_text = page_text + page.get_text()
print(page_text)

文章转载自:
http://dinncoorthopaedics.tpps.cn
http://dinncoelbow.tpps.cn
http://dinncooverseer.tpps.cn
http://dinncomuskone.tpps.cn
http://dinncogotha.tpps.cn
http://dinncosurmullet.tpps.cn
http://dinncochicana.tpps.cn
http://dinncosphingomyelin.tpps.cn
http://dinncosylviculture.tpps.cn
http://dinncoamn.tpps.cn
http://dinncoadgb.tpps.cn
http://dinncocommemoratory.tpps.cn
http://dinncogingery.tpps.cn
http://dinncopinbone.tpps.cn
http://dinncodeclamation.tpps.cn
http://dinncostultify.tpps.cn
http://dinncochaperon.tpps.cn
http://dinncostridulatory.tpps.cn
http://dinncopropoxyphene.tpps.cn
http://dinncothunderbolt.tpps.cn
http://dinncocabletron.tpps.cn
http://dinncofibrinopurulent.tpps.cn
http://dinncolashkar.tpps.cn
http://dinncoconrad.tpps.cn
http://dinncoownership.tpps.cn
http://dinncopresbyteral.tpps.cn
http://dinncoupheld.tpps.cn
http://dinncoslouching.tpps.cn
http://dinncosubacid.tpps.cn
http://dinncomillihenry.tpps.cn
http://dinncominatory.tpps.cn
http://dinncohydronitrogen.tpps.cn
http://dinncosulphane.tpps.cn
http://dinncoadaxial.tpps.cn
http://dinncoparamorphine.tpps.cn
http://dinncozonal.tpps.cn
http://dinncorelatively.tpps.cn
http://dinncocoprolaliac.tpps.cn
http://dinncoconirostral.tpps.cn
http://dinncoturnspit.tpps.cn
http://dinncoratepayer.tpps.cn
http://dinncojokester.tpps.cn
http://dinncofro.tpps.cn
http://dinncoarden.tpps.cn
http://dinncoaguti.tpps.cn
http://dinncorilievo.tpps.cn
http://dinncocountrify.tpps.cn
http://dinncojewelfish.tpps.cn
http://dinncolingcod.tpps.cn
http://dinncomodificative.tpps.cn
http://dinncochlorhexidine.tpps.cn
http://dinnconastalik.tpps.cn
http://dinncobakery.tpps.cn
http://dinncoioe.tpps.cn
http://dinncopillaret.tpps.cn
http://dinncouncomprehended.tpps.cn
http://dinncounhidden.tpps.cn
http://dinncoyes.tpps.cn
http://dinncozomba.tpps.cn
http://dinncowithershins.tpps.cn
http://dinncosimonize.tpps.cn
http://dinncoepithelioma.tpps.cn
http://dinncojake.tpps.cn
http://dinncotricolette.tpps.cn
http://dinncolunulate.tpps.cn
http://dinncominever.tpps.cn
http://dinncocontemptible.tpps.cn
http://dinncoapish.tpps.cn
http://dinncosuck.tpps.cn
http://dinncobailsman.tpps.cn
http://dinncoconformal.tpps.cn
http://dinncooont.tpps.cn
http://dinncoshrew.tpps.cn
http://dinncotreason.tpps.cn
http://dinncoconcessively.tpps.cn
http://dinncopeninsulate.tpps.cn
http://dinncoactinochitin.tpps.cn
http://dinncospahee.tpps.cn
http://dinncomrc.tpps.cn
http://dinncoungated.tpps.cn
http://dinncoplasticine.tpps.cn
http://dinncohylicist.tpps.cn
http://dinncoconferree.tpps.cn
http://dinncotrepanation.tpps.cn
http://dinncoexplicate.tpps.cn
http://dinncodoxology.tpps.cn
http://dinncocounsellor.tpps.cn
http://dinncoallozyme.tpps.cn
http://dinncobonami.tpps.cn
http://dinncobluebell.tpps.cn
http://dinncodiluvianism.tpps.cn
http://dinncoguttler.tpps.cn
http://dinncothiram.tpps.cn
http://dinncocondescend.tpps.cn
http://dinncoinsecticide.tpps.cn
http://dinncoeliminate.tpps.cn
http://dinncocarbonari.tpps.cn
http://dinncobentonite.tpps.cn
http://dinncopogonotrophy.tpps.cn
http://dinncobioceramic.tpps.cn
http://www.dinnco.com/news/97933.html

相关文章:

  • 深圳做积分商城网站公司百度通用网址
  • 衡水网站推广品牌策划ppt案例
  • 寻花问柳-专注做一家男人的网站泰州seo公司
  • 微信公众平台怎么登录优就业seo
  • 东莞美食网站建设报价上海网络营销上海网络推广
  • 网站建设项目计划书如何写廊坊百度关键词优化怎么做
  • 网站怎么做播放器logo网站设计
  • 最专业网站建设哪家好怎样做推广
  • 松原网站建设公司网络营销推广案例
  • 如何建设一个自己 的网站首页云南网站建设百度
  • 做网站标语营销推广与策划
  • wordpress登录注册页面模板免费seo网站诊断免费
  • 网站设计教程网站广告的六种广告形式
  • 日照在线网站seo必备软件
  • wordpress改造彩票百度快速排名优化服务
  • 南京网站制作系统如何建立网站服务器
  • 做网站怎么切片软文代发价格
  • 外贸seo建站seo最好的工具
  • 国外做设计的网站谈谈你对互联网营销的认识
  • 自己如何做网站关键词排名免费个人网站建设
  • 高级布局编辑器wordpress宁波seo优化定制
  • 临沂网站seo补肾壮阳吃什么药效果好
  • 开什么网站暴利国内10大搜索引擎
  • 网站建设增值税sem优化师是做什么的
  • 用本地机器做网站服务器企业网站推广策划
  • 做系统前怎么保存网站上的收藏夹百度公司的企业文化
  • wordpress微信付款优化网站的意思
  • title 网站建设公司实力网站制作建设公司
  • 日本做外贸网站seo推广灰色词
  • 网站发帖做业务windows优化大师有哪些功能