Thank you.
Compile & Execute in simulator is OK.
But, it can not operate at a real machine .
Try a little experiment , but I wonder if giving up ?
( In my case , it might have a time to change to 'Swift'...)
Again, Thank you! (^^/
Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
Posts made by beer2011
-
RE: Template Compile ERROR
-
RE: Template Compile ERROR
@JonB
Excuse me, and thank you.
Later, I'll try a new template.
For reference, post the error.
Undefined symbols for architecture i386:
"_fwrite$UNIX2003", referenced from:
_empty_output_buffer in libpythonista.a(libturbojpeg_la-jdatadst.o)
_term_destination in libpythonista.a(libturbojpeg_la-jdatadst.o)
"_putenv$UNIX2003", referenced from:
_tjTransform in libpythonista.a(libturbojpeg_la-turbojpeg.o)
_tjDecompressToYUV in libpythonista.a(libturbojpeg_la-turbojpeg.o)
_tjDecompress2 in libpythonista.a(libturbojpeg_la-turbojpeg.o)
_tjEncodeYUV2 in libpythonista.a(libturbojpeg_la-turbojpeg.o)
_tjCompress2 in libpythonista.a(libturbojpeg_la-turbojpeg.o)
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
-
Template Compile ERROR
Hello, all.
In the XCODE's project , compile-time errors occurs .'PythonistaProjectTemplate.zip' -- 'Pythonista 1.5 – What's New (and What's Missing)' in olemoritz.net.
Or another new project file is , Will there somewhere ?
Please give me advice .
( I use the XCODE7.1.) -
RE: SimpleRSSreader
The reply to everyone who, thank you.
In fact, I, programming is amateur.
(For even English, but it is the same.sorry. ^^;; )
And to understand what has been taught, it is likely to take some time.
Again, thank you. -
SimpleRSSreader
Hello, all.
Already some programs , I tried to add a little only , the function .
If you are interested , please try .
For those of the original author , thank you .SimpleRSSReader
https://gist.github.com/beer2011/fcc4aaeec2a0f489b8fa -
RE: [Share Code] TableView, idea. When you need a lot of them
Very good!
This kind of I wanted .
Thank you. -
[Resolved!] Error in appex's script
Hello,All.
Error in appex script, can not be eliminated.
Please give me advice .
As the goal, From the open page (Internet), it is what you want to download and save images .
Thanks.http://news.goo.ne.jp/topstories/nation/379/8badd8f273cceb69bac12a775d978555.html?isp=00002 //u.xgoo.jp/img/goo.png Traceback (most recent call last): File "/private/var/mobile/Containers/Shared/AppGroup/1920E896-A5A8-4781-B249-EE90E9CC5C44/Documents/download_image.py", line 43, in <module> main() File "/private/var/mobile/Containers/Shared/AppGroup/1920E896-A5A8-4781-B249-EE90E9CC5C44/Documents/download_image.py", line 40, in main download(img_url) File "/private/var/mobile/Containers/Shared/AppGroup/1920E896-A5A8-4781-B249-EE90E9CC5C44/Documents/download_image.py", line 13, in download img = urllib2.urlopen(url) File "/private/var/mobile/Containers/Bundle/Application/BA72C9F4-3A16-4501-889D-1505A8733CDE/Pythonista.app/PlugIns/com.omz-software.Pythonista.PythonistaAction.appex/pylib/urllib2.py", line 128, in urlopen return _opener.open(url, data, timeout) File "/private/var/mobile/Containers/Bundle/Application/BA72C9F4-3A16-4501-889D-1505A8733CDE/Pythonista.app/PlugIns/com.omz-software.Pythonista.PythonistaAction.appex/pylib/urllib2.py", line 397, in open protocol = req.get_type() File "/private/var/mobile/Containers/Bundle/Application/BA72C9F4-3A16-4501-889D-1505A8733CDE/Pythonista.app/PlugIns/com.omz-software.Pythonista.PythonistaAction.appex/pylib/urllib2.py", line 259, in get_type raise ValueError, "unknown url type: %s" % self.__original ValueError: unknown url type: //u.xgoo.jp/img/goo.png
-
RE: [Resolved!] Error in appex's script
@omz
Thank you , I was resolved ! (^^/
Always , I received a precise advice , we are surprised .
A new version(Pythonista) of the provision , we are looking forward . -
RE: TableView do not work?
@Sebastian
Thank you! It works,well!
And then, the sub menu was added to 'fruits'.
There may be a better way...# coding: utf-8 import ui import console class MyTableView(object): def __init__(self): self.list = [{'title': 'Vegitable'}, {'title': 'Fruits'}, {'title': 'Fish'}] self.tv = ui.TableView() self.tv.name = 'Kind' self.tv.delegate = self self.tv.data_source = self nv = ui.NavigationView(self.tv) nv.name = 'Foods' nv.present('sheet') def tableview_did_select(self, tableview, section, row): tv = ui.TableView() tv.name = self.list[row]['title'] if tv.name == 'Fruits': sub_ds = SubTableView() tv.data_source = sub_ds tv.delegate = sub_ds tableview.navigation_view.push_view(tv) else: tv.delegate = self tableview.navigation_view.push_view(tv) def tableview_number_of_sections(self, tableview): return 1 def tableview_number_of_rows(self, tableview, section): return len(self.list) def tableview_cell_for_row(self, tableview, section, row): cell = ui.TableViewCell() cell.text_label.text = self.list[row]['title'] return cell class SubTableView(object): def __init__(self): self.fruits = [{'title': 'Banana'}, {'title': 'Orenge'}, {'title': 'Grape'}] self.tv = ui.TableView() self.tv.delegate = self self.tv.data_source = self def tableview_did_select(self, tableview, section, row): tv = ui.TableView() tv.name = self.fruits[row]['title'] tv.delegate = self tableview.navigation_view.push_view(tv) def tableview_number_of_sections(self, tableview): return 1 def tableview_number_of_rows(self, tableview, section): return len(self.fruits) def tableview_cell_for_row(self, tableview, section, row): cell = ui.TableViewCell() cell.text_label.text = self.fruits[row]['title'] return cell ### main ######################## MyTableView()
-
TableView do not work?
Hello, all.
This code do not work.
When you tap , it will not work. (~~;;)
Any suggestion,please...# coding: utf-8 import ui import console class MyTableView(object): def __init__(self): foods = [{'title': 'Vegitable'}, {'title': 'Fruits'}, {'title': 'Fish'}] self.list = ui.ListDataSource(foods) self.tv = ui.TableView() self.tv.name = 'Kind' self.tv.delegate = self.tv.data_source = self.list nv = ui.NavigationView(self.tv) nv.name = 'Foods' nv.present('sheet') def tableview_did_select(self, tableview, section, row): self.tv.name = self.list[row]['title'] self.tv.delegate = self.tv.data_source = self.list table_view.navigation_view.push_view(self.tv) def tableview_number_of_sections(self, tableview): return 1 def tableview_number_of_rows(self, tableview, section): return len(self.list) def tableview_cell_for_row(self, tableview, section, row): cell = ui.TableViewCell() cell.text_label.text = self.list return cell ### main ######################## MyTableView()
-
RE: Standalone apps
I am sorry if the following contents are not right.
Isn't such a thing made in 'Editorial'?
If it is 'Pythonista', there is another Forum. -
RE: gitrepo - small utility to easily download repos and releases from GitHub
Again, it downloaded.
It can choose now well.
@ccc, @ShadowSlayer, Thanks! -
RE: gitrepo - small utility to easily download repos and releases from GitHub
I noticed, while using...
By the case, The file name which carried out the 'Tap'(in window of "Browse repos") seems not to be correctly reflected.
Would you confirm?
Thanks. -
RE: gitrepo - small utility to easily download repos and releases from GitHub
Thanks!
"Browse repos", very good.(^^/ -
RE: Editorial Keeps Crashing.
When how for @TutorialDoctor to have been shown was tried, it has checked too that it became impossible to start 'Editorial'.
It seems that cautions are required.Then, although starting from 'Safari' was tried, it did not work. Umm...
In my case, crash of 'Editorial' is experienced once before.
There is no telling whether this is the cause... -
RE: Pythonista Webbrowser
@Sebastian
It is very good.(^^
Since the change of 'Safari' and 'Pythonista' becomes unnecessary, it is convenient.I am also looking forward to future evolution.
Thanks! -
RE: Transfer Editorial snippets and workflows between iPad and iPhone
Possibly, is it this?
(For workflow,)http://www.editorial-workflows.com/workflow/5825041879007232/jVdD6IMz7Mo
-
RE: How to save .pyui files from UI Editor
I'm sorry if different in a mark...
The '.pyui' file is stored automatically in 'workflow'?
-
RE: Github
How is this method?
display the source code that you want to download and change it to 'Raw' mode.
copy 'URL'.
start 'shellista'.
carry out 'wget URL '
As for this by reference.
http://beer2011.hatenablog.com/entry/20140809/1407545770
(Japanese HomePage, sorry...^^;;) -
RE: Yet another file download script - for files from the Github repo browser
Until now, many things have been tried.
At last, '.pyui' file was able to be downloaded and performed.
Thank you!!