Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i have problem plz help:( #258

Closed
abushama82 opened this issue Aug 1, 2017 · 4 comments · Fixed by #314
Closed

i have problem plz help:( #258

abushama82 opened this issue Aug 1, 2017 · 4 comments · Fixed by #314

Comments

@abushama82
Copy link

Traceback (most recent call last):
File "/var/mobile/Containers/Data/Application/622AA1D0-3676-432A-8A84-DC10BED6D532/Documents/launch_stash.py", line 28, in
from stash import stash
File "/var/mobile/Containers/Data/Application/622AA1D0-3676-432A-8A84-DC10BED6D532/Documents/site-packages/stash/stash.py", line 20, in
from .system.shcommon import IN_PYTHONISTA, ON_IPAD
File "/var/mobile/Containers/Data/Application/622AA1D0-3676-432A-8A84-DC10BED6D532/Documents/site-packages/stash/system/shcommon.py", line 18, in
_properties = plistlib.readPlist(os.path.join(os.path.dirname(sys.executable), 'Info.plist'))
File "/var/containers/Bundle/Application/CA26CF47-20E5-4B78-862D-356184577D0F/Pythonista3.app/Frameworks/PythonistaKit.framework/pylib/plistlib.py", line 78, in readPlist
rootObject = p.parse(pathOrFile)
File "/var/containers/Bundle/Application/CA26CF47-20E5-4B78-862D-356184577D0F/Pythonista3.app/Frameworks/PythonistaKit.framework/pylib/plistlib.py", line 406, in parse
parser.ParseFile(fileobj)
ExpatError: not well-formed (invalid token): line 1, column 8

@Seanld
Copy link
Contributor

Seanld commented Aug 1, 2017

Can you give a little more detail? When and where did you get this error? When starting StaSh up?

@abushama82
Copy link
Author

am using pythonista3 and i need to import packege
so i use this script:-
import requests as r
exec(r.get('http://bit.ly/get-stash').text)
then as they said restate pythoista app
and run launch_stash.py
and this error poped up
and i dont know wat to do...?

@abushama82
Copy link
Author

problem on extacting datetime from calnder celnder and append in csv file???

def calndr(sender):
date = sender.superview['calender']

assuming that is the name of your DatePicker object

this returns a datetime.datetime object, see module datetime

year = date.year
month = date.month

with open('newfile.csv',"a") as f:
newfileWriter=csv.writer(f)
newfileWriter.writerow([calndr()])
tarDate=calndr(targetDate['calender'])
f.close()

@Seanld
Copy link
Contributor

Seanld commented Aug 4, 2017

@abushama82 please open a new thread for this question, and close this thread.

bennr01 added a commit to bennr01/stash that referenced this issue May 4, 2018
#About this commit/PR
This is a commit/PR to close a large number of old/fixed issues at once using the github `fix #<issuenumber>` syntax.
Below is a list of all issues which will automatically be closed by merging this commit/PR into `ywangd/master`.
Behind each issue number is a short summary about the issue or why it can be closed.

#Issues which can be closed

**Py3 related:**
- fix ywangd#281 (py3 had not yet been supported)
- fix ywangd#261 (python3 pip installation)
- fix ywangd#246 (python3 code in python2)
- fix ywangd#222 (python3 command in stash)
- fix ywangd#200 (pip now works (at least partially) with python3)
- close ywangd#197 (general pythonista3 compatibility thread)


**Questions which have been answered / unfixable bugs:**
- close ywangd#310 (pip installation with c code)
- close ywangd#292 (StaSh is not dead; also a question regarding py3)
- close ywangd#290 (pip installation, problem solved)
- close ywangd#289 (answer provided, no further activity by reporter)
- close ywangd#279 (pip install protects standard distribution)
- close ywangd#245 (answered)
- close ywangd#244 (not possible (unless someone finds a workaround)
- close ywangd#243 (c-code in pip installation)
- close ywangd#208 (question answered)


**implemented suggestions/changes:**
- fix ywangd#273 (partially implemented as part of py2and3)
- fix ywangd#193 (implemented by now)
- fix ywangd#63  (subcommand completion; implemented long ago)
- fix ywangd#39  (pip; implemented long ago)

**fixed bugs:**
- fix ywangd#308 (https error in pip; fixed)
- fix ywangd#223 (old beta-related bug)
- fix ywangd#211 (old beta-related bug)
- fix ywangd#209 (seems to be fixed, can not reproduce)
- fix ywangd#206 (git did not clone into subdirectory; fixed)
- fix ywangd#98  (telnet did not send \r\n; fixed)


**other stuff:**
- close ywangd#260 (no useful bug description)
- close ywangd#258 (no useful bug description)
- close ywangd#251 (not a bug but an announcement, no longer relevant)
- close ywangd#241 (works now)
- close ywangd#219 (no further acivity by reporter, likely user error)


#Issues which can be closed, but where the underlying issue has not been fixed
- close ywangd#285 (pip command too complex)
- close ywangd#291 (pip installation question, but not c-code related. But seems package-related)
- close ywangd#274 (pip install problem, at least partial related to c-code, no further activity by reporter)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants