bohwaz / wordmobi

Wordmobi is S60 client for wordpress written in Python for Nokia mobile phones
http://code.google.com/p/wordmobi
0 stars 0 forks source link

Wordmobi and new python 1.4.5 #9

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.install python 1.4.5 
2. Install wordmobi
3. Launch. Won't start.

What is the expected output? What do you see instead?
After clicking the icon there's the moment when program "thinks" and after the 
while you in back to menu

What version of the product are you using? On what operating system?
Version wordmobi 0.2.8 and 0.2.9.
On nokia n82 Symbian 9.2 Feature Pack 1 firmware 3.0.0.19 unhacked :) 

Please provide any additional information below.
Pls contact me on sebarkh@gmail.com if any additional info is needed

Original issue reported on code.google.com by Sebastian.Protasiuk on 4 Dec 2008 at 11:07

GoogleCodeExporter commented 9 years ago
Hi Sebastian,

I tested only with python 1.4.4. 
Since it crashes just after opening may be some problem related to database
persistence or import failure . Do you have a memory card, right ? Give me some 
time
to install 1.4.5 and test wordmobi against it.

Marcelo

Original comment by marcelobarrosalmeida on 4 Dec 2008 at 4:27

GoogleCodeExporter commented 9 years ago
Sebastian,

I removed all stuff related to 1.4.4 from my E71 and I did a fresh install.
Afterwards I installed wordmobi 0.2.9 and I couldn't see any crash. 
Could you do the following to help us to debug ?

1) Install python and python shell, version 1.4.5
2) In our memory card, create directories 
   e:\python  
   e:\python\lib
3) Unpack wm029.zip and copy all files into e:\python\lib, except wordmobi.py
4) Copy wordmobi.py into e:\python\
5) Run wordmoby.py via python shell:
   Option->Run script

Please, write down error messages displayed at python shell and post them here.

Thanks a lot !

Marcelo Barros

Original comment by marcelobarrosalmeida on 4 Dec 2008 at 4:55

Attachments:

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Traceback (most recent call last):
  File "C:\private\2000b1a5\default.py", line 81, in menu_action
    f()
  File "C:\private\2000b1a5\default.py", line 65, in query_and_exec
    execfile(script_list[index][1].encode('utf-8'), script_namespace.namespace)
  File "e:\python\wordmobi.py", line 472, in ?
    wm = WordMobi()
  File "e:\python\wordmobi.py", line 33, in __init__
    self.db = Persist()
  File "e:\python\lib\persist.py", line 34, in __init__
    self.load()
  File "e:\python\lib\persist.py", line 43, in load
    db = e32dbm.open(Persist.DBNAME,"w")
  File "c:\resource\e32dbm.py", line 272, in open
    db.open(filename)
SymbianError: [Errno -1] KErrNotFound
name)
SymbianError: [Errno -1] KErrNotFound
Traceback (most recent call last):
  File "C:\private\2000b1a5\default.py", line 81, in menu_action
    f()
  File "C:\private\2000b1a5\default.py", line 65, in query_and_exec
    execfile(script_list[index][1].encode('utf-8'), script_namespace.namespace)
  File "e:\python\wordmobi.py", line 472, in ?
    wm = WordMobi()
  File "e:\python\wordmobi.py", line 33, in __init__
    self.db = Persist()
  File "e:\python\lib\persist.py", line 34, in __init__
    self.load()
  File "e:\python\lib\persist.py", line 43, in load
    db = e32dbm.open(Persist.DBNAME,"w")
  File "c:\resource\e32dbm.py", line 272, in open
    db.open(filename)
SymbianError: [Errno -1] KErrNotFound

Original comment by Sebastian.Protasiuk on 4 Dec 2008 at 5:16

GoogleCodeExporter commented 9 years ago
I hope this will help.
I tried to install to memory card and to phone memory. And the effect of 
"thinking" 
before the crash was when installed to phone memory. When on MC it just crashed 
within a tenth of a second. I have python installed on phone memory.  

Original comment by Sebastian.Protasiuk on 4 Dec 2008 at 5:19

GoogleCodeExporter commented 9 years ago
Thanks a lot, Sebastian. Some observations:

* the program tries to create the directory e:\wordmobi for storing all its 
stuff.
* So, it seems that it cant create its configuration file, inside this 
directory.

Directory e:\wordmobi was created ? May you see it ? It should be created during
startup. If it exists, try to delete it and run wordmobi again. 

Original comment by marcelobarrosalmeida on 4 Dec 2008 at 6:40

GoogleCodeExporter commented 9 years ago
Hi, I think I reproduced the error here, after erasing wordmobi ! I am testing 
the
new implementation. Thanks  !

Original comment by marcelobarrosalmeida on 4 Dec 2008 at 7:04

GoogleCodeExporter commented 9 years ago
Build 0.2.10 should solve this issue.

Original comment by marcelobarrosalmeida on 4 Dec 2008 at 8:22