[web2py] Need help with inno Plugin/Web2pyPackagingApp

2015-12-11 Thread Jitun John
Hi,

I am using Web2pyPackagingApp to build a binary distribution of the app.
I have searched for the"inno plugin" on the web.. but cant find anything.

   1. Download and install the inno plugin into your web2py development 
   environment.

So I thought it might be the "inno.py" file provided in the 
Web2pyPackagingApp/modules folder
I see "._hstart.exe, "hstart.exe"  "styles.css" files in the 
 "Web2pyPackagingApp\static  folder as well.
So I copies the same to the respective locations in "myapp"

I installed the "Inno Setup ".
Added def inno() in my controller/default.py

Then when I try /myapp/default/inno 
I get "ImportError: No module named inno.modules.inno"

Then, I tried 

from inno import Inno as Inno

and 
from applications.myapp.modules.inno import Inno as Inno

when I try /myapp/default/inno  I get

"Object not found"




I then created, web2py\applications\inno\modules and added __init__.py and 
inno.py to it
And then  web2py\applications\inno\static with hstart files.

With similar results.

I have tried both windows version and source version.
What have I missed ?



-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [web2py] Need help with inno Plugin/Web2pyPackagingApp

2015-12-11 Thread Massimiliano
pip search inno

return a couple of suitable entries

On Fri, Dec 11, 2015 at 2:08 PM, Jitun John  wrote:

> Hi,
>
> I am using Web2pyPackagingApp to build a binary distribution of the app.
> I have searched for the"inno plugin" on the web.. but cant find anything.
>
>1. Download and install the inno plugin into your web2py development
>environment.
>
> So I thought it might be the "inno.py" file provided in the
> Web2pyPackagingApp/modules folder
> I see "._hstart.exe, "hstart.exe"  "styles.css" files in the
>  "Web2pyPackagingApp\static  folder as well.
> So I copies the same to the respective locations in "myapp"
>
> I installed the "Inno Setup ".
> Added def inno() in my controller/default.py
>
> Then when I try /myapp/default/inno
> I get "ImportError: No module named inno.modules.inno"
>
> Then, I tried
>
> from inno import Inno as Inno
>
> and
> from applications.myapp.modules.inno import Inno as Inno
>
> when I try /myapp/default/inno  I get
>
> "Object not found"
>
>
>
>
> I then created, web2py\applications\inno\modules and added __init__.py and
> inno.py to it
> And then  web2py\applications\inno\static with hstart files.
>
> With similar results.
>
> I have tried both windows version and source version.
> What have I missed ?
>
>
>
> --
> Resources:
> - http://web2py.com
> - http://web2py.com/book (Documentation)
> - http://github.com/web2py/web2py (Source code)
> - https://code.google.com/p/web2py/issues/list (Report Issues)
> ---
> You received this message because you are subscribed to the Google Groups
> "web2py-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to web2py+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Massimiliano

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [web2py] Need help with inno Plugin/Web2pyPackagingApp

2015-12-11 Thread Massimiliano
Sorry I didn’t understand the question.

keep your inno.py in yourapp/modules/

the problem is in inno.py in this line:

form=SQLFORM(self.db.innoinfo,1,showid=False,col3={….


try to change it to

form=SQLFORM(self.db.innoinfo,*None*,showid=False,col3={




On Fri, Dec 11, 2015 at 4:07 PM, Massimiliano  wrote:

> pip search inno
>
> return a couple of suitable entries
>
> On Fri, Dec 11, 2015 at 2:08 PM, Jitun John  wrote:
>
>> Hi,
>>
>> I am using Web2pyPackagingApp to build a binary distribution of the app.
>> I have searched for the"inno plugin" on the web.. but cant find anything.
>>
>>1. Download and install the inno plugin into your web2py development
>>environment.
>>
>> So I thought it might be the "inno.py" file provided in the
>> Web2pyPackagingApp/modules folder
>> I see "._hstart.exe, "hstart.exe"  "styles.css" files in the
>>  "Web2pyPackagingApp\static  folder as well.
>> So I copies the same to the respective locations in "myapp"
>>
>> I installed the "Inno Setup ".
>> Added def inno() in my controller/default.py
>>
>> Then when I try /myapp/default/inno
>> I get "ImportError: No module named inno.modules.inno"
>>
>> Then, I tried
>>
>> from inno import Inno as Inno
>>
>> and
>> from applications.myapp.modules.inno import Inno as Inno
>>
>> when I try /myapp/default/inno  I get
>>
>> "Object not found"
>>
>>
>>
>>
>> I then created, web2py\applications\inno\modules and added __init__.py
>> and inno.py to it
>> And then  web2py\applications\inno\static with hstart files.
>>
>> With similar results.
>>
>> I have tried both windows version and source version.
>> What have I missed ?
>>
>>
>>
>> --
>> Resources:
>> - http://web2py.com
>> - http://web2py.com/book (Documentation)
>> - http://github.com/web2py/web2py (Source code)
>> - https://code.google.com/p/web2py/issues/list (Report Issues)
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "web2py-users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to web2py+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> Massimiliano
>



-- 
Massimiliano

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [web2py] Need help with inno Plugin/Web2pyPackagingApp

2015-12-11 Thread Jitun John
Thanks for the reply Massimiliano.
You were correct. That needed a change.
That brought up the myapp/default/inno interface.

But it looks like the inno.py has lot more issues.

Some files needed change

Source: "tcl\*"; DestDir: "{app}\tcl"; Flags: ignoreversion recursesubdirs 
createallsubdirs
Source: "applications\%(application)s\*controllers\*.pyc*";  DestDir: 
"{app}\applications\%(application)s\controllers"; Flags: ignoreversion 
recursesubdirs createallsubdirs

I think line 87 should have been lib-tcl
Source: "lib-tcl\*"; DestDir: "{app}\lib-tcl"; Flags: ignoreversion 
recursesubdirs createallsubdirs

line 96 should have been \controllers\*.py
Source: "applications\GroupXMLTree\controllers\*.py";  DestDir: 
"{app}\applications\GroupXMLTree\controllers"; Flags: ignoreversion 
recursesubdirs createallsubdirs

I think we should include both *.pyd and *.pyc from modules
Source: "applications\GroupXMLTree\modules\*.pyd";  DestDir: 
"{app}\applications\GroupXMLTree\modules"; Flags: ignoreversion 
recursesubdirs createallsubdirs
Source: "applications\GroupXMLTree\modules\*.pyc";  DestDir: 
"{app}\applications\GroupXMLTree\modules"; Flags: ignoreversion 
recursesubdirs createallsubdirs

After installation, we see gluon is not copied.
So Added this as well.
Source: "gluon\*"; DestDir: "{app}\gluon"; Flags: ignoreversion 
recursesubdirs createallsubdirs

Now Inno as Inno works fine.
But InnoAndHstart works fine as well.
But when we try to start the application, it errors stating "-t" is a wrong 
parameter.

I think there should be some work done on the inno.py script including 
hstart.
It would be kind of someone to correct the issues.

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.