Tucan Manager Development Overview
Development Softwares

Tucan Manager Development Overview

Source Code Repository

The code is hosted at Google Code using Mercurial. To get a working copy of the development version use the following command:

hg clone https://tucan.googlecode.com/hg/ tucan-hg

Bug Reporting

Anybody can report bugs or request new features at our Tracker. Read throughout the open issues and avoid making duplicates.

When reportig a bug use our report dialog from LogView and remember to paste the Report ID on the summary field.

Thanks for your help in keeping the database clean and useful for all.

Contribute

We always need a hand or two. So if you are willing to help with the development, why not join the team?

There are also other areas where you could be of great help, like documentation and localization.

Even if you don’t feel confident with the code, we need your assistance testing the development version or helping other users at the forum.

Download Softwares Support

Download Tucan Manager

File sharing as free and open as it should be.

Tucan Manager is a free file sharing application designed for 1-Click Hosters. Fast and lightweight, Tucan is fully open-source and compatible with Windows, GNU/Linux, and MacOSX.

With Tucan’s modular support for the principal Hosters, captcha resolution, interchangeable links, premium user accounts, and many other great features, you’ll learn why users around the world are making the switch to free, open 1-Click Hosted file sharing.

Click Here to Download Tucan

Development Softwares

Tutorial on creation of services

1 – Introduction

In this document we will explain the general terms to implement a new service for Tucan (minimum files, location of these files, format, parameters, input/output… etc).

2 – Brief Summary

service/: Directory that contains all the files of the service, it may not contain any dot “.” in the name (mandatory).
__init__.py: Required for python to recognize the directory as module (mandatory).
service.conf: Description and information of the service so that the plugin system knows that it supports the plugin of this service (mandatory).
<image or icon>:
Image or icon of size 48×48 pixels representative of the service (optional).
check_links.py: Only required if the service has support for downloads. Can be a file or it can be a method of a plugin for download (optional).
anonymous_download.py:
Only required if the service has support for anonymous downloads (optional).
premium.accounts:
Only required if the service has support for premium accounts (generated from the GUI) (optional).
premium_download.py:
Only required if the service has support for downloads, premium (optional).
premium_cookie.py:
Only required if the service has support for downloads, premium (optional).

3.1 – Directory of Service (mandatory)

The directory will contain all the files of the different plugins service, must not contain any dot “.” in the name. Examples:

http://rapidshare.com -> rapidshare/

http://megaupload.com -> megaupload/

http://gigasize.com -> gigasize/

http://foobar.com -> foobar/

3.2 – File __init__.py (mandatory)

This file is required for python to recognize the directory as module. Is a file that is empty.

3.3 – File service.conf (mandatory)

This file describes and gives information of the different plugins to the system plugins Tucan for you to know the functionalities of the service.

It consists of several sections:

[main]

enabled = False

name = rapidshare.com

icon = rapidshare.png

premium_cookie = PremiumCookie

downloads = True

uploads = False

update = 0

[anonymous_download]

name = AnonymousDownload

author = Crak

captcha = True

version = 0.1

slots = 1

[premium_download]

name = Premium Download

author = Crak

version = 0.2

accounts = premium.accounts

[Main]section

“enabled” Option to notify that the service is enabled or disabled. Values True, False. Default is disabled (False).

“name” Option to notify the name of the service. Examples: rapidshare.com, megaupload.com, gigasize.com

“icon” Option to notify the name of the icon or representative image of the service that you are going to use in the GUI. Optional: if you are not going to use it you must put None.

“downloads” Option to notify that the service can perform downloads. Values: True, False.

“premium_cookie” Option to notify the name of the class that you will use to manage the cookie needed in the premium accounts.

“uploads” Option to notify that the service can perform uploads. Values: True, False.

“update” Option to update automatic service, it will be a number to increase when you want to update the service. Values: int.

Section [anonymous_download]

“name” Option to notify the name of the class that you are going to use to perform this type of access. Default value: Anonymous Download.

“author” Option to notify the name (or nick or email) of the creator.

“captcha” Option to notify if the service has captcha on the anonymous downloads. Values: True, False.

“version” Version of the plugin.

“slots” maximum Number of anonymous downloads simultaneous allowed for this service.

Section [premium_download]

“name” Option to notify the name of the class that you are going to use to perform this type of access. Default value: Premium Download.

“author” Option to notify the name (or nick or email) of the creator.

“version” Version of the plugin.

“accounts” Name of the file where to store the data of the premium account of this service.

3.4 – File image or icon (optional)

Imagen o icono de tamaño 48×48 pixels representative del servicio que se va a usar en el GUI. Si no se va a usar se debe notificar en el archivo service.conf, sección [main] opción “icon = None”.

3.6 – File anonymous_download.py (optional)

This file is only required if the service has support for anonymous downloads. Plugin typical.

classes: Anonymous Download (declared in the file service.conf, section [anonymous_download])

methods:

__init__: initialization of slots.py and download_plugin.py

add: input parameters: path, link, and name the file

delete: input parameters: name of the file.

check_links: input parameters: url. output parameters: name of the file to be downloaded, size and units.

3.7 – File premium.accounts (optional)

This file is only required if the service has support for premium accounts. Is generated from the GUI (preferences), and this encryption.

3.8 – Archivo premium_downloads.py (opcional)

Este archivo sólo es necesario si el servicio tiene soporte para descargas Premium. Plugin típico.

classes: PremiumDownload (declared in the file service.conf, section [premium_download])

methods:

__init__: initialization of accounts.py

add: input parameters: path, link, and name the file

delete: input parameters: name of the file

check_links: input parameters: url. output parameters: name of the file to be downloaded, size and units.

Common errors Tucan users have experienced
Softwares

Common errors Tucan users have experienced

We wanted to publish a quick update about some of the errors our users have emailed us about. These errors are not associated with our 1-Click Hosted file sharing application. Instead, they are likely associated with Microsoft Windows or various functions on a Windows operating system. We’ll go into a bit of detail about some of them to hopefully help you diagnose, resolve, and prevent them from happening on your machines.

To get started, you’ve probably heard of Microsoft Windows. It’s the most common operating system. Chances are you have used or are currently using a Windows-based operating system. Because of that, many viruses and other errors have been developed to impact the usage of as many people as possible in some cases. When this happens, it can range from a minor annoyance to a catastrophic data loss. The goal is to keep interruptions, annoyances, and issues as minimal as possible – or to completely avoid them.

Certain types and files within a Windows system have been known to cause errors more frequently. Some of those errors are related to common-used files within the system itself. These files either become damaged over time, or they have been modified internally or externally. Either way, it’s crucial to get them resolved as quickly as possible. This video below shows you exactly what you want to avoid:

Here’s a short list of some of the common Windows files that cause errors:

  • .exe files – Files ending in “.exe” are executable files and are responsible for launching and running programs and applications on your system. Common exe errors include dwm.exe, csrss.exe, spoolsv.exe, svchost.exe, and a variety of others.
  • .dll files – Files ending in “.dll” are dynamic link library files and are also responsible for applications and application functionality.

If you notice errors with specific files on your computer, you should do what you can to resolve them quickly and effectively.

The annoying DWM process error

This file, dwm.exe, is part of the Desktop Window Manager process. Essentially, it allows users to see their desktop and other system ‘windows’. If the operating system is bogged down, viewing specific ‘windows’ can cause errors, slowness, or system failure. You can read more about the dwm.exe file at errorBoss.com. They outline a variety of helpful details about the file and have updated their page with new error messages users are getting as well. If you get this error, it might be related to the size of files you have on your desktop itself. Windows makes it super easy to create folder and file structuring for organization. Think about setting up a folder hierarchy to keep things organized and keep your desktop clean and fresh.

Errors with your printer – Spoolsv.exe process

Even though many organizations and households are going green and avoiding printers, they’re still necessary in some cases. When you need a printer to work, the last thing you want to see is a spoolsv.exe error. This error means the spooling process has stopped working and you will be unable to print. To read more about this specific file, check out this quick article: spoolsv.exe. Additionally, you can stop the spooler from running on your computer. However, this will prevent you from printing from that machine until you restart the spooler process. This is not recommended unless you really do not need to access a printer from that physical machine.

Hopefully this short article provided you with some details about common Windows system errors and how you can prevent them. The end goal is to make it so your computer (and yourself as a user) are effective and efficient enough to prevent these errors and mishaps from occurring. Once you get to that stage, it makes computing a much more enjoyable experience.