Search found 2891 matches
by support
Sat Aug 12, 2017 1:01 pm
Forum: Awasu - Extensions
Topic: How mark article as read by API?
Replies: 3
Views: 32

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: 73

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: 73

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 d...
by support
Mon Jul 31, 2017 1:00 pm
Forum: Awasu - Extensions
Topic: Generating few channel with one plgin
Replies: 27
Views: 254

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: 254

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 10:06 am
Forum: Awasu - Extensions
Topic: Generating few channel with one plgin
Replies: 27
Views: 254

Re: Generating few channel with one plgin

Works for me (Python 3.6.1).
by support
Mon Jul 31, 2017 7:50 am
Forum: Awasu - Extensions
Topic: Generating few channel with one plgin
Replies: 27
Views: 254

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 prin...
by support
Mon Jul 31, 2017 6:25 am
Forum: Awasu - Extensions
Topic: Generating few channel with one plgin
Replies: 27
Views: 254

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: 254

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: 254

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...
by support
Sun Jul 30, 2017 8:44 am
Forum: Awasu - Extensions
Topic: Generating few channel with one plgin
Replies: 27
Views: 254

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...
by support
Sun Jul 30, 2017 7:49 am
Forum: Awasu - Extensions
Topic: Generating few channel with one plgin
Replies: 27
Views: 254

Re: Generating few channel with one plgin

Can you create a channel for one of the samples that comes with Awasu?
by support
Sun Jul 30, 2017 1:34 am
Forum: Awasu - Extensions
Topic: Generating few channel with one plgin
Replies: 27
Views: 254

Re: Generating few channel with one plgin

Can you run (as a plugin) the sample scripts that come with Awasu? If not, the .py extension needs to be associated with your python.exe i.e. if you double-click on a .py file in Windows Explorer, Python should start. If this is setup correctly (and it looks like it is), it looks like you may have s...
by support
Sat Jul 29, 2017 2:34 pm
Forum: Awasu - Extensions
Topic: Generating few channel with one plgin
Replies: 27
Views: 254

Re: Generating few channel with one plgin

You need to look at the XML and determine the exact nature of the error, but yes, it's probably an encoding issue :-) You have to encode your XML using something , and unless you have a reason to choose something else, UTF8 is probably the best choice. Don't forget to declare what encoding you're us...

Go to advanced search