Monday, April 29, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 471  / 1 Year ago, thu, may 11, 2023, 12:02:09

I wrote a little program and now I trying to make a .deb package out of it.
When I run quickly --verbose package I get this:



quickly --verbose package 
/usr/lib/python2.7/dist-packages/gobject/constants.py:24: Warning: g_boxed_type_register_static: assertion `g_type_from_name (name) == 0' failed
import gobject._gobject
/usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py:40: Warning: specified class size for type `PyGtkGenericCellRenderer' is smaller than the parent type's `GtkCellRenderer' class size
from gtk import _gtk
/usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py:40: Warning: g_type_get_qdata: assertion `node != NULL' failed
from gtk import _gtk
setup.py install_egg_info failed
An error has occurred when creating debian packaging
ERROR: can't create or update ubuntu package
ERROR: package command failed
Aborting


I read Jono Bacon's question on the Quickly developer website and he had exactly the same problem as I have, but even though he explained how to fix it I don't understand what I'm supposed to do. I'm new to Quickly and to Python too. What do I need to do?


More From » python

 Answers
1

I solved it by creating new application with the same name in different directory, and coping few files from old app dir to new app dir:



/old_aap_name/data/ui/* to /new_aap_name/data/ui/*



and also



/old_aap_name/old_app_name/*.py to /new_aap_name/new_app_name/*.py



After this package generates with no problems.



I think problem must to be because I have created new dialog and then I delete files to this dialog as it was not needed any more.



Thanks for pointing me to right direction.


[#36412] Thursday, May 11, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
curatekill

Total Points: 376
Total Questions: 117
Total Answers: 102

Location: Wales
Member since Mon, May 17, 2021
3 Years ago
;