Importing over existing project

92 views
Skip to first unread message

Drazen D. Babic

unread,
Jun 11, 2021, 4:53:22 AM6/11/21
to Jam.py Users Mailing List
Hi, 

just tried to Import Massages app into Demo in mysql. Does not work. 

Which got me thinking WHY it does not work, based on the "Item with ID" message when tried to import.

Andrew, is it a simple solution for that just increasing the ID on import with a higher number? Of course, this would mean a STRICT naming convention, so there would be no clashing of names.
But in the enterprise environment the naming convention IS enforced, so Jam can only benefit from adding option to import an App into existing App. 

Thoughts?

Andrew Yushev

unread,
Jun 11, 2021, 8:58:27 AM6/11/21
to Drazen D. Babic, Jam.py Users Mailing List
Drazen, can you post some logs or messages or errors to see what is going on?

пт, 11 июн. 2021 г. в 11:53, Drazen D. Babic <bab...@gmail.com>:
--
You received this message because you are subscribed to the Google Groups "Jam.py Users Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jam-py+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jam-py/fe24a072-c114-4b07-9dd9-c5eeebfbf45en%40googlegroups.com.

Dražen Babić

unread,
Jun 11, 2021, 9:14:59 AM6/11/21
to Jam.py Users Mailing List
Yes,

It is simple, try to import any app into existing Demo app.

But I think we are not on the same page. This is about Import over the existing App, which is NOT the same App as in export file.

So like a merging of two Apps. That would open Jam as a modular app.

It is just an idea. 

Andrew Yushev

unread,
Jun 13, 2021, 2:19:08 PM6/13/21
to Dražen Babić, Jam.py Users Mailing List
Drazen, I don't understand why to import one app over the other.
I made it on purpose to avoid mistakes, especially when the app is in production.


пт, 11 июн. 2021 г. в 16:15, Dražen Babić <bab...@gmail.com>:

Tony Anytime

unread,
Jun 14, 2021, 10:04:46 AM6/14/21
to Jam.py Users Mailing List
I have two containers for Jampy development. Initially I started working on one, got it into production. Then I copied it into a second for further testing and development. Then I switched users to second container and copied back to A. A then became development container. All worked fine except I have lost ability edit/change file fields outside of DB Manual mode. This was caused by my changing DB manually and then copying data over. It lost something in how DB are defined in the sqllite, and I don't know of a way to get it sync back.  So be careful copy stuff back and forth in with import/export.

Drazen D. Babic

unread,
Jun 14, 2021, 10:59:06 PM6/14/21
to Jam.py Users Mailing List
Interesting.
My writing is more about how to solve a bigger picture. For example, Django has modules. And the DB schema update etc is done by "migrate" command. 
This enables people to develop modules for Django. 

With Jam, it is not possible to do that atm. I have a feeling that this might work somehow simply how admin.sqlite stores data. 
Even with MS Access it is possible to import stuff from other Access DB, including Forms, Queries, Reports, etc. Takes a few clicks.

Up to Andrew I guess, where he wants to go with this. It won't happen overnight tho, but good to have a chat.

D.

Yeoresley

unread,
Jun 14, 2021, 11:35:04 PM6/14/21
to Drazen D. Babic, Jam.py Users Mailing List
Good evening please could you help me, I have implemented accesser to the jampy application through the users created from the database but I would like when I make a mistake when entering the user or password, it shows me an error on the screen

Yeoresley 

Andrew Yushev

unread,
Jun 15, 2021, 6:06:11 AM6/15/21
to Yeoresley, Drazen D. Babic, Jam.py Users Mailing List
Hi, Yeoresley

When user or password is not correct the red border line must be displayed, otherwise there could be some error in the code.
image.png
Regards, 
Andrew Yushev

вт, 15 июн. 2021 г. в 06:35, Yeoresley <yeoresl...@outlook.com>:
Good evening please could you help me, I have implemented accesser to the jampy application through the users created from the database but I would like when I make a mistake when entering the user or password, it shows me an error on the screen

Yeoresley 

--
You received this message because you are subscribed to the Google Groups "Jam.py Users Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jam-py+un...@googlegroups.com.
Message has been deleted

Andrew Yushev

unread,
Jun 18, 2021, 10:49:08 AM6/18/21
to Manos Pappas, Jam.py Users Mailing List
Hi, Manos

I think it is impossible now.
I'll think about how to implement it.

Regards,
Andrew Yushev


пт, 18 июн. 2021 г. в 17:05, Manos Pappas <front...@gmail.com>:
Hi Andrew,

Thank you for the clarification.
How we can change the login error behaviour, e.g display a proper error-message instead of just flashing the border in red colour?

Manos Pappas

unread,
Oct 7, 2021, 8:11:21 AM10/7/21
to Jam.py Users Mailing List
Hi Andrew,

I am trying to implement some sort of message notifying the user of the incorrect log-in password, instead of just showing a red border (which most users do not even notice :) ).
On the task builder tree, on the server module inside the on_login() function, I've tried to raise an exception when the user enters the wrong password (I can detect that in the code) but nothing happens.

Any ideas on how this can be done?

Andrew Yushev

unread,
Oct 8, 2021, 8:18:49 AM10/8/21
to Manos Pappas, Jam.py Users Mailing List
Hi, Manos

I'll try to find some solution.

Regards,
Andrew Yushev

чт, 7 окт. 2021 г. в 15:11, Manos Pappas <front...@gmail.com>:
Reply all
Reply to author
Forward
0 new messages