Opened on 05/22/2015 at 02:39:36 PM

Closed on 05/22/2015 at 02:47:14 PM

Last modified on 05/22/2015 at 04:16:57 PM

#2576 closed defect (fixed)

runserver.exe error: no module named urllib2

Reported by: lisabielik Assignee: sebastian
Priority: P2 Milestone:
Module: Websites Keywords: runserver
Cc: Blocked By:
Blocking: Platform: Unknown
Ready: yes Confidential: no
Tester: Verified working: yes
Review URL(s):

http://codereview.adblockplus.org/4843664727605248/

Description

Receiving an error (attached) on the following:
-Win 8.1
-latest version of runserver.exe from Drive

How to reproduce

  1. Make changes to any page on adblockplus.org (within HgTortoise).
  2. Save changes.
  3. Open runserver.exe.
  4. Enter the URL into a browser tab.

...

Observed behaviour

The error is stated in the runserver command prompt. I cannot view any changes because of the error.

Attachments (1)

runservererror.png (11.4 KB) - added by lisabielik on 05/22/2015 at 02:39:52 PM.

Download all attachments as: .zip

Change History (4)

Changed on 05/22/2015 at 02:39:52 PM by lisabielik

comment:1 Changed on 05/22/2015 at 02:45:09 PM by sebastian

  • Priority changed from Unknown to P2
  • Ready set
  • Review URL(s) modified (diff)
  • Status changed from new to reviewing

For reference, globals/get_browser_versions.py imports urllib2. However, that module isn't bundled with runserver.exe. This regression was introduced by #2432. In order to fix it, we can simply use the urllib module instead.

comment:2 Changed on 05/22/2015 at 02:47:14 PM by sebastian

  • Resolution set to fixed
  • Status changed from reviewing to closed

comment:3 Changed on 05/22/2015 at 04:16:57 PM by Ross

  • Verified working set

This specific error is fixed for me with the latest version of web.adblockplus.org. Another error now occurs which is covered by #2578.

web.adblockplus.org / r87
runserver.exe / March 20th from Drive.

Add Comment

Modify Ticket

Change Properties
Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from sebastian.
 
Note: See TracTickets for help on using tickets.