You Are Here:

Community: Developer Discussion Boards

#1 Old Question Need Py2sis on both 2nd and 3rd : howto ? - 2007-11-30, 21:35

Join Date: Jul 2007
Posts: 23
Location: France, Marseille
Send a message via Skype™ to noreli
noreli's Avatar
noreli
Offline
Registered User
Py2sis was working very well on the 2nd ED (SDK V2).
I installed the new SDK.
Then I had Py2sis works for 3rd (after a small fight but that's OK).

But when I wanted to update my software for 2ndED it was not working any more !

Error message is :
Code:
'No vendor Names found' 
'bad langage count'
I suppose it's due to the new SDK installation.
I read few topics about that in C++, but I don't know how to apply it to python.
I tried to find other py2sis.exe and py2sis.py on my hard-disk, but it lokks like they were replaced...

What is the best way to proceed ?
- reinstall the SDK on different computer to do have a solution ?
- reinstall some added files smartly somewhere ?
- other ?

Thanks for your help.
Reply With Quote

#2 Old Re: Need Py2sis on both 2nd and 3rd : howto ? - 2007-11-30, 22:18

Join Date: Jul 2007
Posts: 23
Location: France, Marseille
Send a message via Skype™ to noreli
noreli's Avatar
noreli
Offline
Registered User
I have an idea to have a very simple generic solution:
I create an almost empty .SIS with a single .py file (code below).
These file is acting as an empty nuts that call a .pyc remote file in a path you can choose. These remote .pyc does all the job.

I already experimented these kind of trick, it's working fairly well. When you want to upgrade your app, you just have to push new .py* file on your app directory (with a sync file it can even be automated). You can improve it with a .INI file that gives the path and the starting external module.

Code:
import sys
sys.path('c:\my_path_app')
import MyStartModule
In these code I import MyStartModule.py which is located in c:\my_path_app.

But my probleme remains...

My py2sis is not working any more in the 2nd ed. My .SIS was replaced by a 3rd edition one.

Reinstallation on a second computer ?
Reply With Quote

#3 Old Re: Need Py2sis on both 2nd and 3rd : howto ? - 2007-12-01, 07:14

Join Date: Sep 2005
Posts: 314
Location: Finland, Helsinki
aaaaapo
Offline
Regular Contributor
Quote:
Originally Posted by noreli View Post
I have an idea to have a very simple generic solution:
I create an almost empty .SIS with a single .py file (code below).
These file is acting as an empty nuts that call a .pyc remote file in a path you can choose. These remote .pyc does all the job.
The remote code could also come from the server when your application starts...
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
Can Python extract cellid from 2nd edition 3rd FP phones nick_santa83 Python 3 2007-09-12 07:54
py2sis and 3rd? big_pig Python 2 2006-12-13 13:58
Advice Required : How do I compile the same app with the 2nd Ed and 3rd Ed SDK? marquk Carbide.c++ IDE and plug-ins 1 2006-11-14 12:09
S60 2nd OR 3rd edition for new software development patil_ruturaj Symbian Tools & SDKs 1 2006-06-30 10:30
S60 2nd OR 3rd edition for new software development patil_ruturaj Mobile Java Tools & SDKs 3 2006-06-30 09:57

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