Sunday, April 28, 2024
0
rated 0 times [  0] [ 0]  / answers: 1 / hits: 373  / 2 Years ago, sun, may 1, 2022, 7:00:56

I've created my very first, very simple app with Quickly (basically just followed the tutorial). But when i run the program i get warnings:



/usr/lib/python2.7/dist-packages/gi/overrides/Gtk.py:391: Warning: g_object_set_property: construct property "type" for object `Window' can't be set after construction
Gtk.Window.__init__(self, type=type, **kwds)
/usr/lib/python2.7/dist-packages/gi/overrides/Gtk.py:391: Warning: g_object_set_property: construct property "type" for object `OpenDialog' can't be set after construction
Gtk.Window.__init__(self, type=type, **kwds)

/usr/lib/python2.7/dist-packages/gi/overrides/Gtk.py:391: Warning: g_object_set_property: construct property "type" for object `JottyWindow' can't be set after construction
Gtk.Window.__init__(self, type=type, **kwds)
/usr/lib/python2.7/dist-packages/gi/overrides/Gtk.py:391: Warning: g_object_set_property: construct property "type" for object `RemoveDialog' can't be set after construction
Gtk.Window.__init__(self, type=type, **kwds)


it doesn't hinder the app, but if somebody know how to get rid of them it would be great.



When I try to package the app with "quickly package" i get:



simon@simonsDeskTop:~/programing_with_quickly/jotty$ quickly package
.........Ubuntu packaging created in debian/
.................................................................................................................................................................................................
Command returned some WARNINGS:
----------------------------------
** (setup.py:9781): WARNING **: Fel vid sändning av inloggningsuppgifter: Fel vid sändning av meddelande: Operationen inte tillåten
----------------------------------
Ubuntu package has been successfully created in ../jotty_0.1_all.deb


Sorry about the sweedish, but it means "Error when sending account information: Error when sending message: Operation not allowed"



And when I try to install the app with the softwear center i get the following warning:



Lintian check results for /home/simon/programing_with_quickly/jotty_0.1_all.deb:
Use of uninitialized value $ENV{"HOME"} in concatenation (.) or string at /usr/bin/lintian line 108.
E: jotty: maintainer-address-malformed UNKNOWN <UNKNOWN>


And then it recommends not to install. (but the app works great when i install it!)



So, the question is, how to get rid of the warning?



Is it only because the app has not been approved by Canonical or is it something else?



Thanks!



I'm runing ubuntu 12.04


More From » package-management

 Answers
1

For those package errors try to set some more information in the "install.py" file.



DistUtilsExtra.auto.setup(
name='chatbox',
version='0.1',
#license='GPL-3',
#author='Your Name',
#author_email='[email protected]',
#description='UI for managing …',
#long_description='Here a longer description',
#url='https://launchpad.net/chatbox',
cmdclass={'install': InstallAndUpdateDataDirectory}
)


Remove those "#" characters from author, author_email, description, long_description. And fill in the information.



For those GTK warning i think there is something serious wrong with your glade design files. Try to look if you set them properly.


[#32429] Tuesday, May 3, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
itchlos

Total Points: 486
Total Questions: 115
Total Answers: 110

Location: Macau
Member since Fri, Apr 28, 2023
1 Year ago
;