Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release image broken: ImportError: no module named 'tinyweb' #18

Closed
Kortenbach opened this issue Dec 19, 2018 · 3 comments
Closed

Release image broken: ImportError: no module named 'tinyweb' #18

Kortenbach opened this issue Dec 19, 2018 · 3 comments
Labels

Comments

@Kortenbach
Copy link

Kortenbach commented Dec 19, 2018

Make sure you are running the latest version of TinyWeb before reporting an issue.
Fresh download today

Device and/or platform:
ESP8266

Description of problem:
After flashing .bin firmware file:
import network --> ok
import tinyweb (copy-pasted name, no typo...) --> ImportError: no module named 'tinyweb'

Expected:
Successfull import

Traceback (if applicable):

>>> import network
>>> import tinyweb
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: no module named 'tinyweb'
>>> >>> help('modules')
__main__          hashlib           socket            urandom
_boot             inisetup          ssl               ure
_onewire          io                struct            uselect
_webrepl          json              sys               usocket
apa102            lwip              time              ussl
array             machine           ubinascii         ustruct
binascii          math              ucollections      utime
btree             micropython       ucryptolib        utimeq
builtins          neopixel          uctypes           uzlib
collections       network           uerrno            webrepl
dht               ntptime           uhashlib          webrepl_setup
ds18x20           onewire           uheapq            websocket
errno             os                uio               websocket_helper
esp               port_diag         ujson             zlib
flashbdev         random            uos
framebuf          re                upip
gc                select            upip_utarfile
Plus any modules on the filesystem

Additional info:
There are no modules in the file system either,,,

@belyalov belyalov added the bug label Dec 20, 2018
@belyalov
Copy link
Owner

Thanks for reporting, looks to be travis build bug.
ETA for fix is tomorrow

@belyalov belyalov changed the title ImportError: no module named 'tinyweb' Release image broken: ImportError: no module named 'tinyweb' Dec 20, 2018
@belyalov
Copy link
Owner

With release-1.3.2 image it works well:

>>>
>>> import network
>>> import tinyweb
>>>
>>> tinyweb.
__class__       __name__        __path__        webserver
server

Let me know if it still does not work for you.

@Kortenbach
Copy link
Author

Kortenbach commented Dec 20, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants