Error

31 views
Skip to first unread message

Benjamin Burt

unread,
Oct 23, 2013, 2:04:20 PM10/23/13
to Coin Box POS - Main Mailing list
Hey, so I finally had some time to install Coin Cox POS, and I ran into and error after using the pip install and the script:

[INFO]    cbpos.core: Python: 2.7.5+ (default, Sep 19 2013, 13:48:49)
[GCC 4.8.1] (core.py:120)
[WARNING]    cbpos.modules: (0) modules disabled for missing dependencies:  (modules.py:261)
[CRITICAL]    cbpos.core: No UI Handler specified. (core.py:193)
[INFO]    root: Exiting... (coinbox.py:20)
[INFO]    cbpos.core: Terminating application... (core.py:109)

Not sure what I missed, haha

I am running:

Ubuntu 13.10
Python 2.7.5+
Qt4 (came with Ubuntu)

-Ben

Jonathan Aquilina

unread,
Oct 23, 2013, 2:06:08 PM10/23/13
to coinb...@googlegroups.com
Would it be better if we bump the minimum requirement to python 3. Reason I am suggesting this is that we will have issues in the sense that py3 is not really backwards compatible with python 2


--
You received this message because you are subscribed to the Google Groups "Coin Box POS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to coinboxpos+...@googlegroups.com.
To post to this group, send email to coinb...@googlegroups.com.
Visit this group at http://groups.google.com/group/coinboxpos.
For more options, visit https://groups.google.com/groups/opt_out.



--
Jonathan Aquilina

Jad Kik

unread,
Oct 30, 2013, 7:51:26 AM10/30/13
to coinb...@googlegroups.com
Hey Ben,

it would be great if you can go to the config file, it should be in the directory where you run coinbox from. Its file name is "coinbox.json". From there, edit the line where it says "INFO" to read "DEBUG", and show me the results.

Most probably you either did not install the modules, or they are not being detected by coinbox. It'll show in the logs if you set it to DEBUG.

Thanks

Jad Kik

unread,
Oct 30, 2013, 7:58:44 AM10/30/13
to coinb...@googlegroups.com
Hey Jonathan,

It's true that it would be good to switch to Python 3, but we have to make sure everything will work properly before we do so. There are lots of external dependencies. Mainly PySide and SQLAlchemy, which both seem to support Python 3. We'll have to check the connectors (for exmaple MySQLdb doesn't) and some smaller packages which we are using, then migrate the code which shouldn't be very hard but might take some time.

Jonathan Aquilina

unread,
Oct 30, 2013, 8:36:50 AM10/30/13
to coinb...@googlegroups.com
Im in a way trying to future proof the product, at some point distros will no longer have python 2

Benjamin Burt

unread,
Nov 3, 2013, 7:22:57 PM11/3/13
to Coin Box POS - Main Mailing list
[INFO] cbpos.core: Python: 2.7.5+ (default, Sep 19 2013, 13:48:49) 
[GCC 4.8.1] (core.py:120)
[DEBUG] cbpos.core: Importing database... (core.py:122)
[DEBUG] cbpos.core: Importing modules... (core.py:125)
[DEBUG] cbpos.core: Running application... (core.py:128)
[DEBUG] cbpos.modules: Loading modules... (modules.py:189)
[DEBUG] cbpos.modules: Path (1): ['/home/bburt85/coinbox/coinbox-core/cbpos/mod'] (modules.py:190)
[DEBUG] cbpos.modules: Checking module dependencies... (modules.py:265)
[DEBUG] cbpos.modules: (0) modules found:  (modules.py:251)
[DEBUG] cbpos.modules: (0) modules disabled:  (modules.py:256)
[WARNING] cbpos.modules: (0) modules disabled for missing dependencies:  (modules.py:261)
[DEBUG] cbpos.core: Parsing arguments. argparse is version 1.1 (core.py:20)
[DEBUG] cbpos.core: Loaded from /home/bburt85/coinbox/coinbox-core/argparse/__init__.pyc (core.py:21)
[DEBUG] cbpos.core: gettext is using [default](codeset:) for translation with fallback=True in ./locale (core.py:77)
[DEBUG] cbpos.core: Babel is using default locale (core.py:40)
[DEBUG] cbpos.database: Starting database... (__init__.py:59)
[DEBUG] cbpos.core: Extending menu... (core.py:160)
[DEBUG] cbpos.modules: Menu roots (0) and menu items (0). (modules.py:484)
[DEBUG] cbpos.modules: Actions (0). (modules.py:490)
[DEBUG] cbpos.core: Initializing modules... (core.py:170)
[CRITICAL] cbpos.core: No UI Handler specified. (core.py:193)
[INFO] root: Exiting... (coinbox.py:20)
[INFO] cbpos.core: Terminating application... (core.py:109)

-Ben
Reply all
Reply to author
Forward
0 new messages