Search found 2909 matches
by support
Fri Sep 01, 2017 9:44 am
Forum: Awasu - General Discussion
Topic: Why Awasu duplicates articles?
Replies: 2
Views: 1191

Re: Why Awasu duplicates articles?

The item title, URL and published time are all provided by the feed publisher, and are therefore of variable quality :| I've seen feeds where every item has the same URL, or no item has a title nor URL! So, it's possible that the channel is, in fact, publishing items with the same title and/or URL a...
by support
Sat Aug 26, 2017 8:46 am
Forum: Awasu - General Discussion
Topic: Mini PC as search bot / server for Awasu
Replies: 4
Views: 1433

Re: Mini PC as search bot / server for Awasu

On the first step I think about making some skeleteon with inexpensive prototype electronic with enough power to run OS and python scripts. We'll definitely need a write-up if you get this going! :-) I think on start about Raspberry, but I think 1GB RAM is not enought to run more complicate scripts...
by support
Sat Aug 26, 2017 12:11 am
Forum: Awasu - General Discussion
Topic: Mini PC as search bot / server for Awasu
Replies: 4
Views: 1433

Re: Mini PC as search bot / server for Awasu

This is an intriguing idea. It's common for larger Awasu installations to offload some of the work to other computers - e.g. channel hooks transfer new content to an external database (e.g. MySQL or Postgres) running on another server, and then have a search server (e.g. something Lucene-based) inde...
by support
Sat Aug 12, 2017 1:01 pm
Forum: Awasu - Extensions
Topic: How mark article as read by API?
Replies: 3
Views: 1160

Re: How mark article as read by API?

Give it a go and see what happens :-)

This is a boolean value, and so recognizes 0/1, on/off, true/false or yes/no.
by support
Sun Aug 06, 2017 12:16 am
Forum: Awasu - Extensions
Topic: Script is too long executed and Awasu can't get result from it
Replies: 3
Views: 1132

Re: Script is too long executed and Awasu can't get result from it

1. Value is in ms or seconds? Seconds. 2. When Awasy get result will it be wait for this amount of time or go ahead with doing something else? The Pro Edition can have up to 90 channel updates in progress at once. However, if you have more than a few of these long-running plugins, they will eventua...
by support
Thu Aug 03, 2017 5:39 am
Forum: Awasu - Extensions
Topic: Script is too long executed and Awasu can't get result from it
Replies: 3
Views: 1132

Re: Script is too long executed and Awasu can't get result from it

What do when scripts need time to execution before send data to Awasu? If your plugin defines a parameter called "Script timeout" , Awasu will use that as the default amount of time to allow the script to run. If your script is called foo.py , create a file called foo.plugin in the same directory t...
by support
Mon Jul 31, 2017 1:00 pm
Forum: Awasu - Extensions
Topic: Generating few channel with one plgin
Replies: 27
Views: 4279

Re: Generating few channel with one plgin

My misteak, I should've asked for type(sys.stdout) I get io.TextIOWrapper , you seem to have PseudoOutputFile , and given that the traceback points to a file called pyshell, I rather suspect it's ipython that's screwing things up (at a guess, I'd say it's capturing the output so it can do something ...
by support
Mon Jul 31, 2017 10:49 am
Forum: Awasu - Extensions
Topic: Generating few channel with one plgin
Replies: 27
Views: 4279

Re: Generating few channel with one plgin

Do you have the "official" Python distribution (from python.org), or something else e.g. ActiveState's

Start Python from the command line, and tell me what this gives you:

Code: Select all

import sys
sys.version
type(sys.stdout.buffer)
by support
Mon Jul 31, 2017 7:50 am
Forum: Awasu - Extensions
Topic: Generating few channel with one plgin
Replies: 27
Views: 4279

Re: Generating few channel with one plgin

Problem is with putting UTF-8 to console. On test charset characters Awasu is talking about mistake... :wall: I'm looking for alternative to print to write output. I talked about this in the big Unicode tutorial . Your safeprint() function is not really the way to go, take a look at my print_utf8() .
by support
Mon Jul 31, 2017 6:25 am
Forum: Awasu - Extensions
Topic: Generating few channel with one plgin
Replies: 27
Views: 4279

Re: Generating few channel with one plgin

You haven't closed the CDATA sections properly :-) When you're having problems like this, one trick you can use is to save the output to a file, then open it in a browser - it might give you more clues as to what the problem is. Also, if I open the XML up in Notepad++, the syntax highlighting tells ...
by support
Sun Jul 30, 2017 11:59 pm
Forum: Awasu - Extensions
Topic: Generating few channel with one plgin
Replies: 27
Views: 4279

Re: Generating few channel with one plgin

first channel finish - get data from here to Awasu n channel finish - get data from here to Awasu end of the script execution Write your script to generate one RSS file for each channel. Create a channel in Awasu for each file. I use in generation code between tags: <![CDATA[ some text ]]> Creating...
by support
Sun Jul 30, 2017 11:40 am
Forum: Awasu - Extensions
Topic: Generating few channel with one plgin
Replies: 27
Views: 4279

Re: Generating few channel with one plgin

How format output for Awasu to detect multi channel in one script You can't put more than 1 channel in an RSS file. If you want 5 different channels, you need 5 different "files". They can be generated by 1 script, but you need some way to tell the script what channel you want it output i.e. pass i...
by support
Sun Jul 30, 2017 8:44 am
Forum: Awasu - Extensions
Topic: Generating few channel with one plgin
Replies: 27
Views: 4279

Re: Generating few channel with one plgin

Now, I'm not sure what you're asking... If the plugin is not running at all, create a file called GLOBAL.INI in the Awasu installation directory that looks like this: [Script File Types] .py = Python script [Scripting File Associations] .py = C:\Python\Python36\python.exe and restart Awasu. This ove...

Go to advanced search