GithubHelp home page GithubHelp logo

lonetwin / ensymble Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 1.0 376 KB

Automatically exported from code.google.com/p/ensymble

License: GNU General Public License v2.0

Python 92.55% Diff 0.24% Shell 0.38% HTML 6.83%

ensymble's People

Watchers

 avatar  avatar  avatar

Forkers

vesellov

ensymble's Issues

Component Python for S60 missing

What steps will reproduce the problem?
1. run ensymble py2sis
2.
3.

What is the expected output? What do you see instead?
When installing on E71 with Python 2.0, Component "Python for S60" missing is 
displayed.

What version of the product are you using? On what operating system?
S60 Python 2.0 + Ensymble 0.29

Please provide any additional information below.
It was also confirmed by 
http://discussion.forum.nokia.com/forum/showthread.php?202797-component-python-f
or-s60-missing

Original issue reported on code.google.com by [email protected] on 30 Jul 2010 at 4:23

Unable to start the installed sis produced from ensymble in mobile

What steps will reproduce the problem?
1. Compile a PY to SIS package.
2. Have Python 1.9.7 installed on your mobile phone.
3. Transfer the file to mobile and try to install.
4. Shows a warning message, saying Python for S60 not installed.
5. After installation, open the installed file.

What is the expected output? What do you see instead?
Expected output is to see the PY file running.
What I am seeing is, the icon is being showed as installed, but nothing happens 
upon opening the application.

What version of the product are you using? On what operating system?
Nokia 5230.

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 19 Nov 2010 at 9:20

ensymble: expected string or Unicode object, NoneType found

$ensymble py2sis u.py
/usr/lib/python2.6/ihooks.py:170: DeprecationWarning: the sha module is 
deprecated; use the hashlib module instead
  return imp.load_source(name, filename, file)
ensymble: warning: no application version given, using 1.0.0
ensymble: warning: no UID given, using auto-generated test-range UID 0xe26d6a3e
ensymble: warning: no certificate given, using insecure built-in one
ensymble: expected string or Unicode object, NoneType found

Latest line - What? I just try to py2sis a hello.py with
print "Hello!"
--
Ubuntu, Python 2.6.6 (r266:84292, Sep 15 2010, 15:52:39) 
[GCC 4.4.5] on linux2

Original issue reported on code.google.com by [email protected] on 27 Oct 2010 at 3:12

Cannot merge SIS-files with embedded SIS-files (or more specifically PIPS.SIS)

What steps will reproduce the problem?
1. Run ensymble/mergesis with PIPS.SIS, for example:

python.exe ensymble.py mergesis --cert="xxx.cer" --privkey="yyy.key" my_app.sis 
Python_2.0.0.sis pips.sis release_with_all_components.sis

2. Error message: 

ensymble.py: pips.sis: input SIS file contains embedded SIS files


What is the expected output? What do you see instead?
- I would like the program to produce a SIS with PIPS.SIS included

What version of the product are you using? On what operating system?
- Ensymble v0.28 2009-01-30
- on Windows with Python 2.5.4

Please provide any additional information below.
- PIPS.SIS is needed in all S60 devices before 3rd ed FP2, so being able to 
merge it into a single installation file with an application would be a big 
thing for everyone releasing PyS60 software.

Original issue reported on code.google.com by [email protected] on 17 Aug 2010 at 6:57

Correction in documentation

What is the expected output? What do you see instead?

  Examples of "mergesis" and "signsis" uses "--key" instead of "--privkey"



What version of the product are you using? On what operating system?

  0.29

Original issue reported on code.google.com by [email protected] on 8 Sep 2011 at 2:23

Attachments:

subprocess.open fails with openssl

1. using the 0.29 version
2. trying to sign with signsis

i always got
ValueError: wrong pass phrase or invalid PKCS#8 private key
openssl itself worked fine on the used certificate and key

Debugoutput:
DEBUG: Popen(('/usr/bin/openssl', 'pkcs8 -in /tmp/ensymble-kueskf/keyin.pem 
-out /tmp/ensymble-kueskf/keyout.pem -passin stdin -passout stdin -nocrypt'))
DEBUG: pipeerr.read() = "openssl:Error: 'pkcs8 -in 
/tmp/ensymble-kueskf/keyin.pem -out /tmp/ensymble-kueskf/keyout.pem -passin 
stdin -passout stdin -nocrypt' is an invalid command.

after checking http://docs.python.org/library/subprocess.html i just changed
utils/cryptutil.py

--- ensymble/utils/cryptutil.py.org 2010-07-08 02:11:29.804735374 +0200
+++ ensymble/utils/cryptutil.py 2010-07-08 02:12:19.478791144 +0200
@@ -28,6 +28,7 @@
 import tempfile
 import random
 import subprocess
+import shlex


 opensslcommand = None   # Path to OpenSSL command line tool
@@ -359,14 +360,14 @@
         findopenssl()

     # Construct a command line for subprocess.Popen()
-    cmdline = (opensslcommand, command)
+    cmdline = '%s %s' % (opensslcommand, command)

     if openssldebug:
         # Print command line.
         print "DEBUG: Popen(%s)" % repr(cmdline)

     # Run command.
-    p = subprocess.Popen(cmdline, stdin=subprocess.PIPE,
+    p = subprocess.Popen(shlex.split(cmdline), stdin=subprocess.PIPE,
             stdout=subprocess.PIPE, stderr=subprocess.PIPE, close_fds=True)
     (pipein, pipeout, pipeerr) = (p.stdin, p.stdout, p.stderr)
     pipein.write(datain)


which made it run.

linux-2.6.32 x86_64
openssl-0.9.8o
Python 2.6.5



Original issue reported on code.google.com by [email protected] on 8 Jul 2010 at 12:15

Attachments:

Any way out to use with Python 2.6

Python 2.5 is no longer the recommended version and have been removed from all 
PPA's. Does ensymble have some tweet to work with Python 2.6 ?

Please help. Thanks!

Original issue reported on code.google.com by [email protected] on 23 Aug 2010 at 4:40

app with opengl is not working after using ensymble

What steps will reproduce the problem?
1. package one of the open gl demos e.g: 3dcube.py gles_demo.py 
gles_simplecube.py etc pp
2. install the 3d.sis File on a Mobile, where pys60 2.x is installed
3. start that, and nothing happens.inside the "scripting shell" everything is 
ok.

What is the expected output? What do you see instead?
i expect a turning cube. but get a empty window, 0.5 sec later it terminates.

What version of the product are you using? On what operating system?
0.28 2009-01-30, part of the official pys60 version 2.0
Windows XP, Symbian 3rdFP2

Please provide any additional information below.
none opengl apps are running without any problems
eg my IGCLogger: http://sites.google.com/site/pys60software/

Please find a solution...

Thanks,
Thomas

Original issue reported on code.google.com by [email protected] on 19 Jul 2010 at 8:07

problems producing .sis

Hello,

I am attempting to compile multiple Psy60  (1.9.7) programs to .sis using a 
certificate purchased from Nokia that will enable us to sign multiple phones.  
I have approached the problem different ways, but without success:

Using the new Application packager, everything proceeds smoothly until I need 
to add the Nokia signed certificate, which is in .cer form.  The new packager 
will only accept .crt certificates, and I have been unsuccessful using any/all 
of the ways mentioned on the web to convert my .cer to .crt.  Unable to get a 
.sis file in this way.

Alternatively, I tried using ensymble-0.28 to compile the program by command 
line on an OS-X machine. I am able to successfully make a .sis file with the 
following command:

/Developer/usr/bin/ensymble.py py2sis 
--caps=ReadUserData+WriteUserData+UserEnvironment+NetworkServices+LocalServices+
Location+TrustedUi+SwEvent+PowerMgmt+ReadDeviceData+WriteDeviceData 
--cert=/Developer/usr/bin/randolphtest1.cer 
--privkey=/Developer/usr/bin/newkey.key 
--textfile=/Developer/usr/bin/SplashText_%C.txt --autostart Main.py

However, trying to install this on the phone (Nokia N79) yields the following 
error:

Component 'Python for S60' missing. Continue anyway?

Reading past correspondence on this form, this error appears to be because the 
UID for Python and its runtimes have changed between PyS60 1.4.x and 1.9.x.

My question -- I'd prefer to use the GUI to make the .sis file, but I can't 
seem to convert the .cer to be usable by the program (e.g., changing the 
extension of the .cer to crt doesn't work, nor does attempts of using openSSL 
to convert to a different format and then to .crt). Any thoughts?

Alternatively, any way to fix the command line ensymble to manage 1.9.7?

Many thanks for your thoughts,

SJB

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?


Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 6 Aug 2010 at 2:59

Only works with pys60 1.4.x ?

It seems that Ensymble only works with the 1.4.x runtime. Installing a package 
generated with ensymble py2sis when pys60 2.0 is installed, gives a  dependency 
error.

Looking at the source code, it seems there is a single UID hardcoded:

    sw.adddependency(0x2000b1a0L, (1, 4, 0), None,
                     ["Python for S60"] * numlang)

From the pys60 changelog, it seems the UID has changed in 1.9.0:
 - The UID of Python runtime and PythonScriptShell has changed.
and in 1.9.1:
 - The UID of PythonRuntime has changed from '0xF0201514' to '0xE0201514'

Would it make sense to update the UID in the source (and perhaps add a 
--pys60-1.4 flag to build for the old one or have both of them in there if "or" 
dependencies are supported)?

Or is ensymble deprecated alltogether? The pys60 release notes do speak of some 
kind of "PyS60 Application Packager", but I can't really find out where to get 
it (the files offered by on garage.maemo.org are very chaotic, I can't find 
which is which anywhere...)

Original issue reported on code.google.com by [email protected] on 22 Jul 2010 at 2:36

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.