Why can’t I download a .gif attached to an email in the Gmail app?

This behavior seems to be a bug: the “save” is not greyed out at first, when it does become greyed out after clicking on “save”. And strangely, the “download again” is also greyed out even after clicking on save. Also the user interface seems to use the terms save and download interchangeably, which gives an inconsistent user interface.

enter image description here

icloud – Photos app on mac won’t sync OSX Big Sur

I’ve searched everywhere online and cannot seem to find an answer to my issue with the Photos app on Mac. Currently the Photos app is blank with no contents, no synced photos, nothing… every page and tab is blank.

On my mac I’m signed into the same apple-id that I use on my iPhone and I have about 2GB of photos.

This is what I see on the photos app on mac:

iCloud Image

In order to turn on iCloud photos, online instructions say to go to “System Preferences” -> “Apple ID” to turn on iCloud photos

But when I go there, its already turned on:

Apple ID page in System Preferences

I’ve tried the rebuild Photos app library option by launching the app with Command + Option selected. It hasn’t worked.

My setup:

  • Mac OSX Big Sur
  • iPhone 8 iOS 14.4
  • Both signed into the same apple id with icloud photos turned on.

I feel like an insane person.. can someone help me out?

window manager – How from command line open several files in app and minimize one of them?

From the Terminal, or in a shell file, I can open one or more files in a particular app from the command line and have all of their windows minimized like this:

open -a TextEdit.app ~/Documents/doc1.txt ~/Documents/doc2.txt ~/Documents/doc3.txt
osascript -e 'tell application "TextEdit" to set miniaturized of every window to true'

Is there a command to minimize not all of thow windows but just a particular one of them, say the one for ~/Documents/doc1.txt?

google app engine – ModuleNotFoundError: No module named ‘main’

I have tried to deploy flask app on Google App Engine Flexible environment. While deploying the app, I got following error.

raceback (most recent call last):
  File "/env/lib/python3.7/site-packages/gunicorn/arbiter.py", line 583, in spawn_worker
    worker.init_process()
  File "/env/lib/python3.7/site-packages/gunicorn/workers/base.py", line 119, in init_process      
    self.load_wsgi()
  File "/env/lib/python3.7/site-packages/gunicorn/workers/base.py", line 144, in load_wsgi
    self.wsgi = self.app.wsgi()
  File "/env/lib/python3.7/site-packages/gunicorn/app/base.py", line 67, in wsgi
    self.callable = self.load()
  File "/env/lib/python3.7/site-packages/gunicorn/app/wsgiapp.py", line 49, in load
    return self.load_wsgiapp()
  File "/env/lib/python3.7/site-packages/gunicorn/app/wsgiapp.py", line 39, in load_wsgiapp        
    return util.import_app(self.app_uri)
  File "/env/lib/python3.7/site-packages/gunicorn/util.py", line 358, in import_app
    mod = importlib.import_module(module)
  File "/opt/python3.7/lib/python3.7/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name(level:), package, level)
  File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 965, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'main'
(2021-03-06 14:39:52 +0000) (8) (INFO) Worker exiting (pid: 8)
(2021-03-06 14:39:52 +0000) (1) (INFO) Shutting down: Master
(2021-03-06 14:39:52 +0000) (1) (INFO) Reason: Worker failed to boot.

Here is the requirements.txt file.

backcall==0.2.0
click==7.1.2
cloudpickle==1.6.0
colorama==0.4.4
cycler==0.10.0
decorator==4.4.2
Flask==1.1.2
Flask-Cors==3.0.10
ipython==7.21.0
ipython-genutils==0.2.0
itsdangerous==1.1.0
jedi==0.18.0
Jinja2==2.11.3
joblib==1.0.1
kiwisolver==1.3.1
llvmlite==0.35.0
MarkupSafe==1.1.1
matplotlib==3.2.0
numba==0.52.0
numpy==1.20.1
pandas==1.2.3
parso==0.8.1
pickle-mixin==1.0.2
pickleshare==0.7.5
Pillow==8.1.1
prompt-toolkit==3.0.16
Pygments==2.8.0
pyparsing==2.4.7
PyQt5==5.15.3
PyQt5-Qt==5.15.2
PyQt5-sip==12.8.1
python-dateutil==2.8.1
pytz==2021.1
scikit-learn==0.24.1
scipy==1.6.1
shap==0.39.0
six==1.15.0
sklearn==0.0
slicer==0.0.7
threadpoolctl==2.1.0
tqdm==4.58.0
traitlets==5.0.5
wcwidth==0.2.5
Werkzeug==1.0.1
gunicorn==20.0.4

and app.yaml file

runtime: python
env: flex
entrypoint: gunicorn -b:$PORT main:app

runtime_config:
  python_version: 3.7

automatic_scaling:
  min_num_instances: 1
  max_num_instances: 2

Im also attaching my app.py file bellow.

from flask import Flask, request, render_template, send_from_directory
from flask_cors import CORS
from ml import preprocess, predict

app = Flask(__name__)
CORS(app)

@app.route('/assets/<path:path>')
def send_js(path):
    return send_from_directory('static/assets', path)


@app.route('/', methods = ('POST', 'GET'))
def index():
    if request.method == 'POST':
        prediction_dict = preprocess.transform(request.data)
        
        scaled = preprocess.scaler((list(prediction_dict.values())))

        return preprocess.dump({
            'message': predict.do_predict(scaled).tolist()(0), 
            'review': predict.do_cause(prediction_dict)
        })
    else:
        return render_template('index.html')

@app.route('/status', methods = ('GET')) 
def status(): 
    return preprocess.dump({'accuracy': 95.02}); 

if __name__ == '__main__':
    # This is used when running locally. Gunicorn is used to run the
    # application on Google App Engine. See entrypoint in app.yaml.
    app.run(host='127.0.0.1', port=8080, debug=True)

WHY MY APP CANT READ PICTURE

So I was edit some pictures in application and sometimes the picture that i want to edit isn’t appear at the editing app but there’s in the gallery.
It happen sometimes and that’s is suck.

Please help me

App Development in a remote server

I am planning to develop a mobile app. But I don’t want my developer team to have copies of my code in their local system(like in the case of git where you can clone the repo to your local system).

What I need

I need the code to be on a remote server.

The developers log in to the server and do the development(So they will not have the repo in the local system).

What is the proper solution to the above requirement? One problem I see is running the code for output since in app development we use emulators or phones to run the code.

#35% Profit On #arpa At (binance.com) Free Crypto Signals On Mobile App & Automated Crypto Bot

Free Crypto BOT – https:/t.me/cryptosignalalert

Largest Crypto trading group on telegram which provide Free Crypto BOT which trades automatically on your account & make daily profit. We have made good profit just by trading on BTC & ETH from our Binance BOT scalping Trades

Join our FREE Telegram channel where we provide signals with more than 90% accuracy.. We do all the hard work for you. Simply copy the signals provided by our professional traders. Follow our signals and trade. With our unbeatable accuracy, you will be able to trade like a pro. Make consistently huge profit and highly impressive returns with low-risk investments

android – The intent data remains, when I close the app by the back button and restart from the task

I developed a deep link app.
The intent data remains, when I close the app by the back button and restart from the task After launching from deep link.

Manifest:

<application
    <activity
        android:name=".MainActivity"
        android:label="@string/appName"
        android:launchMode="singleTask">
        
        <intent-filter>
            <action android:name="android.intent.action.VIEW" />
            <category android:name="android.intent.category.DEFAULT" />
            <category android:name="android.intent.category.BROWSABLE" />

            <data
                android:host="news"
                android:scheme="schemename" />

        </intent-filter>
    </activity>

    <activity
        android:name=".NextActivity" />

</application>

MainActivity:

class MainActivity : AppCompatActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)

        if (intent.action == Intent.ACTION_VIEW && Uri.parse(intent.data.toString()).host == "news") {
            // Transition NextActivity
        }
    }
}

In case of startup after closing with the back button, the code of “Transition Next Activity” is passed many times.

I tried this but did not work.

intent.data = null
setIntent(intent)