Hey all
I noticed that Deken is maintaining an object index for libraries that have been uploaded with a text file containing the list of objects. cyclone has a working example: search for 'buffer~' and Deken suggests cyclone.
I have troubles in adding my object list to the index.
I tried the following: * Name of the index file: <libraryname>-<libraryversion>-objects.txt * Each object on a new line, start with the object name, followed by a tab, followed by a short description * I put the file into the same directory as my deken package with the same name and version (<libraryname>-<libraryversion>-(<arch>)-externals.EXT) * I uploaded the package: deken upload <libraryname>-<libraryversion>-(<arch>)-externals.EXT
I don't see any indication that the -objects.txt file was uploaded and the objects are not indexed, I get an empty result when searching for an object of my library.
I'd be happy to get directed to the documentation, if there is any or appreciate any other help.
Thanks, Roman
On 2017-03-20 09:42, Roman Haefeli wrote:
- I uploaded the package: deken upload <libraryname>-<libraryversion>-(<arch>)-externals.EXT
i understand the generic nature of your question, but since you have practical problems it would be great if you could (also) provide the actual filenames (and directories) you used. e.g. rather than "<libraryname>-<libraryversion>-(<arch>)-externals.EXT" use "zexy-v0.666-(OS2-pdp11-8)-externals.tar.gz"
it might make debugging a little bit easier :-)
I don't see any indication that the -objects.txt file was uploaded and the objects are not indexed, I get an empty result when searching for an object of my library.
I'd be happy to get directed to the documentation, if there is any or appreciate any other help.
there is no real documentation yet :-(
fgmasdr IOhannes
Ok. I have those files in my current folder:
pduino-v0.6--externals.zip pduino-v0.6--externals.zip.asc pduino-v0.6--externals.zip.sha256 pduino-v0.6-objects.txt
Contents of pduino-v0.6-objects.txt:
arduino interface Pd to analog and digital input and output pins of an arduino board arduino-gui graphic version of the arduino object that also reflects the boards state
I do:
deken upload pduino-v0.6--externals.zip
Am I doing the right thing? Also, are the indexes actived immediately after uploading or are they updated at some scheduled intervals?
What is the correct format of the objects.txt file? More specifically, what is the delimiter between object name and description?
Roman
On Mon, 2017-03-20 at 09:57 +0100, IOhannes m zmoelnig wrote:
On 2017-03-20 09:42, Roman Haefeli wrote:
* I uploaded the package: deken upload <libraryname>-<libraryversion>-(<arch>)- externals.EXT
i understand the generic nature of your question, but since you have practical problems it would be great if you could (also) provide the actual filenames (and directories) you used. e.g. rather than "<libraryname>-<libraryversion>-(<arch>)- externals.EXT" use "zexy-v0.666-(OS2-pdp11-8)-externals.tar.gz"
it might make debugging a little bit easier :-)
I don't see any indication that the -objects.txt file was uploaded and the objects are not indexed, I get an empty result when searching for an object of my library.
I'd be happy to get directed to the documentation, if there is any or appreciate any other help.
there is no real documentation yet :-(
fgmasdr IOhannes
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/lis tinfo/pd-list
On 2017-03-20 10:22, Roman Haefeli wrote:
Am I doing the right thing? Also, are the indexes actived immediately after uploading or are they updated at some scheduled intervals?
the deken cmdline tool doesn't automatically upload the -objects.txt file. so you have to manually upload it. i'm not sure if the deken cmdline would refuse to upload it if you used 'deken upload pduino-v0.6-objects.txt'. but uploading it via the webinterface (as *file*) should work.
when i said you must have "the -objects file in the same directory as the -externals file" i was really thinking about the server, not your local filesystem layout.
What is the correct format of the objects.txt file? More specifically, what is the delimiter between object name and description?
iirc, it should be tab (any whitespace might do, but using TABs we can distinguish between ("list append", "glue two lists together") and "list" , "append & prepend lists and do other weird stuff").
fgmnasdr IOhannes
On Mon, 2017-03-20 at 11:42 +0100, IOhannes m zmoelnig wrote:
On 2017-03-20 10:22, Roman Haefeli wrote:
Am I doing the right thing? Also, are the indexes actived immediately after uploading or are they updated at some scheduled intervals?
the deken cmdline tool doesn't automatically upload the -objects.txt file. so you have to manually upload it.
Ah, I see. Thanks.
i'm not sure if the deken cmdline would refuse to upload it if you used 'deken upload pduino-v0.6-objects.txt'.
$ deken upload pduino-v0.6-objects.txt Deken 0.1 'pduino-v0.6-objects.txt' is not an externals archive!
Roman
I'm still having troubles using the feature. I uploaded the text file manually, but the object it contains aren't indexed yet. Specifically, I search for 'arduino' in 'Find exernals' and get an empty result.
Location of objects.txt and package: http://puredata.info/Members/rdz/software/pduino/0.6/
Roman
On Mon, 2017-03-20 at 13:09 +0100, Roman Haefeli wrote:
On Mon, 2017-03-20 at 11:42 +0100, IOhannes m zmoelnig wrote:
On 2017-03-20 10:22, Roman Haefeli wrote:
Am I doing the right thing? Also, are the indexes actived immediately after uploading or are they updated at some scheduled intervals?
the deken cmdline tool doesn't automatically upload the -objects.txt file. so you have to manually upload it.
Ah, I see. Thanks.
i'm not sure if the deken cmdline would refuse to upload it if you used 'deken upload pduino-v0.6-objects.txt'.
$ deken upload pduino-v0.6-objects.txt Deken 0.1 'pduino-v0.6-objects.txt' is not an externals archive!
Roman
On 2017-03-20 13:46, Roman Haefeli wrote:
I'm still having troubles using the feature. I uploaded the text file manually, but the object it contains aren't indexed yet. Specifically, I search for 'arduino' in 'Find exernals' and get an empty result.
congratulations, you found a bug.
indeed, the test file did *not* support the TAB delimiter. now it does.
fgmasdr IOhannes
On Mon, 2017-03-20 at 16:22 +0100, IOhannes m zmoelnig wrote:
On 2017-03-20 13:46, Roman Haefeli wrote:
I'm still having troubles using the feature. I uploaded the text file manually, but the object it contains aren't indexed yet. Specifically, I search for 'arduino' in 'Find exernals' and get an empty result.
congratulations, you found a bug.
indeed, the test file did *not* support the TAB delimiter. now it does.
Cool. It works now. Thanks a lot.
Roman