You Are Here:

Community: Developer Discussion Boards

#1 Old [announce] tcs60fs - Virtual File System for Total Commander - 2006-03-09, 19:12

Join Date: Aug 2004
Posts: 290
simo.salminen
Offline
Regular Contributor
This is a pys60 application that will enable you use phone file system from the Total Commander file explorer (http://www.ghisler.com/picture.htm).

Features:
* Manage s60 files from graphical file browser
- upload, download, rename, copy, delete, makedir
* Synchronize from command line
* Bluetooth and USB connectivity

Source release (including installation instructions):
http://pymbian.sourceforge.net/misc/...0.20060309.zip

SIS:
http://pymbian.sourceforge.net/misc/...0.20060309.sis

This software is based on the fileserver source released by Nokia.


The .sis file contains a binary release of newest pys60usb.pyd. The source release for that is here: http://pymbian.sourceforge.net/misc/...0.20060101.zip
Last edited by simo.salminen : 2006-03-11 at 09:10.
Reply With Quote

#2 Old Re: [announce] tcs60fs - Virtual File System for Total Commander - 2006-03-09, 20:56

Join Date: Feb 2005
Posts: 1,353
Location: Belgium (Europe)
cyke64's Avatar
cyke64
Offline
Super Contributor
Great again ,

But it doesn't work for me :-(
When I launch your phone app tcs60fs then connect with BT
It displays "App closed tcs60fs"
Program closed: tcs60fs KERN-EXEC 3

What a pity :-(
How to make work it ?
Reply With Quote

#3 Old Re: [announce] tcs60fs - Virtual File System for Total Commander - 2006-03-10, 07:04

Join Date: Aug 2004
Posts: 290
simo.salminen
Offline
Regular Contributor
Bugger! What is your python runtime version, what is your phone model?

Here is one thing we can try: create a folder !:\system\apps\tcs60fs\debug\ and start app. If there is anything on the debug.txt please paste it here.

Does the crash happen immediately? Does it start to perform device discovery (showing bt device dialog)?
Reply With Quote

#4 Old Re: [announce] tcs60fs - Virtual File System for Total Commander - 2006-03-10, 08:57

Join Date: Feb 2005
Posts: 1,353
Location: Belgium (Europe)
cyke64's Avatar
cyke64
Offline
Super Contributor
Quote:
When I launch your phone app tcs60fs then connect with BT
It displays "App closed tcs60fs"
Program closed: tcs60fs KERN-EXEC 3
What is your python runtime version, what is your phone model?
pys60 1.31 sourceforge 2nd Edition with Nokia 6600 5.27
Quote:
Here is one thing we can try: create a folder !:\system\apps\tcs60fs\debug\ and start app. If there is anything on the debug.txt please paste it here.
I create this folder but the debug.txt adds only one line !
Code:
debug started
Quote:
Does the crash happen immediately? Does it start to perform device discovery (showing bt device dialog)?
I try the followings ways
1)
I launch tcs60fs.
I see tcs60fs title
I press Options and select "Connect with BT default"
It immediately displays "last device found" dialog
I choose my PC BT device
I see a short time 'Discovering' on text widget
then it displays error message on screen !
Code:
Discovering...
Traceback (most recent call last):
  File "E:\System\Apps\tcs60fs\tcs60fileserver.py", line 777, in <lambda>
    self._finished_server_cb)
  File "E:\System\Apps\tcs60fs\tcs60fileserver.py", line 644, in runserver
    addr = discover_address('fileserver_conf.txt', self.use_default)
  File "E:\System\Apps\tcs60fs\tcs60fileserver.py", line 618, in discover_address
    addr,services=socket.bt_discover()
socket.error: (0, 'Error')
and always another "debug started" line in debug file
2)
I launch tcs60fs.
I see tcs60fs title
I press Options and select "Connect with BT"
It immediately displays "last device found" dialog
I choose my PC BT device
I see a short time 'Discovering' on text widget
then it displays "App closed tcs60fs" I press OK
"Program closed: tcs60fs KERN-EXEC 3" I press OK
return to menu

3)
I launch tcs60fs.
I see tcs60fs title
I press Options and select "Connect with BT"
It immediately displays "last device found" dialog
I choose "more devices"
It displays searching box
it displays "Device found" I select it
I see a short time 'Discovering' on text widget.
then it displays "App closed tcs60fs" I press OK
"Program closed: tcs60fs KERN-EXEC 3" I press OK
return to menu

4)
I launch tcs60fs.
I see tcs60fs title
I press Options and select "Connect with BT default"
It immediately displays "last device found" dialog
I choose "More devices"
I see a short time 'Discovering' on text widget
It displays searching box
it displays "Device found" I select it
then it displays error message on screen !
Code:
Discovering...
Traceback (most recent call last):
  File "E:\System\Apps\tcs60fs\tcs60fileserver.py", line 777, in <lambda>
    self._finished_server_cb)
  File "E:\System\Apps\tcs60fs\tcs60fileserver.py", line 644, in runserver
    addr = discover_address('fileserver_conf.txt', self.use_default)
  File "E:\System\Apps\tcs60fs\tcs60fileserver.py", line 618, in discover_address
    addr,services=socket.bt_discover()
socket.error: (0, 'Error')
and always another "debug started" line in debug file

I also try this snippets from Korakot http://www.bigbold.com/snippets/posts/show/982
Code:
# need to install these 2 modules from PDIS first
import aosocketnativenew
from aosocket.symbian.bt_device_discoverer import *

def callback(error, devices, cb_param=None):
    for address, name in devices:      
        print "Found: ", name, address
# You can get more data by importing socket and try 
# bt_discover(address) or bt_obex_discover(address)
# see details in official pys60 doc on socket module

lister = BtDeviceLister()
lister.discover_all(callback, None)
It displays the correct MAC address of my discovered PC
Code:
Found: MYPC xx:xx:xx:xx:xx:xx
I try also Jamo exemple http://discussion.forum.nokia.com/fo...190#post175725
I have the following results
Discovering
some infos on screen and on RF com it crashed again
it displays "App closed Python"
"Program closed: Python KERN-EXEC 3" message
and in the log file c:\bt_probing.txt
Code:
Fri Mar 10 07:47:43 2006: logging started
Fri Mar 10 07:47:45 2006: [MainThread] discovering
Fri Mar 10 07:47:58 2006: [MainThread] devices: [('00:00:00:00:00:00', u'MYPC')]
Fri Mar 10 07:47:58 2006: [MainThread] Found: MYPC | 00:00:00:00:00:00
Fri Mar 10 07:47:58 2006: [MainThread] Probing: MYPC | 00:00:00:00:00:00
Fri Mar 10 07:47:59 2006: [MainThread] RFCOMM Services:
Please help me ...
Reply With Quote

#5 Old Re: [announce] tcs60fs - Virtual File System for Total Commander - 2006-03-10, 11:38

Join Date: Aug 2004
Posts: 290
simo.salminen
Offline
Regular Contributor
Quick reply here, I go through your post later. Does Bluetooth Console work? Does the console work if you connect by doing device discovery first?
Reply With Quote

#6 Old Re: [announce] tcs60fs - Virtual File System for Total Commander - 2006-03-10, 16:13

Join Date: Feb 2005
Posts: 1,353
Location: Belgium (Europe)
cyke64's Avatar
cyke64
Offline
Super Contributor
It works now !

Well , I going to explain why !
I found all i could :
http://www.onlamp.com/pub/a/python/2005/04/14/s60.html
- dont be trust in socket.bt_discover() !
- prefer use (MAC adress,port) instead !
http://www.altoriopreto.com.br/artigos/pys60.php
- BT connection are bad !

Then i search the bt_discover in TCS60FS on phone and I discover this line in discover_address of the tcs60fileserver.py file.
Code:
address=config.get('target','')
and I add after trying many values of port I found correct value for me "8" corresponding to BT COM7
Code:
address=config.get('target','')
address=(xx:xx:xx:xx:xx:xx,8) # xxxxxxxxx is your PC MAC adress
I save modification to it
- launch TCS60FS on phone
- choose BT default
- It display Connecting to (xx:xx:xx:xx:xx:xx,8)
and I see PC asking me if I want letting my phone connecting to my COM7 port. I accept
Then I choose in Total Commander connection to serial port
7 and incredible it displays ALL phones drives on screen

I hope that help someone else !
Thank you for your help !
Reply With Quote

#7 Old Re: [announce] tcs60fs - Virtual File System for Total Commander - 2006-04-08, 11:29

Join Date: Mar 2003
Posts: 52
ag24master
Offline
Regular Contributor
hello simo.salminen,
where do I get the fileserver source released by Nokia

Thank you.
- Ashish
Reply With Quote

#8 Old Re: [announce] tcs60fs - Virtual File System for Total Commander - 2006-04-08, 13:02

Join Date: Aug 2004
Posts: 290
simo.salminen
Offline
Regular Contributor
It is in the pys60 1.2 sdk or in 1.3.1 source release.
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
Error opening a system file Jeepy General Symbian C++ 3 2008-04-19 22:38
File reading & writing help, wav file redaing help shubhamlahoti Mobile Java General 6 2007-06-27 10:07
Tips on using NDS 1.1 mitts Symbian Tools & SDKs 7 2006-01-18 17:07
Intercepting file system calls in 6.0 SDK tcrosley Symbian Tools & SDKs 1 2005-01-28 07:01
how about Symbian file system? li_haiming General Symbian C++ 1 2003-03-06 12:26

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia