jotacor / tradunio Goto Github PK
View Code? Open in Web Editor NEWTradunio helps you to play Comunio game and control your opponents and when it is a good deal to sell or to buy.
License: MIT License
Tradunio helps you to play Comunio game and control your opponents and when it is a good deal to sell or to buy.
License: MIT License
Hola, Ayer instalé tu app en mi raspberry pi para mantener controlada mi comunidad.
y estoy recibiendo un error al inicializar la base de datos.
por si te puede ayudar, tengo el mercado en idioma turco para que no puedan ver el dinero mis usuarios en comuniazo
Hello, Yesterday I installed your app in my raspberry to controlled keep my community.
and I am getting an error when initializing the database
----------------------------TERMINAL ERROR---------------------------------------
`
pi@raspberrypi:~/tradunio-master $ sudo python tradunio.py --init
/usr/local/lib/python2.7/dist-packages/bs4/init.py:181: UserWarning: No parser was explicitly specified, so I'm using the best available HTML parser for this system ("html5lib"). This usually isn't a problem, but if you run this code on another system, or in a different virtual environment, it may use a different parser and behave differently.
The code that caused this warning is on line 53 of the file tradunio.py. To get rid of this warning, change code that looks like this:
BeautifulSoup([your markup])
to this:
BeautifulSoup([your markup], "html5lib")
markup_type=markup_type))
[*] Initializing the database.
Database contains data, do you want to remove it and load data again? (y/n) y
DELETE FROM tradunio.clubs WHERE 1; done.
DELETE FROM tradunio.owners WHERE 1; done.
DELETE FROM tradunio.players WHERE 1; done.
DELETE FROM tradunio.points WHERE 1; done.
DELETE FROM tradunio.prices WHERE 1; done.
DELETE FROM tradunio.transactions WHERE 1; done.
DELETE FROM tradunio.user_data WHERE 1; done.
DELETE FROM tradunio.users WHERE 1; done.
/usr/local/lib/python2.7/dist-packages/bs4/init.py:181: UserWarning: No parser was explicitly specified, so I'm using the best available HTML parser for this system ("html5lib"). This usually isn't a problem, but if you run this code on another system, or in a different virtual environment, it may use a different parser and behave differently.
The code that caused this warning is on line 847 of the file tradunio.py. To get rid of this warning, change code that looks like this:
BeautifulSoup([your markup])
to this:
BeautifulSoup([your markup], "html5lib")
markup_type=markup_type))
Updating users data => done.
Updating transactions =>
Traceback (most recent call last):
File "tradunio.py", line 847, in
main()
File "tradunio.py", line 97, in main
set_transactions()
File "tradunio.py", line 477, in set_transactions
until_date = db.simple_query('SELECT MAX(date) FROM transactions')[0][0] - timedelta(days=10)
TypeError: unsupported operand type(s) for -: 'NoneType' and 'datetime.timedelta'
`
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.