[Mega Thread] Version 12 Release Bugs

try installing software-properties-common & dirmngr before doing python install.py

try pip install PyYAML==3.13

Stuck here

Not able to login

run update again…

Still the same

Getting this error
bench.utils.CommandFailedError: yarn install

Mobile version UI bug: Module cards are way too easy to drag which makes it extremely hard to scroll the screen.

My suggestion: Users should hold and drag the module card, just like any mobile apps in android…

3 Likes

git config remote.upstream.fetch “+refs/heads/:refs/remotes/upstream/
git fetch upstream

The star character is removed during posting! Please be advised and careful!

2 Likes

Always pre-format the text to keep some of the special characters.

What are these errors and warnings up to? are they zombie package references? How to mitigate these? Why the upgrade script is not handling them?

Just a reminder for the developer/code masters…

Does not solve anything as the other versions still exist and Erpnext script cannot detect the existence of a correct version.

1 Like

thanks for that …
git config remote.upstream.fetch "+refs/heads/*:refs/remotes/upstream/*"

with custom apps atop the core, V11 to 12 updates on our staging env. are not happening inspite of all the local changes being in sync with the repo…, even did not get thru with the local apps removed…v10 to 11 did not have any such major issues and so that’s live in our prod. server…

Issues opening varius doctypes including invoices, quotations, etc.
“Invalid field name: compact_item_print”

Anyone else experiencing anything similar?

Hi. I am trying to integrate ERP with LDAP. It works for a single Organizational Unit. Are Multiple OU options available in V12?

I just noticed that the last breadcrumb for every doctype leads to settings. Example below is an employee doctype and the breadcrumb leads back to settings, whereas it is supposed to lead me back either to Employee List or Human Resources:

I have noticed it in all doctypes visited so far since i upgraded to V12. This was not the case with previous versions. Can this be looked into and corrected?

When I login (Chrome) it is a blank screen. I need to reload by clearing browsers and ERP cache. This is a recurring issue. Please let me know if there is anything else needed to troubleshoot.

Installed Apps
ERPNext: v12.0.1 (version-12)

Frappe Framework: v12.0.1 (version-12)

After updated to 12, i found that the " Desktop " cannot scroll as usually in " Mobile App & Touch Screen Windows "

it is dragging my module list instead of scrolling down.

how to settle this ?

please advise… THANKS!!!~~

4 Likes

@Steve_Lee

Did you tried on the very left or right side on the Screen? On IOS IT works.

Bug, problem V.12
Email pull , I get most of the time this :

 {'method_name': 'pull_from_email_account', 'site': 'site1.local', 'retry': 0, 'user': 'Administrator', 'event': 'all', 'log': <function log at 0x7f336477a048>, 'is_async': True, 'method': <function pull_from_email_account at 0x7f336472a488>, 'kwargs': {'email_account': 'Sales'}, 'job_name': 'pull_from_email_account|Sales'}
Traceback (most recent call last):
  File "/home/frappe/frappe-bench/apps/frappe/frappe/utils/background_jobs.py", line 99, in execute_job
    method(**kwargs)
  File "/home/frappe/frappe-bench/apps/frappe/frappe/email/doctype/email_account/email_account.py", line 723, in pull_from_email_account
    email_account.receive()
  File "/home/frappe/frappe-bench/apps/frappe/frappe/email/doctype/email_account/email_account.py", line 302, in receive
    raise Exception(frappe.as_json(exceptions))
Exception: [
 "Traceback (most recent call last):\n  File \"/home/frappe/frappe-bench/apps/frappe/frappe/email/doctype/email_account/email_account.py\", line 279, in receive\n    communication = self.insert_communication(msg, args=args)\n  File \"/home/frappe/frappe-bench/apps/frappe/frappe/email/doctype/email_account/email_account.py\", line 336, in insert_communication\n    email = Email(raw)\n  File \"/home/frappe/frappe-bench/apps/frappe/frappe/email/receive.py\", line 372, in __init__\n    self.parse()\n  File \"/home/frappe/frappe-bench/apps/frappe/frappe/email/receive.py\", line 393, in parse\n    self.process_part(part)\n  File \"/home/frappe/frappe-bench/apps/frappe/frappe/email/receive.py\", line 445, in process_part\n    self.text_content += self.get_payload(part)\n  File \"/home/frappe/frappe-bench/apps/frappe/frappe/email/receive.py\", line 489, in get_payload\n    charset = self.get_charset(part)\n  File \"/home/frappe/frappe-bench/apps/frappe/frappe/email/receive.py\", line 484, in get_charset\n    charset = chardet.detect(str(part))['encoding']\n  File \"/home/frappe/frappe-bench/env/lib/python3.5/site-packages/chardet/__init__.py\", line 34, in detect\n    '{0}'.format(type(byte_str)))\nTypeError: Expected object of type bytes or bytearray, got: <class 'str'>\n"
]

Addition about the same error:

Traceback (most recent call last):
  File "/home/frappe/frappe-bench/apps/frappe/frappe/email/doctype/email_account/email_account.py", line 279, in receive
    communication = self.insert_communication(msg, args=args)
  File "/home/frappe/frappe-bench/apps/frappe/frappe/email/doctype/email_account/email_account.py", line 336, in insert_communication
    email = Email(raw)
  File "/home/frappe/frappe-bench/apps/frappe/frappe/email/receive.py", line 372, in __init__
    self.parse()
  File "/home/frappe/frappe-bench/apps/frappe/frappe/email/receive.py", line 393, in parse
    self.process_part(part)
  File "/home/frappe/frappe-bench/apps/frappe/frappe/email/receive.py", line 445, in process_part
    self.text_content += self.get_payload(part)
  File "/home/frappe/frappe-bench/apps/frappe/frappe/email/receive.py", line 489, in get_payload
    charset = self.get_charset(part)
  File "/home/frappe/frappe-bench/apps/frappe/frappe/email/receive.py", line 484, in get_charset
    charset = chardet.detect(str(part))['encoding']
  File "/home/frappe/frappe-bench/env/lib/python3.5/site-packages/chardet/__init__.py", line 34, in detect
    '{0}'.format(type(byte_str)))
TypeError: Expected object of type bytes or bytearray, got: <class 'str'>

One more:

{'log': <function log at 0x7f15dab60950>, 'site': 'site1.local', 'job_name': 'pull_from_email_account|Sales', 'user': 'Administrator', 'method_name': 'pull_from_email_account', 'is_async': True, 'method': <function pull_from_email_account at 0x7f15daa8fd08>, 'kwargs': {'email_account': 'Sales'}, 'retry': 0, 'event': 'all'}
Traceback (most recent call last):
  File "/home/frappe/frappe-bench/apps/frappe/frappe/utils/background_jobs.py", line 99, in execute_job
    method(**kwargs)
  File "/home/frappe/frappe-bench/apps/frappe/frappe/email/doctype/email_account/email_account.py", line 723, in pull_from_email_account
    email_account.receive()
  File "/home/frappe/frappe-bench/apps/frappe/frappe/email/doctype/email_account/email_account.py", line 302, in receive
    raise Exception(frappe.as_json(exceptions))
Exception: [
 "Traceback (most recent call last):\n  File \"/home/frappe/frappe-bench/apps/frappe/frappe/email/doctype/email_account/email_account.py\", line 279, in receive\n    communication = self.insert_communication(msg, args=args)\n  File \"/home/frappe/frappe-bench/apps/frappe/frappe/email/doctype/email_account/email_account.py\", line 336, in insert_communication\n    email = Email(raw)\n  File \"/home/frappe/frappe-bench/apps/frappe/frappe/email/receive.py\", line 372, in __init__\n    self.parse()\n  File \"/home/frappe/frappe-bench/apps/frappe/frappe/email/receive.py\", line 393, in parse\n    self.process_part(part)\n  File \"/home/frappe/frappe-bench/apps/frappe/frappe/email/receive.py\", line 445, in process_part\n    self.text_content += self.get_payload(part)\n  File \"/home/frappe/frappe-bench/apps/frappe/frappe/email/receive.py\", line 489, in get_payload\n    charset = self.get_charset(part)\n  File \"/home/frappe/frappe-bench/apps/frappe/frappe/email/receive.py\", line 484, in get_charset\n    charset = chardet.detect(str(part))['encoding']\n  File \"/home/frappe/frappe-bench/env/lib/python3.5/site-packages/chardet/__init__.py\", line 34, in detect\n    '{0}'.format(type(byte_str)))\nTypeError: Expected object of type bytes or bytearray, got: <class 'str'>\n"
]