Do you believe like I do that Obamagate is real and Obama was the most corrupt president ever?

A bias QUESTION  DO YOU believe LIKE i DO  ?  no i do not have such a BELIEF

The  number OF people who  ACCEPT A claim OR ALLEGATION DOES NOT MAKE THE CLAIM / ALLEGATION “true ” OR real   RELIGION a CULTURAL system  of DIRECTED behaviors and practices of a  a Social organization  promote a BELIEFS   promotion of SUPERNATURAL  PROPOSITIONS   based on    CAUSE person   X ” SAID SO ”   or  WROTE IT  void of demonstration ..  which is the same foundation association as this question  CAUSE  X SAY SO  ..  makes an assertion or allegation …….. TRY this  JACK said Jane is a WITCH ….. and according  to the writings in a certain persons BOOK ( cause i said so )   JANE SHOULD BE KILLED … and that happened in 1692  in SALEM  MASSACHUSETTS

 SEE THE  DICTIONARY  OF the use  of the words  true AND real 

 REAL  ( adjective ) actually exiting as a THING   occurring  in FACT ,

 NOT IMAGINED or SUPPOSED   

  BELIEVE  a person CONVINCED of a proposition or allegation  to be the case true WITHOUT DIRECT  knowledge FEAR  actually in Psychology Science its called “THREAT CONDITIONING ” FEAR is NOT the  CAUSE  of “CONDITIONED RESPONSE ”  FEAR is generally a PRODUCT  of a PREDATORY DEFENSE  system but a person can have fear if low on fluids and dying  of dehydration  lack of fluids is not a PREDATOR .. in this question some people in the GOP is a predator using PROPOGANDA  to elicit fear .. the Majority  are not taking the BATE  after 3 years of TRUMP behavior  much has been learned of TRUMPIAN TACTICS

2016 – Search Topology – too many databases and one corrupt

Our organization was having an issue with our Search Service App on our SharePoint 2016 On-Prem environment. Once we got it working properly, we noticed that there were 3 sets of topology component databases than our expected two. Then, one of our CrawlDBs became suspect. Any recommendations on how to move forward? It would make sense to me to transfer the current topology component databases to the orphan ones and then remove the corrupt, but I don’t know if this is best practice. Much appreciated.

rest – API problems downloading images, empty files, or corrupt images

What I am trying to achieve is this.

I am working on an integration web app that our technicians can use to access data from our crm and sharepoint.

I want to be able to view images stored in Sharepoint in this web app. I think I have 2 options.

  1. I can programmatically create anonymous links to these images and then call them up inline.

  2. Drag them locally to display them.

Since there are only a few pictures, I tend to 2. So I don't understand how to pull them down because they are binary.

I used the Shareplum library. I can just call up a text file like this:

from shareplum import Site
from shareplum import Office365
from shareplum.site import Version

server_url = "https://xxx.sharepoint.com/"
site_url = "sites/Technicians/"

un = "un"
pw = "pw"

authcookie = Office365(server_url, username=un, password=pw).GetCookies()
site = Site(server_url + site_url, version=Version.v2016, authcookie=authcookie)

folder = site.Folder('Shared Documents/Technical client documentation' 
                     '/Clients/Company Name, Inc/System Information')
p = folder.get_image('test.jpg')

So we have from the library.

def get_file(self, file_name):
    response = self._session.get(self.site_url + f"/_api/web/GetFileByServerRelativeUrl('{self.info('d')('ServerRelativeUrl')}/{file_name}')/$value")
    return response.text

I added my own function:

def get_image(self, file_name):
    response = self._session.get(self.site_url + f"/_api/web/GetFileByServerRelativeUrl('{self.info('d')('ServerRelativeUrl')}/{file_name}')/$value")
    print(response)
    if response.status_code== 200:
        with open('/home/bruce/test_scripts/pictestNew.jpg', 'wb') as f:
            #response.raw.decode_content = True
            shutil.copyfileobj(response.raw, f)
    return "ok"

I am not trying to save the image. The code above brings me empty files. I also tried to return response.text.

p = folder.get_image('test.jpg')
p = bytearray(p)

P would then be the returned response.text:

with open('picOut1.jpg', 'wb') as f:
    f.write(p)

That brings me an image file of the right size, but throws in:

Error interpreting the JPEG image file (no JPEG file: starts with 0xef
0xbf

I also posted this on Stackoverflow. (StackOverflow question I know this is frowned upon, but my reasoning is as follows. Here I hope that someone can tell me if I can do what I want at all. The other one can only be done Sure, I screw up the Python I honestly don't know where the problem is right now.

This is my first run with Python and I guess I'm doing something wrong here. Would it just be easier to create a public link to this picture?

macOS Catalina "FIleName" is corrupt and cannot be opened. You should move it to the trash "

Please help, I have found this issue with all of my documents after restoring from backup

I tried to download and restart Microsoft Word and Excel several times before trying. However, this problem persists.

This problem affects all my Docker, even PDFs.

However, if I press Command + O in the application myself, the document can be opened and act as paranormal.

The problem occurs when I double-click or open the files in Finder or on my desktop.

Please tell me how I can solve this problem. Thanks a lot

Python error opening an XLS file. "Unsupported format or corrupt file: Expected BOF record; found b & # 39; T & # 39;"

I am trying to open large amounts of data from an XLS file (very old file).

When I try to open it with Excel, I get this error
Introduction to the description of the image aquí
PDTA: The data is too large so I couldn't open it with Excel … (opening the file takes more than 1 day.)

I tried many forms to open it with Python (Jupyter Notebook) and nothing worked. These are the codes I used.

import pyexcel
sheet0 = pyexcel.get_sheet(file_name="1_62_Q145147.SALok4.xls", name_columns_by_row=0)

def open_xls_as_xlsx(filename):
# first open using xlrd
book = xlrd.open_workbook(filename)
index = 0
nrows, ncols = 0, 0
while nrows * ncols == 0:
sheet = book.sheet_by_index(index)
nrows = sheet.nrows+1 #bm added +1
ncols = sheet.ncols+1 #bm added +1
index += 1
# prepare a xlsx sheet
book1 = Workbook()
sheet1 = book1.get_active_sheet()
for row in range(1, nrows):
for col in range(1, ncols):
sheet1.cell(row=row, column=col).value = sheet.cell_value(row-1, col-1) #bm added -1's
return book1

The error is this in most cases.

"Unsupported format, or corrupt file: Expected BOF record; found b'