POST
|
Vaibhav, I think the Node.js is not installed correctly- I had some similar problems when I got started with JupyterLab. Try this: Install nodejs outside of Conda and make sure the install is added to the PATH environmental variable Create a new ArcGIS environment. Activate the new environment. From the new environments command line: conda upgrade -c esri arcgis jupyter labextension install @jupyter-widgets/jupyterlab-manager jupyter labextension install arcgis-map-ipywidget@1.5.2 Start JupyterLab and it should work…
... View more
01-07-2019
08:59 AM
|
1
|
0
|
944
|
POST
|
Hi Luke, I just installed Pro 2.2 and the code still works for me. It looks like 2.2 comes with the 1.4.1 API version- did you upgrade to 1.4.2? Mattias.
... View more
06-29-2018
09:57 AM
|
0
|
1
|
2527
|
POST
|
Not sure if I understand the problem correct but have you tried using the Spatial DataFrame? This works for me:
... View more
04-20-2018
09:07 AM
|
2
|
3
|
2527
|
POST
|
Why don't you wrap the code in a try, except, finally... and then use something like this to send an email. This works with Outlook. import smtplib from email.message import EmailMessage def sendEmail(fromWriter,toReader,msgSubject,body,priority= '0'): msg = EmailMessage() msg.set_content(body) msg['Subject'] = msgSubject msg['From'] = fromWriter msg['To'] = toReader msg['X-Priority'] = priority s = smtplib.SMTP('your mail server url') s.send_message(msg) s.quit() return if __name__ == '__main__': fromWriter = 'from@company.com' toReader = ['to@company.com'] msgSubject = 'This is a test' body = """ This is a test email. """ sendEmail(fromWriter,toReader,msgSubject,body)
... View more
04-20-2018
06:51 AM
|
0
|
0
|
237
|
POST
|
I'm using the ArcGIS Python API in Jupyter and it works fine when I connect either anonymously to Esri or to our enterprise portal hosted by Esri- when I connect to our newly built 10.6 portal nothing will draw. Is there something that needs to be set up on the new portal so that maps etc can be drawn using the API? Thanks.
... View more
04-19-2018
06:30 PM
|
0
|
1
|
302
|
POST
|
Paul, Try this instead: from email.mime.multipart import MIMEMultipart from email.mime.base import MIMEBase from email.mime.text import MIMEText from email.mime.image import MIMEImage from email.utils import formatdate COMMASPACE = ', ' from email import encoders
... View more
10-06-2017
03:18 PM
|
1
|
1
|
6055
|
POST
|
Have you looked at http://timgolden.me.uk/python/win32_how_do_i/print.html#win32print?
... View more
04-27-2011
01:18 PM
|
0
|
0
|
1428
|
Title | Kudos | Posted |
---|---|---|
1 | 10-06-2017 03:18 PM | |
2 | 04-20-2018 09:07 AM | |
1 | 01-07-2019 08:59 AM |
Online Status |
Offline
|
Date Last Visited |
02-20-2024
01:46 PM
|